/* ==========================================================================
   Home Hero
   ========================================================================== */

.home-hero {
  position: relative;
  width: 100%;
  background-color: var(--color-white);
}

.home-status-note {
  opacity: 0;
}

@media (min-width: 1024px) {
  .home-hero__details {
    width: 50%;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    bottom: var(--unit-24);
    z-index: 999;
  }



  .home-hero__grid {
    position: absolute;
    inset: 0;
    display: flex;
    z-index: 2;
  }

  .home-hero__col {
    background: transparent;
    position: relative;
  }

  .home-hero__col--left,
  .home-hero__col--right {
    flex: 0 0 20%;
    position: relative;
    z-index: 3;
  }

  .home-hero__col--left::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 100%;
    background: linear-gradient(to right, transparent, var(--color-white));
    pointer-events: none;
    opacity: var(--shadow-opacity, 0);
  }

  .home-hero__col--right::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 100%;
    background: linear-gradient(to left, transparent, var(--color-white));
    pointer-events: none;
    opacity: var(--shadow-opacity, 0);
  }

  .home-hero__col--center {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--unit-32);
  }

  .home-hero__col--center::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--color-white);
    opacity: var(--center-opacity, 0);
    z-index: 0;
    pointer-events: none;
  }

  .home-hero__col--center::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    border-left: 1px solid rgba(233, 235, 238, var(--border-opacity, 0));
    border-right: 1px solid rgba(233, 235, 238, var(--border-opacity, 0));
  }

  .home-hero__col--center>* {
    position: relative;
    z-index: 1;
  }

  .home-hero__marquee {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    z-index: 1;
    pointer-events: none;
  }

  .home-hero__marquee-track {
    display: flex;
    flex-direction: row;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
    gap: var(--unit-48);
  }

  .home-hero__marquee-item {
    font-size: clamp(2.5rem, 5.5vw, 7rem);
    color: var(--color-gray-900);
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: -4px;
    font-family: var(--f);
    font-weight: 500;
  }
}

/* --------------------------------------------------------------------------
   Content (intro, photo, sticky note)
   -------------------------------------------------------------------------- */

.home-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--unit-24);
  position: relative;
  z-index: 1;
}

.home-hero__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--unit-8);
  text-align: center;
  opacity: 0;
}

.home-hero__title {
  font-size: var(--unit-28);
  opacity: 1;
  line-height: 1;
  color: var(--color-gray-700);
}

.home-hero__title span {
  color: var(--color-gray-900);
}

.home-hero__photo-wrapper {
  width: 100%;
  max-width: clamp(14rem, 18vw, 26rem);
  max-height: 50vh;
  position: relative;
  will-change: transform;
  flex-shrink: 0;
  border-radius: var(--border-radius-12);
  opacity: 0;
}

.home-hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--border-radius-12);
}

.sticky-note--hero {
  opacity: 0;
  position: absolute;
  bottom: 15%;
  right: -45%;
}

.cta__home {
  opacity: 0;
}

/* --------------------------------------------------------------------------
   Overlay
   -------------------------------------------------------------------------- */

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background-color: var(--color-white);
  opacity: 0;
  z-index: 10;
  pointer-events: none;
}

/* ==========================================================================
   Responsive (mobile / < 1024px)
   ========================================================================== */

@media (max-width: 63.9375rem) {

  /* layout */
  .home-hero {
    height: unset;
    min-height: unset;
  }

  .home-hero__details {
    margin-top: 3rem;
  }

  .home-hero__grid {
    flex-direction: column;
  }

  .home-hero__col {
    width: 100%;
  }

  /* center column */
  .home-hero__col--center {
    padding: 0;
    border: none;
    justify-content: unset;
  }

  .home-hero__col--center::before {
    display: none;
  }

  .home-hero__col--center::after,
  .home-hero__col--left::after,
  .home-hero__col--right::before,
  .home-hero__marquee,
  .home-hero__marquee-track,
  .home-hero__col--right,
  .home-hero__col--left,
  .home-hero__marquee-item {
    display: none;
  }

  /* content */
  .home-hero__content {
    gap: var(--unit-40);
    padding: 0 var(--unit-16);
  }

  .home-hero__photo-wrapper {
    aspect-ratio: 1/1.3;
    max-width: 90%;
    max-height: unset;
  }

  .sticky-note--hero {
    position: relative;
    bottom: unset;
    right: 0;
    width: 70%;
    align-self: flex-end;
    margin-top: -15rem;
  }

  .card-note__list li {
    font-size: var(--unit-20);
  }
}