*{box-sizing:border-box}

html,
body{
  margin:0;
  width:100%;
  height:100%;
  overflow:hidden;
}

body{
  font-family:"Special Elite","Courier New",monospace;
  background:#eee5d6;
  color:#14110d;
}

.grain{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:200;
  opacity:.12;
  background-image:radial-gradient(#000 0 1px,transparent 1px);
  background-size:9px 9px;
  mix-blend-mode:multiply;
}

.nav{
  position:fixed;
  top:28px;
  left:40px;
  z-index:500;
  display:flex;
  gap:42px;
}

.nav a{
  color:#16120e;
  text-decoration:none;
  font-size:23px;
  opacity:.84;
  text-shadow:0 1px 0 rgba(255,255,255,.25);
}

.nav a:hover,
.nav a.is-active{
  opacity:1;
  text-decoration:underline;
  text-underline-offset:8px;
  text-decoration-thickness:2px;
}

body.dark-ui .nav a{
  color:#eee5d6;
  text-shadow:none;
}

.scene-app{
  position:fixed;
  inset:0;
  overflow:hidden;
}

.scene{
  position:absolute;
  inset:0;
  width:100vw;
  height:100vh;
  overflow:hidden;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  background:#eee5d6;
}

.scene.is-active{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  z-index:5;
}

.paper-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

h1,h2,p{margin-top:0}

h2{
  font-size:clamp(25px,3.6vw,54px);
  line-height:.95;
  letter-spacing:-.07em;
}

p,
.author-copy p,
.books-copy p,
.sound-copy p,
.contact-copy p,
.stack-book::after{
  font-family:"Source Sans 3", Arial, sans-serif;
  font-weight:350;
  letter-spacing:.012em;
}

.author-copy p{
  font-size:clamp(16px,1.12vw,19.8px);
  line-height:1.52;
}

.books-copy p,
.sound-copy p,
.contact-copy p{
  font-size:clamp(18px,1.48vw,24.5px);
  line-height:1.58;
}

.author-copy span,
.books-copy span,
.sound-copy span,
.contact-copy span{
  display:block;
  margin-bottom:18px;
  letter-spacing:.25em;
  font-size:12px;
  opacity:.7;
  text-transform:uppercase;
}

/* loader */
.site-loader{
  position:fixed;
  inset:0;
  z-index:9999;
  display:grid;
  place-items:center;
  background:#eee5d6;
  transition:opacity .65s ease, visibility .65s ease;
}

.site-loader.is-hidden{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}

.loader-drawing{
  position:relative;
  width:min(58vw,760px);
  height:180px;
}

.loader-line{
  position:absolute;
  left:0;
  top:50%;
  width:100%;
  height:130px;
  transform:translateY(-50%);
  overflow:visible;
}

.loader-path{
  fill:none;
  stroke:#16120e;
  stroke-width:4;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-dasharray:900;
  stroke-dashoffset:900;
  filter:drop-shadow(0 1px 0 rgba(0,0,0,.18));
}

.loader-pencil{
  position:absolute;
  left:0;
  top:50%;
  width:min(24vw,320px);
  transform-origin:24.3% 84.6%;
  filter:drop-shadow(0 18px 18px rgba(0,0,0,.18));
  will-change:left,top,transform;
}

/* intro */
.scene-paper-ball{
  position:absolute;
  left:50%;
  top:50%;
  width:min(38vw,520px);
  transform:translate(-50%,-50%);
  filter:drop-shadow(0 34px 42px rgba(0,0,0,.38));
}

/* autor */
.author-img{
  position:absolute;
  left:9vw;
  top:18vh;
  width:min(34vw,540px);
  mix-blend-mode:multiply;
  filter:contrast(1.08);
  z-index:4;
}

.kanka{
  position:absolute;
  right:4vw;
  top:8vh;
  width:min(18vw,260px);
  opacity:1;
  mix-blend-mode:multiply;
  filter:contrast(1.4) brightness(.35);
  z-index:2;
}

.otisk{
  position:absolute;
  left:-12vw;
  top:10vh;
  width:min(48vw,640px);
  opacity:.30;
  mix-blend-mode:multiply;
  z-index:1;
}

.author-copy{
  position:absolute;
  right:10vw;
  top:18vh;
  width:min(44vw,660px);
  z-index:6;
}

/* knihy */
.books-copy{
  position:absolute;
  left:50%;
  top:8vh;
  width:min(760px,82vw);
  transform:translateX(-50%);
  text-align:center;
  z-index:20;
}

.books-stack-img{
  position:absolute;
  left:50%;
  top:56%;
  width:min(60vw,1035px);
  transform:translate(-50%,-50%);
  z-index:6;
  filter:drop-shadow(0 26px 30px rgba(0,0,0,.16));
}

.book-stack-hotspots{
  position:absolute;
  left:50%;
  top:56%;
  width:min(60vw,1035px);
  aspect-ratio:1792 / 1024;
  transform:translate(-50%,-50%);
  z-index:30;
  pointer-events:auto;
}

.stack-book{
  position:absolute;
  display:block;
  text-decoration:none;
  cursor:pointer;
  outline:none;
}

.stack-book::before,
.stack-book:hover::before{
  display:none;
}

.stack-book::after{
  content:
    attr(data-title)
    "\A" attr(data-year)
    "\A\A" attr(data-note)
    "\A\A• Formát: " attr(data-format)
    "\A• počet stran: " attr(data-pages);
  position:absolute;
  left:50%;
  bottom:115%;
  width:min(560px,48vw);
  transform:translateX(-50%) translateY(8px) rotate(-1deg);
  opacity:0;
  pointer-events:none;
  white-space:pre-line;
  color:#14110d;
  background:rgba(238,229,214,.97);
  border:1px solid rgba(20,17,13,.28);
  box-shadow:0 22px 42px rgba(0,0,0,.2),0 0 0 1px rgba(20,17,13,.08) inset;
  padding:22px 24px 20px;
  font-size:16px;
  line-height:1.52;
  text-align:left;
  transition:opacity .2s ease, transform .2s ease;
}

.stack-book:hover::after{
  opacity:1;
  transform:translateX(-50%) translateY(0) rotate(-1deg);
}

.row1{top:15.7%; left:20%; width:60%; height:4.2%;}
.row2{top:21.1%; left:21%; width:58%; height:5.2%;}
.row3{top:27.4%; left:24%; width:52%; height:5.5%;}
.row4{top:34.2%; left:27%; width:47%; height:6.4%;}
.row5{top:42.0%; left:31%; width:38%; height:6.0%;}
.row6{top:49.7%; left:31%; width:37%; height:6.1%;}
.row7{top:57.4%; left:30%; width:41%; height:6.4%;}
.row8{top:66.0%; left:36%; width:29%; height:6.3%;}
.row9{top:74.0%; left:30%; width:43%; height:7.2%;}
.row10{top:82.6%; left:30%; width:43%; height:8.4%;}

.books-otisk{
  position:absolute;
  left:-12vw;
  bottom:-10vh;
  width:min(32vw,520px);
  opacity:.28;
  mix-blend-mode:multiply;
  z-index:2;
}

.books-kanka-small{
  position:absolute;
  right:6vw;
  top:6vh;
  width:min(10vw,150px);
  opacity:1;
  filter:contrast(1.45) brightness(.32);
  mix-blend-mode:multiply;
  z-index:5;
}

/* sound */
.scene-sound{
  background:#000;
  color:#eee5d6;
}

.vinyl{
  position:absolute;
  left:50%;
  top:50%;
  width:min(46vw,760px);
  transform:translate(-50%,-50%);
  filter:drop-shadow(0 54px 80px rgba(0,0,0,.7));
}

.sound-copy{
  position:absolute;
  left:50%;
  bottom:10vh;
  transform:translateX(-50%);
  text-align:center;
  width:min(760px,90vw);
  z-index:5;
}

.sound-links{
  white-space:pre-wrap;
}

.sound-links a{
  color:#eee5d6;
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:6px;
}

/* kontakt */
.scene-contact{
  color:#14110d;
}

.paper-end{
  position:absolute;
  right:-8vw;
  bottom:-10vh;
  width:min(42vw,600px);
  opacity:.34;
  transform:rotate(-22deg);
}

.contact-copy{
  position:relative;
  z-index:5;
  text-align:center;
  display:grid;
  place-items:center;
  height:100%;
}

/* transition + next button */
.scene-transition{
  position:fixed;
  inset:0;
  background:#000;
  opacity:0;
  pointer-events:none;
  z-index:450;
}

.next-btn{
  position:absolute;
  left:50%;
  bottom:34px;
  z-index:120;
  transform:translateX(-50%);
  border:none;
  background:transparent;
  color:#16120e;
  font-family:"Special Elite","Courier New",monospace;
  font-size:18px;
  letter-spacing:.18em;
  text-transform:uppercase;
  cursor:pointer;
  padding:12px 18px;
}

.next-btn::after{
  content:"";
  display:block;
  width:2px;
  height:48px;
  margin:12px auto 0;
  background:#16120e;
  opacity:.6;
}

.scene-sound .next-btn{
  color:#eee5d6;
}

.scene-sound .next-btn::after{
  background:#eee5d6;
}

@media(max-width:900px){
  .nav{
    left:18px;
    right:18px;
    top:18px;
    gap:10px;
    justify-content:space-between;
  }

  .nav a{
    font-size:13px;
  }

  .scene-paper-ball{
    width:72vw;
  }

  .author-img{
    left:50%;
    top:12vh;
    width:72vw;
    transform:translateX(-50%);
  }

  .author-copy{
    left:24px;
    right:24px;
    top:50vh;
    width:auto;
  }

  .author-copy p:nth-of-type(n+3){
    display:none;
  }

  .books-stack-img,
  .book-stack-hotspots{
    width:118vw;
    top:59%;
  }

  .vinyl{
    width:92vw;
  }

  .stack-book::after{
    width:80vw;
    font-size:14px;
  }
}


/* v43 — papírová koule jako sprite sheet se 4 frame */
.paper-sprite{
  position:absolute;
  left:50%;
  top:50%;
  width:min(42vw,560px);
  height:min(42vw,560px);
  transform:translate(-50%,-50%);
  z-index:8;
  filter:drop-shadow(0 34px 42px rgba(0,0,0,.38));
  pointer-events:none;
  background-image:url("../assets/paper_unfold_sprite.png");
  background-repeat:no-repeat;
  background-size:400% 100%;
  background-position:0% 0%;
}

@media(max-width:900px){
  .paper-sprite{
    width:76vw;
    height:76vw;
  }
}


/* v44 — sprite papíru viditelný nad úvodní scénou */
.paper-sprite{
  background-size:400% 100% !important;
  background-position:0% 0%;
  z-index:50 !important;
}
.scene-intro{
  z-index:5;
}


/* v45 — interní scroll dlouhého textu v sekci Autor */
.author-copy{
  max-height:58vh !important;
  overflow-y:auto !important;
  overscroll-behavior:contain;
  padding-right:22px;
  scrollbar-width:thin;
  scrollbar-color:rgba(20,17,13,.42) rgba(20,17,13,.08);
  -webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 28px, #000 calc(100% - 34px), transparent 100%);
  mask-image:linear-gradient(to bottom, transparent 0, #000 28px, #000 calc(100% - 34px), transparent 100%);
}

.author-copy::-webkit-scrollbar{ width:7px; }
.author-copy::-webkit-scrollbar-track{ background:rgba(20,17,13,.08); }
.author-copy::-webkit-scrollbar-thumb{ background:rgba(20,17,13,.42); border-radius:999px; }

.scene-author{ overscroll-behavior:none; }

@media(max-width:900px){
  .author-copy{
    max-height:42vh !important;
    padding-right:14px;
  }
}


/* v46 — mobilní safe area pro spodní tlačítko Další */
@media(max-width:900px){
  :root{
    --mobile-bottom-safe: 128px;
  }

  .next-btn{
    bottom:18px !important;
    z-index:220 !important;
  }

  .scene-author .author-copy{
    max-height:calc(100vh - 50vh - var(--mobile-bottom-safe)) !important;
    padding-bottom:96px !important;
    -webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 22px, #000 calc(100% - 78px), transparent 100%) !important;
    mask-image:linear-gradient(to bottom, transparent 0, #000 22px, #000 calc(100% - 78px), transparent 100%) !important;
  }

  .scene-sound .vinyl{
    top:39% !important;
    width:82vw !important;
  }

  .scene-sound .sound-copy{
    bottom:23vh !important;
    width:88vw !important;
  }

  .scene-sound .sound-copy h2{
    margin-bottom:16px !important;
  }

  .scene-sound .sound-links{
    display:flex !important;
    justify-content:center !important;
    gap:24px !important;
    flex-wrap:wrap !important;
    white-space:normal !important;
  }
}

@media(max-width:480px){
  :root{
    --mobile-bottom-safe: 145px;
  }

  .scene-author .author-copy{
    max-height:calc(100vh - 50vh - var(--mobile-bottom-safe)) !important;
    padding-bottom:112px !important;
  }

  .scene-sound .vinyl{
    top:36% !important;
    width:86vw !important;
  }

  .scene-sound .sound-copy{
    bottom:24vh !important;
  }
}

@media(max-height:720px) and (max-width:900px){
  .scene-author .author-copy{
    max-height:32vh !important;
    padding-bottom:118px !important;
  }

  .scene-sound .vinyl{
    top:34% !important;
    width:74vw !important;
  }

  .scene-sound .sound-copy{
    bottom:26vh !important;
  }
}

/* v54 — přepracovaná sekce Autor */
.scene-author{overflow:hidden!important}.scene-author .author-page{position:relative;z-index:8;width:min(1180px,calc(100vw - 72px));height:calc(100vh - 145px);margin:105px auto 40px;overflow-y:auto;overscroll-behavior:contain;padding:0 28px 110px;scrollbar-width:thin;scrollbar-color:rgba(20,17,13,.42) rgba(20,17,13,.08);-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 28px,#000 calc(100% - 42px),transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 28px,#000 calc(100% - 42px),transparent 100%)}
.scene-author .author-page::-webkit-scrollbar{width:7px}.scene-author .author-page::-webkit-scrollbar-track{background:rgba(20,17,13,.08)}.scene-author .author-page::-webkit-scrollbar-thumb{background:rgba(20,17,13,.42);border-radius:999px}
.author-hero-block{min-height:calc(100vh - 180px);display:grid;grid-template-columns:minmax(260px,420px) minmax(320px,1fr);gap:clamp(42px,7vw,96px);align-items:center}.author-portrait-stage{margin:0;position:relative}.author-portrait-stage:before{content:"";position:absolute;left:14%;right:14%;bottom:3%;height:14%;background:rgba(0,0,0,.28);filter:blur(18px);border-radius:50%;transform:translateY(20px) rotate(-2deg);z-index:-1}.scene-author .author-img{position:relative!important;left:auto!important;top:auto!important;width:100%!important;max-height:68vh!important;object-fit:contain!important;transform:none!important;opacity:1;filter:drop-shadow(0 18px 24px rgba(0,0,0,.18))}.author-title-card h1{margin:0;font-family:"Special Elite","Courier New",monospace;font-size:clamp(54px,8vw,128px);line-height:.86;letter-spacing:-.075em;text-transform:none}.author-year{margin-top:28px;font-family:"Special Elite","Courier New",monospace;font-size:clamp(30px,4.6vw,76px);letter-spacing:.06em}
.author-text-block,.author-books-block,.author-process-block,.author-archive-block{max-width:980px;margin:0 auto;padding:110px 0}.author-text-block p,.author-process-block p{font-family:"Source Sans 3",Arial,sans-serif;font-size:clamp(22px,1.7vw,29px);line-height:1.48;font-weight:350;margin:0 0 28px}.author-books-list{display:grid;gap:11px;font-family:"Special Elite","Courier New",monospace}.author-books-list a{display:grid;grid-template-columns:140px 1fr;gap:24px;color:#15110d;text-decoration:none;font-size:clamp(20px,2vw,34px);line-height:1.1;padding:13px 0 10px;border-bottom:1px solid rgba(20,17,13,.18)}.author-books-list a:hover{padding-left:14px;text-decoration:underline;text-underline-offset:7px}.author-books-list span{opacity:.52;font-size:.62em;padding-top:.18em}
.author-quote-block,.author-final-quote{min-height:86vh;display:grid;place-items:center;padding:80px 0}.author-quote-block blockquote,.author-final-quote blockquote{margin:0;max-width:1080px;font-family:"Special Elite","Courier New",monospace;font-size:clamp(34px,5.2vw,82px);line-height:1.08;letter-spacing:-.06em}.author-process-block{text-align:center}.author-process-block p{font-family:"Special Elite","Courier New",monospace;font-size:clamp(28px,3.6vw,58px);line-height:1.18}.archive-placeholder{min-height:420px;display:grid;place-items:center;border:1px dashed rgba(20,17,13,.34);background:rgba(238,229,214,.35);transform:rotate(-1deg);box-shadow:0 24px 60px rgba(0,0,0,.12)}.archive-placeholder span{font-family:"Special Elite","Courier New",monospace;font-size:clamp(22px,2.5vw,38px);opacity:.55}.scene-author .kanka{width:min(16vw,210px)!important;right:5vw!important;top:13vh!important;opacity:.16!important;pointer-events:none}
@media(max-width:900px){.scene-author .author-page{width:calc(100vw - 34px);height:calc(100vh - 125px);margin:86px auto 36px;padding:0 15px 125px}.author-hero-block{min-height:auto;grid-template-columns:1fr;gap:28px;padding:18px 0 72px}.author-portrait-stage{width:min(68vw,320px);margin:0 auto}.author-title-card h1{font-size:clamp(42px,13vw,74px)}.author-year{font-size:clamp(28px,10vw,54px);margin-top:16px}.author-text-block,.author-books-block,.author-process-block,.author-archive-block{padding:74px 0}.author-text-block p{font-size:20px}.author-books-list a{grid-template-columns:1fr;gap:5px;font-size:24px}.author-quote-block,.author-final-quote{min-height:70vh}.author-quote-block blockquote,.author-final-quote blockquote{font-size:clamp(31px,11vw,58px)}.author-process-block p{font-size:clamp(26px,9vw,44px)}.archive-placeholder{min-height:300px}}


/* v55 — homepage Autor krátce, detail je v autor.html */
.scene-author .author-home{
  position:relative;
  z-index:8;
  width:min(1120px, calc(100vw - 72px));
  height:100vh;
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(260px,420px) minmax(320px,1fr);
  gap:clamp(42px,7vw,96px);
  align-items:center;
}

.author-home-portrait{
  margin:0;
  position:relative;
}

.author-home-portrait::before{
  content:"";
  position:absolute;
  left:14%;
  right:14%;
  bottom:4%;
  height:13%;
  background:rgba(0,0,0,.28);
  filter:blur(18px);
  border-radius:50%;
  transform:translateY(20px) rotate(-2deg);
  z-index:-1;
}

.scene-author .author-home .author-img{
  position:relative !important;
  left:auto !important;
  top:auto !important;
  width:100% !important;
  max-height:68vh !important;
  object-fit:contain !important;
  transform:none !important;
  opacity:1;
  filter:drop-shadow(0 18px 24px rgba(0,0,0,.18));
}

.author-home-copy span{
  display:block;
  margin-bottom:18px;
  font-size:12px;
  letter-spacing:.26em;
  text-transform:uppercase;
  opacity:.66;
}

.author-home-copy h2{
  margin:0;
  font-size:clamp(54px,7vw,112px);
}

.author-home-year{
  margin:18px 0 26px;
  font-family:"Special Elite","Courier New",monospace;
  font-size:clamp(28px,4vw,64px);
}

.author-home-copy p{
  font-family:"Source Sans 3",Arial,sans-serif;
  font-size:clamp(19px,1.45vw,25px);
  line-height:1.5;
  font-weight:350;
  max-width:680px;
}

.author-more-link{
  display:inline-block;
  margin-top:18px;
  color:#15110d;
  text-decoration:none;
  border:1px solid rgba(20,17,13,.38);
  padding:15px 20px 12px;
  font-family:"Special Elite","Courier New",monospace;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size:14px;
  background:rgba(238,229,214,.55);
}

.author-more-link:hover{
  background:#15110d;
  color:#eee5d6;
}

.scene-author .kanka{
  width:min(16vw,210px) !important;
  right:5vw !important;
  top:13vh !important;
  opacity:.16 !important;
  pointer-events:none;
}

@media(max-width:900px){
  .scene-author .author-home{
    width:calc(100vw - 34px);
    height:auto;
    min-height:100vh;
    padding:82px 15px 130px;
    grid-template-columns:1fr;
    gap:26px;
    align-content:start;
  }

  .author-home-portrait{
    width:min(62vw,300px);
    margin:0 auto;
  }

  .author-home-copy h2{
    font-size:clamp(42px,13vw,74px);
  }

  .author-home-year{
    font-size:clamp(28px,10vw,54px);
  }

  .author-home-copy p{
    font-size:19px;
  }
}


/* v56 — homepage autor bez stínu pod kresbou */
.author-home-portrait::before{
  display:none !important;
}


/* v57 — kontakt: mail blíž k nadpisu */
.contact-copy h2{
  margin-bottom:12px !important;
}
.contact-copy p{
  margin-top:0 !important;
}


/* v59 — izolace scén, aby neproblikával text autora v jiných animacích */
.scene:not(.is-active){
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}

.scene:not(.is-active) .author-home,
.scene:not(.is-active) .author-home-copy,
.scene:not(.is-active) .author-home-portrait{
  opacity:0 !important;
  visibility:hidden !important;
}

/* v59 — mobilní autor: text ani tlačítka nesmí padat mimo obraz */
@media(max-width:900px){
  .scene-author .author-home{
    width:calc(100vw - 34px) !important;
    min-height:100vh !important;
    height:100vh !important;
    padding:72px 15px 112px !important;
    grid-template-columns:1fr !important;
    gap:18px !important;
    align-content:start !important;
    overflow:hidden !important;
  }

  .author-home-portrait{
    width:min(46vw,210px) !important;
    margin:0 auto !important;
  }

  .scene-author .author-home .author-img{
    max-height:28vh !important;
  }

  .author-home-copy span{
    margin-bottom:8px !important;
  }

  .author-home-copy h2{
    font-size:clamp(36px,11vw,60px) !important;
    margin-bottom:6px !important;
  }

  .author-home-year{
    font-size:clamp(22px,7vw,38px) !important;
    margin:6px 0 10px !important;
  }

  .author-home-copy p{
    font-size:16.5px !important;
    line-height:1.35 !important;
    max-height:22vh !important;
    overflow:hidden !important;
    margin-bottom:12px !important;
  }

  .author-more-link{
    margin-top:4px !important;
    padding:12px 15px 10px !important;
    font-size:12px !important;
    letter-spacing:.11em !important;
  }

  .scene-author .next-btn{
    bottom:14px !important;
  }
}

@media(max-height:720px) and (max-width:900px){
  .scene-author .author-home{
    padding-top:64px !important;
    padding-bottom:104px !important;
    gap:12px !important;
  }

  .author-home-portrait{
    width:min(40vw,175px) !important;
  }

  .scene-author .author-home .author-img{
    max-height:23vh !important;
  }

  .author-home-copy p{
    font-size:15.2px !important;
    line-height:1.28 !important;
    max-height:19vh !important;
  }

  .author-home-copy h2{
    font-size:clamp(32px,10vw,50px) !important;
  }

  .author-home-year{
    font-size:clamp(20px,6vw,32px) !important;
  }
}


/* v60 — definitivní vyčištění homepage autor animace */
.scene-author .author-page,
.scene-author .author-short-bio,
.scene-author .author-detail-section,
.scene-author .author-big-quote,
.scene-author .author-process-detail,
.scene-author .author-archive-detail{
  display:none !important;
}

.scene-author:not(.is-active) .author-home{
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}

/* během přechodů neukazovat staré bio selektory ani omylem */
body.is-scene-transitioning .scene-author .author-page,
body.is-scene-transitioning .scene-author .author-short-bio,
body.is-scene-transitioning .scene-author .author-detail-section{
  display:none !important;
  opacity:0 !important;
  visibility:hidden !important;
}


/* v61 — definitivní odstranění problikávání bio textu v homepage animacích */
.scene-author .author-home-copy p,
.scene-author .author-page,
.scene-author .author-short-bio,
.scene-author .author-detail-section,
.scene-author .author-big-quote,
.scene-author .author-process-detail,
.scene-author .author-archive-detail{
  display:none !important;
  opacity:0 !important;
  visibility:hidden !important;
}

.scene-author .author-home{
  pointer-events:auto;
}

.scene-author:not(.is-active) .author-home{
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}

/* autor homepage je teď čistý vizuální vstup bez odstavce */
.author-home-copy{
  align-self:center !important;
}

.author-more-link{
  margin-top:24px !important;
}

/* mobilní autor po odstranění odstavce - víc místa, žádný přesah */
@media(max-width:900px){
  .scene-author .author-home{
    justify-content:center !important;
    align-content:center !important;
    padding:76px 15px 118px !important;
    gap:22px !important;
  }

  .author-home-portrait{
    width:min(58vw,280px) !important;
  }

  .scene-author .author-home .author-img{
    max-height:38vh !important;
  }
}


/* v62 — oprava problikávání detailu autora při přechodech
   Příčina: zbytek autor.html obsahu zůstal v index.html mimo author scénu.
   Index je nyní očištěný; toto je jen pojistka. */
body:not(.author-detail-page) .author-detail-section,
body:not(.author-detail-page) .author-short-bio,
body:not(.author-detail-page) .author-books-detail,
body:not(.author-detail-page) .author-big-quote,
body:not(.author-detail-page) .author-process-detail,
body:not(.author-detail-page) .author-archive-detail,
body:not(.author-detail-page) .author-detail,
body:not(.author-detail-page) .author-detail-hero{
  display:none !important;
  opacity:0 !important;
  visibility:hidden !important;
}

.scene-author .author-home-copy p{
  display:none !important;
}


/* v65 — kontakt: e-mail těsněji pod nadpis */
.contact-copy h2{
  margin-bottom:8px !important;
}
.contact-copy p{
  margin-top:0 !important;
  transform:translateY(-10px);
}

/* v65 — Zvuk/obraz připravuje se */
.sound-prepare{
  margin-top:22px !important;
  font-family:"Special Elite","Courier New",monospace !important;
  font-size:clamp(18px,2.2vw,34px) !important;
  letter-spacing:.14em !important;
  text-transform:uppercase;
  opacity:.72;
}
@media(max-width:900px){
  .sound-prepare{
    font-size:18px !important;
    margin-top:14px !important;
  }
}


/* v66 — kontakt: e-mail výš a čitelněji, hlavně na mobilu */
.scene-contact .contact-copy{
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  align-items:flex-start !important;
  gap:10px !important;
  transform:translateY(-7vh) !important;
}

.scene-contact .contact-copy h2{
  margin:0 !important;
}

.scene-contact .contact-copy p{
  margin:0 !important;
  transform:none !important;
}

@media(max-width:900px){
  .scene-contact .contact-copy{
    justify-content:flex-start !important;
    transform:translateY(0) !important;
    padding-top:26vh !important;
    gap:12px !important;
  }

  .scene-contact .contact-copy h2{
    margin-bottom:4px !important;
  }

  .scene-contact .contact-copy p{
    font-size:18px !important;
  }
}


/* v67 — kontakt: tři řádky zarovnané na střed */
.scene-contact .contact-copy{
  align-items:center !important;
  text-align:center !important;
}

.scene-contact .contact-copy h2,
.scene-contact .contact-copy p,
.scene-contact .contact-copy a{
  text-align:center !important;
}

@media(max-width:900px){
  .scene-contact .contact-copy{
    align-items:center !important;
    text-align:center !important;
  }
}
