/* This first screen uses CSS pixels; case studies keep their original canvas. */
body.sidebar-layout .creation-landing {
  position: relative;
  isolation: isolate;
  width: calc(100% - var(--sidebar-width));
  height: max(900px, 100svh);
  margin-left: var(--sidebar-width);
  background: #000;
}
.creation-landing::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 510px 490px at 50% calc(50% - 60px), #121d40 0%, #0b1124 44%, #040609 73%, transparent 100%);
}
.landing-intro {
  position: absolute;
  top: calc(50% - 312px);
  left: 0;
  width: 100%;
  text-align: center;
}
.landing-sparkles { display: block; width: 56px; height: 56px; margin: 0 auto; overflow: visible; pointer-events: none; }
.landing-star {
  transform-box: fill-box;
  transform-origin: center;
  filter: drop-shadow(0 0 1.5px #b5f3ff88) drop-shadow(0 0 5px #62bfff44);
}
.landing-attribution { margin: 12px 0 0; color: #858894; font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'CharmD Sans', sans-serif; font-size: 18px; font-weight: 300; line-height: 27px; }
.landing-attribution em { font-family: var(--font-latin); font-style: italic; font-weight: 600; }
.landing-title { margin: 7px 0 0; font-size: 48px; font-weight: 600; line-height: 58px; letter-spacing: 0; }
.landing-attribution, .landing-title { width: fit-content; margin-inline: auto; }
.landing-feature-rail {
  position: absolute;
  top: calc(50% - 113px);
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 16px) / 3);
  grid-template-columns: none;
  gap: 8px;
  width: min(940px, calc(100% - 48px));
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  cursor: grab;
  touch-action: pan-x;
  -webkit-user-select: none;
  user-select: none;
}
.landing-feature-rail::-webkit-scrollbar { display: none; }
.landing-feature-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.landing-feature {
  position: relative;
  z-index: 1;
  display: block;
  min-width: 0;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: #202228;
  color: #fff;
  cursor: pointer;
  scroll-snap-align: start;
  transition: filter 220ms ease;
  filter: brightness(.78);
}
.landing-feature:hover, .landing-feature.is-selected { filter: brightness(1); }
.landing-feature > img:not(.landing-laurel), .landing-feature video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.landing-feature video { opacity: 0; transition: opacity .3s; }
.landing-feature.is-playing video { opacity: 1; }
.landing-feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 45%, #000b); pointer-events: none; }
.landing-feature.is-selected::before { content: ''; position: absolute; z-index: 3; inset: 0; border: 1.5px solid #b8e9f2; border-radius: inherit; box-shadow: inset 0 0 0 1px #a6def322, inset 0 0 16px #76bce514; pointer-events: none; }
.landing-feature .landing-laurel { position: absolute; z-index: 1; top: 10px; left: 14px; width: 54px; height: auto; pointer-events: none; }
.landing-recommend { position: absolute; z-index: 1; top: 13px; left: 41px; transform: translateX(-50%); font-size: 14px; font-weight: 600; line-height: 18px; }
.landing-caption { position: absolute; z-index: 1; left: 14px; right: 12px; bottom: 12px; display: grid; justify-items: start; gap: 6px; text-align: left; }
.landing-card-title { color: rgba(255,255,255,.9); font-size: 16px; font-weight: 600; line-height: 20px; white-space: nowrap; }
.landing-meta { display: flex; align-items: center; gap: 6px; min-height: 17px; }
.landing-signature { font: italic 700 11.5px/1 var(--font-latin); }
.landing-recommend, .landing-signature { color: transparent; background: linear-gradient(90deg, #f9cd7e, #d49f58); background-clip: text; -webkit-background-clip: text; }
.landing-tag { padding: 2px 8px; border-radius: 10px; color: #111; background: linear-gradient(90deg, #f9cd7e, #d49f58); font: italic 700 11px/1 var(--font-latin); }
.landing-feature:focus-visible { outline: 2px solid #c0f2f8; outline-offset: 4px; }
body.sidebar-layout .creation-landing .creator-bridge {
  position: absolute;
  left: 50%;
  bottom: 90px;
  width: 940px;
  height:var(--landing-composer-height,180px);
  margin: 0;
  transform: translateX(-50%);
}
.landing-preset[hidden] { display: none; }
.landing-preset { position: absolute; right: calc(100% - 2px); top: 22px; display: flex; flex-direction: column; justify-content: space-between; width: 80px; height: 140px; margin: 0; }
.landing-preset[data-motion='opening'], .landing-preset[data-motion='closing'] { pointer-events: none; }
.landing-preset-card { position: relative; flex: none; width: 100%; height: auto; aspect-ratio: 3 / 4; border-radius: 10px 0 0 10px; background: linear-gradient(135deg, #34363f, #25272e); box-shadow: inset 0 1px 0 #ffffff0a; }
.landing-preset-tile { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; height: 100%; padding: 6px; border: 0; border-radius: inherit; background: transparent; color: #f4f4f6; font: 600 13px/1.5 -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif; cursor: pointer; }
.landing-preset-remove { position: absolute; top: 8px; left: 8px; display: grid; place-items: center; width: 23px; height: 23px; padding: 0; border: 1px solid #ffffff26; border-radius: 50%; background: #17181d66; color: #bbbfc8; cursor: pointer; opacity: 0; pointer-events: none; }
.landing-preset-card:hover .landing-preset-remove, .landing-preset-remove:focus-visible { opacity: 1; pointer-events: auto; }
.landing-preset-remove svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; }
.landing-preset-remove:hover { background: #ffffff1c; color: #fff; }
.landing-preset-tile:focus-visible, .landing-preset-remove:focus-visible { outline: 2px solid #c0f2f8; outline-offset: 2px; }
.landing-preset-status { display: grid; flex: none; place-items: center; width: 100%; height: 26px; margin: 0; padding: 0 3px; border-radius: 10px 0 0 10px; background: linear-gradient(90deg, #2A70E3 0%, #2643B9 100%); color: #fff; text-align: center; white-space: nowrap; font: 500 9px/1.4 -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif; }
/* Keep the preset accessible when the desktop workspace has less side space. */
@media (max-width: 1399px) {
  .landing-preset { right: auto; left: 0; top: -110px; display: flex; flex-direction: row; align-items: center; gap: 10px; width: auto; height: 96px; }
  .landing-preset-card { width: 72px; height: 96px; border-radius: 10px; }
  .landing-preset-tile { padding-inline: 6px; font-size: 12px; }
  .landing-preset-status { width: 72px; padding-inline: 3px; font-size: 8px; }
}
.landing-scroll-hint { position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%); color: #c4c4c8; font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'CharmD Sans', sans-serif; font-size: 14px; font-weight: 300; line-height: 22px; white-space: nowrap; opacity: var(--scroll-hint-opacity, 1); transition: opacity 160ms linear; }
.landing-scroll-hint.is-scroll-hidden { visibility: hidden; pointer-events: none; }
.landing-scroll-hint:hover { color: #fff; }
.landing-scroll-hint:focus-visible { outline: 2px solid #c0f2f8; outline-offset: 5px; }
body.sidebar-layout .canvas-frame { margin-top: 60px; }
body.sidebar-layout { --creator-extra-height: -358px; }
body.sidebar-layout .hero { display: none; }
/* Case sections follow the content height, including the live scene gallery. */
body.sidebar-layout .homepage-main.homepage-case-flow {
  --case-section-gap: 60px;
  display: flex;
  flex-direction: column;
  gap: var(--case-section-gap);
  height: auto;
  padding-bottom: var(--case-section-gap);
}
body.sidebar-layout .homepage-main.homepage-case-flow > section:not(.hero),
body.sidebar-layout .homepage-main.homepage-case-flow > .motion-heading {
  position: relative;
  top: auto;
  flex: none;
  transform: none;
}
.homepage-case-flow > .product-assets { order: 1; }
.homepage-case-flow > .portrait-banner { order: 2; }
.homepage-case-flow > .film-section { order: 3; }
.homepage-case-flow > .film-section {
  height: calc(845px + var(--film-small-width) * 9 / 16);
}
.homepage-case-flow > .film-section .film-backdrop {
  bottom: 0;
  height: auto;
}
.homepage-case-flow > .photoreal-section { order: 4; }
.homepage-case-flow > .photoreal-section .split-title .section-title,
.homepage-case-flow > .photoreal-section .split-title > .lime-button { top: 0; }
.homepage-case-flow > .motion-heading { order: 5; }
.homepage-case-flow > .portrait-gallery { order: 6; }
.homepage-case-flow > .shortform-section { order: 7; }
.homepage-case-flow > .scene-section { order: 8; }
.homepage-case-flow > .opening-gallery { order: 9; }
body.sidebar-layout.projects-view-active .creation-landing,
body.sidebar-layout.assets-view-active .creation-landing,
body.sidebar-layout.projects-view-active #creatorBridgeFrame,
body.sidebar-layout.assets-view-active #creatorBridgeFrame { display: none; }
@media (prefers-reduced-motion: reduce) {
  .landing-feature, .landing-feature video, .landing-scroll-hint { transition: none; }
  .landing-feature-rail { scroll-behavior: auto; }
}
