
/* -- Spine shelf: pen en inkt ----------------------------------------------
   Studie 01 uit de mockups. Geen vlakke vulling meer: de omtrek is een
   inktlijn die door een SVG-vervormingsfilter loopt, dus hij is op geen twee
   ruggen hetzelfde. Het volume komt uit arcering die van links naar rechts
   dichter wordt, niet uit een verloop. De kleur is teruggebracht tot een vlek
   van 34 procent, waardoor de donkere titel overal ruim contrast houdt - dat
   was bij de verzadigde ruggen het probleem. Doorgerekend op het slechtste
   geval (titel op een arceringslijn over de donkerste rug): 5,35:1. Boven de
   42 procent zakt dat onder de 4,5 en mag het niet meer.

   September 2026: de plank staat gecentreerd en toont alle boeken in de
   breedte, zonder schuifbalk. Past de rij niet, dan loopt hij door op een
   tweede plank; daarom heeft elk boek zijn eigen stukje plank onder zich.
   Op brede schermen neemt de plank de volle rijbreedte (ook de twee smalle
   kolommen ernaast), label en notitie blijven in het midden.

   Twee klassen diep, want het thema forceert
   ".entry-content div{display:block !important}" en
   ".entry-content a{text-decoration:underline !important}" (beide 0,1,1) en die
   verslaan een enkele klasse, ook met !important. */
.ls-au-shelfband{padding:168px 0}
.ls-au-shelf-row{padding-top:0 !important;padding-bottom:0 !important;
  margin-top:0 !important;margin-bottom:0 !important}
.ls-au-hero-row:has(+ .ls-au-shelf-row){padding-bottom:0 !important;margin-bottom:0 !important}
.ls-au-shelf-row + .vc_row{padding-top:0 !important;margin-top:0 !important}
.ls-au-shelf-in{max-width:none;margin:0;padding:0}
.ls-au-shelfband .ls-au-shelf-label{display:block;font-size:0.72rem;letter-spacing:0.2em;text-transform:uppercase;
  color:#6f645b;margin:0 0 18px;text-align:center}
.ls-au-shelfband .ls-au-shelf-scroll{overflow:visible;padding:14px 0 0}
@media(min-width:768px){
  .ls-au-shelfband .ls-au-shelf-scroll{width:150%;margin-left:-25%}
}
.ls-au-shelf-svg{position:absolute;width:0;height:0;overflow:hidden}

.ls-au-shelfband ul.ls-au-shelf{display:flex !important;flex-wrap:wrap;justify-content:center;
  align-items:flex-end;column-gap:5px;row-gap:58px;
  list-style:none !important;list-style-type:none !important;margin:0 !important;
  padding:0 14px !important;width:auto;position:relative}
.ls-au-shelfband ul.ls-au-shelf li{list-style-type:none !important;list-style:none !important;
  margin:0 !important;padding:0 0 13px !important;flex:none;display:block !important;position:relative}

/* de plank: twee inktregels met arcering ertussen. Elk boek krijgt zijn eigen
   stukje, zodat een tweede rij ook op een plank staat. De stukjes overlappen
   de tussenruimte van 5px, zodat ze als een doorlopende plank lezen. */
.ls-au-shelfband ul.ls-au-shelf li::after{content:"";position:absolute;z-index:0;
  left:-2.5px;right:-2.5px;bottom:0;height:13px;
  background:repeating-linear-gradient(58deg,#2e2216 0 1px,transparent 1px 5px);
  border-top:1.8px solid #2e2216;border-bottom:1.8px solid #2e2216;
  filter:url(#ls-au-rough)}
.ls-au-shelfband ul.ls-au-shelf li:first-child::after{left:-14px}
.ls-au-shelfband ul.ls-au-shelf li:last-child::after{right:-14px}
/* Een of twee titels: de plank loopt door voorbij het laatste boek, anders is
   hij een streepje van vijftig pixels onder een losse rug. */
.ls-au-shelfband ul.ls-au-shelf-few li:last-child::after{right:-118px}

.ls-au-shelfband a.ls-au-sp{box-sizing:border-box;position:relative;z-index:1;
  display:flex !important;align-items:center;justify-content:center;
  height:228px;padding:8px 0 32px;text-decoration:none !important;color:#1f160e !important;
  transform-origin:bottom center;transition:translate 0.18s ease}

/* de getekende romp. Eigen laag, zodat het filter de titel niet vervormt. */
.ls-au-shelfband a.ls-au-sp i.ls-au-ink{position:absolute;inset:0;z-index:1;
  display:block !important;
  background:color-mix(in srgb, var(--c,#b83f28) 34%, transparent);
  border:1.6px solid #2e2216;border-bottom:none;
  filter:url(#ls-au-rough)}
/* arcering, dichter naar de rechterrand: dat leest als een bol oppervlak */
.ls-au-shelfband a.ls-au-sp i.ls-au-ink::after{content:"";position:absolute;inset:0;
  background:repeating-linear-gradient(58deg,#2e2216 0 1px,transparent 1px 6px);
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 62%,#000 100%);
  mask-image:linear-gradient(90deg,transparent 0%,#000 62%,#000 100%);
  opacity:0.2}

/* De titel als gedrukte rugletter, niet als typemachine: groter, iets ruimer
   gezet, echte kerning en ligaturen, een fractie donkerder, en een haarfijne
   inktrand zodat de letter in het papier lijkt te zitten in plaats van erop.
   De lettergrootte per rug rekent de generator uit op de echte breedte van
   Domine Bold, zodat een titel nooit buiten zijn rug loopt. */
.ls-au-shelfband a.ls-au-sp span{position:relative;z-index:3;
  writing-mode:vertical-rl;font-family:'Domine',Georgia,serif;font-weight:700;
  font-size:0.76rem;line-height:1;letter-spacing:0.02em;color:#1f160e !important;
  font-kerning:normal;font-feature-settings:"kern" 1,"liga" 1;text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;text-shadow:0 0 0.5px rgba(31,22,14,0.4);
  white-space:nowrap;padding:0;max-height:100%;text-decoration:none !important}
/* Het jaartal staat op elke rug, apart aan de voet in kleinere letter - zoals
   een echte rug het jaar of de uitgever onderaan draagt. */
.ls-au-shelfband a.ls-au-sp b{position:absolute;z-index:3;bottom:9px;left:50%;translate:-50% 0;
  writing-mode:vertical-rl;font-family:'Domine',Georgia,serif;font-weight:400;
  font-size:0.56rem;letter-spacing:0.06em;color:#1f160e !important;
  font-variant-numeric:tabular-nums;white-space:nowrap}

.ls-au-shelfband a.ls-au-sp-1{width:34px}.ls-au-shelfband a.ls-au-sp-2{width:45px}
.ls-au-shelfband a.ls-au-sp-3{width:56px}.ls-au-shelfband a.ls-au-sp-4{width:68px}
.ls-au-shelfband a.ls-au-sp-5{width:82px}
.ls-au-shelfband a.ls-au-sp-h1{height:172px}.ls-au-shelfband a.ls-au-sp-h2{height:182px}
.ls-au-shelfband a.ls-au-sp-h3{height:192px}.ls-au-shelfband a.ls-au-sp-h4{height:203px}
.ls-au-shelfband a.ls-au-sp-h5{height:216px}.ls-au-shelfband a.ls-au-sp-h6{height:228px}.ls-au-shelfband a.ls-au-sp-h7{height:252px}
/* lange titels krijgen een kleinere letter in plaats van een afgekapte tekst */
.ls-au-shelfband a.ls-au-sp-sm span{font-size:0.66rem}
.ls-au-shelfband a.ls-au-sp-xs span{font-size:0.6rem}

/* Hier en daar een boek dat niet netjes rechtop staat. Het patroon zet de
   generator vast, zodat het niet per bezoek verspringt. De scheve boeken
   krijgen ruimte aan de kant waar ze naartoe hellen (padding, geen marge,
   zodat hun stukje plank gewoon doorloopt). De kanteling zit op 'rotate' en
   het optillen bij hover op 'translate', zodat een scheef boek scheef blijft
   als het omhoog komt. */
.ls-au-shelfband ul.ls-au-shelf li.ls-au-tilt-l{padding-left:7px !important}
.ls-au-shelfband ul.ls-au-shelf li.ls-au-tilt-r{padding-right:7px !important}
.ls-au-shelfband ul.ls-au-shelf li.ls-au-tilt-l2{padding-left:12px !important}
.ls-au-shelfband ul.ls-au-shelf li.ls-au-tilt-r2{padding-right:12px !important}
.ls-au-shelfband li.ls-au-tilt-l a.ls-au-sp{rotate:-1.5deg}
.ls-au-shelfband li.ls-au-tilt-r a.ls-au-sp{rotate:1.7deg}
.ls-au-shelfband li.ls-au-tilt-l2 a.ls-au-sp{rotate:-2.6deg}
.ls-au-shelfband li.ls-au-tilt-r2 a.ls-au-sp{rotate:2.4deg}
.ls-au-shelfband ul.ls-au-shelf li.ls-au-lean{padding-left:9px !important;padding-right:28px !important}
.ls-au-shelfband li.ls-au-lean a.ls-au-sp{rotate:6deg;transform-origin:bottom left}

@media(hover:hover){
  .ls-au-shelfband a.ls-au-sp:hover{translate:0 -12px;z-index:2}
}
.ls-au-shelfband a.ls-au-sp:active{translate:0 -6px}
.ls-au-shelfband a.ls-au-sp:focus-visible{translate:0 -12px;z-index:2;
  outline:3px solid #7250c8;outline-offset:2px;text-decoration:none !important}
.ls-au-shelfband .ls-au-shelf-note{font-size:0.8rem;color:#6f645b;line-height:1.6;margin:18px auto 0;
  font-style:italic;max-width:62ch;text-align:center}
@media(prefers-reduced-motion:reduce){.ls-au-shelfband a.ls-au-sp{transition:none}}
@media(max-width:600px){.ls-au-shelfband{padding:108px 0}
.ls-au-shelfband ul.ls-au-shelf{row-gap:46px;padding:0 8px !important}
.ls-au-shelfband a.ls-au-sp{height:240px}
.ls-au-shelfband a.ls-au-sp-h1{height:160px}.ls-au-shelfband a.ls-au-sp-h2{height:170px}
.ls-au-shelfband a.ls-au-sp-h3{height:180px}.ls-au-shelfband a.ls-au-sp-h4{height:190px}
.ls-au-shelfband a.ls-au-sp-h5{height:202px}.ls-au-shelfband a.ls-au-sp-h6{height:214px}.ls-au-shelfband a.ls-au-sp-h7{height:240px}
.ls-au-shelfband a.ls-au-sp span{font-size:0.7rem}
.ls-au-shelfband a.ls-au-sp-sm span{font-size:0.62rem}
.ls-au-shelfband a.ls-au-sp-xs span{font-size:0.56rem}
.ls-au-shelfband a.ls-au-sp b{font-size:0.5rem;bottom:8px}
.ls-au-shelfband ul.ls-au-shelf li:first-child::after{left:-8px}
.ls-au-shelfband ul.ls-au-shelf li:last-child::after{right:-8px}}
.ls-au-sign{margin-top:144px}
.ls-au-rel.ls-au-rel{margin-top:144px}
p.ls-au-sign-quote.ls-au-sign-quote{position:relative;font-family:'Domine',serif;font-weight:400;font-size:1.125rem;line-height:1.7;color:#1a1410;margin:0 !important}
/* the circle is sized to the word and drawn just outside it, so the text keeps its normal spacing */
span.ls-au-sign-circ{position:relative;display:inline-block;padding:0 2px}
span.ls-au-sign-circ svg.ls-au-sign-svg{position:absolute;left:-4px;top:-6px;display:block !important;visibility:visible !important;opacity:1 !important;width:calc(100% + 8px) !important;height:calc(100% + 12px) !important;max-width:none !important;max-height:none !important;overflow:visible;pointer-events:none}
/* desktop: the margin note hangs off the circled word, arrow pointing left at it (generated text, hidden from screen readers) */
span.ls-au-sign-circ::after{content:"every single one, promise";content:"every single one, promise" / "";position:absolute;left:calc(100% + 14px);top:50%;
  white-space:normal;width:7.2em;padding-left:46px;font-family:'Nanum Pen Script',cursive;font-size:1.875rem;line-height:1;color:#d13b1c;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 24'%3E%3Cpath d='M38 19 C 28 21, 14 17, 4 9 M4 9 L 7 18 M4 9 L 13 8' fill='none' stroke='%23d13b1c' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left center / 40px 24px;transform:translateY(-38%) rotate(-3deg);transform-origin:left center;pointer-events:none}
span.ls-au-sign-gap{display:none}
@media(max-width:600px){p.ls-au-sign-by.ls-au-sign-by br.ls-au-sign-br2{display:none}}
p.ls-au-sign-quote.ls-au-sign-quote br.ls-au-sign-br1{display:none}
span.ls-au-sign-l2{display:inline-block;padding-left:1.6em}
p.ls-au-sign-name.ls-au-sign-name{font-family:'Nanum Pen Script',cursive;font-size:2.75rem;line-height:1;color:#d13b1c;margin:36px 0 16px 2px !important;transform:rotate(-3deg);transform-origin:left center}
/* byline: hangs off the signature with a thin rule, soft brown links so the red signature stays the only accent */
p.ls-au-sign-by.ls-au-sign-by{font-size:0.9rem;line-height:1.85;color:#6f645b;margin:0 0 0 8px !important;padding:0 0 0 16px !important;border-left:1px solid #d8cfc6;border-radius:0}
a.ls-au-sign-a.ls-au-sign-a{color:#46382a;font-weight:400;text-decoration:underline !important;text-decoration-color:#cbbfb3 !important;text-decoration-thickness:1px;text-underline-offset:3px}
a.ls-au-sign-a.ls-au-sign-a:hover{text-decoration-color:#46382a !important}
a.ls-au-sign-a.ls-au-sign-a:focus-visible{outline:3px solid #7250c8;outline-offset:2px}
/* mobile and tablet: the sentence breaks right after "myself,", the note sits in that gap and the arrow points straight up at the word.
   A small script measures where the word landed and sets --ax; without the script the arrow sits mid-line */
@media(max-width:900px){
  p.ls-au-sign-quote.ls-au-sign-quote br{display:none}
  span.ls-au-sign-l2{display:inline;padding-left:0}
  span.ls-au-sign-circ::after{content:none}
  span.ls-au-sign-gap.ls-au-sign-gap{display:block;position:relative;height:60px;margin:2px 0 4px}
  span.ls-au-sign-gap::before{content:"";position:absolute;top:0;left:calc(var(--ax, 50%) - 12px);width:24px;height:30px;
    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30'%3E%3Cpath d='M8 28 C 8 20, 10 11, 12 3 M12 3 L 6 10 M12 3 L 17 9' fill='none' stroke='%23d13b1c' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 24px 30px}
  span.ls-au-sign-gap::after{content:"every single one, promise";content:"every single one, promise" / "";position:absolute;top:28px;
    left:max(0px, min(calc(var(--ax, 50%) - 2.2em), calc(100% - 11.5em)));white-space:nowrap;
    font-family:'Nanum Pen Script',cursive;font-size:1.7rem;line-height:1;color:#d13b1c;transform:rotate(-2deg);transform-origin:left center}
}
