.print-word {
  position: relative;
  white-space: nowrap;
}
.hero-name.print-word {
  width: 80%;
  font-size: clamp(150px, 32vw, 460px);
  transform: none;
}
.print-word canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.print-word.is-printed {
  color: transparent;
}
.ripple-control {
  position: absolute;
  z-index: 2;
  right: 0;
  top: 55px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 0 12px 12px;
  font-size: 10px;
  letter-spacing: .12em;
}
.ripple-control[hidden] { display: none; }
.ripple-control:hover { color: var(--red); }
.ripple-icon {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  color: var(--red);
  border: 1px solid currentColor;
  border-radius: 50%;
}
.ripple-icon::after {
  content: "";
  width: 5px;
  height: 5px;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.signature-crop {
  overflow: hidden;
  height: min(28vw, 465px);
  border-top: 1px solid #393936;
  padding-top: min(3vw, 40px);
}
.footer-print {
  width: 96%;
  max-width: 1550px;
  margin-inline: auto;
  font: 400 min(36vw, 582px)/.96 var(--display);
  letter-spacing: -.035em;
}
@media (forced-colors: active), print {
  .print-word.is-printed { color: inherit; }
  .print-word canvas, .ripple-control { display: none; }
}
.word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding: 0 0.08em 0.12em 0;
  margin-right: -0.08em;
  margin-bottom: -0.12em;
  line-height: 1.18;
}
.word-mask > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.15, 1)
    calc(var(--word) * 45ms);
}
.word-reveal.is-visible .word-mask > span {
  transform: translateY(0);
}
.hero-intro {
  animation: intro-enter 0.9s 0.35s both;
}
.sculpture-stage {
  animation: sculpture-enter 1.2s 0.15s both;
}
.project-jump {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  border-bottom: 1px solid var(--line);
  margin: 0 0 35px;
}
.project-jump > a {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 0 22px;
  font-size: 20px;
  letter-spacing: -0.6px;
  transition: color 0.25s;
}
.project-jump .micro {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 1px;
}
.project-jump img {
  width: 18px;
  height: 18px;
  margin-left: auto;
}
.project-jump > a:hover,
.project-jump > a:focus-visible {
  color: var(--red);
}
.project-hover-preview {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  width: 240px;
  height: 135px;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.2s,
    visibility 0.2s;
  box-shadow: 0 15px 40px #0002;
  overflow: hidden;
}
.project-hover-preview.is-open {
  visibility: visible;
  opacity: 1;
}
.project-hover-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* The label and arrow trade sides within the same hit area. */
@media (prefers-reduced-motion: no-preference) {
  body:not(.motion-paused) .action-pill > span {
    transition: transform .48s cubic-bezier(.33, 1, .68, 1);
  }
  body:not(.motion-paused) .action-pill::after {
    transition: left .48s cubic-bezier(.33, 1, .68, 1),
                transform .48s cubic-bezier(.33, 1, .68, 1);
  }
  body:not(.motion-paused) .action-pill:is(:focus-visible, :active) {
    --chip-start: var(--inset);
    --label-shift: calc(var(--icon-pad) - var(--label-pad));
    --turn: 45deg;
  }
  @media (hover: hover) and (pointer: fine) {
    body:not(.motion-paused) .action-pill:hover {
      --chip-start: var(--inset);
      --label-shift: calc(var(--icon-pad) - var(--label-pad));
      --turn: 45deg;
    }
  }
}
#main-nav a[aria-current="location"]:after {
  transform: scaleX(1);
}
.project-feature {
  scroll-margin-top: 35px;
}
.skip-link {
  clip-path: inset(100%);
}
.skip-link:focus {
  clip-path: none;
}
@keyframes intro-enter {
  from {
    opacity: 0;
    translate: 0 16px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes sculpture-enter {
  from {
    opacity: 0;
    scale: 0.97;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}
.motion-paused .word-mask > span {
  animation: none !important;
  transform: none !important;
}
.motion-paused .hero-intro,
.motion-paused .sculpture-stage {
  animation: none !important;
  opacity: 1;
  translate: none;
  scale: 1;
}
@media (max-width: 760px) {
  .hero-name.print-word {
    width: 100%;
    font-size: 36.5vw;
  }
  .ripple-control {
    left: 0;
    right: auto;
    top: calc(39vw + 10px);
    padding: 10px 0;
    font-size: 9px;
  }
  .project-jump {
    gap: 20px;
    margin-bottom: 28px;
  }
  .project-jump > a {
    gap: 10px;
    font-size: 16px;
    padding: 10px 0 18px;
  }
  .project-jump img {
    width: 14px;
    height: 14px;
  }
  .project-jump .micro {
    font-size: 8px;
  }
  .project-hover-preview {
    display: none;
  }
  .word-mask {
    line-height: 1.2;
  }
  .hero-intro {
    animation-duration: 0.65s;
  }
  .project-feature {
    scroll-margin-top: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .word-mask > span {
    animation: none !important;
    transform: none !important;
  }
  .hero-intro,
  .sculpture-stage {
    animation: none !important;
    opacity: 1;
    translate: none;
    scale: 1;
  }
  .project-hover-preview {
    display: none;
  }
}
/* A brief pass of print dots brings each project illustration into view. */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready body:not(.motion-paused) .project-feature.is-visible .project-image::after {
    content: "";
    position: absolute;
    pointer-events: none;
    inset: 0;
    background-image: radial-gradient(circle, #dbd9cd 1px, transparent 1.5px);
    background-size: 6px 6px;
    mask-image: linear-gradient(105deg, transparent 35%, #000 50%, transparent 65%);
    mask-size: 300% 100%;
    opacity: 0;
    animation: print-pass 1.1s ease-out .12s;
  }
}
@keyframes print-pass {
  0% { mask-position: 100% 0; opacity: 0; }
  30% { opacity: .38; }
  100% { mask-position: 0 0; opacity: 0; }
}
@media (hover: none), (pointer: coarse) {
  .project-hover-preview {
    display: none;
  }
}
