/* The home page (templates/home.php): compact, in the manner of teamatlantis.eu. */
@font-face{font-family:'Roboto Mono';font-weight:100 700;font-display:swap;src:url(fonts/robotomono-latin.woff2) format('woff2')}
html,body.tsh-body{background:#fafafa}
body.tsh-body{margin:0;color:#0a0a0a;font:400 16px/1.5 Figtree,system-ui,sans-serif;-webkit-font-smoothing:antialiased;font-size-adjust:none}
.tsh *{box-sizing:border-box;margin:0;padding:0}
.tsh a{color:inherit;text-decoration:none}
.tsh .ts-mono{font-family:'Roboto Mono',ui-monospace,monospace;font-size:12.5px;letter-spacing:.01em;color:#5f5f5f;font-size-adjust:none}
.tsh{max-width:1400px;margin:0 auto;padding:0 60px;animation:tsh-in .5s cubic-bezier(.2,.6,.3,1) backwards}
@keyframes tsh-in{from{opacity:0}}
.tsh h1,.tsh .tsh-line{color:#0a0a0a!important}

html,body.tsh-body{overflow-x:clip}
/* the header as on the other pages of the site: across the whole window, the same sizes */
.tsh-head{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100vw;margin-left:calc(50% - 50vw);height:98px;padding:0 75px 0 38px;border-bottom:1px solid #ececec}
.tsh-brand{display:flex;align-items:center;gap:14px}
.tsh-maze{width:72px;height:72px;flex:none;color:#0a0a0a}
.tsh-name b{display:block;font-weight:500;font-size:24px;letter-spacing:-.03em;line-height:1.1}
.tsh-name small{display:block;margin-top:4px;font-size:12.5px;color:#6a6a6a;line-height:1.3}
.tsh-top{display:flex;gap:42px;font-size:15px;font-size-adjust:.56;letter-spacing:.5px;text-transform:lowercase}
.tsh-top a{color:#606060;transition:color .2s}
.tsh-top a:hover,.tsh-top a:focus-visible{color:#0a0a0a}
.tsh-burger{display:none;background:none;border:0;width:44px;height:44px;cursor:pointer;color:#0a0a0a}
.tsh-burger span{display:block;width:28px;height:10px;margin:auto;border-top:1.5px solid currentColor;border-bottom:1.5px solid currentColor}

.tsh-label{margin-bottom:10px}
.tsh-hero{position:relative;display:grid;grid-template-columns:1.15fr 1fr .55fr;gap:44px;padding:44px 0 40px;align-items:start}
.tsh-line{font-weight:500;font-size:48px;line-height:1.05;letter-spacing:-.04em;font-size-adjust:none}
.tsh-line > span{display:block}
.tsh-line .tsh-w{display:inline-block;transition:transform .5s cubic-bezier(.3,1.4,.5,1)}
.tsh-line > span:first-child{margin-bottom:.06em}
.tsh-about p{color:#4a4a4a;font-size:15.5px;margin-bottom:10px}
.tsh-about a{color:#0a0a0a;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.tsh-list{list-style:none;font-size:16px;line-height:1.75}
.tsh-list a:hover,.tsh-list a:focus-visible{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}

.tsh-latest{border-top:1px solid #e1e1e1;padding-top:20px}
.tsh-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.tsh-card{display:flex;flex-direction:column}
/* the pictures: those of the podcast's episodes (inc/art.php), as on its page */
.tsh-pic{display:block;margin-bottom:10px;border-radius:2px;overflow:hidden}
.tsh .st-art{position:relative;display:block;overflow:hidden;aspect-ratio:1/1;background:#232323;color:#f7eae0;container-type:inline-size}
.tsh .st-art-svg{position:absolute;top:0;left:0;display:block;width:100%;height:100%;transition:transform .45s ease}
.tsh .st-art::after{content:"";position:absolute;inset:0;background:url(grain.png);mix-blend-mode:overlay;opacity:.6;pointer-events:none}
.tsh .st-art::before{content:"";position:absolute;right:0;bottom:0;left:0;z-index:1;height:52%;background:linear-gradient(to top,rgba(20,20,20,.5),rgba(20,20,20,0));pointer-events:none}
.tsh .st-art-name{position:absolute;right:7%;bottom:6.5%;left:7%;z-index:2;font-size:clamp(14px,9.2cqi,40px);line-height:1.04;font-weight:700;letter-spacing:-.02em;text-transform:uppercase;overflow-wrap:break-word;text-shadow:0 1px 14px rgba(0,0,0,.35)}
.tsh-card:hover .st-art-svg{transform:scale(1.04)}
.tsh-pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform .8s cubic-bezier(.2,.6,.3,1)}
.tsh-card:hover .tsh-pic img{transform:scale(1.04)}
.tsh-ct{font-weight:500;font-size:15.5px;line-height:1.3;margin-bottom:4px}
.tsh-card:hover .tsh-ct{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}

/* running: the line leads to the page; over its words or its kilometres, a line draws itself under them; over the
   kilometres only, the photo of the run comes up (the runner below stays easy to reach) */
.tsh-run{position:relative;display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin-top:40px;padding:18px 0 30px;border-top:1px solid #e1e1e1;cursor:pointer}
/* the little runner of the former home page, running the whole length of the line below, again and again */
.tsh-runline{position:absolute;bottom:0;left:0;right:0;height:1px;background:#e1e1e1}
.tsh-runner{position:absolute;bottom:1px;left:0;margin-left:-8px;overflow:visible;animation:tsh-run 34s linear infinite;pointer-events:auto;cursor:pointer}
.tsh-runline{pointer-events:none}
.tsh-runner circle{fill:#161616}
.tsh-runner path{fill:none;stroke:#161616;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.tsh-runner .tsh-ra{animation:tsh-leg-a .5s steps(1) infinite}
.tsh-runner .tsh-rb{animation:tsh-leg-b .5s steps(1) infinite}
@keyframes tsh-run{0%{left:0;opacity:0}3%{opacity:1}97%{opacity:1}100%{left:100%;opacity:0}}
@keyframes tsh-leg-a{0%{opacity:1}50%{opacity:0}}
@keyframes tsh-leg-b{0%{opacity:0}50%{opacity:1}}
@media (prefers-reduced-motion:reduce){.tsh-runner,.tsh-runner path{animation:none}.tsh-runner .tsh-rb{opacity:0}}
.tsh-run-l,.tsh-km{position:relative;transition:color .25s}
.tsh-km{font-weight:500;font-size:17px}
.tsh-run-l:after,.tsh-km:after{content:"";position:absolute;left:0;right:0;bottom:-4px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .45s cubic-bezier(.2,.7,.3,1)}
.tsh-run-l:hover,.tsh-run:focus-visible .tsh-run-l{color:#0a0a0a}
.tsh-run-l:hover:after,.tsh-km:hover:after,.tsh-run:focus-visible .tsh-run-l:after,.tsh-run:focus-visible .tsh-km:after{transform:scaleX(1)}
.tsh-run-photo{position:absolute;left:0;bottom:calc(100% + 12px);width:210px;aspect-ratio:3/4;overflow:hidden;border-radius:3px;box-shadow:0 18px 40px rgba(0,0,0,.2);opacity:0;transform:translateY(10px) scale(.97);transition:opacity .3s,transform .45s cubic-bezier(.2,.7,.3,1);pointer-events:none;z-index:5}
.tsh-run-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 25%;display:block}
.tsh-km:hover ~ .tsh-run-photo{opacity:1;transform:none}
@media (hover:none){.tsh-run-photo{display:none}.tsh-run-l:after,.tsh-km:after{transform:scaleX(1);opacity:.35}}

.tsh-foot{display:flex;justify-content:space-between;padding:48px 0 44px;margin-top:0}

.tsh-ch{display:inline-block}
@media (prefers-reduced-motion:no-preference){.tsh-wait .tsh-ch{opacity:0}}
@media (prefers-reduced-motion:no-preference){
  .tsh-play .tsh-ch{animation:tsh-ch .4s cubic-bezier(.2,.65,.3,1) backwards;animation-delay:calc(var(--i)*14ms + 60ms)}
  @keyframes tsh-ch{from{opacity:0;filter:blur(10px);transform:translateY(10px)}}
}
@media (prefers-reduced-motion:reduce){.tsh{animation:none}}

.tsh-hero{padding-top:56px;padding-bottom:52px}
@media (max-width:1080px){.tsh{padding:0 32px}.tsh-top{display:none}.tsh-burger{display:block}.tsh-hero{grid-template-columns:1fr 1fr}.tsh-line{grid-column:1/-1}.tsh-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){
  .tsh{padding:0 18px}
  .tsh-head{height:76px;padding:0 18px}
  .tsh-maze{width:52px;height:52px}
  .tsh-name b{font-size:19px}
  .tsh-hero{grid-template-columns:1fr;gap:28px;padding:30px 0 28px}
  .tsh-line{font-size:36px}
  .tsh-run{flex-direction:column;gap:6px}
}
.tsh-open .tsh-top{display:flex;position:fixed;inset:0;z-index:50;flex-direction:column;justify-content:center;gap:14px;padding:40px;background:#fafafa;font-size:30px;font-weight:500;letter-spacing:-.03em}
.tsh-open .tsh-top a{color:#0a0a0a}
.tsh-open .tsh-burger{position:fixed;top:16px;right:18px;z-index:51}

/* the pictures live a little: their discs drift by a few pixels, the ring sways, the stars twinkle; each card at its
   own pace, so that the four never move together. Nothing moves for visitors who ask for less motion. */
@media (prefers-reduced-motion:no-preference){
  .tsh-grid .st-art-svg > g,
  .tsh-grid .st-art-svg > circle[fill^="url"],
  .tsh-grid .st-art-svg > rect[rx]{animation:tsh-drift 9s ease-in-out infinite alternate}
  .tsh-grid .st-art-svg > circle[fill="none"]{animation:tsh-sway 11s ease-in-out infinite alternate}
  .tsh-grid .st-art-svg > path[fill]{transform-box:fill-box;transform-origin:center;animation:tsh-twinkle 3.6s ease-in-out infinite}
  .tsh-grid .st-art-svg > rect[rx]{animation-duration:10.5s;animation-direction:alternate-reverse}
  .tsh-grid .tsh-card:nth-child(2) .st-art-svg > *{animation-delay:-4s}
  .tsh-grid .tsh-card:nth-child(3) .st-art-svg > *{animation-delay:-7s}
  .tsh-grid .tsh-card:nth-child(4) .st-art-svg > *{animation-delay:-2s}
  .tsh-grid .tsh-card:nth-child(even) .st-art-svg > g{animation-name:tsh-drift-b}
  @keyframes tsh-drift{0%{translate:0 0}50%{translate:15px -12px}100%{translate:-10px 13px}}
  @keyframes tsh-drift-b{0%{translate:0 0}50%{translate:-13px 10px}100%{translate:12px -14px}}
  @keyframes tsh-sway{0%{translate:0 0}100%{translate:-22px 16px}}
  @keyframes tsh-twinkle{0%,100%{scale:1;opacity:1}50%{scale:.62;opacity:.55}}
}

/* the cities of the foot: Amsterdam alone on phones */
.tsh-more-cities > .tsh-city{margin-left:2.2em}
/* a secret: over a city, its local time, with a sun by day and a moon by night */
.tsh-city{position:relative;cursor:default}
.tsh-city:after{content:attr(data-time);position:absolute;left:50%;bottom:calc(100% + 8px);padding:4px 9px;border-radius:3px;background:#161616;color:#fff;font-size:12px;white-space:nowrap;opacity:0;transform:translate(-50%,4px);transition:opacity .2s,transform .25s cubic-bezier(.2,.7,.3,1);pointer-events:none}
.tsh-city:hover:after{opacity:1;transform:translate(-50%,0)}
@media (max-width:640px){.tsh-more-cities{display:none}}
/* the drawing of Amsterdam's canals, at the foot of the page on phones (assets/amsterdam-home.js) */
.tsh-am-host{display:none}
.tsh-am-host .am-ij .am-faint,.tsh-am-host .am-ripple{display:none}
@media (max-width:767px){.tsh-am-host{display:block;padding:0 0 40px}.tsh-am-host .tsx-am{margin-top:18px}}

/* the page that does not exist (templates/404.php) */
.tsh-lost{padding:44px 0 30px}
.tsh-lost .tsh-line{margin:6px 0 14px;font-size:44px}
.tsh-lost-how{color:#5f5f5f;font-size:15.5px;margin-bottom:22px}
.tsh-lost-box{max-width:780px}
#tsh-lost{display:block;width:100%;touch-action:none;cursor:crosshair;transition:opacity .6s}
#tsh-lost.tsh-lost-won{opacity:.2}
.tsh-lost-skip{margin-top:20px;font-size:14px}
.tsh-lost-skip a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;color:#5f5f5f}
@media (max-width:640px){.tsh-lost .tsh-line{font-size:32px}}

