.home {
  background: #111;
}

.home.is-loading {
  overflow: hidden;
}

.front-loading {
  display: none;
}

.home.js-front-loading .front-loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  color: #fff;
  overflow: hidden;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.front-loading__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  padding: 20px;
  text-align: center;
}

.front-loading__text-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.front-loading__stage-text {
  position: absolute;
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 4vw, 38px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  user-select: none;
}

.front-loading__count {
  font-size: clamp(52px, 10vw, 132px);
  font-weight: 400;
  letter-spacing: 0.06em;
}

.front-loading__button-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.front-loading__button-stage.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.front-loading__button-ring {
  position: absolute;
  width: 192px;
  height: 192px;
  border: 0.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.front-loading__enter {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  outline: none;
  background: transparent;
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.45s ease;
}

.front-loading__enter::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #fff;
  transform: scale(0);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.front-loading__enter:hover::before,
.front-loading__enter:focus-visible::before {
  transform: scale(1);
}

.front-loading__enter:hover,
.front-loading__enter:focus-visible {
  color: #111;
}

.front-loading__enter span {
  position: relative;
  z-index: 1;
}

.front-loading__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
  width: 0%;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
  opacity: 1;
  transition:
    width 0.08s linear,
    opacity 0.5s ease;
}

.front-loading.is-clearing {
  pointer-events: none;
  animation: loadingDiagonalReveal 1.3s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.front-loading.is-clearing .front-loading__inner,
.front-loading.is-clearing .front-loading__progress {
  opacity: 0;
  transition: opacity 0.24s ease;
}

@keyframes loadingDiagonalReveal {
  0% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  70% {
    clip-path: polygon(0 0, 100% 0, 0 100%, 0 100%);
  }
  100% {
    clip-path: polygon(0 0, 0 0, 0 0, 0 0);
  }
}

.home h1.title {
  color: #fff;
}

.home .top_bg,
.home .company-lead,
.home .about,
.home .service {
  background: transparent !important;
}

.top-video {
  padding-top: 70px;
  width: 100%;
}

@media screen and (max-width: 479px) {
  .top-video {
  }
}
li.swiper-slide.tojo {
  width: 20vw !important;
  background-color: black;
  padding: 15px 20px 5px 20px;
  margin-bottom: 10px;
}
li.swiper-slide.alli {
  width: 8vw !important;
}
li.swiper-slide.taniguchi {
  width: 20vw !important;
  padding: 15px 20px 5px 20px;
  margin-bottom: 10px;
  background-color: #0c226e;
}

@media screen and (max-width: 479px) {
  li.swiper-slide.tojo {
    width: 60vw !important;
  }
  li.swiper-slide.alli {
    width: 20vw !important;
  }
  li.swiper-slide.taniguchi {
    width: 45vw !important;
  }
}

.top_morph {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #111;
}

.top_morph::before,
.top_morph::after {
  content: "";
  position: absolute;
  z-index: 0;
  filter: blur(60px);
  opacity: 0.65;
  pointer-events: none;
}

.top_morph::before {
  width: 42vw;
  height: 42vw;
  top: -12vw;
  left: -10vw;
  background: radial-gradient(circle, rgba(255, 138, 0, 0.42) 0%, rgba(17, 17, 17, 0) 72%);
}

.top_morph::after {
  width: 38vw;
  height: 38vw;
  right: -12vw;
  top: 10vh;
  background: radial-gradient(circle, rgba(255, 177, 86, 0.35) 0%, rgba(17, 17, 17, 0) 70%);
}

.top_morph__overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(120px, 16vh, 180px) 24px 72px;
  pointer-events: none;
  color: #f2efe8;
}

.top_morph__tag {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 18px;
}

.top_morph__title {
  font-size: clamp(34px, 7vw, 88px);
  line-height: 1.15;
  margin: 0;
  color: #fff;
}

.top_morph__desc {
  max-width: 48ch;
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1.8;
  margin-top: 20px;
  opacity: 0.88;
}

@media screen and (max-width: 599px) {
  .top_morph::before {
    width: 76vw;
    height: 76vw;
    top: -20vw;
    left: -28vw;
  }

  .top_morph::after {
    width: 70vw;
    height: 70vw;
    right: -30vw;
    top: 28vh;
  }

  .top_morph__tag {
    font-size: 10px;
  }

  .top_morph__title {
    font-size: clamp(30px, 12vw, 56px);
  }

  .top_morph__desc {
    font-size: 14px;
    line-height: 1.7;
  }
}

/* Service horizontal scroll (GSAP) */
@media screen and (min-width: 1024px) {
  .service-horizontal {
    overflow: hidden;
  }

  .service-horizontal .inner {
    max-width: none;
    padding-left: max(40px, calc((100vw - 1200px) / 2));
    padding-right: max(40px, calc((100vw - 1200px) / 2));
  }

  .service-horizontal .service-horizontal__track {
    display: flex;
    flex-wrap: nowrap;
    gap: 2.8vw;
    padding-top: 40px;
    width: max-content;
  }

  .service-horizontal .service-horizontal__track > li {
    width: min(34vw, 620px);
    min-width: min(34vw, 620px);
    margin-top: 0;
    flex: 0 0 auto;
  }

  .service-horizontal .service-horizontal__track > li .img_area {
    aspect-ratio: 16 / 10;
    overflow: hidden;
  }

  .service-horizontal .service-horizontal__track > li .img_area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .service-horizontal .service-horizontal__track > li .text {
    padding: 56px;
  }
}

/* Client logos : sticky lead + 2-column logos */
.l-introduce__contents {
  padding-top: 42px;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.l-introduce__layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 68px);
  align-items: start;
}

.l-introduce__lead {
  position: sticky;
  top: 120px;
  align-self: start;
  padding-right: 16px;
}

.l-introduce__lead-copy {
  color: #fff;
  font-size: clamp(26px, 2.7vw, 44px);
  line-height: 1.45;
  margin: 0;
}

.l-introduce__lead-sub {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.9;
}

.l-introduce__logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.l-introduce__col {
  display: grid;
  gap: 16px;
  animation: clientColumnReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.l-introduce__col:nth-child(2) {
  margin-top: 36px;
  animation-delay: 0.26s;
}

.l-introduce__card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  min-height: 110px;
  padding: 20px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(12, 12, 14, 0.08);
}

.l-introduce__card img {
  max-width: 100%;
  width: auto;
  height: 48px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.06);
}

@keyframes clientColumnReveal {
  from {
    opacity: 0;
    transform: translateY(46px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 1023px) {
  .l-introduce__layout {
    grid-template-columns: 1fr;
  }

  .l-introduce__lead {
    position: static;
    padding-right: 0;
  }

  .l-introduce__logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .l-introduce__col:nth-child(2) {
    margin-top: 0;
  }
}

@media screen and (max-width: 599px) {
  .l-introduce__logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .l-introduce__col,
  .l-introduce__col:nth-child(2) {
    margin-top: 0;
    animation: none;
  }

  .l-introduce__card {
    min-height: 88px;
    padding: 16px 14px;
    will-change: transform, opacity;
  }
}

.press-release {
  padding: clamp(72px, 9vw, 130px) 0;
}

.press-release__layout {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 0.52fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 70px);
}

.press-release__title {
  position: sticky;
  top: 118px;
  align-self: start;
}

.press-release__list {
  display: grid;
  gap: 14px;
}

.press-release__item {
  display: block;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 18px 0 20px;
  color: #fff;
  opacity: 0;
  transform: translateY(24px);
  animation: pressReveal 0.7s ease forwards;
}

.press-release__item:nth-child(2) {
  animation-delay: 0.12s;
}
.press-release__item:nth-child(3) {
  animation-delay: 0.24s;
}

.press-release__meta {
  font-size: 12px;
  letter-spacing: 0.2em;
  opacity: 0.68;
  margin-bottom: 10px;
}

.press-release__item h3 {
  margin: 0;
  font-size: clamp(18px, 1.9vw, 28px);
  line-height: 1.6;
  font-weight: 500;
  transition:
    transform 0.35s ease,
    color 0.35s ease;
}

.press-release__item:hover h3 {
  transform: translateX(8px);
  color: #ff8a00;
}

@keyframes pressReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .press-release__layout {
    grid-template-columns: 1fr;
  }

  .press-release__title {
    position: static;
  }
}

.hero-main {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: transparent;
}

.hero-main__copy {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  text-align: center;
  pointer-events: none;
}
.hero-main__sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(24px, 3.6vw, 56px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-shadow: 0 0 22px rgba(0, 0, 0, 0.42);
}
.hero-main__sub.is-visible {
  opacity: 1;
  transform: none;
}

.service-horizontal {
  background: transparent;
  color: #fff;
  overflow: hidden;
}
.service-horizontal .service-horizontal__viewport {
  overflow: hidden;
}
.service-horizontal.is-sp-scroll .service-horizontal__viewport {
  overflow: clip;
}
.service-horizontal .service-horizontal__track {
  display: flex;
  gap: clamp(42px, 4vw, 80px);
  width: max-content;
  flex-wrap: nowrap;
  padding-top: 30px;
  padding-right: 0;
}
.service-horizontal .service-card {
  list-style: none;
  min-width: min(52vw, 760px);
  width: min(52vw, 760px);
  flex-shrink: 0;
  min-height: 420px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.service-horizontal .service-card:last-child {
  margin-right: 300px;
}

@media (min-width: 1024px) {
  .service-horizontal {
    min-height: 100vh;
    min-height: 100svh;
    --service-start-gap: max(40px, calc((100vw - 1320px) / 2));
  }

  .service-horizontal .service-horizontal__viewport {
    position: relative;
    min-height: 520px;
    width: calc(100% + var(--service-start-gap));
    margin-left: calc(var(--service-start-gap) * -1);
    overflow: hidden;
  }

  .service-horizontal .service-horizontal__track {
    position: absolute;
    left: var(--service-start-gap);
    top: 0;
  }

  .service-horizontal .service-card:last-child {
    margin-right: calc(200px + var(--service-start-gap));
  }

  .service-horizontal .inner {
    max-width: none;
    width: 100%;
    padding-left: var(--service-start-gap);
    padding-right: 0;
    padding-bottom: 64px;
  }
}
.service-card__number {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #ff8a00;
}
.service-card__number span {
  font-size: clamp(72px, 8vw, 104px);
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: 0.04em;
  font-family: math;
}
.service-card h4 {
  margin-top: 2px;
  font-size: clamp(42px, 3.2vw, 56px);
  letter-spacing: 0.08em;
  line-height: 1.25;
  font-weight: 500;
}
.service-card__lead {
  margin-top: 22px;
  font-size: clamp(24px, 1.8vw, 30px);
  letter-spacing: 0.03em;
}
.service-card > p:last-child {
  margin-top: 18px;
  margin-bottom: 0;
  font-size: clamp(20px, 1.45vw, 26px);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.88);
  max-width: 30em;
}

@media (max-width: 1199px) {
  .service-horizontal .service-card {
    width: min(78vw, 680px);
    min-width: min(78vw, 680px);
    min-height: 390px;
  }
}

@media (max-width: 767px) {
  .hero-main__sub {
    font-size: clamp(20px, 8vw, 34px);
  }
  .service-horizontal .inner {
    padding-left: 20px;
    padding-right: 20px;
  }
  .service-horizontal .service-horizontal__track {
    display: flex;
    width: max-content;
    gap: 16px;
    padding-top: 18px;
    padding-right: 18px;
  }
  .service-horizontal .service-card {
    width: min(88vw, 430px);
    min-width: min(88vw, 430px);
    flex: 0 0 auto;
    padding: 0;
    min-height: auto;
  }
  .service-card h4 {
    font-size: clamp(28px, 8vw, 42px);
  }
  .service-card__lead {
    margin-top: 14px;
    font-size: 22px;
  }
  .service-card > p:last-child {
    margin-top: 12px;
    font-size: 18px;
    line-height: 1.8;
  }
}

.service-horizontal.is-sp-scroll .service-horizontal__viewport {
  overflow: hidden;
}
.service-horizontal.is-sp-scroll .service-horizontal__track {
  will-change: transform;
}

.front-loader-active {
  overflow: hidden;
}

.front-loader {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  transition: opacity 0.8s ease;
  cursor: default;
}

.front-loader.is-ready {
  cursor: pointer;
}

.front-loader.is-started {
  opacity: 0;
  pointer-events: none;
}

.front-loader__pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #000;
  animation: loaderPulse 1.2s ease-in-out infinite;
  z-index: 3;
}

.front-loader__progress {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #000;
  z-index: 3;
}

.front-loader__purpose,
.front-loader__tap {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  z-index: 3;
}

.front-loader__purpose {
  font-size: clamp(18px, 2.6vw, 38px);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-top: 6px;
  color: #000;
}

.front-loader__tap {
  font-size: clamp(14px, 1.6vw, 20px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.72);
}

.front-loader__purpose.is-visible,
.front-loader__tap.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.front-loader__expand {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #000;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 1s cubic-bezier(0.16, 0.84, 0.33, 1);
  z-index: 2;
}

.front-loader.is-started .front-loader__expand {
  transform: translate(-50%, -50%) scale(220);
}

@keyframes loaderPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.95;
  }
  50% {
    transform: scale(1.6);
    opacity: 0.45;
  }
}

.relative-top {
  position: relative;
  top: -30vh;
  z-index: 111;
}
.company-lead {
  position: relative;
  padding: clamp(70px, 10vw, 140px) 0;
}

.company-lead__inner {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 4vw, 74px);
  align-items: start;
}

.company-lead__eyebrow {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  letter-spacing: 0.22em;
  margin-bottom: 14px;
}

.company-lead h2 {
  font-size: clamp(32px, 4.5vw, 60px);
  line-height: 1.35;
  color: #fff;
}

.company-lead__right {
  padding-top: 48px;
}

.company-lead__right p {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(14px, 1.22vw, 18px);
  line-height: 2;
  margin-bottom: 1.1em;
}

.company-lead__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 54px;
  padding: 0 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
  opacity: 0.84;
  transform: translateY(10px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.company-lead__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ff6b2b;
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: -1;
}
.company-lead__cta:hover {
  opacity: 1;
  border-color: #ff6b2b;
}
.company-lead__cta:hover::before {
  transform: scaleX(1);
}

@media (max-width: 900px) {
  .company-lead__inner {
    grid-template-columns: 1fr;
  }
}

/* Scroll-driven 3D cube hero */
.top_morph {
  position: relative;
  z-index: 20;
  min-height: 180vh;
  display: block;
  overflow: visible;
  background: #fff;
  transition: background-color 0.24s linear;
  isolation: isolate;
}

.top_morph.is-finale {
  background: #111;
}

.top_morph::before,
.top_morph::after {
  display: none;
}

.top_morph__sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  height: 100svh;
  z-index: 1;
  background: var(--hero-cube-bg, #fff);
  transition: background-color 0.24s linear;
  perspective: 1200px;
}

.top_morph__stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  pointer-events: none;
}

.top-cube {
  --cube-size: clamp(168px, 20vw, 260px);
  --cube-half: calc(var(--cube-size) / 2);
  position: relative;
  width: var(--cube-size);
  height: var(--cube-size);
  transform-style: preserve-3d;
  will-change: transform;
  transform: rotateX(var(--cube-rotate-x, 0deg)) rotateY(var(--cube-rotate-y, 0deg)) rotateZ(var(--cube-rotate-z, 0deg)) scale3d(var(--cube-scale, 1), var(--cube-scale, 1), var(--cube-scale, 1));
}

.top-cube__face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  backface-visibility: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(17px, 1.95vw, 26px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.top-cube__face--text {
  padding: 8%;
  box-sizing: border-box;
  overflow: hidden;
  text-align: center;
}

.top-cube__face--front {
  transform: translateZ(var(--cube-half));
}

.top-cube__face--back {
  transform: rotateY(180deg) translateZ(var(--cube-half));
}

.top-cube__face--right {
  transform: rotateY(90deg) translateZ(var(--cube-half));
}

.top-cube__face--left {
  transform: rotateY(-90deg) translateZ(var(--cube-half));
}

.top-cube__face--top {
  transform: rotateX(90deg) translateZ(var(--cube-half));
}

.top-cube__face--bottom {
  transform: rotateX(-90deg) translateZ(var(--cube-half));
}

.top-cube__face--logo img {
  width: 54%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.18));
}

.top-cube__face--orange {
  background: #111;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.top_morph__overlay {
  position: absolute;
  left: 50%;
  bottom: calc(clamp(56px, 7vh, 88px) + 10vh);
  z-index: 2;
  width: min(900px, calc(100% - 48px));
  transform: translateX(-50%);
  padding: 0;
  color: #111;
  transition:
    color 0.24s linear,
    opacity 0.24s linear,
    transform 0.24s linear;
}

.top_morph.is-finale .top_morph__overlay {
  color: #fff;
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
}

.top_morph__tag {
  color: currentColor;
  opacity: 0.48;
}

.top_morph__title {
  color: currentColor;
  font-size: clamp(14px, 4.2vw, 52px);
  white-space: nowrap;
}

.top_morph__desc {
  color: currentColor;
  opacity: 0.68;
}

.top_morph__scroll {
  position: absolute;
  right: clamp(20px, 4vw, 52px);
  bottom: clamp(24px, 5vh, 48px);
  z-index: 3;
  color: rgba(17, 17, 17, 0.45);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transition:
    color 0.24s linear,
    opacity 0.24s linear;
}

.top_morph__scroll::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 44px;
  margin-top: 12px;
  background: currentColor;
  animation: heroScrollLine 1.6s ease-in-out infinite;
}

.top_morph.is-finale .top_morph__scroll {
  color: rgba(255, 255, 255, 0.42);
  opacity: 0;
}

@keyframes heroScrollLine {
  0%,
  100% {
    transform: scaleY(0.35);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
}

@media screen and (max-width: 599px) {
  .top_morph {
    min-height: 240vh;
  }

  .top-cube {
    --cube-size: clamp(148px, 48vw, 210px);
  }

  .top_morph__overlay {
    bottom: calc(clamp(72px, 12vh, 120px) + 10vh);
    width: min(520px, calc(100% - 32px));
  }

  .top_morph__scroll {
    right: 16px;
    bottom: 20px;
  }
}

/* ====================================================
   Cube hover — works image slideshow background
==================================================== */

/* Full-viewport bg layer, hidden by default */
.cube-hover-img-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 0.2s ease;
}

.cube-hover-img-layer.is-active {
  opacity: 1;
}

/* Transparent hover-capture zone centered over the cube.
   Stage has padding-bottom: 20vh → cube center is offset up by 10vh */
.cube-hover-trigger {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(280px, 30vw, 400px);
  height: clamp(280px, 30vw, 400px);
  z-index: 2;
  pointer-events: auto;
  cursor: crosshair;
}

/* Disable on touch devices (no true hover) */
@media (hover: none) {
  .cube-hover-trigger {
    display: none;
  }
}

/* ====================================================
   Works Reveal — CLIENTS section (2-phase animation)
==================================================== */

.l-works-reveal {
  position: relative;
  background: #111;
}

/* 200vh scroll space that drives phases 1 + 2 */
.l-works-reveal__phase-wrap {
  position: relative;
  height: 200vh;
}

/* Lead text: sticky on the left during phases */
.l-works-reveal__lead {
  position: sticky;
  top: 22vh;
  width: min(480px, 44%);
  margin-left: max(40px, calc((100vw - 1240px) / 2));
  padding-top: 10vh;
  z-index: 5;
}

.l-works-reveal__lead .title {
  margin-bottom: 18px;
}

.l-works-reveal__copy {
  color: #fff;
  font-size: clamp(22px, 2.4vw, 40px);
  line-height: 1.45;
  margin: 0;
}

.l-works-reveal__sub {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.9;
}

/* Anchor image — 100vh placeholder that shows when overlay detaches */
.l-works-reveal__gallery-phase {
  position: relative;
}

.l-works-reveal__img-anchor {
  height: 100vh;
  overflow: hidden;
}

.l-works-reveal__img-anchor img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
}

.l-works-reveal__img-anchor img.is-visible {
  opacity: 1;
}

/* Natural in-flow image: scrolls up from below, switches to fixed when centered */
.l-works-reveal__natural {
  position: absolute;
  left: calc(75% - 20vmin);
  top: 60vh;
  width: 40vmin;
  height: 40vmin;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.l-works-reveal__natural img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Fixed overlay — JS controls position/size as an expanding box */
.works-reveal-layer {
  position: fixed;
  z-index: 300;
  pointer-events: none;
  overflow: hidden;
  display: none;
  will-change: transform, left, top, width, height;
}

.works-reveal-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ====================================================
   Works Gallery — horizontal scroll section
==================================================== */

.l-works-gallery {
  position: relative;
  background: #111;
  /* min-height computed by JS (100vh + trackMaxX) */
  min-height: 100vh;
}

.l-works-gallery__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #111;
}

/* 2-row grid, flows column-wise → 4 cols × 2 rows for 8 images */
.l-works-gallery__track {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  grid-auto-flow: column;
  grid-auto-columns: clamp(220px, 30vw, 460px);
  gap: 10px;
  padding: 10px;
  height: 100%;
  box-sizing: border-box;
  will-change: transform;
}

.l-works-gallery__item {
  overflow: hidden;
  border-radius: 4px;
}

.l-works-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.l-works-gallery__care {
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  padding: 20px 0 32px;
  background: #111;
}

/* ── Responsive ─────────────────────────────── */

@media (max-width: 767px) {
  .l-works-reveal__phase-wrap {
    height: 180vh;
  }

  .l-works-reveal__lead {
    width: min(280px, calc(100% - 32px));
    margin-left: 16px;
    top: 14vh;
    padding-top: 8vh;
  }

  .l-works-gallery__track {
    grid-auto-columns: clamp(160px, 68vw, 300px);
  }
}
