

.tunnel { position: relative; width: 100%; }
.tunnel__section { position: relative; width: 100%; height: 500vh; }
.tunnel__stage {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  visibility: hidden;
}
.tunnel__stage[data-tunnel-on="true"] { visibility: visible; }
.tunnel__logo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -100000;
  opacity: 0;
  visibility: hidden;
  color: var(--paper);
}
.tunnel__logo[data-ready="true"] { visibility: visible; }
.tunnel__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; display: block; }
.tunnel__tile {
  position: absolute;
  left: 50%;
  top: 50%;
  overflow: hidden;
  border-radius: 2px;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
}
.tunnel__img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; }
.tunnel__title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  pointer-events: none;
  padding: 0 4vw;
  mix-blend-mode: difference;
}
.tunnel__h2 {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0.28em;
  text-align: center;
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
  font-size: 100px;
  line-height: 1em;
  letter-spacing: -2px;
  color: var(--paper);
}
.tunnel__mask { display: inline-flex; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.tunnel__word {
  display: inline-block;
  white-space: pre;
  transform-origin: 0% 100%;
  will-change: transform;
  transform: translateY(115%) rotate(8deg);
}
@media (max-width: 809.98px) {
  .tunnel__section { height: 450vh; }
  .tunnel__h2 { font-size: 44px; letter-spacing: -0.8px; }
}
@media (prefers-reduced-motion: reduce) {
  .tunnel__section { height: 100vh; }
  .tunnel__stage { visibility: visible; }
}


.tunnel__tile { border-radius: 0; overflow: visible; }
.tunnel__img { position: absolute; left: -17%; top: -10%; width: 134%; height: 135%; max-width: none; object-fit: fill; }
.tunnel__title, .tunnel__h2, .tunnel__mask, .tunnel__word { mix-blend-mode: normal; }

.tunnel__h2 { font-size: clamp(110px, 9vw, 176px); letter-spacing: -.01em; font-weight: 400; }
.tunnel__word.it { font-style: italic; color: #E9C9A0; }
.tunnel__logo { color: #E9C9A0; }
@media (max-width: 809.98px) { .tunnel__h2 { font-size: 64px; } }
