@font-face{font-family:"EB Garamond";src:url(/fonts/eb-garamond-latin-400-normal.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"EB Garamond";src:url(/fonts/eb-garamond-latin-400-italic.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"EB Garamond";src:url(/fonts/eb-garamond-latin-500-normal.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"EB Garamond";src:url(/fonts/eb-garamond-latin-600-normal.woff2) format("woff2");font-weight:600;font-style:normal;font-display:swap}

:root{
  --paper:#f6f3ec; --ink:#1a1a1a; --grey:#5f5a54; --rule:#d9d3c7; --blood:#7a1f1f;
  --serif:"EB Garamond",Garamond,"Times New Roman",serif;
  --measure:34em;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--serif);
  font-size:20px;line-height:1.6;font-variant-numeric:oldstyle-nums proportional-nums;
  text-rendering:optimizeLegibility;font-kerning:normal;hyphens:auto}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration-color:rgba(122,31,31,.45);text-underline-offset:.18em;text-decoration-thickness:1px}
a:hover{color:var(--blood);text-decoration-color:var(--blood)}
:focus-visible{outline:2px solid var(--blood);outline-offset:3px}
p{margin:0 0 1em}
em,i,cite{font-style:italic}
.wrap{max-width:1120px;margin:0 auto;padding:0 32px}

/* language switch */
[data-en]{display:none}
html.en [data-fr]{display:none}
html.en [data-en]{display:revert}

/* header */
.top{border-bottom:1px solid var(--rule)}
.top .wrap{display:flex;align-items:center;gap:28px;padding-top:22px;padding-bottom:20px}
.house{display:flex;align-items:center;gap:14px;text-decoration:none;color:var(--ink)}
.house svg{width:34px;height:34px;flex:none}
.house span{font-size:21px;letter-spacing:.02em;line-height:1.1}
.house span i{color:var(--grey)}
.nav{margin-left:auto;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 24px;font-size:18px}
.nav a{text-decoration:none;color:var(--grey)}
.nav a:hover,.nav a[aria-current=page]{color:var(--ink)}
.nav a[aria-current=page]{text-decoration:underline;text-decoration-color:var(--blood)}
.lang{font-size:17px;color:var(--grey);margin-left:8px}
.lang button{font:inherit;background:none;border:0;padding:2px 3px;color:var(--grey);cursor:pointer}
.lang button[aria-pressed=true]{color:var(--blood)}

/* title page (home) */
.titlepage{text-align:center;padding:96px 0 84px;border-bottom:1px solid var(--rule)}
.titlepage svg{width:112px;height:112px;margin:0 auto 36px;display:block}
.titlepage h1{font-weight:400;font-size:clamp(46px,7.4vw,84px);line-height:1;letter-spacing:.01em;margin:0}
.titlepage .ed{display:block;font-style:italic;font-size:.42em;color:var(--grey);margin-top:.5em;letter-spacing:.04em}
.titlepage .motto{hyphens:manual;font-size:23px;font-style:italic;max-width:30em;margin:42px auto 0;line-height:1.5}
.titlepage .place{font-size:16px;color:var(--grey);margin-top:28px;letter-spacing:.08em}

/* home sections */
.feature{display:grid;grid-template-columns:260px minmax(0,1fr);gap:64px;padding-top:80px;padding-bottom:80px;border-bottom:1px solid var(--rule);align-items:start}
.feature .cover{box-shadow:0 1px 2px rgba(0,0,0,.18),0 14px 34px rgba(26,20,10,.16)}
.feature h2{font-weight:400;font-size:38px;line-height:1.1;margin:0 0 6px}
.feature .subt{font-style:italic;color:var(--grey);margin:0 0 22px;font-size:21px}
.status{color:var(--blood);font-style:italic}
.cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;padding-top:80px;padding-bottom:80px;border-bottom:1px solid var(--rule)}
.cols h2{font-weight:400;font-style:italic;font-size:26px;margin:0 0 14px}
.rhythm{padding:72px 24px;hyphens:manual;text-align:center;font-style:italic;font-size:24px;max-width:28em;margin:0 auto;line-height:1.5}

/* inner pages: margin column + text column */
.page{display:grid;grid-template-columns:240px minmax(0,var(--measure));gap:64px;padding-top:72px;padding-bottom:96px}
.page>header h1{font-weight:400;font-size:40px;line-height:1.1;margin:0;position:sticky;top:32px}
.page>header p{font-style:italic;color:var(--grey);font-size:18px;margin-top:14px}
.text h2{font-weight:400;font-style:italic;font-size:26px;line-height:1.25;margin:2em 0 .6em}
.text h2:first-child{margin-top:0}
.text h3{font-weight:500;font-size:20px;margin:1.6em 0 .3em}
.text .lede{font-size:24px;line-height:1.5}
.text blockquote{margin:1.6em 0;padding:0 0 0 1.2em;border-left:1px solid var(--blood);font-style:italic;font-size:22px}
.text ul{padding-left:1.1em;margin:0 0 1em}
.text li{margin:0 0 .45em}
.text li::marker{color:var(--blood)}
.note{font-size:17px;color:var(--grey)}

/* book page */
.bookhead{display:grid;grid-template-columns:330px minmax(0,var(--measure));gap:72px;padding-top:72px;padding-bottom:64px;border-bottom:1px solid var(--rule);align-items:start}
.bookhead .cover{box-shadow:0 1px 2px rgba(0,0,0,.18),0 18px 44px rgba(26,20,10,.18)}
.bookhead h1{font-weight:400;font-size:clamp(38px,5vw,56px);line-height:1.05;margin:0 0 10px}
.bookhead .subt{font-style:italic;font-size:22px;color:var(--grey);margin:0 0 6px;line-height:1.4}
.bookhead .author{font-size:22px;margin:0 0 28px}
.bookhead .accroche{font-size:24px;line-height:1.5}
.biblio{display:grid;grid-template-columns:max-content 1fr;gap:6px 28px;margin:32px 0 0;padding:22px 0 0;border-top:1px solid var(--rule);font-size:18px}
.biblio dt{color:var(--grey);font-style:italic}
.biblio dd{margin:0}
.notice{margin-top:22px;font-size:18px}

/* footer */
.foot{border-top:1px solid var(--rule);margin-top:0;padding:40px 0 56px;font-size:17px;color:var(--grey)}
.foot .wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px 48px;align-items:end}
.foot nav{display:flex;flex-wrap:wrap;gap:6px 22px}
.foot a{color:var(--grey);text-decoration:none}
.foot a:hover{color:var(--ink);text-decoration:underline}
.foot .name{color:var(--ink)}

@media (max-width:900px){
  body{font-size:19px}
  .top .wrap{flex-wrap:wrap}
  .nav{margin-left:0;width:100%;gap:4px 18px;font-size:17px}
  .feature,.cols,.page,.bookhead{grid-template-columns:1fr;gap:36px}
  .feature .cover{max-width:220px}
  .bookhead .cover{max-width:280px}
  .page>header h1{position:static}
  .titlepage{padding:64px 0 56px}
  .foot .wrap{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
h1,h2,h3,.subt,.accroche{hyphens:manual}
.page>header .sidehead{font-weight:400;font-size:28px;line-height:1.1;margin:0;position:sticky;top:32px}
@media (max-width:900px){.page>header .sidehead{position:static}}
