.nocstar-host-page {
  overflow: visible;
}

.nocstar-host-page > .blur-container {
  display: none;
}

.hsw-world {
  --hsw-accent: var(--nocstar-brand-accent, #1c1917);
  --hsw-accent-soft: var(--nocstar-brand-accent-soft, #57534e);
  --hsw-accent-rgb: var(--nocstar-brand-accent-rgb, 68, 64, 60);
  --hsw-button-accent: var(--nocstar-brand-accent, #1c1917);
  --hsw-button-accent-rgb: var(--nocstar-brand-accent-rgb, 68, 64, 60);
  --hsw-paper: rgba(255, 255, 255, 0.9);
  --hsw-paper-muted: rgba(255, 255, 255, 0.72);
  --hsw-world-height: 1200vh;
  position: relative;
  z-index: 2;
  width: 100%;
  height: var(--hsw-world-height);
  min-height: 760vh;
  background: #000000;
  color: #fff;
  isolation: isolate;
  contain: layout style;
}

.hsw-stage {
  /* Height of the laser line that carries the chapter beat. */
  --hsw-beat-y: 50%;
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 540px;
  overflow: hidden;
  background: #000000;
}

.hsw-noscript {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #000000;
}

.hsw-noscript picture,
.hsw-noscript img {
  display: block;
  width: 100%;
  height: 100%;
}

.hsw-noscript img {
  object-fit: cover;
}

.hsw-noscript__copy {
  position: absolute;
  top: 50%;
  left: max(5.2vw, 68px);
  max-width: 42rem;
  color: #fff;
  transform: translateY(-50%);
}

.hsw-noscript__copy p {
  margin: 0 0 0.75rem;
  color: var(--hsw-paper-muted);
  font-family: var(--_font-accent, "Space Grotesk", sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hsw-noscript__copy h1 {
  margin: 0;
  font-family: var(--_font-default, "Space Grotesk", sans-serif);
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  font-weight: 650;
  line-height: 0.88;
  letter-spacing: clamp(-0.045em, -0.12vw, -0.02em);
}

.hsw-scenes,
.hsw-copy-layer,
.hsw-chrome {
  position: absolute;
  inset: 0;
}

.hsw-scenes {
  z-index: 1;
  background: #000000;
  clip-path: inset(0 0 0 100%);
  will-change: clip-path;
}

.hsw-scene {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transform-origin: 50% 50%;
  will-change: opacity, transform;
}

.hsw-scene:first-child {
  opacity: 1;
}

.hsw-scene__poster,
.hsw-scene__poster img,
.hsw-scene__video,
.hsw-scene__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hsw-scene__poster {
  display: block;
  z-index: 1;
  opacity: 1;
  transition: opacity 180ms ease;
}

.hsw-scene__poster img,
.hsw-scene__video {
  display: block;
  object-fit: cover;
  object-position: center center;
}

.hsw-scene__poster img {
  background: #000000;
}

.hsw-scene__video {
  z-index: 2;
  visibility: hidden;
}

.hsw-scene.has-video .hsw-scene__video {
  visibility: visible;
}

.hsw-scene.has-video .hsw-scene__poster {
  opacity: 0;
}

.hsw-ai-disclosure {
  position: absolute;
  z-index: 35;
  left: max(1.5rem, env(safe-area-inset-left, 0px));
  bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
  display: block;
  width: clamp(8.5rem, 13vw, 15.5rem);
  height: auto;
  opacity: 0.72;
  pointer-events: none;
  filter: drop-shadow(0 0.45rem 1rem rgba(0, 0, 0, 0.32));
}

.hsw-scene.is-guided-fallback .hsw-scene__video,
.hsw-scene.is-guided-fallback .hsw-scene__poster img {
  animation: hsw-guided-fallback-drift 8s linear forwards;
  transform-origin: 52% 48%;
}

@keyframes hsw-guided-fallback-drift {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.035);
  }
}

.hsw-scene__shade {
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse 52% 72% at 18% 52%, rgba(0, 0, 0, 0.38), transparent 76%),
    radial-gradient(ellipse 60% 42% at 78% 18%, rgba(var(--hsw-accent-rgb), 0.14), transparent 68%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, transparent 22%, transparent 76%, rgba(0, 0, 0, 0.38) 100%);
}

/* The generated finale wordmark sits close to the source frame's top edge.
 * Anchor only this scene to the top so cover-cropping cannot slide NOCSTAR
 * behind the floating desktop header. The grade keeps the ending nocturnal
 * while pulling the practical gold lights forward. */
.hsw-scene[data-scene="ecosystem"] .hsw-scene__poster img,
.hsw-scene[data-scene="ecosystem"] .hsw-scene__video {
  object-position: center top;
  filter: brightness(0.88) contrast(1.13) saturate(0.94) sepia(0.08);
}

.hsw-scene[data-scene="ecosystem"] .hsw-scene__shade {
  background:
    linear-gradient(180deg, rgba(3, 2, 1, 0.72) 0%, rgba(3, 2, 1, 0.34) 12%, transparent 30%),
    radial-gradient(ellipse 54% 34% at 51% 19%, rgba(246, 184, 74, 0.18), transparent 72%),
    radial-gradient(ellipse 62% 74% at 18% 52%, rgba(0, 0, 0, 0.42), transparent 78%),
    linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.48) 100%);
}

/* Night band over the clip's baked wordmark (see finaleSign in the JS).
 * JS maps the box into screen space; the feather lies outside the opaque
 * core, and the opacity follows the video frame, so the baked letters never
 * show while the finale fires its own NOCSTAR above. */
.hsw-scene__word-contrast {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  opacity: var(--hsw-word-contrast, 0);
  background:
    radial-gradient(60% 80% at 50% 64%, rgba(246, 184, 74, 0.07), transparent 72%),
    rgba(5, 4, 11, 0.94);
  -webkit-mask-image:
    linear-gradient(90deg, transparent, #000 var(--hsw-feather-x, 40px), #000 calc(100% - var(--hsw-feather-x, 40px)), transparent),
    linear-gradient(180deg, transparent, #000 var(--hsw-feather-y, 30px), #000 calc(100% - var(--hsw-feather-y, 30px)), transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent, #000 var(--hsw-feather-x, 40px), #000 calc(100% - var(--hsw-feather-x, 40px)), transparent),
    linear-gradient(180deg, transparent, #000 var(--hsw-feather-y, 30px), #000 calc(100% - var(--hsw-feather-y, 30px)), transparent);
  mask-composite: intersect;
  will-change: opacity;
}

/* Finale fireworks: screened onto the scene above the night band and below
 * the copy. JS sets the canvas height to the sky the show needs. */
.hsw-fireworks {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 22;
  display: block;
  width: 100%;
  height: 50%;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 480ms ease;
}

.hsw-fireworks.is-active {
  opacity: 1;
  transition-duration: 120ms;
}

/* Chapter beat: a light sweep across each seam, tinted from the outgoing
 * toward the incoming accent. JS drives opacity and transform from the
 * scroll position, so reversing the scroll plays it backwards. */
.hsw-beat {
  position: absolute;
  inset: 0;
  z-index: 20;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
}

.hsw-beat__bloom,
.hsw-beat__streak {
  position: absolute;
  display: block;
  opacity: 0;
  mix-blend-mode: screen;
  will-change: opacity, transform;
}

.hsw-beat__bloom {
  inset: -12%;
  background:
    radial-gradient(40% 36% at 50% var(--hsw-beat-y), rgba(var(--hsw-beat-rgb, 246, 184, 74), 0.5), transparent 72%),
    radial-gradient(90% 70% at 50% var(--hsw-beat-y), rgba(var(--hsw-beat-rgb, 246, 184, 74), 0.16), transparent 78%);
}

.hsw-beat__streak {
  top: var(--hsw-beat-y);
  left: -30%;
  width: 160%;
  height: 26vh;
  margin-top: -13vh;
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(var(--hsw-beat-rgb, 246, 184, 74), 0.62) 9%,
    rgba(var(--hsw-beat-rgb, 246, 184, 74), 0.18) 32%,
    transparent 66%
  );
  transform: translate3d(0, 0, 0) scale(0.7, 0.55);
}

.hsw-beat__streak::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16%;
  left: 16%;
  height: 2px;
  margin-top: -1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.86) 50%, transparent);
  box-shadow: 0 0 1.2rem rgba(var(--hsw-beat-rgb, 246, 184, 74), 0.8);
}

/* Laser glyph: the next chapter's symbol, traced on the laser line in that
 * chapter's accent and beating lub-dub. JS sets the band height, the stroke
 * geometry and every animation; the whole layer screens onto the video. */
.hsw-glyph {
  position: absolute;
  top: var(--hsw-beat-y);
  left: 0;
  z-index: 21;
  width: 100%;
  height: 30vh;
  opacity: 0;
  translate: 0 -50%;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hsw-glyph__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hsw-glyph__stroke {
  fill: none;
  stroke-dasharray: 1 3;
  stroke-dashoffset: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hsw-glyph__haze {
  stroke: rgba(var(--hsw-beat-rgb, 246, 184, 74), 0.2);
  stroke-width: 14px;
}

.hsw-glyph__glow {
  stroke: rgba(var(--hsw-beat-rgb, 246, 184, 74), 0.7);
  stroke-width: 4.5px;
}

.hsw-glyph__core {
  stroke: rgba(255, 251, 242, 0.96);
  stroke-width: 1.7px;
}

.hsw-glyph__mark {
  transform-box: fill-box;
  transform-origin: center;
}

.hsw-glyph__spark {
  position: absolute;
  top: 0;
  left: 0;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(
    circle,
    #ffffff 0 16%,
    rgba(var(--hsw-beat-rgb, 246, 184, 74), 0.95) 34%,
    rgba(var(--hsw-beat-rgb, 246, 184, 74), 0) 70%
  );
  box-shadow: 0 0 1.8rem 0.5rem rgba(var(--hsw-beat-rgb, 246, 184, 74), 0.5);
  offset-anchor: 50% 50%;
  offset-rotate: 0deg;
}

.hsw-glyph__pulse {
  position: absolute;
  inset: -140% -10%;
  opacity: 0;
  background: radial-gradient(
    32% 30% at 50% 50%,
    rgba(var(--hsw-beat-rgb, 246, 184, 74), 0.55),
    rgba(var(--hsw-beat-rgb, 246, 184, 74), 0.12) 46%,
    transparent 72%
  );
}

/* Smaller screens lift the beat into the upper band, clear of the copy. */
@media (max-width: 1100px) {
  .hsw-stage {
    --hsw-beat-y: 17%;
  }
}

@media (max-width: 860px) and (orientation: portrait) {
  .hsw-stage {
    --hsw-beat-y: 22%;
  }
}

.hsw-copy-layer {
  z-index: 30;
  pointer-events: none;
}

.hsw-intro {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0;
  background: #000000;
  color: #fff;
  opacity: 1;
  pointer-events: none;
  will-change: opacity, transform;
}

.hsw-intro__content {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: max(5.2vw, 68px);
  width: min(47vw, 820px);
  transform: translateY(-48%);
}

.hsw-intro__brand {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: max(4.2vw, 58px);
  max-width: 58vw;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.045);
  font-family: var(--_font-default, "Space Grotesk", sans-serif);
  font-size: clamp(6.5rem, 10.2vw, 13rem);
  font-weight: 720;
  line-height: 0.82;
  letter-spacing: -0.04em;
  text-align: right;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(5rem, -46%, 0) scale(0.965);
  transform-origin: right center;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.72);
  text-shadow:
    0 0 2.8rem rgba(var(--hsw-accent-rgb), 0.14),
    0 0 5rem rgba(168, 162, 158, 0.11);
  transition:
    opacity 900ms cubic-bezier(0.2, 0.72, 0.18, 1),
    transform 1100ms cubic-bezier(0.2, 0.72, 0.18, 1);
  will-change: opacity, transform;
}

.hsw-world.is-intro-ready .hsw-intro__brand {
  opacity: 1;
  transform: translate3d(0, -46%, 0) scale(1);
}

.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro {
  background: transparent;
}

.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__brand {
  display: none;
}

.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__eyebrow,
.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__body {
  display: none;
}

.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__content {
  width: min(82vw, 1180px);
}

.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__title {
  max-width: 17ch;
  margin-top: 0;
  position: relative;
  display: inline-block;
  font-size: 10rem;
  line-height: 0.84;
  letter-spacing: 0;
  opacity: var(--hsw-intro-title-opacity, 1);
  filter: blur(var(--hsw-intro-title-blur, 0px));
  text-shadow:
    0 0 1.7rem rgba(45, 212, 191, 0.18),
    0 0 2.8rem rgba(217, 70, 239, 0.12);
  transform:
    translate3d(var(--hsw-intro-title-slide, 0px), 0, 0)
    skewX(var(--hsw-intro-title-skew, 0deg));
  transform-origin: left center;
}

.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__title::before,
.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__title::after {
  content: attr(data-hsw-glitch);
  position: absolute;
  inset: 0;
  opacity: var(--hsw-intro-glitch-opacity, 0);
  pointer-events: none;
  mix-blend-mode: screen;
}

.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__title::before {
  clip-path: inset(0 0 52% 0);
  color: rgba(236, 254, 255, 0.92);
  text-shadow: 0 0 1.4rem rgba(45, 212, 191, 0.92);
  transform: translate3d(var(--hsw-intro-glitch-x, 0px), -0.05em, 0);
}

.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__title::after {
  clip-path: inset(46% 0 0 0);
  color: rgba(255, 241, 252, 0.86);
  text-shadow: 0 0 1.4rem rgba(217, 70, 239, 0.78);
  transform: translate3d(var(--hsw-intro-glitch-x-neg, 0px), 0.06em, 0);
}

.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__actions {
  margin-top: 2.6rem;
}

.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__play[href] .hsw-intro__play-icon::before {
  content: "\2192";
  width: auto;
  height: auto;
  margin: 0;
  border: 0;
  font-size: 1.45rem;
  line-height: 1;
}

@media (max-width: 1100px) {
  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__content {
    width: min(86vw, 900px);
  }

  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__title {
    max-width: 16ch;
    font-size: 7rem;
  }
}

@media (max-width: 860px) {
  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__content {
    width: auto;
  }

  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__title {
    max-width: 11ch;
    font-size: 4.8rem;
  }
}

@media (min-width: 1600px) {
  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__title {
    font-size: 12rem;
  }
}

@media (max-width: 520px) {
  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__title {
    font-size: 3.6rem;
  }
}

.hsw-intro__eyebrow,
.hsw-intro__scroll {
  font-family: var(--_font-accent, "Space Grotesk", sans-serif);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hsw-intro__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  color: var(--hsw-paper-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.hsw-intro__eyebrow::before {
  content: "";
  width: 2.8rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.52);
}

.hsw-intro__title {
  max-width: 9.5ch;
  margin: 0.9rem 0 0;
  color: #fff;
  font-family: var(--_font-default, "Space Grotesk", sans-serif);
  font-size: clamp(3.6rem, min(7.4vw, 9.2vh), 8.8rem);
  font-weight: 650;
  line-height: 0.88;
  letter-spacing: clamp(-0.045em, -0.12vw, -0.02em);
  text-wrap: balance;
}

.hsw-intro__body {
  max-width: 34ch;
  margin: 1.4rem 0 0;
  color: var(--hsw-paper-muted);
  font-family: var(--_font-default, "Space Grotesk", sans-serif);
  font-size: clamp(1.05rem, 1.26vw, 1.34rem);
  line-height: 1.55;
  letter-spacing: 0;
}

.hsw-intro__actions {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  margin-top: 2rem;
  pointer-events: auto;
}

.hsw-intro__actions :where(a, button) {
  pointer-events: auto;
}

.hsw-intro__demo,
.hsw-intro__play {
  position: relative;
  min-height: 3rem;
  border-radius: 0;
  font-family: var(--_font-accent, "Space Grotesk", sans-serif);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.hsw-intro__demo {
  isolation: isolate;
  display: inline-flex;
  min-width: 12.5rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.56);
  background: rgba(0, 0, 0, 0.38);
  color: #fff;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.hsw-intro__demo::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -70%;
  bottom: -70%;
  left: -45%;
  width: 32%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.68), transparent);
  opacity: 0.22;
  pointer-events: none;
  transform: skewX(-18deg);
  animation: hsw-demo-shimmer 2.8s ease-in-out infinite;
}

@keyframes hsw-demo-shimmer {
  0%, 48% { left: -45%; }
  72%, 100% { left: 125%; }
}

.hsw-intro__demo:hover,
.hsw-intro__demo:focus-visible {
  transform: translateY(-2px);
  border-color: #fff;
  background: rgba(var(--hsw-accent-rgb), 0.62);
}

.hsw-intro__play {
  display: inline-flex;
  min-width: 11rem;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(0, 0, 0, 0.32);
  color: #fff;
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.hsw-intro__play:hover,
.hsw-intro__play:focus-visible {
  border-color: #fff;
  background: rgba(var(--hsw-accent-rgb), 0.48);
  transform: translateY(-2px);
}

.hsw-intro__demo:focus-visible,
.hsw-intro__play:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.hsw-intro__play-icon {
  width: 0;
  height: 0;
  border-top: 0.5rem solid transparent;
  border-bottom: 0.5rem solid transparent;
  border-left: 0.8rem solid currentColor;
}

.hsw-intro__play.is-playing .hsw-intro__play-icon {
  width: 0.8rem;
  height: 0.8rem;
  border: 0;
  background: currentColor;
}

.hsw-intro__play.is-preparing .hsw-intro__play-icon {
  width: 1rem;
  height: 1rem;
  margin-left: 0;
  border: 2px solid rgba(255, 255, 255, 0.38);
  border-top-color: currentColor;
  border-radius: 50%;
  background: transparent;
  animation: hsw-media-ready 700ms linear infinite;
}

@keyframes hsw-media-ready {
  to { transform: rotate(360deg); }
}

.hsw-intro__play:disabled {
  cursor: wait;
}

.hsw-intro__scroll {
  position: absolute;
  bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.62rem;
  opacity: 0;
  transform: translate3d(-50%, 0.5rem, 0);
  transition: opacity 320ms ease, transform 320ms ease;
}

.hsw-world.is-media-ready.is-intro-ready .hsw-intro__scroll {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}

.hsw-world.has-entered-world .hsw-intro__actions,
.hsw-world.has-entered-world .hsw-intro__scroll {
  pointer-events: none;
}

.hsw-intro__scroll i {
  display: block;
  width: 0.7rem;
  height: 0.7rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  animation: hsw-intro-bounce 1.25s ease-in-out infinite;
}

@keyframes hsw-intro-bounce {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(45deg); opacity: 0.45; }
  50% { transform: translate3d(0, 0.45rem, 0) rotate(45deg); opacity: 1; }
}

.hsw-copy {
  position: absolute;
  --hsw-copy-offset: 0px;
  top: 50%;
  left: max(5.2vw, 68px);
  bottom: auto;
  width: min(56vw, 860px);
  margin: 0;
  opacity: 0;
  color: #fff;
  pointer-events: none;
  transform: translate3d(0, calc(-50% + var(--hsw-copy-offset)), 0);
  will-change: opacity, transform;
}

.hsw-copy__eyebrow,
.hsw-progress__item,
.hsw-hint,
.hsw-skip {
  font-family: var(--_font-accent, "Space Grotesk", sans-serif);
  letter-spacing: 0.06em;
}

.hsw-copy__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  color: var(--hsw-paper-muted);
  font-size: clamp(0.95rem, 1.05vw, 1.18rem);
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.hsw-copy__eyebrow::before {
  content: "";
  width: 2.8rem;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
}

.hsw-copy__title {
  max-width: 13ch;
  margin: 0.95rem 0 0;
  color: #fff;
  font-family: var(--_font-default, "Space Grotesk", sans-serif);
  font-size: clamp(4.2rem, min(7.4vw, 9vh), 8.8rem);
  font-weight: 650;
  line-height: 0.9;
  letter-spacing: clamp(-0.045em, -0.1vw, -0.02em);
  text-wrap: balance;
}

.hsw-copy__body {
  max-width: 48ch;
  margin: 1.55rem 0 0;
  color: var(--hsw-paper-muted);
  font-family: var(--_font-default, "Space Grotesk", sans-serif);
  font-size: clamp(1.24rem, 1.55vw, 1.72rem);
  line-height: 1.55;
  letter-spacing: 0;
}

.hsw-copy__proof {
  max-width: min(100%, 48rem);
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hsw-signals {
  display: grid;
  grid-template-columns: repeat(2, minmax(11rem, 1fr));
  gap: 0.7rem;
  min-height: 5.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hsw-signals li {
  display: flex;
  min-width: 0;
  min-height: 3rem;
  align-items: center;
  padding: 0.72rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0.4rem;
  background: rgba(0, 0, 0, 0.38);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--_font-default, "Space Grotesk", sans-serif);
  font-size: clamp(1.02rem, 1.14vw, 1.24rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
  backdrop-filter: blur(12px);
  transition: color 160ms ease, border-color 160ms ease;
}

.hsw-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.45rem;
  padding: 0.86rem 1.08rem;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.34);
  color: #fff;
  font-family: var(--_font-accent, "Space Grotesk", sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
  pointer-events: auto;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.hsw-cta:hover,
.hsw-cta:focus-visible {
  border-color: #fff;
  background: rgba(var(--hsw-accent-rgb), 0.58);
  color: #fff;
  transform: translateY(-2px);
}

.hsw-cta:focus-visible,
.hsw-final-cta:focus-visible,
.hsw-progress__item:focus-visible,
.hsw-skip:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.hsw-final-cta {
  position: absolute;
  right: max(5.2vw, 68px);
  bottom: max(5.5vh, 36px);
  isolation: isolate;
  display: inline-flex;
  min-width: min(27rem, calc(100vw - 2.5rem));
  min-height: 3.6rem;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  overflow: hidden;
  padding: 0 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.42);
  box-shadow:
    0 1.2rem 3.5rem rgba(0, 0, 0, 0.42),
    0 0 3.2rem rgba(var(--hsw-accent-rgb), 0.24);
  color: #fff;
  font-family: var(--_font-accent, "Space Grotesk", sans-serif);
  font-size: clamp(0.92rem, 1.05vw, 1.08rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
  backdrop-filter: blur(16px);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.hsw-final-cta::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -70%;
  bottom: -70%;
  left: -42%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.78), transparent);
  opacity: 0.5;
  pointer-events: none;
  transform: skewX(-18deg);
  animation: hsw-demo-shimmer 2.8s ease-in-out infinite;
}

.hsw-final-cta__label,
.hsw-final-cta__icon {
  position: relative;
  z-index: 2;
}

.hsw-final-cta__icon {
  font-size: 1.35em;
  line-height: 1;
}

.hsw-final-cta:hover,
.hsw-final-cta:focus-visible {
  border-color: #fff;
  box-shadow:
    0 1.4rem 4rem rgba(0, 0, 0, 0.48),
    0 0 4.2rem rgba(var(--hsw-accent-rgb), 0.36);
}

.hsw-chrome {
  z-index: 40;
  pointer-events: none;
}

.hsw-progress {
  position: absolute;
  top: 50%;
  right: max(2rem, env(safe-area-inset-right, 0px));
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 3.4rem;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: auto;
  will-change: opacity;
}

.hsw-progress__track {
  position: absolute;
  top: 1.25rem;
  bottom: 1.25rem;
  left: calc(50% + 0.84rem);
  width: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
}

.hsw-progress__fill {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleY(0);
  transform-origin: 50% 0;
  background: #fff;
}

.hsw-progress__item {
  position: relative;
  display: grid;
  grid-template-columns: 1.5rem 1rem;
  gap: 0.55rem;
  width: 3.4rem;
  min-height: 2.25rem;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.62rem;
  line-height: 1;
  cursor: pointer;
}

.hsw-progress__item i {
  position: relative;
  z-index: 2;
  display: block;
  width: 0.45rem;
  height: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  background: #000000;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.hsw-progress__item:hover,
.hsw-progress__item.is-active {
  color: #fff;
}

.hsw-progress__item:hover i,
.hsw-progress__item.is-active i {
  border-color: #fff;
  background: #fff;
  transform: scale(1.28);
}

.hsw-hint {
  position: absolute;
  right: max(2rem, env(safe-area-inset-right, 0px));
  bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.64rem;
  text-transform: uppercase;
}

.hsw-hint__line {
  position: relative;
  display: block;
  width: 2.6rem;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.3);
}

.hsw-hint__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: translateX(-100%);
  animation: hsw-hint-pulse 1.8s ease-in-out infinite;
}

@keyframes hsw-hint-pulse {
  0%, 25% { transform: translateX(-100%); }
  70%, 100% { transform: translateX(100%); }
}

.hsw-player {
  position: absolute;
  right: auto;
  bottom: max(1.6rem, calc(env(safe-area-inset-bottom, 0px) + 1.2rem));
  left: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
  padding: 0.26rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.34);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, 0, 0);
  backdrop-filter: blur(14px);
  transition: opacity 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.hsw-player.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.hsw-player__button {
  position: relative;
  display: grid;
  width: 1.95rem;
  height: 1.95rem;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background-color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.hsw-player__button:hover,
.hsw-player__button:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.hsw-player__button:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

.hsw-player__button:disabled {
  cursor: default;
  opacity: 0.35;
}

.hsw-player__button:disabled:hover {
  background: transparent;
}

.hsw-player__icon {
  position: relative;
  display: block;
  width: 1rem;
  height: 1rem;
}

.hsw-player__button--toggle .hsw-player__icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 55%;
  width: 0;
  height: 0;
  border-top: 0.42rem solid transparent;
  border-bottom: 0.42rem solid transparent;
  border-left: 0.68rem solid currentColor;
  transform: translate(-50%, -50%);
}

.hsw-player__button--toggle.is-playing .hsw-player__icon::before,
.hsw-player__button--toggle.is-playing .hsw-player__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0.24rem;
  height: 0.86rem;
  border: 0;
  background: currentColor;
  transform: translateY(-50%);
}

.hsw-player__button--toggle.is-playing .hsw-player__icon::before {
  left: 0.22rem;
}

.hsw-player__button--toggle.is-playing .hsw-player__icon::after {
  right: 0.22rem;
}

.hsw-player__button--rewind .hsw-player__icon::before,
.hsw-player__button--rewind .hsw-player__icon::after,
.hsw-player__button--next .hsw-player__icon::before,
.hsw-player__button--next .hsw-player__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 0.34rem solid transparent;
  border-bottom: 0.34rem solid transparent;
  transform: translateY(-50%);
}

.hsw-player__button--rewind .hsw-player__icon::before {
  left: 0.1rem;
  border-right: 0.48rem solid currentColor;
}

.hsw-player__button--rewind .hsw-player__icon::after {
  left: 0.48rem;
  border-right: 0.48rem solid currentColor;
}

.hsw-player__button--next .hsw-player__icon::before {
  right: 0.1rem;
  border-left: 0.48rem solid currentColor;
}

.hsw-player__button--next .hsw-player__icon::after {
  right: 0.48rem;
  border-left: 0.48rem solid currentColor;
}

/* Give the desktop transport more visual weight and a more comfortable click
 * target without changing the compact tablet and phone composition. */
@media (min-width: 861px) {
  .hsw-player {
    gap: 0.28rem;
    padding: 0.4rem;
  }

  .hsw-player__button {
    width: 2.5rem;
    height: 2.5rem;
  }

  .hsw-player__icon {
    width: 1.15rem;
    height: 1.15rem;
  }

  .hsw-player__button--toggle .hsw-player__icon::before {
    border-top-width: 0.5rem;
    border-bottom-width: 0.5rem;
    border-left-width: 0.8rem;
  }

  .hsw-player__button--toggle.is-playing .hsw-player__icon::before,
  .hsw-player__button--toggle.is-playing .hsw-player__icon::after {
    width: 0.28rem;
    height: 1rem;
  }

  .hsw-player__button--rewind .hsw-player__icon::before,
  .hsw-player__button--rewind .hsw-player__icon::after,
  .hsw-player__button--next .hsw-player__icon::before,
  .hsw-player__button--next .hsw-player__icon::after {
    border-top-width: 0.4rem;
    border-bottom-width: 0.4rem;
  }

  .hsw-player__button--rewind .hsw-player__icon::before,
  .hsw-player__button--rewind .hsw-player__icon::after {
    border-right-width: 0.56rem;
  }

  .hsw-player__button--next .hsw-player__icon::before,
  .hsw-player__button--next .hsw-player__icon::after {
    border-left-width: 0.56rem;
  }
}

html.hsw-guided-lock,
html.hsw-guided-lock body {
  overscroll-behavior: none;
}

.hsw-world.is-guided-playing {
  user-select: none;
}

/* The finale takes the whole frame. While the last chapter plays
 * (html.hsw-immersive) the header and menu glide up and fade; they settle
 * back as soon as the visitor scrolls on. `translate` composes with the
 * transforms these bars already use, and the existing transitions are kept. */
html.hsw-host .nocstar-nav {
  transition:
    translate 620ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 380ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}

html.hsw-host .mxd-header,
html.hsw-host .mxd-menu__contain {
  transition:
    opacity var(--_animspeed-medium) var(--_animbezier),
    transform var(--_animspeed-medium) var(--_animbezier),
    visibility var(--_animspeed-medium) var(--_animbezier),
    translate 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

html.hsw-immersive .nocstar-nav,
html.hsw-immersive .mxd-header,
html.hsw-immersive .mxd-menu__contain {
  translate: 0 calc(-100% - 1.5rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    translate 640ms cubic-bezier(0.65, 0, 0.35, 1),
    opacity 420ms ease 120ms,
    visibility 0s linear 640ms;
}

html.nocstar-host-doc .mxd-header,
html.nocstar-host-doc .mxd-menu,
html.nocstar-host-doc .mxd-menu__overlay,
html.nocstar-host-doc #nocstar-navigation-mount {
  z-index: 1000;
}

/* nocstar-main.css stacks the hamburger bar (z-index 12) one step above the drawer
 * (z-index 11) so the icon stays clickable as the close button. Lifting the
 * drawer to 1000 above inverted that: .mxd-menu__inner covered the icon, and
 * since nothing else dismisses the drawer (the backdrop takes no pointer and
 * Escape is unbound) the mobile menu became a dead end. */
html.nocstar-host-doc .mxd-menu__contain {
  z-index: 1001;
}

.hsw-header-demo {
  display: inline-flex;
  min-height: 3.6rem;
  align-items: center;
  padding: 0 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 0.3rem;
  color: #fff;
  font: normal 700 1.2rem/1 var(--_font-accent, "Space Grotesk", sans-serif);
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  mix-blend-mode: difference;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.hsw-header-demo:hover,
.hsw-header-demo:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.hsw-header-demo:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.hsw-world + .nocstar-host-demo-embed {
  position: relative;
  z-index: 3;
  margin-top: 0;
  background: #000000;
}

@media (max-width: 1100px) {
  .hsw-intro__content {
    left: max(3.5vw, 34px);
    width: min(54vw, 680px);
  }

  .hsw-copy {
    left: max(3.5vw, 34px);
    width: min(64vw, 760px);
  }

  .hsw-copy__title {
    font-size: clamp(3.6rem, 7vw, 6.4rem);
  }

  .hsw-intro__brand {
    right: max(3vw, 28px);
    max-width: 55vw;
    font-size: clamp(5rem, 9vw, 8rem);
  }
}

@media (max-width: 860px) {
  .hsw-stage {
    min-height: 500px;
  }

  .hsw-intro__content {
    top: auto;
    right: 4rem;
    bottom: max(5.5rem, calc(env(safe-area-inset-bottom, 0px) + 4.5rem));
    left: max(1.25rem, env(safe-area-inset-left, 0px));
    width: auto;
    transform: none;
  }

  .hsw-intro__title {
    max-width: 10ch;
    font-size: clamp(3.1rem, 12vw, 6rem);
  }

  .hsw-intro__body {
    max-width: 31ch;
    font-size: clamp(0.92rem, 3vw, 1.08rem);
  }

  .hsw-intro__brand {
    top: max(8.5rem, calc(env(safe-area-inset-top, 0px) + 6.5rem));
    right: max(1.25rem, env(safe-area-inset-right, 0px));
    max-width: calc(100vw - 2.5rem);
    font-size: clamp(4.4rem, 17vw, 7.2rem);
    transform: translate3d(3rem, 0, 0) scale(0.965);
  }

  .hsw-world.is-intro-ready .hsw-intro__brand {
    transform: translate3d(0, 0, 0) scale(1);
  }

  .hsw-intro__actions {
    gap: 0.8rem;
    margin-top: 1.4rem;
  }

  .hsw-intro__demo,
  .hsw-intro__play {
    min-height: 3rem;
    font-size: 0.82rem;
  }

  .hsw-intro__demo {
    min-width: 10.5rem;
    padding: 0 1rem;
  }

  .hsw-intro__play {
    min-width: 9rem;
    padding: 0 0.95rem;
  }

  .hsw-scene__shade {
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.78) 30%, rgba(0, 0, 0, 0.08) 67%, rgba(0, 0, 0, 0.3) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.25), transparent 48%, rgba(0, 0, 0, 0.22));
  }

  .hsw-player {
    top: auto;
    right: auto;
    bottom: max(1.2rem, calc(env(safe-area-inset-bottom, 0px) + 0.9rem));
    left: 50%;
    transform: translate3d(-50%, 0, 0);
  }

  .hsw-ai-disclosure {
    left: max(1.25rem, env(safe-area-inset-left, 0px));
    bottom: max(4.8rem, calc(env(safe-area-inset-bottom, 0px) + 4.2rem));
    width: clamp(7rem, 30vw, 10.5rem);
    opacity: 0.64;
  }

  .hsw-copy {
    top: 50%;
    right: max(3.7rem, calc(env(safe-area-inset-right, 0px) + 3.2rem));
    bottom: auto;
    left: max(1.25rem, env(safe-area-inset-left, 0px));
    width: auto;
    max-width: 36rem;
  }

  .hsw-copy__eyebrow {
    font-size: 1.15rem;
  }

  .hsw-copy__title {
    max-width: 15ch;
    margin-top: 0.65rem;
    font-size: clamp(2.9rem, 10vw, 4.8rem);
    line-height: 0.94;
  }

  .hsw-copy__body {
    max-width: 39ch;
    margin-top: 0.95rem;
    font-size: clamp(1rem, 3.2vw, 1.2rem);
    line-height: 1.45;
  }

  .hsw-copy__proof {
    margin-top: 1.1rem;
    padding-top: 0.9rem;
  }

  .hsw-signals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    min-height: 4.8rem;
  }

  .hsw-signals li {
    min-height: 2.25rem;
    padding: 0.45rem 0.58rem;
    font-size: clamp(0.82rem, 2.7vw, 0.98rem);
  }

  .hsw-progress {
    right: max(0.4rem, env(safe-area-inset-right, 0px));
  }

  .hsw-progress__item {
    grid-template-columns: 1rem 1rem;
    gap: 0.22rem;
    width: 2.3rem;
  }

  .hsw-progress__track {
    left: calc(50% + 0.34rem);
  }

  .hsw-hint {
    right: auto;
    bottom: max(1rem, calc(env(safe-area-inset-bottom, 0px) + 0.6rem));
    left: max(1.25rem, env(safe-area-inset-left, 0px));
  }

  .hsw-cta {
    margin-top: 0.8rem;
    padding: 0.72rem 0.9rem;
    font-size: 0.78rem;
  }

  .hsw-world[data-active-scene="ecosystem"] .hsw-copy {
    top: 50%;
    bottom: auto;
  }

  .hsw-final-cta {
    right: max(3.7rem, calc(env(safe-area-inset-right, 0px) + 3.2rem));
    bottom: max(1.4rem, calc(env(safe-area-inset-bottom, 0px) + 1rem));
    left: max(1.25rem, env(safe-area-inset-left, 0px));
    min-width: 0;
    min-height: 3.2rem;
    padding: 0 1.25rem;
    font-size: clamp(0.78rem, 2.8vw, 0.9rem);
  }
}

@media (max-width: 860px) and (orientation: landscape) {
  .hsw-stage {
    min-height: 100dvh;
  }

  .hsw-hint {
    display: none;
  }

  .hsw-ai-disclosure {
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  }

  .hsw-copy {
    top: 46%;
    right: 4.2rem;
    bottom: auto;
    width: min(50vw, 480px);
  }

  .hsw-copy__title {
    font-size: clamp(2rem, 6vw, 3.35rem);
  }

  .hsw-copy__body {
    max-width: 46ch;
  }

  .hsw-copy__proof {
    margin-top: 0.7rem;
  }
}

@media (max-width: 520px) {
  .hsw-intro__content {
    right: 3rem;
  }

  .hsw-intro__title {
    font-size: clamp(2.85rem, 12vw, 4.25rem);
  }

  .hsw-intro__actions {
    width: min(100%, 31rem);
  }

  .hsw-intro__demo,
  .hsw-intro__play {
    min-width: 0;
    flex: 1 1 0;
    padding: 0 0.85rem;
    font-size: 0.72rem;
  }

  .hsw-header-demo {
    min-height: 3.2rem;
    padding: 0 0.9rem;
    font-size: 1rem;
  }

  .hsw-copy {
    right: max(3rem, calc(env(safe-area-inset-right, 0px) + 2.7rem));
    top: 50%;
    bottom: auto;
  }

  .hsw-copy__eyebrow::before {
    width: 1.2rem;
  }

  .hsw-copy__title {
    font-size: clamp(2.5rem, 11vw, 3.75rem);
  }

  .hsw-copy__body {
    font-size: clamp(0.96rem, 3.6vw, 1.08rem);
  }

  .hsw-copy__proof {
    margin-top: 0.9rem;
  }

  .hsw-world[data-active-scene="ecosystem"] .hsw-copy {
    top: 50%;
    bottom: auto;
  }

  .hsw-signals {
    min-height: 4.1rem;
  }

  .hsw-signals li {
    font-size: 0.78rem;
  }

  .hsw-hint {
    display: none;
  }

  .hsw-ai-disclosure {
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hsw-scene.is-guided-fallback .hsw-scene__video,
  .hsw-scene.is-guided-fallback .hsw-scene__poster img {
    animation: none;
  }

  .hsw-scene__poster,
  .hsw-intro,
  .hsw-copy,
  .hsw-progress__item i,
  .hsw-cta {
    transition: none;
  }

  .hsw-hint__line::after {
    animation: none;
    transform: none;
  }

  .hsw-intro__scroll i {
    animation: none;
  }

  .hsw-intro__demo::after {
    animation: none;
  }

  .hsw-intro__brand,
  .hsw-final-cta,
  .hsw-final-cta::after {
    animation: none;
    transition: none;
  }

}

/* Shared Nocstar CTA treatment for the custom host-world controls. */
.hsw-intro__demo,
.hsw-intro__play,
.hsw-cta,
.hsw-final-cta {
  gap: 1.6rem;
  min-height: 5rem;
  padding: 0.4rem 0.4rem 0.4rem 2.1rem;
  border: 1px solid rgba(var(--hsw-button-accent-rgb), 0.96);
  border-radius: 0.4rem;
  background: transparent;
  color: #fff;
  font-family: var(--_font-accent, "Space Grotesk", sans-serif);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.05rem;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: none;
  backdrop-filter: blur(18px);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.hsw-intro__demo,
.hsw-header-demo {
  border-color: var(--hsw-button-accent);
  background: var(--hsw-button-accent);
}

.hsw-header-demo {
  border-color: var(--nocstar-brand-accent, #1c1917);
  background: var(--nocstar-brand-accent, #1c1917);
}

.hsw-intro__demo::after,
.hsw-cta::after,
.hsw-header-demo::after {
  content: "\2192";
  position: static;
  display: inline-flex;
  flex: 0 0 4rem;
  width: 4rem;
  height: 4rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.2rem;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  opacity: 1;
  animation: none;
  transform: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

.hsw-cta::after {
  background: rgba(var(--hsw-button-accent-rgb), 0.82);
}

.hsw-intro__play-label,
.hsw-final-cta__label {
  order: 1;
}

.hsw-intro__play-icon,
.hsw-final-cta__icon {
  order: 2;
  display: inline-flex;
  flex: 0 0 4rem;
  width: 4rem;
  height: 4rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.2rem;
  background: rgba(var(--hsw-button-accent-rgb), 0.82);
  color: #fff;
}

.hsw-intro__play-icon::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 0.16rem;
  border-top: 0.5rem solid transparent;
  border-bottom: 0.5rem solid transparent;
  border-left: 0.8rem solid currentColor;
}

.hsw-intro__play.is-playing .hsw-intro__play-icon::before {
  width: 0.85rem;
  height: 0.85rem;
  margin-left: 0;
  border: 0;
  background: currentColor;
}

.hsw-intro__play.is-preparing .hsw-intro__play-icon {
  border: 0;
  animation: none;
}

.hsw-intro__play.is-preparing .hsw-intro__play-icon::before {
  width: 1rem;
  height: 1rem;
  margin-left: 0;
  border: 2px solid rgba(255, 255, 255, 0.38);
  border-top-color: currentColor;
  border-radius: 50%;
  background: transparent;
  animation: hsw-media-ready 700ms linear infinite;
}

.hsw-final-cta {
  justify-content: center;
}

.hsw-final-cta::after {
  content: none;
}

.hsw-final-cta__icon {
  font-size: 2rem;
}

.hsw-header-demo {
  gap: 1rem;
  min-height: 4.2rem;
  padding: 0.4rem 0.4rem 0.4rem 1.4rem;
  border-radius: 0.4rem;
  font-size: 1.2rem;
  letter-spacing: 0.05rem;
}

.hsw-header-demo::after {
  flex-basis: 3.2rem;
  width: 3.2rem;
  height: 3.2rem;
  font-size: 1.5rem;
}

.hsw-intro__demo:hover,
.hsw-intro__demo:focus-visible,
.hsw-intro__play:hover,
.hsw-intro__play:focus-visible,
.hsw-cta:hover,
.hsw-cta:focus-visible,
.hsw-final-cta:hover,
.hsw-final-cta:focus-visible,
.hsw-header-demo:hover,
.hsw-header-demo:focus-visible {
  border-color: #292524;
  background: #292524;
  color: #fff;
  transform: translateY(-0.1rem);
}

.hsw-intro__demo:hover::after,
.hsw-intro__demo:focus-visible::after,
.hsw-cta:hover::after,
.hsw-cta:focus-visible::after,
.hsw-header-demo:hover::after,
.hsw-header-demo:focus-visible::after,
.hsw-intro__play:hover .hsw-intro__play-icon,
.hsw-intro__play:focus-visible .hsw-intro__play-icon,
.hsw-final-cta:hover .hsw-final-cta__icon,
.hsw-final-cta:focus-visible .hsw-final-cta__icon {
  background: rgba(255, 255, 255, 0.16);
  transform: translateX(0.2rem);
}

@media (max-width: 860px) {
  .hsw-intro__actions {
    gap: 0.8rem;
  }

  .hsw-intro__demo,
  .hsw-intro__play,
  .hsw-cta,
  .hsw-final-cta {
    min-height: 4.8rem;
    padding-left: 1.4rem;
    font-size: clamp(1.15rem, 3.2vw, 1.5rem);
  }

  .hsw-intro__demo::after,
  .hsw-cta::after,
  .hsw-intro__play-icon,
  .hsw-final-cta__icon {
    flex-basis: 4rem;
    width: 4rem;
    height: 4rem;
  }
}

@media (max-width: 520px) {
  .hsw-intro__demo,
  .hsw-intro__play {
    flex: 1 1 0;
    min-width: 0;
    padding-left: 1rem;
    font-size: 1rem;
  }

  .hsw-intro__demo::after,
  .hsw-intro__play-icon {
    flex-basis: 3.6rem;
    width: 3.6rem;
    height: 3.6rem;
  }
}

.hsw-world[data-host-scroll-intro-guided="true"] .hsw-intro__actions {
  flex-wrap: wrap;
  max-width: min(100%, 68rem);
}

.hsw-intro__play--guided,
.hsw-intro__play--guided:hover,
.hsw-intro__play--guided:focus-visible {
  min-width: 0;
  padding-inline: 0.35rem;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  outline: 0;
}

.hsw-intro__play--guided {
  gap: 0.75rem;
  color: #fff;
}

.hsw-intro__play--guided .hsw-intro__play-label {
  order: 1;
}

.hsw-intro__play--guided .hsw-intro__play-icon {
  order: 0;
  flex: 0 0 1rem;
  width: 1rem;
  height: 1rem;
  border-radius: 0;
  background: transparent;
}

.hsw-intro__play--guided .hsw-intro__play-icon::before {
  margin-left: 0.08rem;
  border-top-width: 0.42rem;
  border-bottom-width: 0.42rem;
  border-left-width: 0.7rem;
}

.hsw-intro__play--guided.is-playing .hsw-intro__play-icon::before {
  width: 0.78rem;
  height: 0.78rem;
}

.hsw-intro__play--guided:hover,
.hsw-intro__play--guided:focus-visible {
  color: #fff;
  transform: none;
}

.hsw-intro__play--guided:hover .hsw-intro__play-icon,
.hsw-intro__play--guided:focus-visible .hsw-intro__play-icon {
  background: transparent;
  transform: none;
}

.hsw-intro__play--guided:hover .hsw-intro__play-label,
.hsw-intro__play--guided:focus-visible .hsw-intro__play-label {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}

@media (max-width: 640px) {
  .hsw-world[data-host-scroll-intro-guided="true"] .hsw-intro__actions {
    width: min(100%, 32rem);
  }

  .hsw-world[data-host-scroll-intro-guided="true"] .hsw-intro__demo,
  .hsw-world[data-host-scroll-intro-guided="true"] .hsw-intro__play {
    flex: 1 1 calc(50% - 0.4rem);
    justify-content: space-between;
  }

  .hsw-world[data-host-scroll-intro-guided="true"] .hsw-intro__play--guided {
    flex-basis: 100%;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .hsw-world[data-host-scroll-intro-guided="true"] .hsw-intro__demo,
  .hsw-world[data-host-scroll-intro-guided="true"] .hsw-intro__play {
    flex-basis: 100%;
    width: 100%;
  }

  .hsw-world[data-host-scroll-intro-guided="true"] .hsw-intro__play--guided {
    padding-left: 0;
  }
}

/* ------------------------------------------------------------------
 * Home world — restored platform panel (ecosystem section).
 * Links + CTAs recovered from the retired nocstar-home-expertise grid,
 * styled to the Nocstar pill system.
 * ------------------------------------------------------------------ */
.hsw-platform-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(11rem, 1fr));
  gap: 0.7rem;
  margin: 0;
  padding: 0;
}

.hsw-platform-links__item {
  display: flex;
  min-width: 0;
  min-height: 3rem;
  align-items: center;
  padding: 0.72rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.38);
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--_font-default, "Space Grotesk", sans-serif);
  font-size: clamp(1.02rem, 1.14vw, 1.24rem);
  font-weight: 700;
  line-height: 1.18;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.hsw-platform-links__item:hover,
.hsw-platform-links__item:focus-visible {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.hsw-platform-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.45rem;
}

.hsw-platform-ctas__primary,
.hsw-platform-ctas__secondary {
  display: inline-flex;
  align-items: center;
  min-height: 3.4rem;
  padding: 0.8rem 1.6rem;
  border-radius: 9999px;
  font-family: var(--_font-default, "Space Grotesk", sans-serif);
  font-size: clamp(1.05rem, 1.2vw, 1.3rem);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: opacity 160ms ease, background-color 160ms ease;
}

.hsw-platform-ctas__primary {
  border: 1px solid #fafaf9;
  background: #fafaf9;
  color: #1c1917;
}

.hsw-platform-ctas__primary:hover,
.hsw-platform-ctas__primary:focus-visible {
  opacity: 0.86;
}

.hsw-platform-ctas__secondary {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(68, 64, 60, 0.4);
  color: #e7e5e4;
  backdrop-filter: blur(12px);
}

.hsw-platform-ctas__secondary:hover,
.hsw-platform-ctas__secondary:focus-visible {
  background: rgba(87, 83, 78, 0.55);
  color: #ffffff;
}

/* ------------------------------------------------------------------
 * Scroll-world feature cards (Nocstar style).
 * Glassy grey panel per section: eyebrow, large title, description,
 * bullet highlights, and CTAs where necessary. No images.
 * ------------------------------------------------------------------ */
.hsw-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 58rem);
  padding: 3.2rem 3.4rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2rem;
  background:
    radial-gradient(120% 90% at 50% -20%, rgba(255, 255, 255, 0.05) 0%, transparent 55%),
    linear-gradient(180deg, rgba(41, 37, 36, 0.62) 0%, rgba(12, 10, 9, 0.58) 100%);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 2.4rem 6rem rgba(0, 0, 0, 0.45);
}

/* Soft per-section accent glow (like Nocstar's ember) */
.hsw-card::after {
  content: '';
  position: absolute;
  inset: auto -25% -50% -25%;
  height: 60%;
  background: radial-gradient(55% 60% at 50% 100%, var(--hsw-accent, #78716c) 0%, transparent 70%);
  opacity: 0.12;
  filter: blur(20px);
  pointer-events: none;
}

.hsw-card > * {
  position: relative;
  z-index: 1;
}

.hsw-card__eyebrow {
  margin: 0 0 1.2rem;
  color: rgba(231, 229, 228, 0.55);
  font-family: var(--_font-default, "Space Grotesk", sans-serif);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hsw-card__title {
  margin: 0 0 1.4rem;
  color: #fafaf9;
  font-family: var(--_font-default, "Space Grotesk", sans-serif) !important;
  font-size: clamp(2.4rem, 2.4vw, 3.2rem) !important;
  font-weight: 500 !important;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: none;
}

.hsw-card__body {
  margin: 0 0 2.2rem;
  max-width: 46rem;
  color: rgba(231, 229, 228, 0.68);
  font-family: var(--_font-default, "Space Grotesk", sans-serif);
  font-size: 1.6rem;
  line-height: 1.55;
}

.hsw-card__points {
  display: grid;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hsw-card__points li {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color: rgba(231, 229, 228, 0.85);
  font-family: var(--_font-default, "Space Grotesk", sans-serif);
  font-size: 1.5rem;
  line-height: 1.35;
}

.hsw-card__point-dot {
  width: 0.6rem;
  height: 0.6rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--hsw-accent, #a8a29e);
  opacity: 0.9;
}

.hsw-card__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.6rem;
}

.hsw-card__cta {
  display: inline-flex;
  align-items: center;
  min-height: 4rem;
  padding: 0.9rem 2rem;
  border: 1px solid #fafaf9;
  border-radius: 9999px;
  background: #fafaf9;
  color: #1c1917;
  font-family: var(--_font-default, "Space Grotesk", sans-serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 160ms ease, background-color 160ms ease;
}

.hsw-card__cta:hover,
.hsw-card__cta:focus-visible {
  opacity: 0.86;
}

.hsw-card__cta--ghost {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(68, 64, 60, 0.4);
  color: #e7e5e4;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hsw-card__cta--ghost:hover,
.hsw-card__cta--ghost:focus-visible {
  background: rgba(87, 83, 78, 0.55);
  color: #ffffff;
  opacity: 1;
}

/* Platform links inside the ecosystem card */
.hsw-card .hsw-platform-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Home world — open editorial details with floating feature pills. */
.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-copy {
  width: min(82vw, 1180px);
}

.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open {
  display: grid;
  grid-template-columns: minmax(0, 48rem) minmax(18rem, 32rem);
  column-gap: 5rem;
  align-items: center;
  width: min(100%, 86rem);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open::after {
  content: none;
}

.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-card__title {
  grid-column: 1;
  max-width: 14ch;
  margin: 0 0 1.6rem;
  color: #fafaf9;
  font-size: 5.8rem !important;
  font-weight: 650 !important;
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-shadow:
    0 1.2rem 3rem rgba(0, 0, 0, 0.55),
    0 0 2.8rem rgba(var(--hsw-accent-rgb), 0.24);
}

.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-card__body {
  grid-column: 1;
  max-width: 42rem;
  margin: 0;
  color: rgba(250, 250, 249, 0.78);
  font-size: 1.8rem;
  line-height: 1.48;
}

.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-card__cta-row {
  grid-column: 1;
  margin-top: 2rem;
  margin-bottom: 0;
}

.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-card__cta {
  /* Solid accent buttons: the inherited ghost blur was invisible but still
   * re-sampled the video every frame. */
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  gap: 1.6rem;
  min-height: 5rem;
  padding: 0.4rem 0.4rem 0.4rem 2.1rem;
  border: 1px solid rgba(var(--hsw-button-accent-rgb), 0.96);
  border-radius: 0.4rem;
  background: var(--hsw-button-accent);
  color: #ffffff;
  font-family: var(--_font-accent, "Space Grotesk", sans-serif);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.05rem;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: none;
}

.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-card__cta::after {
  content: "\2192";
  display: inline-flex;
  flex: 0 0 4rem;
  width: 4rem;
  height: 4rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.2rem;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  transition: transform 160ms ease, background-color 160ms ease;
}

.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-card__cta:hover,
.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-card__cta:focus-visible {
  border-color: #292524;
  background: #292524;
  color: #ffffff;
  opacity: 1;
  transform: translateY(-0.1rem);
}

.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-card__cta:hover::after,
.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-card__cta:focus-visible::after {
  background: rgba(255, 255, 255, 0.16);
  transform: translateX(0.2rem);
}

.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-feature-cloud {
  grid-column: 2;
  grid-row: 1 / span 3;
  position: relative;
  display: block;
  width: min(100%, 38rem);
  min-height: 18rem;
}

.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-feature-cloud li {
  position: absolute;
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  gap: 0.55rem;
  width: max-content;
  max-width: min(100%, 24rem);
  padding: 0.75rem 1.15rem;
  border: 1px solid rgba(var(--hsw-accent-rgb), 0.72);
  border-radius: 9999px;
  /* A denser fill replaces the live backdrop blur: re-blurring scrubbed
   * video under every pill each frame was the costliest overlay paint. */
  background: linear-gradient(180deg, rgba(31, 27, 24, 0.8), rgba(12, 10, 9, 0.74));
  color: rgba(250, 250, 249, 0.94);
  font-family: var(--_font-default, "Space Grotesk", sans-serif);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.08;
  white-space: nowrap;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0.9rem 2.4rem rgba(0, 0, 0, 0.35),
    0 0 2rem rgba(var(--hsw-accent-rgb), 0.18);
  /* The float lives in `translate`, the resting tilt (--hsw-bubble-rot) in
   * `rotate` via the chapter choreography, and JS writes the depth parallax
   * into `transform` for the visible chapter only. */
  animation: hsw-home-feature-float 5.6s ease-in-out infinite;
  will-change: transform;
}

.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-feature-cloud li:nth-child(1) {
  top: 0.5rem;
  left: 0;
  --hsw-bubble-rot: -4deg;
}

.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-feature-cloud li:nth-child(2) {
  /* A full pill height below the first, so long labels cannot overlap. */
  top: 4.2rem;
  right: 0.2rem;
  --hsw-bubble-rot: 3deg;
  animation-delay: -1.1s;
}

.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-feature-cloud li:nth-child(3) {
  bottom: 3.6rem;
  left: 2.4rem;
  border-style: dashed;
  --hsw-bubble-rot: 2deg;
  animation-delay: -2.4s;
}

.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-feature-cloud li:nth-child(4) {
  right: 1.4rem;
  bottom: 0;
  --hsw-bubble-rot: -3deg;
  animation-delay: -3.5s;
}

.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-feature-cloud[data-signal-count="5"],
.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-feature-cloud[data-signal-count="6"] {
  min-height: 26rem;
}

.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-feature-cloud[data-signal-count="5"] li:nth-child(3),
.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-feature-cloud[data-signal-count="6"] li:nth-child(3) {
  top: 8.2rem;
  bottom: auto;
}

.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-feature-cloud[data-signal-count="5"] li:nth-child(4),
.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-feature-cloud[data-signal-count="6"] li:nth-child(4) {
  top: 12.3rem;
  bottom: auto;
}

.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-feature-cloud li:nth-child(5) {
  bottom: 3.8rem;
  left: 0.8rem;
  --hsw-bubble-rot: -2deg;
  animation-delay: -4.2s;
}

.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-feature-cloud li:nth-child(6) {
  right: 0.8rem;
  bottom: 0;
  --hsw-bubble-rot: 2deg;
  animation-delay: -4.9s;
}

@keyframes hsw-home-feature-float {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__title::before,
  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__title::after {
    display: none;
  }

  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-feature-cloud li {
    rotate: var(--hsw-bubble-rot, 0deg);
    transform: none !important;
    animation: none;
    transition: none;
  }

  .hsw-scene {
    transform: none !important;
  }

  .hsw-beat,
  .hsw-glyph,
  .hsw-fireworks {
    display: none;
  }
}

/* ------------------------------------------------------------------
 * Chapter choreography. JS marks each copy is-before / is-active /
 * is-after from scroll progress. Entrances are timed, so the stagger reads
 * the same at any scroll speed; every transition retargets mid-flight when
 * the visitor reverses. Exits leave upward, re-entries from above settle
 * downward, because the hidden poses sit on either side of the rest pose.
 * ------------------------------------------------------------------ */
.hsw-word {
  display: inline-block;
}

@media (prefers-reduced-motion: no-preference) {
  .hsw-copy.is-before,
  .hsw-copy.is-after {
    visibility: hidden;
    transition: visibility 0s linear 0.62s;
  }

  .hsw-copy.is-active {
    visibility: visible;
    transition: none;
  }

  .hsw-copy .hsw-word,
  .hsw-copy [data-hsw-part] {
    opacity: 0;
    translate: 0 0.55em;
    filter: blur(0.35rem);
    transition:
      opacity 240ms cubic-bezier(0.55, 0, 1, 0.45) var(--hsw-out-delay, 0ms),
      translate 300ms cubic-bezier(0.55, 0, 1, 0.45) var(--hsw-out-delay, 0ms),
      filter 240ms linear var(--hsw-out-delay, 0ms);
  }

  .hsw-copy.is-after .hsw-word,
  .hsw-copy.is-after [data-hsw-part] {
    translate: 0 -0.4em;
  }

  .hsw-copy.is-active .hsw-word,
  .hsw-copy.is-active [data-hsw-part] {
    opacity: 1;
    translate: 0 0;
    filter: none;
    transition:
      opacity 520ms cubic-bezier(0.22, 1, 0.36, 1) var(--hsw-in-delay, 0ms),
      translate 820ms cubic-bezier(0.16, 1, 0.3, 1) var(--hsw-in-delay, 0ms),
      filter 600ms cubic-bezier(0.22, 1, 0.36, 1) var(--hsw-in-delay, 0ms);
  }

  /* Feature pills pop from their depth with a small overshoot, then settle
   * into their resting tilt and float. */
  .hsw-copy .hsw-feature-cloud [data-signal-item] {
    opacity: 0;
    scale: 0.7;
    rotate: calc(var(--hsw-bubble-rot, 0deg) + 10deg);
    filter: blur(0.4rem);
    transition:
      opacity 220ms cubic-bezier(0.55, 0, 1, 0.45) var(--hsw-out-delay, 0ms),
      scale 260ms cubic-bezier(0.55, 0, 1, 0.45) var(--hsw-out-delay, 0ms),
      rotate 260ms cubic-bezier(0.55, 0, 1, 0.45) var(--hsw-out-delay, 0ms),
      filter 220ms linear var(--hsw-out-delay, 0ms);
  }

  .hsw-copy.is-after .hsw-feature-cloud [data-signal-item] {
    scale: 0.88;
    rotate: calc(var(--hsw-bubble-rot, 0deg) - 6deg);
  }

  .hsw-copy.is-active .hsw-feature-cloud [data-signal-item] {
    opacity: 1;
    scale: 1;
    rotate: var(--hsw-bubble-rot, 0deg);
    filter: none;
    transition:
      opacity 360ms cubic-bezier(0.22, 1, 0.36, 1) var(--hsw-in-delay, 0ms),
      scale 720ms cubic-bezier(0.34, 1.56, 0.64, 1) var(--hsw-in-delay, 0ms),
      rotate 860ms cubic-bezier(0.34, 1.3, 0.64, 1) var(--hsw-in-delay, 0ms),
      filter 420ms cubic-bezier(0.22, 1, 0.36, 1) var(--hsw-in-delay, 0ms);
  }

  /* While a laser glyph beats, the arriving copy waits a moment so the
   * symbol reads first and hands over to the headline. */
  .hsw-world.is-beating .hsw-copy.is-active .hsw-word,
  .hsw-world.is-beating .hsw-copy.is-active [data-hsw-part],
  .hsw-world.is-beating .hsw-copy.is-active .hsw-feature-cloud [data-signal-item] {
    transition-delay: calc(var(--hsw-in-delay, 0ms) + 380ms);
  }

  /* Only the visible chapter floats; hidden pills stop compositing. */
  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-copy:not(.is-active) .hsw-card--open .hsw-feature-cloud li {
    animation-play-state: paused;
  }
}

.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-card__point-index {
  color: rgba(255, 255, 255, 0.46);
  font-family: var(--_font-accent, "Space Grotesk", sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-card__point-dot {
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--hsw-accent, #a8a29e);
  box-shadow: 0 0 1rem rgba(var(--hsw-accent-rgb), 0.44);
  transition: transform 180ms ease, opacity 180ms ease;
}

@media (min-width: 1600px) {
  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-card__title {
    font-size: 6.4rem !important;
  }
}

@media (max-width: 1100px) {
  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-copy {
    width: min(78vw, 900px);
  }

  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 2rem;
  }

  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-card__title {
    max-width: 16ch;
    font-size: 4.8rem !important;
  }

  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-card__body {
    font-size: 1.55rem;
  }

  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-feature-cloud {
    grid-column: 1;
    grid-row: auto;
    display: flex;
    flex-wrap: wrap;
    width: min(100%, 40rem);
    min-height: 0;
    gap: 0.7rem;
  }

  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-feature-cloud[data-signal-count] {
    min-height: 0;
  }

  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-feature-cloud li:nth-child(n),
  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-feature-cloud[data-signal-count] li:nth-child(n) {
    position: relative;
    inset: auto;
    --hsw-bubble-rot: 0deg;
    transform: none;
  }
}

@media (max-width: 860px) {
  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-copy {
    right: max(3.6rem, calc(env(safe-area-inset-right, 0px) + 3.1rem));
    width: auto;
  }

  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-card__title {
    max-width: 15ch;
    margin-bottom: 1rem;
    font-size: 3.1rem !important;
    line-height: 1.05;
  }

  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-card__body {
    max-width: 31rem;
    font-size: 1.1rem;
    line-height: 1.45;
  }

  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-card__cta-row {
    margin-top: 1.25rem;
    margin-bottom: 0;
  }

  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-card__cta {
    gap: 1rem;
    min-height: 4.6rem;
    padding-left: 1.4rem;
    font-size: 1.15rem;
  }

  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-card__cta::after {
    flex-basis: 3rem;
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
  }

  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-feature-cloud {
    width: min(100%, 30rem);
    min-height: 0;
    gap: 0.5rem;
  }

  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-feature-cloud li {
    min-height: 2.45rem;
    max-width: min(100%, 20rem);
    padding: 0.55rem 0.84rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 520px) {
  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-card__title {
    font-size: 2.55rem !important;
  }

  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-feature-cloud {
    min-height: 0;
  }

  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-feature-cloud li {
    max-width: min(100%, 18rem);
    font-size: 0.74rem;
  }
}

/* Home hero phone layout: keep the text CTA stack clear of the fixed
 * WhatsApp bubble while preserving thumb-size targets. */
@media (max-width: 640px) and (orientation: portrait) {
  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__content {
    right: max(1.15rem, env(safe-area-inset-right, 0px));
    bottom: max(11.4rem, calc(env(safe-area-inset-bottom, 0px) + 10.6rem));
    left: max(1.15rem, env(safe-area-inset-left, 0px));
    width: auto;
  }

  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__title {
    max-width: min(100%, 46rem);
    font-size: clamp(4rem, 8.6vw, 4.8rem);
    line-height: 0.9;
  }

  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.8rem;
    width: 100%;
    margin-top: 1.35rem;
  }

  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__demo,
  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__play {
    width: 100%;
    min-height: 44px !important;
    justify-content: center !important;
    padding: 0 0.95rem !important;
    font-size: 14px !important;
  }

  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__play--guided {
    position: fixed;
    right: max(8.6rem, calc(env(safe-area-inset-right, 0px) + 8rem));
    bottom: max(6.7rem, calc(env(safe-area-inset-bottom, 0px) + 6.1rem));
    left: max(7.2rem, calc(env(safe-area-inset-left, 0px) + 6.6rem));
    z-index: 36;
    width: auto;
    min-height: 34px !important;
    justify-self: auto;
    gap: 0.48rem !important;
    padding: 0 !important;
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    font-size: 14px !important;
  }

  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__play--guided .hsw-intro__play-icon {
    flex: 0 0 0.8rem;
    width: 0.8rem !important;
    height: 0.8rem !important;
  }

  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__scroll {
    bottom: max(1rem, calc(env(safe-area-inset-bottom, 0px) + 0.7rem));
  }
}

@media (max-width: 640px) and (max-height: 740px) and (orientation: portrait) {
  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__content {
    bottom: max(11.4rem, calc(env(safe-area-inset-bottom, 0px) + 10.6rem));
  }

  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__title {
    font-size: clamp(3.35rem, 8.9vw, 3.9rem);
  }

  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__actions {
    gap: 0.44rem;
    margin-top: 1rem;
  }

  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__demo,
  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__play {
    min-height: 42px !important;
    font-size: 13px !important;
  }

  .hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__play--guided {
    min-height: 32px !important;
    font-size: 13px !important;
  }
}

/* The header CTA is injected into .mxd-menu__toggle, which is a fixed pill
 * anchored to the top right. On narrow phones the pill grows leftwards far
 * enough to sit underneath .mxd-header, so the logo painted straight through
 * the "Request a demo" label and swallowed the left half of its tap target.
 * The drawer already lists Request a demo under Platform, so drop the header
 * copy of it rather than shrink two controls that are already at tap-size.
 * !important because nocstar-theme.css pins every scroll-world CTA to
 * `display: inline-flex !important` (inside a zero-specificity :where(), so
 * this single class still wins the tie-break). */
@media (max-width: 559px) {
  .hsw-header-demo {
    display: none !important;
  }
}
