/* Final homepage narrative layer. Loaded after the legacy design system. */
.kinetic-interlude {
  min-height: 210svh;
  overflow: visible;
}

.kinetic-interlude__shade {
  background:
    linear-gradient(180deg, #050505 0%, transparent 18%, transparent 82%, #0b0b0b 100%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.62), rgba(5, 5, 5, 0.14) 48%, rgba(5, 5, 5, 0.48));
}

.kinetic-interlude__content {
  position: sticky;
  top: 0;
  min-height: 100svh;
  height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-items: stretch;
  overflow: hidden;
  padding: clamp(1.5rem, 4vh, 3rem) clamp(1.25rem, 5vw, 5rem);
}

.kinetic-protocol,
.kinetic-interlude__content > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  color: rgba(246, 238, 222, 0.48);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.63rem;
  line-height: 1;
  text-transform: uppercase;
}

.kinetic-protocol span:first-child,
.kinetic-interlude__content > footer span:nth-child(2) {
  color: #d8b878;
}

.kinetic-sequence {
  position: relative;
  min-height: 0;
}

.kinetic-word,
.kinetic-word--two,
.kinetic-word--three {
  position: absolute;
  inset: 0;
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
  overflow: visible;
  color: rgba(250, 246, 237, 0.96);
  font-size: inherit;
  text-align: left;
  white-space: normal;
  opacity: 0;
  will-change: transform, opacity, clip-path;
}

.kinetic-word__index {
  align-self: center;
  display: block;
  width: 3.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(216, 184, 120, 0.72);
  color: rgba(247, 239, 222, 0.62);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.68rem;
  line-height: 1;
}

.kinetic-word__copy {
  min-width: 0;
}

.kinetic-word__copy p {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin: 0;
  white-space: nowrap;
}

.kinetic-word__copy strong,
.kinetic-word__copy em {
  display: inline-block;
  color: rgba(250, 246, 237, 0.96);
  font-family: Georgia, "Times New Roman", "Songti SC", "Noto Serif CJK SC", serif;
  font-size: 10rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.82;
}

.kinetic-word__copy em {
  color: transparent;
  -webkit-text-stroke: 1px rgba(239, 213, 143, 0.8);
}

.kinetic-word--three .kinetic-word__copy strong {
  color: #d8b878;
}

.kinetic-word__copy small {
  display: block;
  width: min(32rem, 72%);
  margin: 2rem auto 0;
  color: rgba(248, 241, 226, 0.68);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.75;
  text-align: center;
}

.legacy-home .identity-rank-system {
  display: block;
  grid-template-columns: none;
  min-height: 0;
  margin-top: clamp(5rem, 10vh, 9rem);
  padding: 1.35rem 0 0;
  overflow: hidden;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: transparent;
}

.legacy-home .identity-rank-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(247, 244, 238, 0.34);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.6rem;
  line-height: 1;
  text-transform: uppercase;
}

.legacy-home .identity-rank-meta p,
.legacy-home .identity-rank-meta span {
  margin: 0;
}

.legacy-home .identity-rank-stage {
  min-width: 0;
  margin-top: 1rem;
  transform-style: preserve-3d;
}

.legacy-home .identity-ranks {
  --rank-line-progress: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  transform-style: preserve-3d;
}

.legacy-home .identity-ranks::before {
  top: 0;
  right: 0;
  left: 0;
  background: linear-gradient(90deg, #d8b878, rgba(255, 255, 255, 0.14) 68%, transparent);
  box-shadow: 0 0 18px rgba(216, 184, 120, 0.16);
}

.legacy-home .identity-ranks > span {
  position: relative;
  z-index: 1;
  min-height: 11rem;
  overflow: hidden;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: transparent !important;
  color: rgba(247, 244, 238, 0.76);
  font-size: 6.5rem;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.legacy-home .identity-ranks > span:first-child {
  border-left: 0;
}

.legacy-home .identity-ranks > span::after {
  display: none;
  content: none;
}

.legacy-home .identity-ranks > span.is-public-top {
  border-color: rgba(255, 255, 255, 0.1);
  background: transparent !important;
  color: #e6ca83;
}

.legacy-home .identity-ranks .rank-letter,
.legacy-home .identity-ranks .rank-slice {
  font-size: inherit;
}

.legacy-home .identity-ranks .rank-letter {
  opacity: 0.08;
}

.product-proof {
  position: relative;
  padding-block: clamp(6rem, 12vh, 11rem);
  overflow: hidden;
  background: #0b0b0b;
  color: #f7f2e8;
}

.proof-intro {
  max-width: 70rem;
}

.proof-intro h2 {
  max-width: 63rem;
  margin: 1.25rem 0 0;
  color: #f6f0e5;
  font-family: Georgia, "Times New Roman", "Songti SC", "Noto Serif CJK SC", serif;
  font-size: 6.75rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.96;
}

.proof-intro > p:last-child {
  max-width: 43rem;
  margin: 2rem 0 0;
  color: rgba(247, 244, 238, 0.62);
  font-size: 1.05rem;
  line-height: 1.9;
}

.proof-band {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(20rem, 0.76fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  margin-top: clamp(7rem, 15vh, 13rem);
  padding-top: clamp(2rem, 5vh, 4rem);
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.proof-band--reverse {
  grid-template-columns: minmax(20rem, 0.76fr) minmax(0, 1.24fr);
}

.proof-band--reverse .proof-media {
  order: 2;
}

.proof-media {
  position: relative;
  min-height: 34rem;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
  clip-path: inset(0 round 8px);
  will-change: transform, clip-path;
}

.proof-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.06);
  will-change: transform;
}

.proof-index {
  margin: 0 0 1.4rem;
  color: #d8b878;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.64rem;
  line-height: 1;
}

.proof-copy h3 {
  margin: 0;
  color: #f6f0e5;
  font-family: Georgia, "Times New Roman", "Songti SC", "Noto Serif CJK SC", serif;
  font-size: 3.25rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.02;
}

.proof-copy > p:not(.proof-index) {
  max-width: 31rem;
  margin: 1.6rem 0 0;
  color: rgba(247, 244, 238, 0.62);
  font-size: 0.95rem;
  line-height: 1.85;
}

.proof-details {
  margin: 2.3rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-details div {
  display: grid;
  grid-template-columns: 6.25rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.proof-details dt,
.proof-details dd {
  margin: 0;
}

.proof-details dt {
  color: rgba(235, 207, 143, 0.9);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.78rem;
}

.proof-details dd {
  color: rgba(247, 244, 238, 0.64);
  font-size: 0.78rem;
  line-height: 1.65;
}

.proof-capability-strip {
  margin-top: clamp(7rem, 15vh, 12rem);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.proof-capability-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 5rem;
  padding: 2.3rem 0;
  will-change: transform;
}

.proof-capability-track span {
  color: rgba(247, 242, 232, 0.82);
  font-family: Georgia, "Times New Roman", "Songti SC", "Noto Serif CJK SC", serif;
  font-size: 3.75rem;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

@media (min-width: 769px) {
  .legacy-home .legacy-section--cards {
    min-height: 175vh !important;
  }
}

@media (min-width: 769px) and (min-height: 560px) {
  .has-motion-showcase .legacy-section--cards .use-case-card > * {
    opacity: 0;
    transform: translateY(18px);
  }
}

@media (min-width: 1600px) {
  .kinetic-word__copy strong,
  .kinetic-word__copy em {
    font-size: 13rem;
  }

  .proof-intro h2 {
    font-size: 8rem;
  }
}

@media (max-width: 1100px) {
  .kinetic-word,
  .kinetic-word--two,
  .kinetic-word--three {
    gap: 1.5rem;
  }

  .kinetic-word__copy strong,
  .kinetic-word__copy em {
    font-size: 7.4rem;
  }

  .proof-intro h2 {
    font-size: 5.25rem;
  }

  .proof-copy h3 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .kinetic-interlude {
    min-height: 195svh;
  }

  .kinetic-interlude__content {
    min-height: 100svh;
    height: 100svh;
    padding: max(1.2rem, env(safe-area-inset-top)) 1rem max(1.25rem, env(safe-area-inset-bottom));
  }

  .kinetic-protocol,
  .kinetic-interlude__content > footer {
    font-size: 0.56rem;
  }

  .kinetic-word,
  .kinetic-word--two,
  .kinetic-word--three {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .kinetic-word__index {
    position: absolute;
    top: 18%;
    left: 0;
    width: 2.5rem;
    font-size: 0.58rem;
  }

  .kinetic-word__copy strong,
  .kinetic-word__copy em {
    font-size: 4.35rem;
  }

  .kinetic-word__copy small {
    width: min(20rem, 90%);
    margin-top: 1.45rem;
    font-size: 0.78rem;
  }

  .legacy-home .identity-rank-system {
    margin-top: 5rem;
    padding: 1rem 0 0;
  }

  .legacy-home .identity-rank-meta {
    font-size: 0.52rem;
  }

  .legacy-home .identity-ranks {
    gap: 0;
    padding: 0;
  }

  .legacy-home .identity-ranks > span {
    min-height: 7.5rem;
    font-size: 3.5rem;
  }

  .product-proof {
    padding-block: 6rem;
  }

  .proof-intro h2 {
    margin-top: 1rem;
    font-size: 3.35rem;
    line-height: 1;
  }

  .proof-intro > p:last-child {
    margin-top: 1.45rem;
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .proof-band,
  .proof-band--reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 6rem;
    padding-top: 1.25rem;
  }

  .proof-band--reverse .proof-media {
    order: 0;
  }

  .proof-media {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .proof-media img {
    min-height: 0;
  }

  .proof-copy h3 {
    font-size: 2.55rem;
  }

  .proof-details div {
    grid-template-columns: 5.25rem minmax(0, 1fr);
  }

  .proof-capability-strip {
    margin-top: 6rem;
  }

  .proof-capability-track {
    gap: 3rem;
    padding: 1.75rem 0;
  }

  .proof-capability-track span {
    font-size: 2.45rem;
  }

  .legacy-home .legacy-section--cards {
    min-height: 390svh !important;
  }
}

@media (orientation: landscape) and (max-height: 500px) and (max-width: 980px) {
  .kinetic-interlude {
    min-height: 210svh;
  }

  .kinetic-word__index {
    top: 8%;
  }

  .kinetic-word__copy strong,
  .kinetic-word__copy em {
    font-size: 4.15rem;
  }

  .kinetic-word__copy small {
    margin-top: 0.85rem;
    font-size: 0.7rem;
  }

  .legacy-home .legacy-section--cards {
    min-height: 390svh !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kinetic-interlude,
  .kinetic-interlude__content {
    min-height: 0;
    height: auto;
  }

  .kinetic-interlude__content {
    position: relative;
    gap: 3rem;
    padding-block: 5rem;
  }

  .kinetic-sequence {
    display: grid;
    gap: 4rem;
  }

  .kinetic-word,
  .kinetic-word--two,
  .kinetic-word--three {
    position: relative;
    inset: auto;
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }

  .legacy-home .legacy-section--cards {
    min-height: auto !important;
  }

  .has-motion-showcase .legacy-section--cards .use-case-card > * {
    opacity: 1;
    transform: none;
  }
}
