/* ===== Home: the vitrine. One screen: heading, the drifting carousel of covers, the year range. On paper. ===== */
main.home{padding-top:0!important;padding-bottom:0!important}
html{overflow-x:clip}
main.home{max-width:none!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;width:auto!important}
main.home .mast.vit{position:relative;margin:0!important;padding:clamp(44px,9vh,100px) 0 0!important;max-width:none!important;
  width:100%!important;box-sizing:border-box;display:block;height:auto;min-height:0;overflow-x:clip;isolation:isolate}
/* the paper: Marijana Pav's stamps texture — fractal noise lit from the top left, 20% over the page colour */
/* the big name is only an anchor for intro.js, which flies a copy of it into the top bar */
main.home .vit h1.rg{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);margin:0;white-space:nowrap;
  font:500 clamp(56px,9vw,150px)/1 var(--text, "EB Garamond", serif);letter-spacing:-.01em;color:var(--ink);visibility:hidden;pointer-events:none}
.vit-head{display:flex;justify-content:center;padding:clamp(14px,3vh,34px) 20px 0}
.vit-ess{font:500 11.5px/1 var(--ui);letter-spacing:.14em;text-transform:uppercase;color:var(--ink);
  text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
/* the row: natural layout is a plain line of small covers; carousel.js moves and scales each one */
.vit-car{position:relative;z-index:1;width:100%;height:calc(var(--u) * 1.5 * 3 + 40px);display:flex;align-items:center;justify-content:center;gap:clamp(8px,.85vw,16px);
  min-height:0;opacity:0;--u:7.4vw;}
.vit-p{flex:none;width:var(--u);display:block;color:inherit;text-decoration:none}
.vit-img{position:relative;width:100%;aspect-ratio:2/3;overflow:hidden;background:#fff}
.vit-img img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none;-webkit-user-drag:none}
.vit-cap{display:none}
.vit-gl{display:block}
.vit-p.gl .vit-img{background:transparent;box-shadow:none}
/* the caption that floats above the settled book (a copy of .vit-cap) */
.vit-float{display:none!important;position:absolute;left:0;top:0;z-index:2;white-space:nowrap;pointer-events:none;opacity:0;will-change:transform,opacity,filter}
.vit-float .vit-cap{display:flex;gap:10px;align-items:baseline;font:400 13px/1.2 var(--ui);color:var(--ink)}
.vit-float .n{color:var(--ink3);font-variant-numeric:tabular-nums}
.vit-float .t{font:500 16px/1.2 var(--text, "EB Garamond", serif)}
.vit-float .y{color:var(--red)}
/* the foot, after Kombu: large light years, a thin line, a short dash that travels to the centre book's year */
.vit-foot{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;gap:10px;padding:clamp(10px,2vh,22px) 0 0;pointer-events:none}
.vit-range{display:flex;align-items:center;gap:clamp(14px,1.4vw,22px);font:400 clamp(30px,3.3vw,50px)/1 var(--text, "EB Garamond", serif);
  color:color-mix(in srgb,var(--ink) 78%,transparent);letter-spacing:-.01em;font-variant-numeric:lining-nums}
.vit-range i{position:relative;display:block;width:clamp(80px,9vw,140px);height:1px;background:color-mix(in srgb,var(--ink) 22%,transparent)}
.vit-range b{position:absolute;top:50%;left:0;width:22px;height:1.5px;margin:-.75px 0 0 -11px;background:color-mix(in srgb,var(--ink) 80%,transparent)}
.vit-hint{font:500 9.5px/1 var(--ui);letter-spacing:.12em;text-transform:uppercase;color:var(--ink3)}
.vit-all{position:absolute;right:28px;bottom:clamp(16px,3.4vh,34px);z-index:2;font:500 13px/1 var(--ui);color:var(--ink);text-decoration:underline;text-underline-offset:4px}
@media (max-width:700px){
  .vit-car{--u:22vw}
  .vit-all{right:20px}
}
main.home .below:empty{display:none}
/* the content under the vitrine gets its gutter back: main.home is edge to edge (for the carousel), and app.css
   zeroes .below's padding, so nothing kept "Continue reading" and "Suggested" off the screen edge */
main.home .below{box-sizing:border-box;width:100%;max-width:1320px;margin-left:auto!important;margin-right:auto!important;
  padding:0 clamp(24px,4vw,56px) 112px!important}
@media (max-width:700px){main.home .below{padding:0 20px 120px!important}}
/* the name, in Times New Roman capitals (Tinos — metric-identical — where Times isn't installed): the plain,
   sharp-cut caps of a 1920s title page. Normal tracking, regular weight; the steep acute accents are part of the look */
main.home .vit h1.rg,.rgfly{font-family:"Times New Roman",Times,Tinos,serif!important;font-weight:400!important;
  text-transform:uppercase;letter-spacing:-.01em!important;font-kerning:normal}
main.home .vit h1.rg{font-size:clamp(44px,7.4vw,124px)!important}
/* no box: Continue reading + In progress sit straight on the paper, aligned with Suggested */
main.home .toprow.tr2,html.night main.home .toprow.tr2{background:none!important;background-image:none!important;padding:0!important;margin-left:0!important;margin-right:0!important;box-shadow:none!important;border:0!important}
/* and no box around the progress block itself: the resume link has no card, border or shadow; the cover keeps its own */
main.home a.resume,html.night main.home a.resume,main.home a.resume:hover{background:none!important;background-image:none!important;border:0!important;box-shadow:none!important;padding-left:0!important;padding-right:0!important}

/* ===== The hero: the cover symbols on the drifting strip (carousel.js), spaced out; higher and smaller than the covers were ===== */
main.home .mast.vit{padding-top:clamp(18px,4vh,48px)!important}
.vit-car.symc{--u:clamp(58px,5.2vw,84px);gap:clamp(30px,3.4vw,60px)}
.vit-car.symc .vit-img{aspect-ratio:1;background:transparent!important;box-shadow:none!important;overflow:visible}
.vit-car.symc .vit-img img{object-fit:contain}
#app .vit-car.symc .vit-img,#app .vit-car.symc .vit-p:hover .vit-img{box-shadow:none!important;border:0!important}
.sr-cap{position:relative;z-index:2;display:flex;justify-content:center;align-items:baseline;gap:12px;min-height:28px;margin-top:-6px;pointer-events:none}
.sr-cap .t{font:500 clamp(18px,1.5vw,22px)/1.2 var(--text,"EB Garamond",serif);color:var(--ink);letter-spacing:-.005em}
.sr-cap .y{font:400 15px/1 var(--text,"EB Garamond",serif);color:var(--red);font-variant-numeric:lining-nums}
.sr-cap.in{animation:srcap .6s cubic-bezier(.2,.8,.2,1)}
@keyframes srcap{from{opacity:0;filter:blur(5px);transform:translateY(5px)}to{opacity:1;filter:none;transform:none}}
/* the year range: a small line tucked right under the title, one step down in the hierarchy */
main.home .vit .vit-foot{padding-top:4px!important;gap:0}
main.home .vit .vit-range{font-size:14px!important;gap:10px;color:var(--ink3);letter-spacing:.02em}
main.home .vit .vit-range i{width:clamp(56px,5vw,80px)}
main.home .vit .vit-range b{width:12px;margin-left:-6px;height:1.5px;background:var(--red)}
@media (max-width:700px){.vit-car.symc{--u:64px;gap:28px}}
@media (prefers-reduced-motion:reduce){.sr-cap.in{animation:none}}
/* clear paper between RENÉ GUÉNON and the symbols: the carousel (and its caption) starts below the name, never under it */
html body main.home .vit .vit-car{margin-top:clamp(36px,6vh,72px)!important}
