.work-head { justify-content: flex-end; }
.nav.is-compact { backdrop-filter: none; -webkit-backdrop-filter: none; }
.hero-v4 .hero-v2-copy.entry-item,
.hero-v4 .hero-composition.entry-item { opacity: 1; filter: none; transition: none; }
.hero-v4 .hero-v2-copy.has-entered h1,
.hero-v4 .hero-project-wall.has-entered .case-wall { animation: none; }
.hero-v4 .hero-v2-copy h1 > .hero-entry-word { display: inline-block; color: inherit; }
.hero-entry-word .hero-word-viewport { color: var(--lime); }
:root { --site-header-height: 86px; }
main { position: relative; display: flow-root; isolation: isolate; }
.hero-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }
.hero-v4 {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100svh;
  min-height: 0;
  padding-top: var(--site-header-height);
  z-index: 1;
}
.hero-v4[aria-hidden="true"] { visibility: hidden; }
.hero-v4 .hero-v2-main {
  height: 100%;
  min-height: 0;
  padding-block: clamp(24px, 6vh, 72px);
  align-items: center;
}
.content-sheet {
  --sheet-radius: 42px;
  position: relative;
  z-index: 2;
  margin-top: calc(100svh - var(--site-header-height));
  background: var(--paper);
  border-radius: var(--sheet-radius);
  isolation: isolate;
}
.content-sheet::before,.content-sheet::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 80px;
  z-index: -1;
  pointer-events: none;
}
.content-sheet::before { top: 0; border-radius: var(--sheet-radius) var(--sheet-radius) 0 0; box-shadow: 0 -16px 60px #10111020; }
.content-sheet::after { bottom: 0; border-radius: 0 0 var(--sheet-radius) var(--sheet-radius); box-shadow: 0 24px 52px #10111020; }
.content-sheet > .play-intro-scroll { border-radius: var(--sheet-radius) var(--sheet-radius) 0 0; }
.content-sheet > .studio { border-radius: 0 0 var(--sheet-radius) var(--sheet-radius); }
.footer-anchor { height: 0; }
.contact.footer-reveal {
  position: sticky;
  bottom: 0;
  z-index: 0;
  background: var(--paper);
}
.contact.footer-reveal.footer-static { position: relative; bottom: auto; }
.footer-reveal .contact-top.entry-item,
.footer-reveal > footer.entry-item { opacity: 1; filter: none; transition: none; }
@media(max-width:600px) {
  :root { --site-header-height: 72px; }
  .content-sheet { --sheet-radius: 28px; }
}
@media(prefers-reduced-motion:reduce), (max-height:520px) {
  .hero-v4 { position: relative; inset: auto; height: auto; min-height: calc(100svh - var(--site-header-height)); padding-top: 24px; }
  .hero-v4 .hero-v2-main { min-height: calc(100svh - var(--site-header-height) - 46px); }
  .content-sheet { margin-top: 0; box-shadow: none; }
  .content-sheet::before,.content-sheet::after { display: none; }
}
.scatter-title h2 { margin: 0; }
.work-word-viewport {
  display: inline-grid;
  vertical-align: top;
  height: 1.15em;
  overflow: hidden;
  padding: 0 .08em;
}
.work-word-current, .work-word-next {
  grid-area: 1 / 1;
  white-space: nowrap;
  line-height: 1.1;
}
.work-word-next { opacity: 0; }

.inline-project .intro-photo-stack {
  display: inline-block;
  position: relative;
  width: 1.3em;
  height: .85em;
  margin: 0 .18em 0 .22em;
  vertical-align: middle;
  isolation: isolate;
}
.intro-stack-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-sizing: border-box;
  border: 2px solid #fffdf8;
  border-radius: 1px;
  box-shadow: 0 3px 7px #10111024;
  opacity: 0;
  transform: translate(var(--photo-x), var(--photo-y)) rotate(var(--photo-angle));
  pointer-events: none;
}
.intro-stack-photo.has-landed { opacity: 1; }
.inline-project.stack-previewing { text-decoration-color: var(--blue); }
.intro-cursor-preview {
  position: fixed;
  width: clamp(220px, 25vw, 380px);
  aspect-ratio: 4 / 3;
  padding: 8px;
  box-sizing: border-box;
  background: #fffdf8;
  box-shadow: 0 18px 65px #10111030;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: scale(.94) rotate(-2deg);
  transition: opacity .2s, transform .3s cubic-bezier(.22,1,.36,1), visibility .2s;
}
.intro-cursor-preview.is-visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1) rotate(-2deg);
}
.intro-cursor-preview img { display: block; width: 100%; height: 100%; object-fit: contain; }
@media(max-width:650px) {
  .intro-stack-photo { border-width: 1.5px; }
  .scatter-title h2 { font-size: clamp(32px, 9.4vw, 42px); }
}
@media(prefers-reduced-motion:reduce) {
  .intro-cursor-preview { transition: none; }
}
