/* Blog de Mathieu Dreo — thème « jardin zen » : papier washi, encre sumi, sceau vermillon */
:root {
  --paper: #f4f0e6;
  --paper-2: #ece6d8;
  --paper-3: #fbf9f4;
  --ink: #1f1d1a;
  --ink-2: #3b3833;
  --stone: #77716a;
  --stone-2: #a39c90;
  --line: rgba(31, 29, 26, .1);
  --line-2: rgba(31, 29, 26, .18);
  --shu: #c8412b;           /* vermillon */
  --matcha: #6f8a3c;
  --ai: #3a5a8c;            /* indigo */
  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --w: 1200px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--gothic); font-size: 16.5px; line-height: 1.85; letter-spacing: .01em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* grain de papier */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .45 0 0 0 0 .4 0 0 0 0 .32 0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
main, .nav, .foot { position: relative; z-index: 1; }
main { overflow-x: clip; }
::selection { background: rgba(200, 65, 43, .18); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--mincho); font-weight: 700; line-height: 1.25; letter-spacing: .005em; text-wrap: balance; }
p { text-wrap: pretty; }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 4px; }
.skip:focus { left: 10px; }
:focus-visible { outline: 2px solid var(--shu); outline-offset: 3px; border-radius: 4px; }

/* ---------- Sceau ---------- */
.seal {
  display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 5px;
  background: var(--shu); color: var(--paper); font-family: var(--mincho); font-weight: 800; font-size: 19px; line-height: 1;
  box-shadow: inset 0 0 0 2px var(--shu), inset 0 0 0 3.5px rgba(244, 240, 230, .75); transform: rotate(-3deg);
}
.seal.sm { width: 24px; height: 24px; font-size: 13px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--shu), inset 0 0 0 2.5px rgba(244, 240, 230, .75); }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .4s, box-shadow .4s, backdrop-filter .4s; }
.nav.scrolled { background: rgba(244, 240, 230, .78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 var(--line); }
.nav-in { max-width: var(--w); margin: 0 auto; padding: 16px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--mincho); font-weight: 700; font-size: 17px; letter-spacing: .04em; }
.logo-face { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none;
  box-shadow: 0 0 0 2px var(--paper-3), 0 0 0 3px rgba(200, 65, 43, .55); transition: transform .4s var(--ease); }
.logo:hover .logo-face { transform: rotate(-6deg) scale(1.06); }
.foot .logo-face { box-shadow: 0 0 0 2px var(--ink), 0 0 0 3px rgba(200, 65, 43, .8); }
.nav nav { display: flex; align-items: center; gap: 2px; font-size: 14px; letter-spacing: .04em; }
.nav nav a { position: relative; color: var(--ink-2); padding: 8px 14px; transition: color .2s; white-space: nowrap; }
.nav nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--shu); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav nav a:hover::after, .nav nav a[aria-current]::after { transform: scaleX(1); }
.nav nav a[aria-current] { color: var(--ink); }
.nav nav .ext { font-size: .8em; color: var(--shu); margin-left: 1px; }
.ic-link { display: grid !important; place-items: center; padding: 8px 10px !important; color: var(--ai) !important; }
.ic-link::after { display: none; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: var(--shu); transform: scaleX(0); transform-origin: left; }

/* ---------- Boutons, pastilles ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 9px; height: 48px; padding: 0 26px; border-radius: 3px;
  font-size: 14.5px; font-weight: 500; letter-spacing: .06em; white-space: nowrap; overflow: hidden;
  transition: color .35s var(--ease), border-color .35s, transform .35s var(--ease), box-shadow .35s;
}
.btn.primary { background: var(--ink); color: var(--paper); box-shadow: 0 10px 30px -14px rgba(31, 29, 26, .6); }
.btn.primary::before { content: ""; position: absolute; inset: 0; background: var(--shu); transform: translateY(101%); transition: transform .45s var(--ease); z-index: -1; }
.btn.primary { isolation: isolate; }
.btn.primary:hover::before { transform: none; }
.btn.ghost { color: var(--ink); border: 1px solid var(--line-2); background: rgba(251, 249, 244, .6); }
.btn.ghost:hover { border-color: var(--ink); }
.btn:hover { transform: translateY(-2px); }
.pill {
  position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em;
  color: var(--c, var(--shu)); text-transform: uppercase;
}
.pill::before { content: ""; width: 14px; height: 1.5px; background: currentColor; }
.avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--paper-3), 0 0 0 4px var(--line-2); }
.avatar.lg { width: 64px; height: 64px; }
.avatar.xl { width: 150px; height: 150px; margin: 18px 0 30px; box-shadow: 0 0 0 6px var(--paper-3), 0 0 0 7px var(--line-2), 0 30px 60px -20px rgba(70, 50, 20, .45); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 28px; font-size: 13.5px; font-weight: 500; letter-spacing: .14em; color: var(--ink-2); }

/* ---------- Héros : jardin zen 3D ---------- */
.hero { position: relative; min-height: min(100svh, 940px); margin-top: -70px; display: flex; align-items: center; overflow: hidden; }
#garden { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.6s ease; }
#garden.ready { opacity: 1; }
#garden.fallback, .no-webgl #garden { opacity: 1;
  background: repeating-radial-gradient(circle at 72% 46%, transparent 0 16px, rgba(120, 100, 70, .12) 16px 17.5px, transparent 17.5px 26px), var(--paper-2); }
.hero-veil { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(244, 240, 230, .92) 0%, rgba(244, 240, 230, .7) 34%, rgba(244, 240, 230, 0) 62%),
              linear-gradient(0deg, var(--paper) 0%, rgba(244, 240, 230, 0) 22%); }
.hero-in { position: relative; z-index: 2; width: 100%; max-width: var(--w); margin: 0 auto; padding: 150px 28px 120px; }
.hero h1 { max-width: 760px; font-size: clamp(44px, 6.6vw, 86px); font-weight: 700; line-height: 1.12; letter-spacing: -.005em; }
.hero h1 .line { display: block; }
.accent { color: var(--shu); }
.hero h1 .accent { font-weight: 600; }
.hero-sub { max-width: 540px; margin: 32px 0 0; font-size: clamp(16.5px, 1.6vw, 18.5px); color: var(--ink-2); line-height: 1.95; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.author-chip { display: inline-flex; align-items: center; gap: 14px; margin-top: 52px; }
.author-chip b { display: block; font-family: var(--mincho); font-size: 16px; }
.author-chip span { display: block; font-size: 13px; color: var(--stone); letter-spacing: .04em; line-height: 1.5; }
.vertical {
  position: absolute; z-index: 2; right: 34px; top: 50%; translate: 0 -50%; margin: 0;
  writing-mode: vertical-rl; font-family: var(--mincho); font-size: 15px; letter-spacing: .6em; color: var(--ink-2); opacity: .7;
}
.scroll-hint { position: absolute; z-index: 2; left: 50%; bottom: 26px; translate: -50% 0; width: 1px; height: 64px; overflow: hidden; background: var(--line-2); }
.scroll-hint span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--shu); animation: drip 2.4s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }

/* ---------- Toile d'encre (accueil) ---------- */
#ink { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 1.6s ease; }
#ink.ready { opacity: 1; }
@media (max-width: 900px) {
      }

/* ---------- Sections ---------- */
.section { position: relative; max-width: var(--w); margin: 0 auto; padding: 120px 28px 0; }
.section.tight { padding-top: 50px; }
.sec-head { position: relative; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 20px; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 44px); }
.sec-head p { width: 100%; margin: 0; color: var(--stone); }
.jp { width: 100%; font-family: var(--mincho); font-size: 14px; letter-spacing: .5em; color: var(--shu); }
.more { font-size: 14px; letter-spacing: .06em; color: var(--ink-2); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: border-color .2s; }
.more:hover { border-color: var(--shu); }
.center { display: flex; justify-content: center; margin-top: 56px; }
.center.gap { gap: 14px; flex-wrap: wrap; }

/* ---------- À la une ---------- */
.features { display: flex; flex-direction: column; gap: 110px; }
.feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 70px; align-items: center; }
.feature:nth-child(2) .feature-media { order: 2; }
.feature-media { display: block; border-radius: 6px; overflow: hidden; background: var(--paper-2);
  box-shadow: 0 50px 80px -40px rgba(70, 50, 20, .45), 0 0 0 1px var(--line); }
.feature-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transform: translateY(var(--py, 0px)) scale(1.08); transition: transform 1.2s var(--ease); }
.feature-media:hover img { transform: translateY(var(--py, 0px)) scale(1.12); }
.feature-txt { position: relative; }
.feature-num { position: absolute; top: -70px; right: 0; font-family: var(--mincho); font-weight: 700; font-size: 110px; letter-spacing: -.04em; line-height: 1; color: var(--c); opacity: .1; pointer-events: none; }
.feature h3 { font-size: clamp(26px, 2.8vw, 36px); margin: 16px 0 18px; }
.feature h3 a { background: linear-gradient(var(--shu), var(--shu)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.feature h3 a:hover { background-size: 100% 1px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 16.5px; }
.feature-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Chiffres ---------- */
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.stats li { padding: 34px 28px 30px; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; padding-left: 0; }
.stats b { display: block; font-family: var(--mincho); font-weight: 700; font-size: clamp(38px, 4.4vw, 56px); line-height: 1; color: var(--ink); }
.stats li:nth-child(3) b { color: var(--shu); }
.stats span { display: block; margin-top: 12px; font-size: 14px; color: var(--stone); line-height: 1.6; }

/* ---------- Catégories ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 40px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.chip { position: relative; font-size: 14.5px; letter-spacing: .05em; color: var(--stone); padding: 4px 0; transition: color .2s; }
.chip span { font-size: 11.5px; vertical-align: super; margin-left: 3px; color: var(--stone-2); }
.chip:hover { color: var(--ink); }
.chip.on { color: var(--ink); }
.chip.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -15px; height: 2px; background: var(--shu); }

/* ---------- Cartes ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 52px 34px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; }
.card-link { position: absolute; inset: 0; z-index: 1; }
.card-cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: var(--paper-2);
  box-shadow: 0 0 0 1px var(--line); transition: box-shadow .5s var(--ease); }
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card-cover { box-shadow: 0 0 0 1px var(--line-2), 0 40px 60px -32px rgba(70, 50, 20, .55); }
.card:hover .card-cover img { transform: scale(1.05); }
.card-kanji { position: absolute; z-index: 2; top: 12px; right: 14px; line-height: 1;
  color: var(--paper-3); background: var(--c); width: 38px; height: 38px; display: grid; place-items: center; border-radius: 4px;
  opacity: 0; transform: translateY(-6px) rotate(-4deg); transition: opacity .4s, transform .5s var(--ease); }
.card:hover .card-kanji { opacity: 1; transform: rotate(-4deg); }
.card-body { padding: 22px 2px 0; }
.card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--stone); letter-spacing: .03em; }
.card h3 { font-size: 21px; line-height: 1.45; margin: 12px 0 10px; transition: color .25s; }
.card:hover h3 { color: var(--c); }
.card p { margin: 0; color: var(--stone); font-size: 14.8px; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* inclinaison 3D */
.tilt { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .6s var(--ease); will-change: transform; }
.tilt:hover { transition: transform .12s linear; }
.card.tilt .card-cover::after, .feature-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .45), transparent 45%);
}
.feature-media { position: relative; }
.card.tilt:hover .card-cover::after, .feature-media:hover::after { opacity: 1; }

/* ---------- Teaser à propos ---------- */
.about-teaser { position: relative; display: grid; grid-template-columns: 380px 1fr; gap: 80px; align-items: center;
  padding: 80px 70px; background: var(--paper-3); border-radius: 6px; box-shadow: 0 0 0 1px var(--line), 0 60px 100px -70px rgba(70, 50, 20, .5); overflow: hidden; }
.kanji-bg { position: absolute; right: -40px; bottom: -120px; font-family: var(--mincho); font-weight: 800; font-size: 460px; line-height: 1; color: var(--ink); opacity: .035; pointer-events: none; }
.portrait { position: relative; width: 340px; height: 340px; margin: 0 auto; }
.portrait img { position: absolute; inset: 46px; width: calc(100% - 92px); height: calc(100% - 92px); border-radius: 50%; object-fit: cover;
  filter: saturate(.9) contrast(1.02); box-shadow: 0 30px 60px -25px rgba(70, 50, 20, .55); }
.enso { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-14deg); overflow: visible; }
.enso path { fill: none; stroke: var(--ink); stroke-width: 7; stroke-linecap: round; filter: url(#brush);
  stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--ease) .3s; }
.enso.in path { stroke-dashoffset: 0; }
.at-text h2 { font-size: clamp(30px, 3.4vw, 42px); margin: 14px 0 22px; }
.at-text h2 .accent { display: block; }
.at-text > p { color: var(--ink-2); margin: 0 0 26px; }
.passions { list-style: none; padding: 0; margin: 0 0 34px; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.passions li { font-size: 13.5px; padding: 5px 14px; border: 1px solid var(--line-2); border-radius: 99px; color: var(--ink-2); background: var(--paper); }

/* ---------- Ondes de sable (en-têtes) ---------- */
.ripples { position: absolute; inset: 0; pointer-events: none; opacity: .9;
  background: repeating-radial-gradient(circle at 84% 40%, transparent 0 15px, rgba(120, 100, 70, .1) 15px 16.5px, transparent 16.5px 24px);
  mask-image: radial-gradient(42% 90% at 84% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(42% 90% at 84% 40%, #000 30%, transparent 75%);
  animation: breathe 9s ease-in-out infinite alternate; }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.04); } }
.list-head { position: relative; overflow: hidden; margin-top: -70px; border-bottom: 1px solid var(--line); }
.list-head-in { position: relative; z-index: 1; max-width: var(--w); margin: 0 auto; padding: 150px 28px 80px; }
.list-head h1 { font-size: clamp(42px, 6vw, 76px); margin: 20px 0 18px; }
.list-head p { max-width: 620px; margin: 0; color: var(--ink-2); font-size: 18px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .05em; color: var(--stone); }
.crumbs a:hover { color: var(--shu); }
.crumbs .sep { opacity: .5; }
.crumbs [aria-current] { color: var(--ink-2); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Archives par année */
.year { font-family: var(--mincho); font-size: 30px; color: var(--shu); margin: 50px 0 10px; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.row a { display: grid; grid-template-columns: 170px 1fr auto 140px; align-items: center; gap: 28px; padding: 22px 6px; border-bottom: 1px solid var(--line); transition: background .3s, padding .4s var(--ease); }
.row a:hover { background: var(--paper-3); padding-left: 18px; }
.row time { font-size: 13.5px; color: var(--stone); letter-spacing: .04em; }
.row-title { font-family: var(--mincho); font-size: 20px; font-weight: 700; line-height: 1.45; }
.row a:hover .row-title { color: var(--c); }
.row-cat { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.row img { width: 140px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 1px var(--line); }

/* ---------- Article ---------- */
.post-ripples { height: 820px; bottom: auto; opacity: .75; }
.post-kanji { position: absolute; top: 90px; right: max(28px, calc(50% - 640px)); z-index: 0; font-family: var(--mincho); font-weight: 800; font-size: clamp(160px, 22vw, 320px);
  line-height: 1; color: var(--c); opacity: .07; pointer-events: none; writing-mode: vertical-rl; }
.post { position: relative; z-index: 1; max-width: var(--w); margin: -70px auto 0; padding: 150px 28px 0; }
.post-head { max-width: 820px; }
.post-head .crumbs { margin-bottom: 40px; }
.post-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.post-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--c); border: 1px solid var(--line-2); }
.post-head h1 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.2; }
.lede { margin: 28px 0 0; max-width: 680px; font-size: clamp(17px, 1.8vw, 20px); color: var(--ink-2); line-height: 1.9; }
.byline { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 26px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.byline > div { display: flex; flex-direction: column; line-height: 1.5; }
.byline > div a { font-family: var(--mincho); font-weight: 700; font-size: 16px; }
.byline > div span { font-size: 13px; color: var(--stone); }
.byline .btn { height: 44px; margin-left: auto; }

.hero-media { margin: 70px 0 0; }
.hero-media img { transform: translateY(var(--py, 0px)); border-radius: 6px; box-shadow: 0 0 0 1px var(--line), 0 60px 90px -50px rgba(70, 50, 20, .55); }
.hero-media.cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-media.portrait img { max-width: 440px; margin: 0 auto; }
.phones-wrap { padding: 60px 0 20px; border-radius: 6px; background: var(--paper-3); box-shadow: 0 0 0 1px var(--line);
  background-image: repeating-radial-gradient(circle at 50% 120%, transparent 0 18px, rgba(120, 100, 70, .07) 18px 19.5px, transparent 19.5px 28px); }
.phones { display: flex; justify-content: center; align-items: flex-start; gap: 34px; }
.phone { width: 260px; padding: 9px; border-radius: 40px; background: var(--ink); box-shadow: 0 50px 70px -35px rgba(70, 50, 20, .6); position: relative; }
.phone::before { content: ""; position: absolute; top: 19px; left: 50%; translate: -50% 0; width: 72px; height: 20px; border-radius: 99px; background: var(--ink); z-index: 1; }
.phone img { width: 100%; border-radius: 32px; box-shadow: none !important; }
.phone:nth-child(2) { margin-top: 80px; }

.post-grid { display: grid; grid-template-columns: minmax(0, 700px) 220px; justify-content: space-between; gap: 80px; margin-top: 80px; max-width: 1060px; }
.prose { font-size: 17.5px; line-height: 2; color: var(--ink-2); min-width: 0; }
.prose > p:first-child { font-family: var(--mincho); font-size: 22px; line-height: 1.85; color: var(--ink); font-weight: 600; }
.prose p { margin: 0 0 28px; }
.prose h2 { position: relative; font-size: clamp(25px, 2.8vw, 31px); color: var(--ink); margin: 72px 0 22px; padding-top: 26px; }
.prose h2::before { content: ""; position: absolute; top: 0; left: 0; width: 34px; height: 2px; background: var(--c, var(--shu)); }
.prose h2 .anchor { position: absolute; left: -1.2em; top: 26px; color: var(--stone-2); opacity: 0; transition: opacity .2s; font-weight: 400; }
.prose h2:hover .anchor { opacity: 1; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose em { font-style: normal; color: var(--ink); background: linear-gradient(transparent 62%, color-mix(in srgb, var(--c, var(--shu)) 22%, transparent) 62%); }
.prose a { color: var(--ink); background: linear-gradient(var(--c, var(--shu)), var(--c, var(--shu))) 0 100% / 100% 1px no-repeat; transition: background-size .35s var(--ease), color .2s; padding-bottom: 1px; }
.prose a:hover { color: var(--c, var(--shu)); }
.prose ul, .prose ol { margin: 0 0 30px; padding-left: 0; list-style: none; counter-reset: li; }
.prose li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.prose ul li::before { content: ""; position: absolute; left: 8px; top: .95em; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--c, var(--shu)); }
.prose ol li { counter-increment: li; }
.prose ol li::before { content: counter(li, cjk-ideographic); position: absolute; left: 0; top: 0; font-family: var(--mincho); font-weight: 800; color: var(--c, var(--shu)); }
.prose code { font-family: ui-monospace, Menlo, monospace; font-size: .85em; padding: 2px 7px; border-radius: 3px; background: var(--paper-2); }
.browser { border-radius: 10px; overflow: hidden; background: var(--paper-3); box-shadow: 0 0 0 1px var(--line-2), 0 50px 80px -45px rgba(70, 50, 20, .55); }
.browser-bar { height: 30px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfc6b4; }
.browser-bar i:first-child { background: var(--shu); }
.browser img { width: 100%; border-radius: 0 !important; box-shadow: none !important; }
.hero-media.shot figcaption, .figure figcaption { margin-top: 14px; font-size: 13.5px; color: var(--stone); text-align: center; }
.mobile-shot { display: flex; flex-direction: column; align-items: center; }
.phone.solo { width: 300px; margin: 0 auto; }
.figure .browser { margin: 0 -40px; }
.figure { margin: 50px 0; }
.figure img { border-radius: 6px; box-shadow: 0 0 0 1px var(--line), 0 40px 60px -40px rgba(70, 50, 20, .5); }
.figure figcaption { margin-top: 14px; font-size: 13.5px; color: var(--stone); text-align: center; }

.toc { position: sticky; top: 110px; align-self: start; font-size: 13.5px; }
.toc p { margin: 0 0 16px; font-family: var(--mincho); font-weight: 700; font-size: 13px; letter-spacing: .3em; color: var(--shu); }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-2); }
.toc a { display: block; padding: 7px 0 7px 18px; margin-left: -1px; border-left: 2px solid transparent; color: var(--stone); line-height: 1.55; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); border-left-color: var(--c, var(--shu)); }

.post-foot { max-width: 700px; margin-top: 64px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.tag { font-size: 14px; color: var(--stone); }
a.tag:hover { color: var(--shu); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 34px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share span { font-family: var(--mincho); font-weight: 700; font-size: 14px; margin-right: 4px; }
.share a, .share button { font: 500 13.5px var(--gothic); letter-spacing: .05em; color: var(--ink-2); background: none; border: 0; padding: 0; cursor: pointer; transition: color .2s; }
.share a:hover, .share button:hover { color: var(--shu); }
.author-box { display: flex; gap: 24px; margin-top: 44px; padding: 30px; border-radius: 6px; background: var(--paper-3); box-shadow: 0 0 0 1px var(--line); }
.author-box p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.85; }
.author-box .ab-name { font-family: var(--mincho); color: var(--ink); font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.ab-links { margin-top: 14px !important; }
.ab-links a { color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line-2); }
.ab-links a:hover { border-color: var(--shu); }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.prevnext a { padding: 22px 0; border-top: 1px solid var(--line-2); font-family: var(--mincho); font-weight: 700; font-size: 17px; line-height: 1.5; transition: color .2s; }
.prevnext a:hover { color: var(--shu); }
.prevnext small { display: block; margin-bottom: 8px; font-family: var(--gothic); font-weight: 400; font-size: 12.5px; letter-spacing: .08em; color: var(--stone); }
.prevnext .r { text-align: right; }

/* ---------- À propos ---------- */
.about-head .list-head-in { max-width: 860px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.about-head .ripples { background: repeating-radial-gradient(circle at 50% 46%, transparent 0 15px, rgba(120, 100, 70, .1) 15px 16.5px, transparent 16.5px 24px);
  mask-image: radial-gradient(50% 80% at 50% 46%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(50% 80% at 50% 46%, #000 30%, transparent 75%); }
.about-head .crumbs { justify-content: center; }
.about-head h1 { margin-top: 0; }
.about-tag { font-size: 18.5px !important; line-height: 1.9; }
.about-tag b { font-family: var(--mincho); color: var(--ink); }
.about-body { max-width: 760px; margin: 0 auto; padding: 80px 28px 0; }
.about-prose p:first-child::first-letter { float: left; font-family: var(--mincho); font-weight: 800; font-size: 84px; line-height: .9; padding: 6px 14px 0 0; color: var(--shu); }
.about-end { margin-top: 44px !important; padding: 34px 38px; border-left: 3px solid var(--shu); font-family: var(--mincho); font-weight: 600; font-size: 22px !important; line-height: 1.8 !important; color: var(--ink) !important; background: var(--paper-3); }
.skill { padding: 30px 26px; border-radius: 6px; background: var(--paper-3); box-shadow: 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.skill:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line-2), 0 30px 50px -30px rgba(70, 50, 20, .45); }
.skill-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; margin-bottom: 22px; color: var(--shu); border: 1px solid rgba(200, 65, 43, .35); }
.skill h3 { font-size: 19px; margin-bottom: 10px; }
.skill p { margin: 0; font-size: 14.5px; color: var(--stone); line-height: 1.8; }

/* ---------- Pied de page ---------- */
.foot { margin-top: 160px; background: var(--ink); color: rgba(244, 240, 230, .72); }
.foot .seal { box-shadow: inset 0 0 0 2px var(--shu), inset 0 0 0 3.5px rgba(31, 29, 26, .4); }
.foot-in { max-width: var(--w); margin: 0 auto; padding: 80px 28px 40px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot .logo { color: var(--paper); }
.foot-about p { margin: 18px 0 0; font-size: 14px; max-width: 320px; line-height: 1.9; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.foot-col h2 { font-family: var(--gothic); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(244, 240, 230, .45); font-weight: 500; margin-bottom: 8px; }
.foot-col a { transition: color .2s; }
.foot-col a:hover { color: var(--paper); }
.laozi { max-width: var(--w); margin: 0 auto; padding: 50px 28px; border-top: 1px solid rgba(244, 240, 230, .1); display: grid; grid-template-columns: auto 1fr; gap: 6px 40px; align-items: center; }
.laozi .zh { grid-row: span 2; margin: 0; font-family: var(--mincho); font-size: 30px; letter-spacing: .3em; color: var(--paper); }
.laozi blockquote { margin: 0; }
.laozi blockquote p { margin: 0; font-family: var(--mincho); font-size: 18px; color: var(--paper); }
.laozi figcaption { font-size: 13px; color: rgba(244, 240, 230, .5); }
.foot-copy { max-width: var(--w); margin: 0 auto; padding: 24px 28px 40px; font-size: 13px; color: rgba(244, 240, 230, .45); border-top: 1px solid rgba(244, 240, 230, .1); }

/* ---------- Apparitions « encre » ---------- */
.rise { animation: rise 1.3s var(--ease) var(--d, 0s) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; translate: 0 16px; transition: opacity .9s var(--ease), translate .9s var(--ease); }
.reveal.in { opacity: 1; translate: 0 0; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; translate: none; filter: none; transition: none; }
  .ripples, .scroll-hint span, .rise { animation: none; }
  .enso path { stroke-dashoffset: 0; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .post-grid { grid-template-columns: minmax(0, 700px); }
  .toc { display: none; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .about-teaser { grid-template-columns: 1fr; gap: 40px; padding: 60px 44px; }
  .vertical { display: none; }
}
@media (max-width: 900px) {
  .grid3 { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; gap: 34px; }
  .feature:nth-child(2) .feature-media { order: 0; }
  .feature-num { top: -40px; font-size: 96px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .row a { grid-template-columns: 1fr 110px; gap: 4px 18px; }
  .row time, .row-title, .row-cat { grid-column: 1; }
  .row img { grid-column: 2; grid-row: 1 / span 3; width: 110px; }
  .hero-veil { background: linear-gradient(180deg, rgba(244, 240, 230, .5) 0%, rgba(244, 240, 230, .72) 40%, rgba(244, 240, 230, .9) 85%, var(--paper) 100%); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-in { padding: 12px 18px; }
  .logo-name { display: none; }
  .nav nav a { padding: 8px 9px; }
  .nav nav a.nav-cat { display: none; }
  .nav nav a::after { left: 9px; right: 9px; }
  .hero { min-height: 100svh; align-items: flex-end; }
  .hero-in { padding: 120px 20px 90px; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 48px); }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .section { padding: 90px 20px 0; }
  .section.tight { padding-top: 34px; }
  .features { gap: 80px; }
  .grid3, .grid4 { grid-template-columns: 1fr; }
  .list-head-in { padding: 120px 20px 56px; }
  .post { padding: 120px 20px 0; }
  .post-head .crumbs { margin-bottom: 28px; }
  .byline .btn { margin-left: 0; }
  .hero-media { margin-top: 44px; }
  .phones-wrap { padding: 34px 0 10px; }
  .phones { gap: 14px; }
  .phone { width: 43%; padding: 6px; border-radius: 26px; }
  .phone::before { top: 12px; width: 38px; height: 11px; }
  .phone img { border-radius: 21px; }
  .phone:nth-child(2) { margin-top: 44px; }
  .figure .browser { margin: 0; }
  .phone.solo { width: 62%; }
  .post-grid { margin-top: 50px; }
  .prose { font-size: 16.5px; }
  .prose > p:first-child { font-size: 19px; }
  .prose h2 .anchor { display: none; }
  .author-box { flex-direction: column; padding: 24px; }
  .prevnext { grid-template-columns: 1fr; }
  .prevnext .r { text-align: left; }
  .about-teaser { padding: 50px 24px; }
  .portrait { width: 270px; height: 270px; }
  .portrait img { inset: 36px; width: calc(100% - 72px); height: calc(100% - 72px); }
  .kanji-bg { font-size: 300px; }
  .about-body { padding: 56px 20px 0; }
  .about-end { font-size: 19px !important; padding: 24px; }
  .foot { margin-top: 110px; }
  .foot-in { grid-template-columns: 1fr 1fr; padding: 60px 20px 30px; gap: 32px; }
  .foot-about { grid-column: 1 / -1; }
  .laozi { grid-template-columns: 1fr; padding: 40px 20px; }
  .laozi .zh { grid-row: auto; font-size: 24px; }
  .foot-copy { padding: 20px 20px 34px; }
  .stats li { padding: 26px 18px 22px; }
}

/* =====================================================================
   Effets « wow » : pinceau, curseur d'encre, chiffres, bandeau, méthode,
   convictions, chronologie, appel à échanger, transitions entre pages
   ===================================================================== */


/* Cartes qui se déploient */
.card.lift.reveal { translate: 0 26px; }

/* Chiffres en comptage */
.stats b { font-variant-numeric: tabular-nums; }


/* Ma façon de faire */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-2); }
.step { position: relative; padding: 40px 28px 44px 0; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step + .step { padding-left: 28px; }
.step::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--shu); transition: width 1.2s var(--ease) calc(var(--d, 0ms) + .3s); }
.step.in::before { width: 100%; }
.step-num { display: block; font-family: var(--mincho); font-weight: 700; font-size: 44px; line-height: 1; color: var(--shu); margin-bottom: 22px; }
.step-jp { display: block; margin: 10px 0 24px; font-family: var(--mincho); font-size: 14px; letter-spacing: .4em; color: var(--shu); }
.step h3 { font-size: 24px; margin-bottom: 12px; }
.step p { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.85; }

/* Ce que je crois */
.beliefs { list-style: none; margin: 0; padding: 0; }
.beliefs li { display: grid; grid-template-columns: 70px 1fr; gap: 20px; align-items: baseline; padding: 30px 0; border-top: 1px solid var(--line); }
.beliefs li:last-child { border-bottom: 1px solid var(--line); }
.belief-n { font-family: var(--mincho); font-size: 15px; letter-spacing: .2em; color: var(--shu); }
.belief { font-family: var(--mincho); font-weight: 700; font-size: clamp(26px, 3.6vw, 48px); line-height: 1.25; letter-spacing: -.005em; }
.belief .w { transform: translateY(.25em) rotate(.8deg); }

/* Chronologie */
.timeline { position: relative; list-style: none; margin: 0; padding: 10px 0 10px 40px; }
.tl-line { position: absolute; left: 10px; top: 0; bottom: 0; width: 1px; background: var(--line-2); overflow: hidden; }
.tl-line i { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--shu); transform: scaleY(var(--p, 0)); transform-origin: top; transition: transform .2s linear; }
.tl-item { position: relative; padding: 0 0 38px; }
.tl-dot { position: absolute; left: -36px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 2px solid var(--stone-2); transition: border-color .4s, background .4s, box-shadow .4s; }
.tl-item.lit .tl-dot { border-color: var(--shu); background: var(--shu); box-shadow: 0 0 0 5px rgba(200, 65, 43, .14); }
.tl-item time { display: block; font-family: var(--mincho); font-weight: 700; font-size: 22px; margin-bottom: 10px; }
.tl-item ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.tl-item ul a { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 8px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--paper-3); font-size: 14.5px; font-weight: 500; transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; }
.tl-item ul a:hover { transform: translateY(-2px); border-color: var(--c); box-shadow: 0 14px 24px -16px color-mix(in srgb, var(--c) 60%, transparent); }
.tl-kj { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: var(--paper-3); background: var(--c); }

/* Appel à échanger */
.cta { position: relative; overflow: hidden; text-align: center; padding: 90px 40px; border-radius: 6px; background: var(--ink); color: var(--paper); box-shadow: 0 60px 100px -60px rgba(31, 29, 26, .7); }
.cta::before { content: ""; position: absolute; right: -10px; bottom: -70px; font-family: var(--mincho); font-weight: 800; font-size: 300px; line-height: 1; color: var(--paper); opacity: .05; writing-mode: vertical-rl; pointer-events: none; }
.cta .jp { color: var(--shu); margin-bottom: 18px; display: block; }
.cta h2 { font-size: clamp(30px, 4.2vw, 54px); max-width: 820px; margin: 0 auto 18px; }
.cta p { margin: 0 auto; max-width: 520px; color: rgba(244, 240, 230, .72); font-size: 17px; }
.cta .btns { justify-content: center; }
.cta .btn.primary { background: var(--shu); color: var(--paper); box-shadow: none; }
.cta .btn.primary::before { background: #e05a42; }
.cta .btn.ghost { color: var(--paper); border-color: rgba(244, 240, 230, .3); background: transparent; }
.cta .btn.ghost:hover { border-color: var(--paper); }

/* Fiche « En bref » des articles */
.brief { display: grid; grid-template-columns: 1.25fr 1fr; gap: 34px; max-width: 1060px; margin: 56px 0 0; padding: 34px 38px; border-radius: 6px; background: var(--paper-3); box-shadow: 0 0 0 1px var(--line), 0 40px 70px -60px rgba(70, 50, 20, .5); }
.brief-t { margin: 0 0 14px; font-family: var(--mincho); font-weight: 700; font-size: 13px; letter-spacing: .3em; color: var(--shu); text-transform: uppercase; }
.brief ul { list-style: none; margin: 0; padding: 0; }
.brief ul li { position: relative; padding-left: 26px; margin-bottom: 10px; font-family: var(--mincho); font-weight: 600; font-size: 17.5px; line-height: 1.6; }
.brief ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--shu)); }
.brief-facts { margin: 0; display: grid; gap: 10px; align-content: start; border-left: 1px solid var(--line); padding-left: 30px; }
.brief-facts div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; font-size: 14px; line-height: 1.6; }
.brief-facts dt { color: var(--stone); letter-spacing: .04em; }
.brief-facts dd { margin: 0; color: var(--ink); font-weight: 500; }

/* Transitions entre pages (navigateurs récents) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .32s ease forwards; }
::view-transition-new(root) { animation: vt-in .6s var(--ease); }
@keyframes vt-out { to { opacity: 0; filter: blur(10px); transform: scale(.985); } }
@keyframes vt-in { from { opacity: 0; filter: blur(10px); transform: scale(1.012); } }

@media (prefers-reduced-motion: reduce) {
  .card.lift.reveal { transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .step::before { transition: none; width: 100%; }
}
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(3) { padding-left: 0; border-right: 1px solid var(--line); }
  .step:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .brief { grid-template-columns: 1fr; gap: 24px; }
  .brief-facts { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 22px; }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0 32px; border-right: 0; }
  .step:nth-child(3) { border-right: 0; }
  .step:nth-child(n+2) { border-top: 1px solid var(--line-2); }
  .beliefs li { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .timeline { padding-left: 28px; }
  .tl-dot { left: -24px; }
  .cta { padding: 60px 22px; }
  .cta::before { font-size: 180px; }
  .brief { padding: 24px 20px; margin-top: 36px; }
  .brief-facts div { grid-template-columns: 86px 1fr; }
}

/* ---------- CV / Carrière ---------- */
.cv-head .list-head-in { max-width: 860px; }
.cv-btns { margin-top: 30px; }
.jobs { list-style: none; margin: 0; padding: 0; }
.job { display: grid; grid-template-columns: 320px 1fr; gap: 40px; padding: 44px 0; border-top: 1px solid var(--line-2); }
.job:last-child { border-bottom: 1px solid var(--line-2); }
.job-co { display: flex; align-items: center; gap: 18px; align-self: start; position: sticky; top: 100px; }
.job-logo { display: grid; place-items: center; flex: none; width: 92px; height: 92px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 20px 40px -30px rgba(70, 50, 20, .5); padding: 12px; }
.job-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.job-co h2 { font-size: 21px; line-height: 1.3; }
.job-co p { margin: 6px 0 0; font-size: 13.5px; color: var(--stone); letter-spacing: .03em; }
.roles { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 1px solid var(--line-2); }
.role { position: relative; padding: 0 0 30px; }
.role:last-child { padding-bottom: 0; }
.role::before { content: ""; position: absolute; left: -32px; top: 9px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--stone-2); }
.role.current::before { background: var(--shu); border-color: var(--shu); box-shadow: 0 0 0 5px rgba(200, 65, 43, .14); }
.role h3 { font-size: 20px; line-height: 1.4; }
.role-meta { margin: 6px 0 0; font-size: 13.5px; color: var(--stone); letter-spacing: .03em; }
.role-desc { margin: 12px 0 0; max-width: 620px; font-size: 15.5px; color: var(--ink-2); line-height: 1.85; }
.skills { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.skills li { padding: 28px 26px; border-radius: 6px; background: var(--paper-3); box-shadow: 0 0 0 1px var(--line); }
.skills h3 { font-size: 19px; margin-bottom: 10px; }
.skills p { margin: 0; font-size: 14.8px; color: var(--ink-2); line-height: 1.8; }
.skills a { color: var(--ink); border-bottom: 1px solid var(--shu); }
@media (max-width: 900px) {
  .job { grid-template-columns: 1fr; gap: 22px; padding: 32px 0; }
  .job-co { position: static; }
  .skills { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .job-logo { width: 72px; height: 72px; padding: 9px; } .roles { padding-left: 20px; } .role::before { left: -26px; } }
@media print {
  @page { margin: 14mm; }
  body { background: #fff; color: #000; font-size: 11pt; }
  body::before, .nav, .foot, .ripples, .progress, .cv-btns, .center, .jp, .skip, #ink { display: none !important; }
  .list-head { margin-top: 0; border: 0; }
  .list-head-in { padding: 0 0 10mm; }
  .list-head h1 { font-size: 26pt; margin: 4mm 0; }
  .list-head p { max-width: none; }
  .section { padding: 8mm 0 0; }
  .job { grid-template-columns: 52mm 1fr; gap: 8mm; padding: 6mm 0; break-inside: avoid; }
  .job-co { position: static; }
  .job-logo { box-shadow: none; border: 1px solid #ddd; width: 22mm; height: 22mm; }
  .skills { grid-template-columns: 1fr 1fr; gap: 4mm; }
  .skills li { box-shadow: none; border: 1px solid #ddd; padding: 4mm; break-inside: avoid; }
  .reveal, .wipe { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; translate: none !important; clip-path: none !important; }
  a { color: #000; text-decoration: none; }
}
@media (max-width: 640px) {
  .nav nav { min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .nav nav::-webkit-scrollbar { display: none; }
  .nav-long { display: none; }
}

.list-head .note { margin-top: 18px; padding: 12px 16px; border-left: 3px solid var(--shu); font-size: 14.5px; color: var(--ink-2); background: rgba(251, 249, 244, .7); max-width: 620px; }

.pill.ongoing { color: var(--paper-3); background: var(--shu); padding: 2px 9px; border-radius: 99px; letter-spacing: .08em; }
.pill.ongoing::before { display: none; }

/* ---------- Smartphone : aucune animation ---------- */
@media (max-width: 760px), (hover: none) and (pointer: coarse) {
  .reveal, .wipe, .card.lift.reveal { opacity: 1 !important; translate: none !important; transform: none !important; filter: none !important; transition: none !important; }
  .rise { animation: none !important; }
  .ripples, .scroll-hint span { animation: none !important; }
  .scroll-hint { display: none; }
  .enso path { stroke-dashoffset: 0 !important; transition: none !important; }
  .step::before { transition: none !important; width: 100% !important; }
  .tl-line i { transition: none !important; }
  .tilt { transform: none !important; transition: none !important; }
  .card-cover img, .feature-media img, .hero-media img { transform: none !important; transition: none !important; }
  .btn, .card, .skill, .tl-item ul a { transition: none !important; }
  .progress { display: none; }
  #ink { display: none; }
  html { scroll-behavior: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}

/* ---------- Smartphone : plus d'espaces réservés aux scènes 3D ---------- */
@media (max-width: 760px), (hover: none) and (pointer: coarse) {
  .hero { min-height: 0; align-items: flex-start; }
  .hero-in { padding: 110px 20px 36px; }
  .vertical { display: none; }
          .section { padding-top: 56px; }
}

/* ---------- Menu sur smartphone : tout tient, l'icône LinkedIn n'est plus coupée ---------- */
@media (max-width: 760px) {
  .nav-in { padding: 10px 12px; gap: 8px; }
  .nav nav { flex: 1 1 auto; justify-content: flex-end; gap: 0; font-size: 13.5px; letter-spacing: .02em; overflow: visible; margin: 0; padding: 0; }
  .nav nav a { padding: 8px 7px; }
  .ic-link { padding: 8px 2px 8px 6px !important; }
  .nav nav a::after { left: 7px; right: 7px; }
}
@media (max-width: 360px) {
  .nav nav a { padding: 8px 5px; font-size: 13px; }
  .nav nav .ext { display: none; }
}

/* ---------- Balayage de pinceau : titres et phrases ---------- */
.wipe { display: inline-block; clip-path: inset(0 100% 0 0); }
.wipe.auto, .wipe.in { animation: wipe 1.1s var(--ease) both; animation-delay: calc(.1s + var(--i, 0) * .22s); }
@keyframes wipe { to { clip-path: inset(0 -2% 0 0); } }
.wipe.reveal { opacity: 1; translate: none; transition: none; }
.hero h1 .wipe { animation-delay: calc(.35s + var(--i, 0) * .22s); }

/* Trait de pinceau vermillon sous les titres de section */
.sec-head h2 { position: relative; display: inline-block; padding-bottom: 14px; }
.sec-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; max-width: 160px; height: 7px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 7' preserveAspectRatio='none'><path d='M1 4.5 C 30 1.5, 60 6, 90 3.5 S 140 1.5, 159 4' fill='none' stroke='%23c8412b' stroke-width='2.6' stroke-linecap='round'/></svg>") left center / 100% 100% no-repeat;
  clip-path: inset(0 100% 0 0); transition: clip-path 1s var(--ease) .25s; }
.sec-head.in h2::after { clip-path: inset(0 0 0 0); }
.sec-head p { width: 100%; }

/* Scène d'accueil : fondu doux quand on quitte l'intro */
#ink { transition: opacity .8s ease; }
@media (prefers-reduced-motion: reduce) {
  .wipe, .wipe.auto, .wipe.in { clip-path: none; animation: none; }
  .sec-head h2::after { clip-path: none; transition: none; }
}
@media (max-width: 760px), (hover: none) and (pointer: coarse) {
  .wipe, .wipe.auto, .wipe.in { clip-path: none !important; animation: none !important; }
  .sec-head h2::after { clip-path: none !important; transition: none !important; }
}

/* ---------- Aucune animation : tout est affiché directement, sur tous les écrans ---------- */
*, *::before, *::after { animation: none !important; transition: none !important; }
.reveal, .wipe, .rise, .card.lift, .ink-words .w { opacity: 1 !important; transform: none !important; translate: none !important; filter: none !important; clip-path: none !important; }
.sec-head h2::after { clip-path: none !important; }
.step::before { width: 100% !important; }
.tl-line i { transform: scaleY(1) !important; }
.tl-dot { border-color: var(--shu); background: var(--shu); }
.tilt, .tilt:hover { transform: none !important; }
.card-cover img, .feature-media img, .hero-media img { transform: none !important; }
.card:hover .card-cover img, .feature-media:hover img { transform: none !important; }
.card-kanji { opacity: 1; transform: rotate(-4deg); }
.card.tilt .card-cover::after, .feature-media::after { display: none; }
.ripples { animation: none !important; }
#ink, .progress, .scroll-hint { display: none !important; }
.hero { min-height: 0; margin-top: -70px; }
.hero-in { padding: 140px 28px 90px; max-width: var(--w); }
.hero h1 { max-width: 820px; }
.hero-sub { max-width: 600px; }
@view-transition { navigation: none; }
