@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local(''),
       url('type/manrope-v4-latin-regular.woff2') format('woff2'),
       url('type/manrope-v4-latin-regular.woff') format('woff');
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: local(''),
       url('type/manrope-v4-latin-800.woff2') format('woff2'),
       url('type/manrope-v4-latin-800.woff') format('woff');
}

:root {
  --bg: #000;
  --fg: #fff;
  --panel: rgba(0, 0, 0, 0.48);
  --panel-border: rgba(255, 255, 255, 0.14);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --glow-a: #fff;
  --glow-b: #f0f;
  --glow-c: #0ff;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --radius: 1rem;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Manrope', system-ui, sans-serif;
}

a, button, [role='button'], summary, audio {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.14em;
}

a:hover {
  opacity: 0.88;
}

audio {
  width: min(100%, 28rem);
  opacity: 0.7;
  border-radius: 0;
  box-shadow: 0 0 4px 2px var(--glow-a),
              0 0 6px 3px var(--glow-b),
              0 0 8px 4px var(--glow-c);
}

.glow {
  text-shadow: 0 0 4px var(--glow-a), 0 0 6px var(--glow-b), 0 0 8px var(--glow-c);
}

.shimmy {
  animation: shimmy 2s infinite alternate;
}

@keyframes shimmy {
  from { transform: translate(0, 0); }
  to { transform: translate(2px, 1px); }
}

#cornerlogo {
  position: fixed;
  top: var(--space-4);
  left: var(--space-4);
  z-index: 20;
  width: clamp(3.25rem, 5vw, 5rem);
  aspect-ratio: 1;
  margin: 0;
  border: 0;
  background: url('time.taxi.png') no-repeat center / contain;
  opacity: 0.2314;
  animation: perspect 20s linear infinite;
}

#cornerlogo:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 4px;
}

@keyframes perspect {
  0% { transform: perspective(300px) rotateY(0deg); }
  87% { transform: perspective(300px) rotateY(42deg); }
  92% { transform: perspective(300px) rotateY(89deg); }
  96% { transform: perspective(300px) rotateY(199deg); }
  100% { transform: perspective(300px) rotateY(360deg); }
}

#timetaxis {
  display: inline-block;
  width: clamp(4.5rem, 9vw, 7rem);
  vertical-align: middle;
}

.brand {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 800;
}

.revue {
  position: relative;
  z-index: 10;
  width: min(85%, 60rem);
  margin: clamp(4rem, 8vh, 6rem) auto;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  text-align: left;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.revue h2,
.revue h4,
.revue p,
.revue ul {
  margin-top: 0;
}

.revue h4 {
  margin-bottom: var(--space-4);
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  line-height: 1.45;
}

.revue ul {
  margin: 0 0 var(--space-5) 1.25rem;
  padding: 0;
}

.revue li {
  margin-bottom: var(--space-2);
  line-height: 1.5;
}

.fullscreen-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

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

@media (orientation: portrait) {
  #cornerlogo {
    width: clamp(4rem, 12vw, 5.5rem);
    animation: none;
  }

  #timetaxis {
    width: clamp(5.5rem, 18vw, 7.5rem);
  }
}

@media (max-width: 767px) {
  #cornerlogo {
    top: var(--space-3);
    left: var(--space-3);
  }

  .revue {
    width: calc(100% - 2rem);
    margin: 4.5rem auto 1rem;
    padding: 1rem 1rem 1.25rem;
  }

  .revue h2 {
    font-size: 1.1rem;
    line-height: 1.35;
  }

  .revue h4,
  .revue li,
  .revue span,
  .revue em {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  #cornerlogo {
    animation: none;
  }
}
