/* latin-ext */
@font-face {
  font-family: 'Zen Kaku Gothic New';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/zen-kaku-gothic-new-latin-ext-400.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Zen Kaku Gothic New';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/zen-kaku-gothic-new-latin-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Zen Kaku Gothic New';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/zen-kaku-gothic-new-latin-ext-500.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Zen Kaku Gothic New';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/zen-kaku-gothic-new-latin-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --ink: #44453e;
  --muted: #6f7168;
  background: var(--paper);
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.75;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: #44453e0d;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; overflow-wrap: anywhere; }
::selection { background: #e5e6dc; }

.layout {
  display: grid;
  grid-template-columns: 9rem minmax(0, 35rem);
  gap: 5rem;
  width: min(58rem, calc(100% - 4rem));
  margin-inline: auto;
  padding-block: clamp(3rem, 10vh, 6rem) 4rem;
}

.sidebar { position: sticky; top: 3rem; align-self: start; }
h1 { margin: 0; padding-block: .25rem; padding-inline-end: 1.25rem; font-size: 1.1111rem; font-weight: 500; line-height: 1.75; letter-spacing: -.02em; }
main { min-width: 0; }
p { margin: 0 0 1.25rem; }
p:last-child { margin-bottom: 0; }
.intro { margin: .25rem 0 0; }

summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.menu-toggle {
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: -.6rem;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
}
.menu-toggle img { opacity: .55; transition: opacity .2s ease; }
.menu-toggle:hover img { opacity: .85; }
.site-nav { display: grid; margin-top: .85rem; }
.site-menu[open] .site-nav { animation: reveal .24s ease-out; }
.site-nav a {
  display: flex;
  align-items: center;
  min-height: 40px;
  width: fit-content;
  margin-inline-start: calc(-.7rem - 3px);
  padding-inline-start: .7rem;
  border-inline-start: 3px double transparent;
  font-size: .8889rem;
  letter-spacing: .035em;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease;
}
.site-nav a:hover { color: var(--ink); border-color: var(--muted); }

html:has(#ecrit:target) a[href="#ecrit"],
html:has(#posts:target) a[href="#ecrit"],
html:has(#lecture:target) a[href="#lecture"],
html:has(#film:target) a[href="#film"],
html:has(#series:target) a[href="#series"],
html:has(#photos:target) a[href="#photos"],
html:has(#projets:target) a[href="#projets"] {
  color: var(--ink);
  border-color: currentColor;
}

.collection { margin-top: 4rem; scroll-margin-top: 3rem; }
h2 { margin: 0 0 .8rem; font-size: .8889rem; font-weight: 500; line-height: 1.75; letter-spacing: .06em; }
h3 { margin: 0; font-size: 1rem; font-weight: 500; }
.empty-state { color: var(--muted); font-size: .8889rem; }
.anchor-alias { display: block; scroll-margin-top: 3rem; }

.post-meta, .entry-meta, time, figcaption { color: var(--muted); font-size: .8333rem; }
time { font-variant-numeric: tabular-nums; }
.rating { font-size: .8333rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.post-meta { margin: .25rem 0 0; }
.post-body { margin-top: 1.25rem; }
details[open] > .post-body { animation: reveal .28s cubic-bezier(.22, 1, .36, 1); }
@keyframes reveal { from { opacity: 0; transform: translateY(.2rem); } to { opacity: 1; transform: none; } }
.latest-post + .post { margin-top: 2rem; }
.post + .post { margin-top: .5rem; }
.post > summary, .reading-list summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: .25rem 1rem;
  min-height: 44px;
  padding-block: .3rem;
}
.post-title, .entry-title { font-weight: 400; }
.entry-title { display: flex; align-items: baseline; gap: .4rem; }
.disclosure-icon { flex: none; opacity: .6; transition: transform .24s ease; }
details[open] > summary .disclosure-icon { transform: rotate(90deg); }
:is(.post, .reading-list details)[open] { padding-bottom: 1rem; }
:is(.post, .reading-list details)[open] > summary :is(.post-title, .entry-title),
:is(.post, .reading-list details) > summary:hover :is(.post-title, .entry-title) { text-decoration: underline; }

.reading-list { margin: 0; padding: 0; list-style: none; }
.reading-list summary { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; }
.reading-list li + li { margin-top: .35rem; }
.reading-list .post-body { margin-top: .75rem; }
figure { margin: 1.5rem 0; }
figure img, .post-body img { display: block; max-width: 100%; height: auto; }
figcaption { margin-top: .5rem; }
.post-body pre { max-width: 100%; overflow-x: auto; }

footer { margin-top: 4.5rem; font-size: .8889rem; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .3em; }
:is(a, summary):focus-visible { outline: 1px solid currentColor; outline-offset: 5px; }
:is(main, section):focus { outline: none; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; inset: .5rem auto auto 1rem; padding: .5rem; background: var(--paper); transform: translateY(-200%); z-index: 3; }
.skip-link:focus { transform: none; }

@media (max-width: 1100px) {
  .layout { gap: 3rem; }
}

@media (max-width: 760px) {
  :root { font-size: 17px; }
  .layout { display: block; width: auto; margin-inline: 1.5rem; padding-block: 1.5rem 3rem; }
  .sidebar { position: relative; top: auto; padding-block: .5rem; margin-bottom: 2.5rem; }
  h1 { padding-inline-end: 2rem; }
  .menu-toggle { inset-block-start: .5rem; }
  .site-nav { display: flex; flex-wrap: wrap; column-gap: clamp(1rem, 4vw, 1.5rem); margin-top: .3rem; }
  .site-nav a { min-height: 44px; margin-inline-start: 0; padding-inline-start: 0; border-inline-start: 0; border-bottom: 3px double transparent; font-size: .9412rem; }
  .collection { margin-top: 3.25rem; }
  :is(.collection, .anchor-alias, #about, #contenu) { scroll-margin-top: 1.5rem; }
  .post > summary, .reading-list summary { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
  .reading-list .entry-meta { display: inline; }
  footer { margin-top: 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  details[open] > .post-body, .site-menu[open] .site-nav { animation: none; }
  .menu-toggle img, .site-nav a, .disclosure-icon { transition: none; }
}
