@charset "UTF-8";


.fx-wipe {
  --fx-duration: 1s;
  --fx-ease:     cubic-bezier(.77, 0, .18, 1);
  --fx-edge:     6px;          
  position: relative;
  isolation: isolate;          
}

.fx-wipe__layer,
.fx-wipe::after {
  transition: clip-path var(--fx-duration) var(--fx-ease) var(--fx-delay, 0s);
}

.fx-wipe__layer            { clip-path: polygon(0 0, 0 0, -25% 100%, -25% 100%); }
.fx-wipe.is-on .fx-wipe__layer { clip-path: polygon(0 0, 130% 0, 105% 100%, -25% 100%); }

.fx-wipe::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  background: var(--color-accent);
  pointer-events: none;
  clip-path: polygon(calc(0% - var(--fx-edge)) 0, 0 0, -25% 100%, calc(-25% - var(--fx-edge)) 100%);
}
.fx-wipe.is-on::after {
  clip-path: polygon(calc(130% - var(--fx-edge)) 0, 130% 0, 105% 100%, calc(105% - var(--fx-edge)) 100%);
}


.work--wipe .work__images { grid-template-columns: 1fr; gap: 0; }

.work--wipe .work__img { grid-area: 1 / 1; isolation: isolate; }


.fx-wipe--reveal.is-done .fx-wipe__layer { clip-path: none; }
.fx-wipe--reveal.is-done::after { display: none; }


.marquee {
  overflow: hidden;
  padding: 18px 0;
  color: var(--color-text-invert);
  background: var(--color-accent);
  user-select: none;
}

.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.marquee__item {
  display: flex;
  align-items: center;
  font-family: var(--font-en);
  font-size: clamp(36px, 6vw, 84px);
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  letter-spacing: .02em;
  white-space: nowrap;
}

.marquee__item--outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--color-text-invert);
}

.marquee__item::after {
  content: "";
  width: .14em; height: .62em;
  margin: 0 .7em 0 .55em;
  background: var(--color-text-invert);
  transform: skewX(-20deg);
  box-shadow: .26em 0 0 var(--color-text-invert);
}

@media (max-width: 768px) {
  .marquee { padding: 12px 0; }
  .marquee__item--outline { -webkit-text-stroke-width: 1px; }
}


.fx-shine { position: relative; overflow: hidden; }
.fx-shine::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg,
    transparent 30%,
    rgba(255, 255, 255, .75) 44%,
    rgba(255, 255, 255, .1) 50%,
    rgba(255, 255, 255, .55) 56%,
    transparent 68%);
  transform: translateX(-110%);
  pointer-events: none;
}
.fx-shine.is-shine::after {
  animation: fx-shine 1.1s cubic-bezier(.4, 0, .2, 1) var(--fx-delay, 0s);
}
@keyframes fx-shine {
  from { transform: translateX(-110%); }
  to   { transform: translateX(110%); }
}


@media (prefers-reduced-motion: no-preference) {
  .hero__title:not(.is-split) { animation: fx-title-fallback 0s 1.5s both; }
}
@keyframes fx-title-fallback {
  from { visibility: hidden; }
  to   { visibility: visible; }
}

.fx-char {
  display: inline-block;
  animation: fx-char .8s cubic-bezier(.2, .7, .2, 1) both;
  animation-delay: calc(var(--i) * 70ms + 100ms);
}
@keyframes fx-char {
  from { opacity: 0; transform: translateY(.45em); filter: blur(10px); }
  to   { opacity: 1; transform: none; filter: none; }
}


@media print {
  .fx-wipe__layer { clip-path: none !important; }
  .fx-wipe::after, .fx-shine::after { display: none; }
  .fx-char { animation: none; }
}
