.legacy-home-section[hidden] {
  display: none !important;
}

.scroll-world {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  isolation: isolate;
  background: #050813;
}

.scroll-world__host {
  --sw-bg: #050813;
  --sw-ink: #f4f7ff;
  --sw-ink-soft: #9aa6bc;
  --sw-accent: #72a7ff;
  --sw-exit: 0;
  --sw-font-display: "Space Grotesk", "Noto Sans KR", sans-serif;
  --sw-font-body: "Noto Sans KR", sans-serif;
  position: relative;
  min-height: 100svh;
  color: var(--sw-ink);
  background: var(--sw-bg);
  opacity: calc(1 - var(--sw-exit));
  will-change: opacity;
}

.scroll-world__host .sw-topbar {
  display: none;
}

.scroll-world__host :is(.sw-sky, .sw-scrollbar, .sw-stage, .sw-copylayer, .sw-route, .sw-hint) {
  opacity: 1;
}

.scroll-world__host.is-past :is(.sw-sky, .sw-scrollbar, .sw-stage, .sw-copylayer, .sw-route, .sw-hint) {
  visibility: hidden;
  pointer-events: none;
}

.scroll-world__host .sw-sky {
  background: #050813;
}

.scroll-world__host .sw-sky__grad {
  background:
    radial-gradient(50% 42% at 76% 28%, color-mix(in srgb, var(--sw-accent) 12%, transparent), transparent 74%),
    linear-gradient(180deg, #070b17, #050813 70%);
}

.scroll-world__host .sw-sky__glow {
  opacity: .34;
}

.scroll-world__host .sw-scene__video,
.scroll-world__host .sw-scene__still {
  object-position: center 44%;
  filter: saturate(.92) contrast(1.04);
}

.scroll-world__host .sw-copylayer::before {
  width: min(65vw, 980px);
  background: linear-gradient(90deg, #050813 0%, rgba(5, 8, 19, .94) 34%, rgba(5, 8, 19, .46) 70%, transparent 100%);
}

.scroll-world__host .sw-copy {
  left: clamp(24px, 6vw, 104px);
  width: min(40vw, 540px);
}

.scroll-world__host .sw-copy__num {
  color: rgba(226, 233, 248, .46);
}

.scroll-world__host .sw-copy__eyebrow {
  margin-top: 16px;
  color: color-mix(in srgb, var(--sw-accent) 80%, white);
  letter-spacing: .12em;
}

.scroll-world__host .sw-copy__title {
  max-width: 12ch;
  margin-top: 14px;
  color: #f7f9ff;
  font-size: clamp(2.5rem, 4.6vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 4px 34px rgba(1, 3, 10, .82);
}

.scroll-world__host .sw-copy__body {
  max-width: 38ch;
  color: rgba(226, 233, 248, .72);
  font-size: clamp(.98rem, 1.1vw, 1.08rem);
  line-height: 1.72;
  word-break: keep-all;
  text-shadow: 0 2px 18px rgba(1, 3, 10, .9);
}

.scroll-world__host .sw-copy__tags {
  gap: 7px;
  margin-top: 22px;
}

.scroll-world__host .sw-copy__tags li {
  padding: 8px 13px;
  border: 1px solid color-mix(in srgb, var(--sw-accent) 32%, transparent);
  border-radius: 6px;
  color: color-mix(in srgb, var(--sw-accent) 72%, white);
  background: rgba(8, 13, 28, .72);
  backdrop-filter: blur(12px);
}

.scroll-world__host .sw-copy__cta {
  margin-top: 28px;
}

.scroll-world__host .sw-btn {
  border-radius: 7px;
}

.scroll-world__host .sw-btn--primary {
  color: #07101f;
  background: color-mix(in srgb, var(--sw-accent) 78%, white);
  box-shadow: 0 14px 38px color-mix(in srgb, var(--sw-accent) 20%, transparent);
}

.scroll-world__host .sw-route {
  --sw-route-progress: 0;
  right: clamp(20px, 2.7vw, 42px);
  width: 30px;
  gap: 10px;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.scroll-world__host .sw-route::before,
.scroll-world__host .sw-route::after {
  left: auto;
  right: 7px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  transform: none;
}

.scroll-world__host .sw-route::before {
  background: linear-gradient(180deg, transparent, rgba(191, 207, 244, .2) 10%, rgba(191, 207, 244, .2) 90%, transparent);
  opacity: 1;
}

.scroll-world__host .sw-route::after {
  content: "";
  position: absolute;
  z-index: 0;
  background: linear-gradient(180deg, #eef4ff, var(--sw-accent));
  box-shadow: 0 0 8px color-mix(in srgb, var(--sw-accent) 48%, transparent);
  transform: scaleY(var(--sw-route-progress));
  transform-origin: 50% 0;
  transition: background .35s ease;
}

.scroll-world__host .sw-route__dot {
  z-index: 1;
  width: 30px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 4px 0 0;
}

.scroll-world__host .sw-route__dot i {
  width: 7px;
  height: 1px;
  border: 0;
  border-radius: 1px;
  background: rgba(207, 220, 250, .34);
  box-shadow: 0 0 0 3px rgba(5, 8, 19, .72);
  transition: width .32s cubic-bezier(.16, 1, .3, 1), height .25s ease, background .25s ease, box-shadow .25s ease;
}

.scroll-world__host .sw-route__dot:hover i {
  transform: none;
  width: 12px;
  background: color-mix(in srgb, var(--sw-accent) 72%, white);
}

.scroll-world__host .sw-route__dot.is-active i {
  width: 18px;
  height: 2px;
  background: color-mix(in srgb, var(--sw-accent) 72%, white);
  box-shadow:
    0 0 0 3px rgba(5, 8, 19, .86),
    0 0 14px color-mix(in srgb, var(--sw-accent) 58%, transparent);
  transform: none;
}

.scroll-world__host .sw-route__label {
  right: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 126px;
  padding: 8px 10px;
  border: 0;
  border-left: 2px solid color-mix(in srgb, var(--sw-accent) 68%, white);
  border-radius: 3px;
  color: #f4f7ff;
  background: linear-gradient(90deg, rgba(10, 16, 33, .9), rgba(5, 8, 19, .7));
  box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
  backdrop-filter: blur(14px) saturate(120%);
}

.scroll-world__host .sw-route__label small {
  color: color-mix(in srgb, var(--sw-accent) 74%, white);
  font: 600 .65rem/1 "Space Grotesk", sans-serif;
  letter-spacing: .08em;
}

.scroll-world__host .sw-route__label strong {
  color: #f4f7ff;
  font: 600 .76rem/1.2 "Noto Sans KR", sans-serif;
  letter-spacing: 0;
}

.scroll-world__host .sw-hint {
  bottom: 24px;
  color: rgba(226, 233, 248, .56);
}

.scroll-world__host .sw-hint i {
  border-radius: 8px;
}

body.scroll-world-active .header {
  will-change: transform, opacity;
  transition:
    transform .76s cubic-bezier(.16, 1, .3, 1),
    opacity .38s ease,
    height .45s var(--ease-out),
    background .35s ease,
    border-color .35s ease,
    backdrop-filter .35s ease;
}

body.scroll-world-active:not(.scroll-world-complete) .header {
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(-100% - 18px));
}

body.scroll-world-active.scroll-world-complete .header {
  opacity: 1;
  transform: translateY(0);
}

body.scroll-world-active:not(.scroll-world-complete) > .scroll-meter,
html body.overhouse-public-home.scroll-world-active:not(.scroll-world-complete):not(.auth-locked) .floating-contact {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

body.scroll-world-active.scroll-world-complete .floating-contact {
  transition: opacity .35s ease .28s;
}

body.overhouse-public-home:not(.auth-locked) .ecosystem,
body.overhouse-public-home:not(.auth-locked) #contact,
body.overhouse-public-home:not(.auth-locked) [data-site-footer] {
  position: relative;
  z-index: 70;
}

body.overhouse-public-home:not(.auth-locked) .ecosystem {
  padding-top: clamp(88px, 8vw, 132px);
  padding-bottom: clamp(96px, 8vw, 136px);
  border-top: 1px solid rgba(255, 255, 255, .09);
  background:
    radial-gradient(circle at 84% 8%, rgba(82, 119, 255, .12), transparent 28%),
    linear-gradient(180deg, #050711 0%, #070a14 100%);
}

body.overhouse-public-home:not(.auth-locked) .ecosystem .product-explorer {
  border-color: rgba(151, 171, 226, .16);
  border-radius: 14px;
  background: rgba(8, 12, 24, .82);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .28);
}

html body.overhouse-public-home.scroll-world-active:not(.auth-locked) #contact[data-final-portal] {
  min-height: clamp(590px, 78svh, 760px) !important;
  padding: clamp(82px, 8vh, 104px) var(--pad) clamp(34px, 5vh, 54px) !important;
  border-top: 1px solid rgba(151, 171, 226, .13);
  background: #070a14 !important;
}

html body.overhouse-public-home.scroll-world-active:not(.auth-locked) #contact[data-final-portal] .contact__curtain {
  background:
    radial-gradient(circle at 76% 18%, rgba(83, 135, 255, .22), transparent 34%),
    radial-gradient(circle at 18% 82%, rgba(73, 213, 206, .08), transparent 28%),
    linear-gradient(145deg, #091020 0%, #101a35 58%, #07101c 100%);
}

html body.overhouse-public-home.scroll-world-active:not(.auth-locked) #contact[data-final-portal] .contact__curtain::before {
  background: linear-gradient(90deg, transparent, rgba(122, 162, 255, .72), rgba(81, 229, 255, .38), transparent);
  box-shadow: 0 -14px 38px rgba(82, 119, 255, .2);
}

html body.overhouse-public-home.scroll-world-active:not(.auth-locked) #contact[data-final-portal] .contact__grid {
  opacity: 0;
  background-image:
    linear-gradient(90deg, transparent calc(25% - .5px), rgba(255, 255, 255, .055) 25%, transparent calc(25% + .5px)),
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(255, 255, 255, .055) 50%, transparent calc(50% + .5px)),
    linear-gradient(90deg, transparent calc(75% - .5px), rgba(255, 255, 255, .055) 75%, transparent calc(75% + .5px));
}

html body.overhouse-public-home.scroll-world-active:not(.auth-locked) #contact[data-final-portal].is-entered .contact__grid {
  opacity: .42;
}

html body.overhouse-public-home.scroll-world-active:not(.auth-locked) #contact[data-final-portal] .contact__top,
html body.overhouse-public-home.scroll-world-active:not(.auth-locked) #contact[data-final-portal] .contact__bottom {
  border-color: rgba(193, 207, 244, .15);
}

html body.overhouse-public-home.scroll-world-active:not(.auth-locked) #contact[data-final-portal] .contact__center {
  width: min(1180px, 100%);
  padding-block: clamp(28px, 4.5vh, 52px);
}

html body.overhouse-public-home.scroll-world-active:not(.auth-locked) #contact[data-final-portal] .contact__eyebrow {
  color: rgba(138, 173, 255, .78);
}

html body.overhouse-public-home.scroll-world-active:not(.auth-locked) #contact[data-final-portal] .contact__title {
  max-width: 1120px !important;
  font-size: clamp(48px, 6.1vw, 92px);
  line-height: 1.08;
}

html body.overhouse-public-home.scroll-world-active:not(.auth-locked) #contact[data-final-portal] .contact__title-offset {
  padding-left: clamp(0px, 5.2vw, 76px) !important;
  color: #b9c8ff;
}

html body.overhouse-public-home.scroll-world-active:not(.auth-locked) #contact[data-final-portal] .contact__closing > p {
  color: rgba(230, 236, 250, .68);
}

html body.overhouse-public-home.scroll-world-active:not(.auth-locked) #contact[data-final-portal] .contact__secondary {
  border-color: rgba(193, 207, 244, .2);
  background: rgba(255, 255, 255, .035);
}

html body.overhouse-public-home.scroll-world-active:not(.auth-locked) #contact[data-final-portal] .contact__cta {
  border-color: #dce5ff;
  background: #dce5ff;
  box-shadow: 0 16px 42px rgba(43, 76, 159, .24);
}

html body.overhouse-public-home.scroll-world-active:not(.auth-locked) [data-site-footer] .site-trust-footer {
  border-top-color: rgba(193, 207, 244, .13) !important;
  background:
    radial-gradient(circle at 82% 0, rgba(82, 119, 255, .08), transparent 28%),
    #070a12 !important;
}

html body.overhouse-public-home.scroll-world-active:not(.auth-locked) [data-site-footer] .site-trust-footer__inner {
  width: 100% !important;
  max-width: 1600px !important;
  padding: clamp(38px, 4vw, 54px) var(--pad) 22px !important;
}

html body.overhouse-public-home.scroll-world-active:not(.auth-locked) [data-site-footer] .site-trust-footer__lead {
  padding-bottom: 28px;
  border-color: rgba(193, 207, 244, .12);
}

html body.overhouse-public-home.scroll-world-active:not(.auth-locked) [data-site-footer] .site-trust-footer__body {
  padding-block: 30px 26px;
}

@media (max-width: 860px) {
  .scroll-world__host .sw-copylayer::before {
    width: 100%;
    background: linear-gradient(0deg, #050813 0%, rgba(5, 8, 19, .92) 30%, rgba(5, 8, 19, .18) 68%, transparent 100%);
  }

  .scroll-world__host .sw-copy {
    right: 48px;
    bottom: clamp(72px, 13vh, 112px);
    width: auto;
    max-width: 600px;
  }

  .scroll-world__host .sw-copy__title {
    max-width: 15ch;
    font-size: clamp(2rem, 7.8vw, 3.15rem);
  }

  .scroll-world__host .sw-copy__body {
    max-width: 42ch;
  }

  .scroll-world__host .sw-route {
    right: 7px;
    width: 24px;
    gap: 6px;
    padding: 8px 0;
  }

  .scroll-world__host .sw-route::before,
  .scroll-world__host .sw-route::after {
    right: 5px;
    top: 17px;
    bottom: 17px;
  }

  .scroll-world__host .sw-route__dot {
    width: 24px;
    height: 18px;
    padding-right: 2px;
  }

  .scroll-world__host .sw-route__dot i {
    width: 5px;
  }

  .scroll-world__host .sw-route__dot.is-active i {
    width: 13px;
    height: 2px;
  }

  .scroll-world__host .sw-route__label {
    display: none;
  }

  html body.overhouse-public-home.scroll-world-active:not(.auth-locked) #contact[data-final-portal] {
    min-height: 660px !important;
  }
}

@media (max-width: 560px) {
  .scroll-world__host .sw-copy {
    left: 18px;
    right: 34px;
    bottom: clamp(68px, 11vh, 92px);
  }

  .scroll-world__host .sw-copy__eyebrow {
    margin-top: 10px;
    font-size: .68rem;
  }

  .scroll-world__host .sw-copy__title {
    margin-top: 9px;
    font-size: clamp(1.85rem, 9vw, 2.55rem);
    line-height: 1.1;
  }

  .scroll-world__host .sw-copy__body {
    margin-top: 12px;
    font-size: .9rem;
    line-height: 1.58;
  }

  .scroll-world__host .sw-copy__tags {
    margin-top: 14px;
  }

  .scroll-world__host .sw-copy__tags li {
    padding: 6px 9px;
    font-size: .72rem;
  }

  .scroll-world__host .sw-copy__cta {
    margin-top: 18px;
  }

  .scroll-world__host .sw-btn {
    width: 100%;
    min-height: 46px;
    display: grid;
    place-items: center;
  }

  .scroll-world__host .sw-route {
    right: 5px;
  }

  .scroll-world__host .sw-hint {
    bottom: 14px;
  }

  .scroll-world__host .sw-hint span {
    display: none;
  }

  html body.overhouse-public-home.scroll-world-active:not(.auth-locked) #contact[data-final-portal] {
    min-height: 610px !important;
    padding: 76px 18px 26px !important;
  }

  html body.overhouse-public-home.scroll-world-active:not(.auth-locked) #contact[data-final-portal] .contact__center {
    padding-block: 26px;
  }

  html body.overhouse-public-home.scroll-world-active:not(.auth-locked) #contact[data-final-portal] .contact__title {
    font-size: clamp(37px, 11vw, 50px);
  }

  html body.overhouse-public-home.scroll-world-active:not(.auth-locked) [data-site-footer] .site-trust-footer__inner {
    padding-inline: 18px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.scroll-world-active .header,
  body.scroll-world-active.scroll-world-complete .floating-contact {
    transition: none;
  }
}
