﻿.ai-stage-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 0;
  overflow: clip;
}

.ai-stage-section__sticky {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: clip;
  isolation: isolate;
}

.ai-stage-section__backdrop {
  position: absolute;
  inset: 0.625rem 0;
  z-index: 0;
  background-color: var(--color-gradient-beige-start);
  background-image: var(--gradient-beige-radial);
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}

.ai-stage-section__inner {
  position: absolute;
  inset: 0.625rem 0;
  box-sizing: border-box;
  width: 100%;
  min-height: auto;
  overflow: hidden;
  padding: 0 2.5rem;
  z-index: 1;
}

.ai-stage-section__media {
  position: absolute;
  left: 4.5vw;
  top: 20%;
  bottom: auto;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: min(57vw, 60rem);
  min-height: clamp(38rem, 90vh, 70rem);
  z-index: 1;
}

.ai-stage-section__image {
  display: block;
  width: min(100%, 66rem);
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: left bottom;
  filter: drop-shadow(0 1.8rem 2.5rem rgba(47, 39, 30, 0.08));
}

.ai-stage-section__content {
  position: absolute;
  right: clamp(12rem, 16vw, 18rem);
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.85rem;
  transform: translateY(-50%);
  z-index: 2;
}

.ai-stage-section__hand {
  position: absolute;
  right: -8vw;
  top: 50%;
  width: min(52vw, 54rem);
  z-index: 3;
  pointer-events: none;
}

.ai-stage-section__hand-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 1.4rem 2.1rem rgba(47, 39, 30, 0.08));
  transform-origin: 86% 58%;
}

.ai-stage-section__keyboard {
  position: absolute;
  left: 4vw;
  top: 20%;
  transform: translateY(-50%);
  width: min(50vw, 53rem);
  z-index: 1;
  pointer-events: none;
}

.ai-stage-section__keyboard-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 1.4rem 2.1rem rgba(47, 39, 30, 0.08));
  transform: rotate(-65deg);
  transform-origin: 50% 50%;
}

.ai-stage-section__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.18em;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(3.25rem, 8vw, 7.5rem);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: var(--heading-letter-spacing);
  color: var(--color-heading-neon);
  -webkit-text-stroke-width: 0;
  text-stroke-width: 0;
  text-transform: uppercase;
}

.ai-stage-section__heading span {
  display: block;
}

.ai-stage-section__heading-line {
  position: relative;
  width: 100%;
  min-height: 0.84em;
  overflow: hidden;
  white-space: nowrap;
  opacity: 1;
  transform: none;
  clip-path: none;
  animation: none;
}

.ai-stage-section__heading-line-text {
  color: inherit;
  transform: none;
}

.ai-stage-section__body {
  position: absolute;
  left: 0;
  top: 2.5rem;
  max-width: 31rem;
  color: var(--page-fg);
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.15vw, 1.0625rem);
  font-weight: 300;
  line-height: 1.45;
  opacity: 1;
}

.ai-stage-section__body p + p {
  margin-top: 1rem;
}

.ai-stage-section__body strong {
  font-weight: 400;
}


@media (min-width: 1024px) and (max-width: 1439px) {
  .ai-stage-section__media {
    left: -1.5vw;
    top: 17%;
    width: min(55vw, 48rem);
  }

  .ai-stage-section__content {
    right: calc(clamp(7rem, 10vw, 11rem) - 8rem);
    top: calc(42% - 2rem);
  }

  .ai-stage-section__body {
    max-width: 36rem;
    font-size: 0.95rem;
  }

  .ai-stage-section__keyboard {
    left: calc(-12vw + 3rem);
    top: calc(12% + 2rem);
    width: min(55vw, 44rem);
  }
}


@media (min-width: 768px) and (max-width: 1279px) {
  .ai-stage-section {
    min-height: 100vh;
    padding: 0;
  }

  .ai-stage-section__sticky {
    position: relative;
    height: 100vh;
    align-items: flex-start;
  }

  .ai-stage-section__inner {
    position: absolute;
    inset: 0.625rem 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    min-height: auto;
    overflow: hidden;
    padding: 4.5rem 2rem 0;
  }

  .ai-stage-section__content {
    position: relative;
    order: 1;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    align-items: flex-start;
    gap: 0.9rem;
    margin-top: 2.75rem;
  }

  .ai-stage-section__heading {
    font-size: clamp(5rem, 12vw, 7.2rem);
    line-height: 0.88;
    text-align: left;
  }

  .ai-stage-section__media {
    position: relative;
    order: 2;
    left: auto;
    top: auto;
    bottom: auto;
    width: min(114vw, 56rem);
    min-height: auto;
    align-self: center;
    justify-content: center;
    margin-top: auto;
    margin-bottom: -28%;
  }

  .ai-stage-section__image {
    width: 100%;
  }

  .ai-stage-section__hand {
    left: 40%;
    right: auto;
    top: -40%;
    width: min(82vw, 48rem);
  }

  .ai-stage-section__keyboard {
    left: 2%;
    top: 4%;
    transform: none;
    width: min(88vw, 48rem);
  }

  .ai-stage-section__keyboard-image {
    transform: rotate(0deg);
  }

  .ai-stage-section__body {
    left: 0;
    top: calc(100% + 2rem);
    width: 100%;
    max-width: none;
    font-size: 1.125rem;
    transform: none;
    text-align: left;
  }
}

@media (max-width: 767px) {
  .ai-stage-section {
    min-height: 100vh;
    padding: 0;
  }

  .ai-stage-section__sticky {
    position: relative;
    height: 100vh;
    align-items: flex-start;
  }

  .ai-stage-section__inner {
    position: absolute;
    inset: 0.625rem 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: auto;
    overflow: hidden;
    padding: 5.5rem 1rem 0;
  }

  .ai-stage-section__content {
    position: relative;
    order: 1;
    right: auto;
    top: auto;
    width: 100%;
    gap: 0.85rem;
    align-items: flex-start;
    transform: none;
    margin-top: 2.75rem;
  }

  .ai-stage-section__media {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    order: 2;
    width: min(118vw, 39rem);
    min-height: auto;
    align-self: center;
    justify-content: center;
    margin-top: auto;
    margin-bottom: -28%;
  }

  .ai-stage-section__image {
    width: 100%;
  }

  .ai-stage-section__hand {
    display: block;
    left: calc(20% + 2rem);
    right: auto;
    top: calc(-40% + 3rem);
    width: min(104vw, 38rem);
  }

  .ai-stage-section__keyboard {
    display: none;
    left: -4%;
    top: 6%;
    transform: none;
    width: min(96vw, 36rem);
  }

  .ai-stage-section__keyboard-image {
    transform: rotate(0deg);
  }

  .ai-stage-section__heading {
    font-size: clamp(2.82rem, 12.6vw, 4.68rem);
    line-height: 0.88;
    text-align: left;
    -webkit-text-stroke-width: 0;
    text-stroke-width: 0;
  }

  .ai-stage-section__body {
    left: 0;
    top: calc(100% + 2rem);
    width: 100%;
    max-width: none;
    transform: none;
    text-align: left;
  }
}





