/* V10: a continuous, physically responsive homepage. Only this page loads it. */
.immersive-home {
  --home-blue: #244bff;
}
.home-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.immersive-home [data-home-stage] {
  isolation: isolate;
}
.immersive-home .home-proposition > p:nth-child(2) {
  transform: translate3d(0, calc(var(--intro-drift, 0) * -18px), 0);
}
.immersive-home .signal-chapter {
  position: relative;
  z-index: 2;
  background: #f1f2f7;
  padding-top: 90px;
  padding-bottom: 115px;
}
.immersive-home .signal-heading h2 {
  font-size: clamp(38px, 5.6vw, 86px);
}
/* Work is a vertical document, not a transformed horizontal slider. */
.work-sequence {
  position: relative;
  padding: 45px 20px 0;
  background: #f1f2f7;
}
.work-sequence-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  align-items: end;
  padding: 55px calc(var(--gutter) - 20px) 75px;
}
.work-sequence-heading .eyebrow {
  grid-column: 1/-1;
  margin: 0;
}
.work-sequence-heading h2 {
  font-size: clamp(52px, 8.5vw, 140px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.08;
}
.work-sequence-heading > p:last-child {
  max-width: 330px;
  justify-self: end;
  font-size: 14px;
  line-height: 1.9;
  padding-bottom: 9px;
  color: #626775;
}
.work-stack {
  position: relative;
  padding-bottom: 30px;
}
.work-sheet {
  --work-scale: 1;
  position: sticky;
  top: 102px;
  min-height: 650px;
  height: calc(100svh - 120px);
  border-radius: 24px;
  padding: 30px 38px 0;
  margin-bottom: 42px;
  overflow: hidden;
  background: #191b23;
  color: #fff;
  transform: scale(var(--work-scale));
  transform-origin: 50% 0;
  box-shadow: 0 -18px 55px #11142512;
  display: flex;
  flex-direction: column;
}
.work-sheet-ai {
  --sheet-accent: #899bff;
  background: #191b23;
}
.work-sheet-network {
  --sheet-accent: #bcc8ff;
  background: #244bff;
}
.work-sheet-commerce {
  --sheet-accent: #244bff;
  background: #e4e8ef;
  color: #16171c;
}
.work-sheet-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font: 10px var(--mono);
  letter-spacing: 0.04em;
  opacity: 0.75;
}
.work-sheet-content {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 39% 61%;
  align-items: center;
  gap: 0;
}
.work-sheet-copy {
  position: relative;
  z-index: 2;
  padding: 32px 24px 30px 0;
}
.work-sheet-copy h3 {
  font-size: clamp(37px, 4.6vw, 77px);
  line-height: 1.18;
  letter-spacing: -0.065em;
  font-weight: 500;
  transform: translateY(var(--work-text-y, 0px));
}
.work-sheet-copy > p {
  font-size: 13px;
  line-height: 1.9;
  opacity: 0.68;
  max-width: 315px;
  margin-top: 24px;
}
.work-sheet-copy > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(230px, 100%);
  margin-top: 38px;
  padding: 12px 0;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
}
.work-sheet-copy > a span:last-child {
  font-size: 25px;
  transition: transform 0.3s;
}
.work-sheet-copy > a:hover span:last-child {
  transform: translate(5px, -5px);
}
.work-aperture {
  --lens-x: 50%;
  --lens-y: 50%;
  --lens-size: 220px;
  position: relative;
  aspect-ratio: 1.55;
  width: 100%;
  outline-offset: 6px;
  cursor: crosshair;
  touch-action: pan-y;
  user-select: none;
  perspective: 1000px;
}
.architecture-plane {
  position: absolute;
  inset: 4%;
  border-radius: 12px;
  background: #fff;
  transform: rotateY(var(--inspect-ry, -9deg)) rotateX(var(--inspect-rx, 5deg));
  box-shadow: 0 25px 60px #0003;
  overflow: hidden;
}
.architecture-plane img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.architecture-lens {
  position: absolute;
  left: var(--lens-x);
  top: var(--lens-y);
  width: var(--lens-size);
  height: var(--lens-size);
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #fff;
  box-shadow:
    0 0 0 8px #ffffff16,
    0 18px 45px #0004;
  transform: translate(-50%, -50%) scale(var(--lens-open, 0.75));
  opacity: var(--lens-opacity, 0);
  transition:
    opacity 0.25s,
    scale 0.25s;
  pointer-events: none;
}
.architecture-lens img {
  position: absolute;
  max-width: none;
  width: var(--zoom-width, 1100px);
  height: var(--zoom-height, 619px);
  left: var(--zoom-left, 0px);
  top: var(--zoom-top, 0px);
  object-fit: contain;
}
.aperture-guide {
  position: absolute;
  bottom: -10px;
  left: 5%;
  color: inherit;
  opacity: 0.7;
  font: 9px var(--mono);
  letter-spacing: 0.08em;
}
.aperture-scale {
  position: absolute;
  right: 5%;
  bottom: -10px;
  font: 10px var(--mono);
  opacity: 0.7;
}
.work-sheet-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #ffffff26;
  padding-top: 20px;
}
.work-sheet-commerce .work-sheet-bottom {
  border-color: #16171c22;
}
.work-word {
  font-size: clamp(48px, 10.7vw, 165px);
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: -0.07em;
  color: var(--sheet-accent);
  transform: translateX(var(--work-word-x, 0px));
  opacity: 0.55;
  white-space: nowrap;
}
.work-sheet-bottom > span:last-child {
  flex-shrink: 0;
  font: 8px var(--mono);
  padding-bottom: 18px;
  opacity: 0.6;
}
.all-work-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px calc(var(--gutter) - 20px) 90px;
  font-size: clamp(24px, 4vw, 54px);
  letter-spacing: -0.045em;
}
.all-work-link > span:last-child {
  font-size: 1.5em;
  transition: transform 0.4s;
}
.all-work-link:hover > span:last-child {
  transform: rotate(45deg);
}
/* The logos keep their native pixels and opaque white background. */
.immersive-home .elastic-ecosystem {
  padding: 80px calc(var(--gutter) - 20px) 45px;
  margin: 0 20px;
  background: #fff;
  border-radius: 26px 26px 0 0;
  overflow: hidden;
}
.elastic-ecosystem h2 {
  max-width: 900px;
  font-size: clamp(36px, 4.3vw, 66px);
  line-height: 1.18;
  letter-spacing: -0.055em;
}
.ecosystem-field {
  position: relative;
  height: 360px;
  margin-top: 0;
}
.immersive-home .elastic-ecosystem .partner-logos {
  display: block;
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  min-height: 0;
  background: transparent;
}
.elastic-ecosystem .partner-logos > a {
  position: absolute;
  left: var(--partner-x, 20%);
  top: var(--partner-y, 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 92px;
  padding: 16px;
  border: 0;
  background: #fff !important;
  transform: translate(-50%, -50%)
    translate(var(--partner-dx, 0px), var(--partner-dy, 0px))
    rotate(var(--partner-r, 0deg));
  transition: box-shadow 0.3s;
  border-radius: 0;
}
.elastic-ecosystem .partner-logos > a:is(:hover, :focus-visible) {
  transform: translate(-50%, -50%)
    translate(var(--partner-dx, 0px), var(--partner-dy, 0px))
    rotate(var(--partner-r, 0deg));
  box-shadow: 0 14px 34px #244bff12;
}
.elastic-ecosystem .partner-logos > a:nth-child(1) {
  --partner-x: 17%;
  --partner-y: 28%;
}
.elastic-ecosystem .partner-logos > a:nth-child(2) {
  --partner-x: 50%;
  --partner-y: 28%;
}
.elastic-ecosystem .partner-logos > a:nth-child(3) {
  --partner-x: 83%;
  --partner-y: 28%;
}
.elastic-ecosystem .partner-logos > a:nth-child(4) {
  --partner-x: 17%;
  --partner-y: 74%;
}
.elastic-ecosystem .partner-logos > a:nth-child(5) {
  --partner-x: 50%;
  --partner-y: 74%;
}
.elastic-ecosystem .partner-logos > a:nth-child(6) {
  --partner-x: 83%;
  --partner-y: 74%;
}
.immersive-home .elastic-ecosystem .partner-logos img {
  width: 148px;
  height: 58px;
  max-width: 100%;
  object-fit: contain;
  background: #fff;
  mix-blend-mode: normal !important;
  filter: none !important;
  opacity: 1 !important;
}
.ecosystem-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  font-size: 12px;
  line-height: 1.7;
  padding: 20px 0 0;
  border-top: 1px solid #e6e8ef;
}
.ecosystem-caption p {
  color: #737681;
}
.immersive-home .kinetic-contact {
  position: relative;
  margin: 0 20px;
  border-radius: 0 0 26px 26px;
  padding: 75px calc(var(--gutter) - 20px) 45px;
  min-height: 760px;
  height: 95svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.kinetic-contact > :not(canvas) {
  position: relative;
  z-index: 1;
}
.immersive-home .kinetic-contact > a {
  font-size: clamp(65px, 10vw, 170px);
  line-height: 1.08;
  letter-spacing: -0.07em;
  padding: 35px 0;
}
.contact-kinetic-text {
  display: block;
  transform: translate3d(var(--contact-x, 0px), var(--contact-y, 0px), 0)
    rotate(var(--contact-r, 0deg));
}
.kinetic-contact .next-arrow {
  display: grid;
  place-items: center;
  width: 18vw;
  height: 18vw;
  min-width: 115px;
  min-height: 115px;
  font-size: 1.3em;
  border-radius: 50%;
  border: 1px solid #ffffff50;
  transform: translate(var(--arrow-x, 0px), var(--arrow-y, 0px))
    rotate(var(--arrow-r, 0deg));
}
.kinetic-contact > a:hover .next-arrow {
  transform: translate(var(--arrow-x, 0px), var(--arrow-y, 0px))
    rotate(calc(var(--arrow-r, 0deg) + 45deg));
}
.immersive-home .kinetic-contact > div {
  padding: 20px 0 0;
  border-top: 1px solid #ffffff30;
}
.immersive-home .site-footer {
  padding-top: 0;
}
.immersive-home :is(.work-aperture, .ecosystem-field):focus-visible {
  outline: 3px solid #8098ff;
  outline-offset: 6px;
}
.motion-paused .work-sheet {
  transform: none !important;
}
@media (max-height: 760px) and (min-width: 801px) {
  .work-sheet {
    min-height: 550px;
    padding: 22px 30px 0;
  }
  .work-sheet-copy h3 {
    font-size: 4.1vw;
  }
  .work-sheet-copy > p {
    margin-top: 18px;
  }
  .work-sheet-copy > a {
    margin-top: 20px;
  }
  .work-word {
    font-size: 8vw;
  }
}
@media (max-width: 800px) {
  .immersive-home .signal-chapter {
    padding-top: 60px;
    padding-bottom: 50px;
  }
  .work-sequence {
    padding: 0 10px;
  }
  .work-sequence-heading {
    display: block;
    padding: 50px 12px;
  }
  .work-sequence-heading h2 {
    font-size: 15vw;
    margin: 25px 0;
  }
  .work-sequence-heading > p:last-child {
    font-size: 12px;
    max-width: 260px;
  }
  .work-sheet {
    top: 86px;
    height: auto;
    min-height: 690px;
    padding: 23px 22px 0;
    border-radius: 20px;
    margin-bottom: 25px;
  }
  .work-sheet-top {
    font-size: 7px;
    gap: 10px;
  }
  .work-sheet-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .work-sheet-copy {
    padding: 35px 0 18px;
  }
  .work-sheet-copy h3 {
    font-size: 11vw;
    line-height: 1.13;
  }
  .work-sheet-copy > p {
    font-size: 12px;
    line-height: 1.7;
    margin-top: 18px;
    max-width: 350px;
  }
  .work-sheet-copy > a {
    margin-top: 15px;
    padding: 8px 0;
    font-size: 11px;
    width: 100%;
  }
  .work-aperture {
    --lens-size: 148px;
    margin: 10px 0 28px;
  }
  .work-sheet-bottom {
    padding-top: 14px;
  }
  .work-word {
    font-size: 10vw;
  }
  .work-sheet-bottom > span:last-child {
    font-size: 6px;
    padding-bottom: 10px;
  }
  .all-work-link {
    padding: 25px 12px 65px;
    font-size: 23px;
  }
  .immersive-home .elastic-ecosystem {
    margin: 0 10px;
    padding: 45px 20px 28px;
  }
  .elastic-ecosystem h2 {
    font-size: 32px;
  }
  .ecosystem-field {
    height: 290px;
    margin: 0 -9px;
  }
  .elastic-ecosystem .partner-logos > a {
    width: 104px;
    height: 66px;
    padding: 10px 6px;
  }
  .immersive-home .elastic-ecosystem .partner-logos img {
    width: 95px;
    height: 42px;
  }
  .elastic-ecosystem .partner-logos > a:nth-child(1) {
    --partner-x: 17%;
    --partner-y: 28%;
  }
  .elastic-ecosystem .partner-logos > a:nth-child(2) {
    --partner-x: 50%;
    --partner-y: 28%;
  }
  .elastic-ecosystem .partner-logos > a:nth-child(3) {
    --partner-x: 83%;
    --partner-y: 28%;
  }
  .elastic-ecosystem .partner-logos > a:nth-child(4) {
    --partner-x: 17%;
    --partner-y: 74%;
  }
  .elastic-ecosystem .partner-logos > a:nth-child(5) {
    --partner-x: 50%;
    --partner-y: 74%;
  }
  .elastic-ecosystem .partner-logos > a:nth-child(6) {
    --partner-x: 83%;
    --partner-y: 74%;
  }
  .ecosystem-caption {
    align-items: start;
    font-size: 10px;
    gap: 15px;
  }
  .ecosystem-caption a {
    white-space: nowrap;
  }
  .immersive-home .kinetic-contact {
    height: 80svh;
    min-height: 550px;
    margin: 0 10px;
    padding: 45px 22px 30px;
  }
  .kinetic-contact > p {
    font-size: 12px;
    margin-bottom: 15px;
  }
  .immersive-home .kinetic-contact > a {
    font-size: 14vw;
    gap: 4px;
  }
  .kinetic-contact .next-arrow {
    min-width: 65px;
    min-height: 65px;
    width: 65px;
    height: 65px;
    font-size: 1em;
  }
  .immersive-home .kinetic-contact > div {
    font-size: 7px;
    gap: 15px;
  }
}
@media (max-width: 380px) {
  .work-sheet {
    padding-left: 18px;
    padding-right: 18px;
  }
  .elastic-ecosystem h2 {
    font-size: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .work-sheet {
    position: relative;
    top: auto;
  }
  .architecture-plane {
    transform: none;
  }
}
/* The blue material passes behind copy without reducing its legibility. */
/* Square source files contain white margins: preserve their original crop. */
.immersive-home
  .elastic-ecosystem
  .partner-logos
  img:is([src$="ailiyun.png"], [src$="chinaunicom.png"]) {
  width: 148px;
  height: auto;
  max-height: none;
  max-width: none;
  flex-shrink: 0;
}
.immersive-home .elastic-ecosystem .partner-logos img[src$="chinatfifcom.png"] {
  width: 128px;
  height: 96px;
  max-height: none;
  max-width: none;
  flex-shrink: 0;
}
@media (max-width: 800px) {
  .immersive-home
    .elastic-ecosystem
    .partner-logos
    img:is([src$="ailiyun.png"], [src$="chinaunicom.png"]) {
    width: 95px;
  }
  .immersive-home
    .elastic-ecosystem
    .partner-logos
    img[src$="chinatfifcom.png"] {
    width: 89px;
    height: 67px;
  }
}
@media (max-width: 800px) {
  .kinetic-contact .next-arrow {
    font-size: 52px;
  }
}
.immersive-home .signal-node p {
  opacity: 0.85;
  transform: none;
}
.immersive-home .signal-node-arrow {
  opacity: 0.8;
}
.immersive-home .signal-node {
  color: #d0d6e5;
}
.immersive-home .signal-node[data-active],
.immersive-home .signal-node:hover {
  transform: translateY(-6px);
}
.ecosystem-field {
  cursor: grab;
  touch-action: pan-y;
}
.ecosystem-field[data-dragging] {
  cursor: grabbing;
}
.elastic-ecosystem .partner-logos a {
  cursor: pointer;
}
.work-sheet:has(:focus-visible) {
  z-index: 2;
}
@media (max-width: 800px) and (max-height: 780px) {
  .work-sheet {
    position: relative;
    top: auto;
  }
}
@media (max-width: 800px) {
  .work-word {
    font-size: 8.5vw;
  }
}
.immersive-home .signal-heading h2 {
  font-size: clamp(32px, 3.8vw, 60px);
}
.signal-current {
  position: absolute;
  top: 34px;
  left: 4%;
  display: flex;
  align-items: baseline;
  gap: 24px;
  color: #f1f2f7;
  pointer-events: none;
}
.signal-current-code {
  font-size: clamp(50px, 5.8vw, 90px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1;
}
.signal-current-name {
  font-size: 15px;
  color: #9baede;
}
.immersive-home .site-footer {
  padding-top: 65px;
}
.immersive-home .footer-column h3,
.immersive-home .footer-brand p,
.immersive-home .footer-bottom {
  color: #646976;
}
@media (max-width: 800px) {
  .signal-current {
    top: 28px;
    gap: 15px;
  }
  .signal-current-code {
    font-size: 44px;
  }
  .signal-current-name {
    font-size: 11px;
  }
  .immersive-home .signal-heading h2 {
    font-size: 32px;
  }
  .immersive-home .site-footer {
    padding-top: 35px;
  }
}
