/* cover with setting sun */
.cover-scene{height:440vh}
.band{position:relative;width:min(1100px,94vw)}
.band img{position:absolute;display:block}
.band .bimg{position:relative;width:100%;height:auto}
.band .sun{will-change:transform,filter}
.band .fg{height:auto}
.sky{position:absolute;inset:0;background:radial-gradient(120% 80% at 70% 55%,rgba(214,128,86,.28),rgba(150,80,60,.12) 60%,rgba(60,40,40,.1));opacity:0;mix-blend-mode:multiply;pointer-events:none}
.shade{position:absolute;inset:0;background:var(--night);opacity:0;pointer-events:none}
.stamp{position:absolute;bottom:calc(12vh + env(safe-area-inset-bottom));left:0;right:0;text-align:center;font-family:var(--sans);font-size:12px;letter-spacing:.4em;color:#e9dfcf;opacity:0}
.stamp b{display:block;font-family:var(--serif);font-weight:400;letter-spacing:.02em;font-size:clamp(26px,3.4vw,40px);margin-top:12px}

/* words */
.wtext{max-width:960px;padding:0 26px;font-size:calc(clamp(27px,3.6vw,48px) * var(--fs,1));line-height:1.34;text-align:center;position:relative;z-index:2}
.small .wtext{font-size:calc(clamp(22px,2.7vw,34px) * var(--fs,1));line-height:1.5;max-width:880px}
.w{opacity:.14;transition:opacity .9s var(--ease),color .9s var(--ease)}
.w.on{opacity:1}
.w.acc.on{color:var(--ox)}
body.dark .w.acc.on{color:#e0987d}
.eyebrow{position:absolute;top:12vh;left:0;right:0;text-align:center;font-family:var(--sans);font-size:11px;letter-spacing:.42em;text-transform:uppercase;color:var(--mute)}

/* reading */
.read{max-width:640px;margin:0 auto;padding:18vh 26px}
.para{font-size:calc(clamp(19px,1.55vw,22px) * var(--fs,1));line-height:1.8;margin-bottom:1.5em;hyphens:auto;-webkit-hyphens:auto;text-align:justify}
.drop::first-letter{float:left;font-size:4.2em;line-height:.82;padding:.06em .1em 0 0;color:var(--ox)}
body.dark .drop::first-letter{color:#e0987d}
.rv{opacity:0;transform:translateY(26px);transition:opacity 1.6s var(--ease),transform 1.6s var(--ease)}
.rv.in{opacity:1;transform:none}

/* rewind */
.rewind{height:560vh}
.year{font-size:clamp(130px,26vw,360px);line-height:1;color:var(--ox)}
#yv{display:inline-block}
#yv.tick{animation:tick 1.8s var(--ease)}
@keyframes tick{from{opacity:.1;filter:blur(10px);transform:translateY(-.06em)}to{opacity:1;filter:none;transform:none}}
.part{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:0 26px}
.part>*{opacity:0;will-change:opacity,transform}
.part .k{font-family:var(--sans);font-size:11px;letter-spacing:.42em;text-transform:uppercase;color:var(--mute)}
.part h2{font-weight:400;font-size:clamp(34px,5vw,64px);margin:18px 0 14px}
.part .lat{font-style:italic;font-size:clamp(19px,2vw,26px);color:var(--ox)}
.part .place{margin-top:34px;font-style:italic;font-size:18px;color:var(--mute)}
.chap{text-align:center;padding:22vh 26px 4vh}
.chap .num{font-size:clamp(60px,8vw,100px);color:var(--ox);line-height:1}
.chap h3{font-weight:500;font-size:clamp(28px,3.4vw,42px);margin-top:14px}
.rule{width:0;height:1px;background:var(--ox);margin:28px auto 0;transition:width 1.8s var(--ease)}
.in .rule{width:90px}

/* beats */
.panel{position:relative;width:min(740px,88vw);min-height:40vh;display:flex;align-items:center;justify-content:center;z-index:3}
.panel.low{align-items:flex-end;min-height:0;position:absolute;bottom:calc(8vh + env(safe-area-inset-bottom));transform:translateY(calc(var(--c,0) * -0.42 * var(--vh)))}
.beat{position:absolute;left:0;right:0;font-size:calc(clamp(20px,2.3vw,30px) * var(--fs,1));line-height:1.55;text-align:center;
  opacity:0;will-change:opacity,transform}
.panel.low .beat{bottom:0;font-size:calc(clamp(19px,1.95vw,26px) * var(--fs,1))}
.art{position:absolute;left:0;right:0;top:5vh;height:58vh;pointer-events:none}
.room .art,.catsvg{will-change:opacity}
.art svg{width:100%;height:100%;overflow:hidden}
.art.lines,.art.eyes{top:0;height:100%}
.draw{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

/* dream */
.lines .draw{stroke-width:1.2px}
.lines .col{stroke-opacity:.7}
.lines .sk{stroke-opacity:.32}
.lines .fl{stroke-opacity:.34}
.lines .ht{stroke-opacity:.3}
.lines .bm{stroke-opacity:.38}
.lines .gr{stroke-opacity:.22}
.lines{transition:opacity 1.6s var(--ease)}

/* room */
.art .ceil{position:absolute;left:0;top:0;transition:opacity 1.8s var(--ease)}
.ceil .draw{stroke:var(--ink);stroke-width:1.2px}
.ceil .ed{stroke-opacity:.55}
.ceil .sk{stroke-opacity:.22;stroke-width:.8px}
.ceil .co{stroke-opacity:.3;stroke-width:.9px}
.ceil .ht{stroke-opacity:.22;stroke-width:.8px}
.ceil .jo{stroke-opacity:.34}
.ceil .jo2{stroke-opacity:.2;stroke-width:.8px}
.ceil .pl{stroke-opacity:.14;stroke-width:.8px}
.ceil .cm{stroke:var(--ink);stroke-opacity:.85;stroke-width:1.7px}
.ceil .cs{stroke-opacity:.25;stroke-width:1px}
.ceil .cb{stroke-opacity:.6;stroke-width:.9px}
.art .med{position:absolute;left:0;top:0}
.med .south{stroke:var(--ox);stroke-width:1.9px}
.med .land{stroke:var(--ink);stroke-opacity:.3;stroke-width:.9px}
.city circle{fill:var(--ox)}
.city text{font-family:var(--serif);font-style:italic;fill:var(--ox)}
.city{opacity:0;transition:opacity 1.6s var(--ease)}
.city.on{opacity:1}
.city .ring{fill:none;stroke:var(--ox);stroke-width:1;opacity:0;transform-box:fill-box;transform-origin:center}
.city.on .ring{animation:ring 2.8s ease-out infinite}
@keyframes ring{0%{opacity:.6;transform:scale(1)}100%{opacity:0;transform:scale(4)}}

/* selci: the street builds itself from the drawing */
.art.build{top:3vh;height:64vh;-webkit-mask-image:radial-gradient(120% 100% at 50% 45%,#000 60%,transparent 90%);mask-image:radial-gradient(120% 100% at 50% 45%,#000 60%,transparent 90%)}
.art.build canvas{width:100%;height:100%;display:block}
@media (max-width:700px){.art.build{top:3vh;height:56vh;-webkit-mask-image:linear-gradient(#000 82%,transparent);mask-image:linear-gradient(#000 82%,transparent)}}
/* old storyboard */
.art.story{top:3vh;height:64vh;-webkit-mask-image:radial-gradient(125% 105% at 50% 45%,#000 58%,transparent 88%);mask-image:radial-gradient(125% 105% at 50% 45%,#000 58%,transparent 88%)}
.sb{position:absolute;inset:0;overflow:hidden;opacity:0}
.sb img{position:absolute;left:0;top:0;transform-origin:0 0;will-change:transform;max-width:none}
@media (max-width:700px){.art.story{top:3vh;height:42vh;-webkit-mask-image:linear-gradient(#000 82%,transparent);mask-image:linear-gradient(#000 82%,transparent)}}
.art.street{-webkit-mask-image:linear-gradient(#000 72%,transparent);mask-image:linear-gradient(#000 72%,transparent)}
.art.street canvas{width:100%;height:100%;display:block}

/* cats */
.catsvg .draw{stroke:#5a3824;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
/* the drawings arrive pale and take their colour with the sentence that names it */
.catsvg .pim{filter:grayscale(1) contrast(.55) brightness(1.25)}
.catsvg .p3 .pim{filter:grayscale(1) contrast(.4) brightness(1.7)}
.catsvg .pal{opacity:1;transition:opacity 1.6s var(--ease)}
.catsvg .p2{transition-delay:.5s}.catsvg .p3{transition-delay:1s}
[data-cb="1"] .catsvg .pal,[data-cb="2"] .catsvg .pal,[data-cb="3"] .catsvg .pal{opacity:0}
.cw{font-weight:600}
.cw.sari{background:linear-gradient(90deg,#d9a92a 0%,#dc9a36 55%,#d9873a 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.cw.tur{color:#d9873a}.cw.gri{color:#8f8b86}.cw.siyah{color:#1d1916}

/* forum map */
.art.map{opacity:0;top:2vh;height:54vh;-webkit-mask-image:radial-gradient(closest-side,#000 74%,transparent);mask-image:radial-gradient(closest-side,#000 74%,transparent)}
.mapw{position:absolute;left:0;top:0;width:1402px;height:1122px;transform-origin:0 0;--u:1}
.mapfill,.mapink,.mapred,.mapinkfb{position:absolute;left:0;top:0;width:1402px;height:1122px;max-width:none;display:block}
.mapfill{opacity:0;transition:opacity 1.2s var(--ease)}
.mapinkfb{display:none;background:#54341e;-webkit-mask:url(../img/forum_ink.png) center/100% 100% no-repeat;mask:url(../img/forum_ink.png) center/100% 100% no-repeat;-webkit-mask-mode:luminance;mask-mode:luminance;opacity:0}
.mapw.nogl .mapink{display:none}.mapw.nogl .mapinkfb{display:block}
#argRed{fill:none;stroke:#9a3b2e;stroke-width:7;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1}
.mapw .m-lab,.mapw .m-rl,.mapw .m-reg{position:absolute;transform:translate(-50%,-50%);white-space:nowrap;font-family:var(--serif);opacity:0;transition:opacity 1.3s var(--ease);
  color:#2a2119;text-shadow:0 0 calc(3px*var(--u)) #f0dcb8,0 0 calc(6px*var(--u)) #f0dcb8,0 0 calc(9px*var(--u)) #f0dcb8}
.mapw .m-lab{font-size:calc(13.5px*var(--u));font-style:italic}
.mapw .m-rl{font-size:calc(12px*var(--u));font-style:italic;color:#5c4a33}
.mapw .m-reg{font-size:calc(13px*var(--u));letter-spacing:.42em;text-transform:uppercase;color:#6b5738}
.mapw .on{opacity:.95}
.walkp{fill:none;stroke:var(--ox);stroke-width:2;stroke-dasharray:2 5;vector-effect:non-scaling-stroke;opacity:.85}
#luc{fill:var(--ox);stroke:#f6efe2;stroke-width:1.5;vector-effect:non-scaling-stroke;opacity:0;transition:opacity 1s}
.spot{opacity:0;transition:opacity 1.4s var(--ease)}
.spot .pulse{fill:none;stroke:var(--ox);stroke-width:1.4;vector-effect:non-scaling-stroke;transform-box:fill-box;transform-origin:center;animation:pulse 3s ease-out infinite}
@keyframes pulse{0%{opacity:.8;transform:scale(.5)}100%{opacity:0;transform:scale(1.8)}}
.spot .man{fill:var(--ink);opacity:0;transition:opacity 1.2s}
.speech path{fill:none;stroke:var(--ink);stroke-width:1.4;vector-effect:non-scaling-stroke;stroke-linecap:round;opacity:0}
.talking .speech path{animation:speak 1.1s ease-out infinite}
.talking .speech path:nth-child(2){animation-delay:.2s}.talking .speech path:nth-child(3){animation-delay:.4s}
@keyframes speak{0%{opacity:0}35%{opacity:.85}100%{opacity:0}}
.sd{fill:var(--ink);opacity:0;transition:opacity 1.2s var(--ease)}
.sd.on{opacity:.9}.sd.gone{opacity:.14}
#wave{fill:none;stroke:var(--ox);stroke-width:1.4;vector-effect:non-scaling-stroke;opacity:0}

/* eyes */
.eyes .draw{stroke:#f4ece0;stroke-width:1.8}
.eyes .iris{fill:#f4ece0;opacity:0;transition:opacity 1.8s var(--ease)}
.eyes svg{transition:opacity 2s var(--ease)}


@media (max-width:700px){
  .art{top:7vh;height:50vh}
  .panel.low .beat{font-size:calc(19px * var(--fs,1));line-height:1.6}
  .beat{font-size:calc(21px * var(--fs,1))}
  .read{padding:14vh 24px}
  .para{text-align:left}
}
