/* Local draft layer. The published styles and intro remain intact. */
html[data-draft-menu] .portfolio-home .floating-header {
  --menu-offset: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(var(--menu-offset));
}
html[data-menu-entrance="down"] .portfolio-home .floating-header { --menu-offset: -24px; }
html[data-menu-ready] .portfolio-home .floating-header {
  transition: opacity 440ms cubic-bezier(.22,1,.36,1), transform 440ms cubic-bezier(.22,1,.36,1), visibility 440ms;
}
html[data-draft-menu="visible"] .portfolio-home .floating-header {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
html[data-draft-menu="hidden"] .portfolio-home .main-nav { pointer-events: none; }
.hero-description { display: grid; justify-items: center; gap: 4px; max-width: 100%; }
.hero-identity .hero-kicker { font-size: clamp(15px,1.15vw,19px); }
.hero-identity .hero-line { max-width: 64ch; font-size: clamp(17px,1.4vw,22px); line-height: 1.6; }
.hero-line .word-carousel {
  display: inline-grid;
  position: relative;
  vertical-align: bottom;
  text-align: left;
  color: var(--home-ink);
  font-weight: 650;
}
.word-carousel > span { grid-area: 1 / 1; white-space: nowrap; visibility: hidden; }
.word-carousel > span[data-current] { visibility: visible; }
.hero-line .carousel-visual { display: inline; }
.carousel-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 680px) {
  .hero-identity { width: 100%; }
  .hero-identity .hero-line { font-size: 17px; line-height: 1.6; }
  .hero-line .carousel-prefix { display: block; }
  .hero-line .word-carousel { text-align: center; }
  .hero-description { gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-menu-ready] .portfolio-home .floating-header { transition: none; transform: none; }
}
