.form-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: radial-gradient(ellipse at 71% 42%, #161217 0%, #090909 51%, #050505 84%);
}
.form-hero-inner {
  min-height: min(770px, calc(100svh - 82px));
  min-height: max(582px, min(770px, calc(100svh - 82px)));
  display: grid;
  grid-template-columns: 1fr 1.16fr;
  position: relative;
  align-items: center;
  padding-block: 60px 83px;
}
.form-hero-copy { position: relative; z-index: 2; }
.form-hero-copy .eyebrow {
  color: #d9d8c9;
  padding-left: 13px;
  border-left: 3px solid var(--yellow);
  margin-bottom: clamp(1.7rem, 5vw, 4.25rem);
}
.form-hero-copy h1 {
  font-size: clamp(5rem, 9.4vw, 10.8rem);
  line-height: .81;
  letter-spacing: -.092em;
  white-space: nowrap;
}
.form-hero-copy h1 span { display: block; overflow: clip; padding: .08em .11em .17em 0; margin-bottom: -.13em; }
.form-hero-copy h1 b, .form-hero-copy h1 em { display: block; font: inherit; }
.form-hero-copy h1 em { color: var(--yellow); }
.form-hero-copy > p:not(.eyebrow) { color: #dfddd3; margin-block: 1.8rem 1.15rem; font-size: clamp(1rem, 1.9vw, 1.4rem); }
.form-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1.2rem; }
.form-hero-link { text-underline-offset: .35em; text-decoration: underline; }
.form-art {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-width: 0;
}
.form-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 67% 61%, #e4147421, transparent 56%),
              radial-gradient(ellipse at 42% 36%, #97bf1e16, transparent 53%);
}
.studio-mark { width: min(100%, 555px); height: auto; overflow: visible; }
.mark-complete { opacity: 1; }
.mark-assembly { opacity: 0; }
.mark-petal, .mark-name { transform-box: fill-box; transform-origin: center; }
.petal-green { --dx: -38%; --dy: -50%; --turn: 27deg; --delay: .05s; }
.petal-lime { --dx: 2%; --dy: -68%; --turn: -30deg; --delay: .16s; }
.petal-yellow { --dx: 56%; --dy: -53%; --turn: -33deg; --delay: .27s; }
.petal-gold { --dx: 66%; --dy: -21%; --turn: -22deg; --delay: .38s; }
.petal-orange { --dx: 63%; --dy: 37%; --turn: 22deg; --delay: .49s; }
.petal-pink { --dx: 37%; --dy: 35%; --turn: -24deg; --delay: .60s; }
.petal-purple { --dx: -49%; --dy: 29%; --turn: 25deg; --delay: .71s; }
.studio-mark.is-assembling .mark-complete { animation: studio-mark-finish 2.1s both; }
.studio-mark.is-assembling .mark-assembly { animation: studio-mark-pieces 2.1s both; }
.studio-mark.is-assembling .mark-petal { animation: studio-petal 1s cubic-bezier(.18,.77,.19,1) var(--delay) both; }
.studio-mark.is-assembling .mark-name { animation: studio-name .68s cubic-bezier(.22,.78,.22,1) .84s both; }
@keyframes studio-petal {
  0% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--turn)) scale(.84); }
  36% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes studio-name {
  from { opacity: 0; transform: translateY(13%); }
  to { opacity: 1; transform: none; }
}
@keyframes studio-mark-finish { 0%, 78% { opacity: 0; } 94%, 100% { opacity: 1; } }
@keyframes studio-mark-pieces { 0%, 91% { opacity: 1; } 100% { opacity: 0; } }
.form-cue, .form-motion-controls { position: absolute; bottom: 22px; z-index: 3; }
.form-cue, .form-motion-controls button { min-height: 42px; border: 1px solid #c9c7bb66; background: #0d0c0cbb; color: #eee; }
.form-cue { left: 0; width: 43px; display: grid; place-items: center; border-radius: 50%; }
.form-cue span { width: 7px; height: 13px; border-bottom: 1px solid; border-right: 1px solid; rotate: 45deg; margin-top: -5px; }
.form-motion-controls { right: 0; display: flex; flex-wrap: wrap; justify-content: end; gap: .4rem; }
.form-motion-controls button { padding: .4rem .72rem; font: .75rem var(--mono); }
.form-motion-controls button:hover, .form-cue:hover { border-color: #fff; }
.motion-heading { padding-block: clamp(68px, 10vw, 145px) clamp(35px, 5vw, 65px); }
.motion-heading h2 { font-size: clamp(4rem, 10vw, 10rem); }
.motion-gallery { --gap: 17px; }
.motion-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 88%; gap: var(--gap);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: #8d8a7c #202020; padding-bottom: 12px;
}
.motion-chapter {
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(440px, 51vw, 695px);
  isolation: isolate;
  overflow: hidden;
  background: #151514;
  border-top: 2px solid var(--chapter-color);
}
.motion-chapter:last-child { scroll-snap-align: end; }
.motion-chapter-copy { position: relative; z-index: 1; padding: clamp(23px, 4vw, 75px); }
.motion-chapter-copy .eyebrow { color: #e6e3d9; }
.motion-chapter-copy h3 { font-size: clamp(3.4rem, 7vw, 8.1rem); letter-spacing: -.083em; line-height: .93; margin-block: .15em .12em; }
.motion-chapter-copy p:not(.eyebrow) { color: #e4e0d7; font-size: 1rem; max-width: 36ch; margin-bottom: 1.2rem; }
.motion-chapter-link { display: inline-flex; min-height: 44px; align-items: center; padding: .45rem .85rem; border: 1px solid #fffc; background: #0a0a0aad; }
.motion-chapter-link:hover { color: #0a0a0a; background: #fff; }
.motion-chapter-visual { position: absolute; inset: 0; overflow: hidden; z-index: -1; }
.motion-chapter-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#0b0b0bd9,transparent 60%),linear-gradient(0deg,#080807f7,transparent 77%); }
.motion-chapter-visual .scene { width: 100%; height: 100%; border: 0; aspect-ratio: auto; min-height: initial; background: #111110; }
.motion-chapter-visual .scene > * { margin-left: 30%; }
.motion-chapter-visual .lit-type { font-size: 17cqw; }
.motion-chapter-visual .printer { width: 52%; margin-top: -5%; }
.motion-chapter-visual .material-layers { width: 51%; height: 74%; }
.motion-chapter-visual .film-strip { margin-left: 10%; }
.motion-chapter-visual .scene-film { background: #261323; }
.motion-controls { display: flex; flex-wrap: wrap; column-gap: .75rem; margin-bottom: .95rem; }
.motion-controls button {
  min-height: 44px; border: 0; border-bottom: 2px solid transparent; padding: .4rem .18rem;
  color: #c5c1b8; background: transparent;
}
.motion-controls button[aria-pressed="true"] { color: #fff; border-bottom-color: var(--yellow); }
.home .dtf-feature { isolation: isolate; position: relative; }
.home .dtf-feature .film-strip { will-change: transform; }
.motion-enabled .form-hero-copy h1 span > * { animation: form-type .93s cubic-bezier(.19,1,.22,1) both; }
.motion-enabled .form-hero-copy h1 span:nth-child(2) > * { animation-delay: .11s; }
.motion-enabled .form-hero-copy h1 span:nth-child(3) > * { animation-delay: .22s; }
.motion-enabled .form-cue span { animation: form-cue 2.5s ease-in-out infinite; }
.motion-enabled .motion-chapter.is-current .motion-chapter-visual > .scene { animation: form-frame .65s cubic-bezier(.2,.75,.2,1) both; }
@keyframes form-type { from { transform: translateY(116%) rotate(4deg); } }
@keyframes form-cue { 55% { translate: 0 4px; } }
@keyframes form-frame { from { transform: scale(1.09); filter: brightness(.68); } }
.home.motion-paused *, .home.motion-paused *::before, .home.motion-paused *::after {
  animation: none !important;
  transition-duration: 0s !important;
}
.home.motion-paused [data-reveal] { opacity: 1; translate: none; }
@media (max-width: 760px) {
  .form-hero-inner { min-height: 0; grid-template-columns: 1fr; padding-top: 26px; padding-bottom: 78px; }
  .form-hero-copy { display: contents; }
  .form-hero-copy > * { position: relative; z-index: 2; }
  .form-hero-copy .eyebrow { grid-row: 1; margin-bottom: 0; }
  .form-art { grid-row: 2; align-self: center; height: clamp(225px, 61vw, 355px); }
  .studio-mark { width: min(70vw, 345px); max-height: 100%; }
  .form-hero-copy h1 { grid-row: 3; font-size: clamp(3.8rem, 14vw, 6.1rem); }
  .form-hero-copy > p:not(.eyebrow) { grid-row: 4; margin-block: 1.1rem .8rem; }
  .form-hero-actions { grid-row: 5; }
  .motion-track { grid-auto-columns: 91%; gap: 12px; }
  .motion-chapter { min-height: 480px; }
  .motion-chapter-visual { inset: 0 0 15%; }
  .motion-chapter-visual::after { background: linear-gradient(0deg,#151514 0%,#15151400 57%); }
  .motion-chapter-visual .scene > * { margin-left: 0; }
  .motion-chapter-visual .printer, .motion-chapter-visual .material-layers { width: 72%; }
  .motion-chapter-visual .scene-film .film-strip { margin-left: 15%; }
}
@media (max-width: 380px) { .form-hero-copy h1 { font-size: clamp(3.3rem, 14.5vw, 4.2rem); } }
@media (prefers-reduced-motion: reduce) {
  .form-hero *, .motion-showcase * { animation: none !important; transition: none !important; }
}

@media (prefers-reduced-motion: no-preference) {
  .motion-enabled .in-view .is-current .lit-type { animation: neon-breathe 5s ease-in-out infinite; }
  .motion-enabled .in-view .is-current .printer .sheet { animation: paper-feed 5s cubic-bezier(.55,.08,.18,.95) infinite; }
  .motion-enabled .in-view .is-current .material-layers { animation: panel-turn 8s ease-in-out infinite; }
  .motion-enabled .in-view .is-current .film-strip { animation: film-travel 7s ease-in-out infinite alternate; }
  .animation-ready .project-grid [data-project].seen figure { animation: print-reveal .8s cubic-bezier(.19,1,.22,1) both; }
}
.motion-chapter .printer .sheet {
  background: #a6bd4b url(parco25-720.webp) center/cover no-repeat;
}
@keyframes neon-breathe {
  0%, 100% { filter: brightness(.94); }
  48% { filter: brightness(1.55); }
}
@keyframes paper-feed {
  0%, 100% { transform: scaleY(.17); }
  68%, 88% { transform: scaleY(1); }
}
@keyframes panel-turn {
  0%, 100% { transform: rotateX(30deg) rotateY(-25deg) rotateZ(-22deg); }
  50% { transform: rotateX(44deg) rotateY(9deg) rotateZ(-11deg); }
}
@keyframes film-travel { to { translate: 13% -10%; } }
@keyframes print-reveal { from { clip-path: inset(0 0 75% 0); } }
