body.hadas-project-page {
  background: #fff;
}

body.hadas-project-page .hadas-project {
  --hadas-reference-width: min(1609px, 84vw);
  width: 100%;
  padding: clamp(6.1rem, 7.35vw, 8.82rem) 0 clamp(1.5rem, 2.1vw, 2.5rem);
  overflow: clip;
  background: #fff;
}

body.hadas-project-page .hadas-project,
body.hadas-project-page .hadas-project *,
body.hadas-project-page .hadas-project *::before,
body.hadas-project-page .hadas-project *::after {
  box-sizing: border-box;
}

.hadas-project__sr-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.hadas-project figure {
  margin: 0;
}

.hadas-project img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.hadas-project__wide,
.hadas-project__hero,
.hadas-project__closing {
  width: var(--hadas-reference-width);
  max-width: 100%;
  margin-inline: auto;
}

.hadas-project .hadas-project__hero {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.hadas-project__hero {
  position: relative;
  z-index: 1;
}

.hadas-project__insight {
  position: relative;
  z-index: 2;
  margin-top: clamp(1.5rem, 2.4vw, 2.875rem);
}

.hadas-project__insight-art {
  width: 100%;
}

.hadas-project__insight-copy {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: clamp(2.5rem, 4vw, 4rem);
  width: min(47%, 42rem);
  font-family: "FigtreeHeroLocal", "Figtree", sans-serif;
  transform: translateY(-50%);
}

.hadas-project__insight-copy h2 {
  max-width: 100%;
  margin: 0 0 clamp(0.8rem, 1.25vw, 1.25rem);
  color: #050505;
  font-size: clamp(1.8rem, 2.35vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.hadas-project__insight-copy p {
  max-width: 42rem;
  margin: 0;
  color: #181818;
  font-size: clamp(1rem, 1.18vw, 1.3rem);
  font-weight: 400;
  line-height: 1.4;
}

.hadas-project__insight-copy strong {
  color: inherit;
  font-weight: 700;
}

.hadas-project__sequence {
  margin-top: clamp(1rem, 1.77vw, 2.125rem);
}

.hadas-project__applications {
  position: relative;
  z-index: 8;
  width: 100%;
}

.hadas-project__profiles {
  width: 100%;
}

.hadas-project__profile {
  position: relative;
  width: 100%;
  margin: 0;
}

.hadas-project__profile figure {
  margin-inline: auto;
}

.hadas-project__profile--lumia {
  z-index: 4;
  margin-top: 0;
}

.hadas-project__profile--lumia figure {
  width: 97.33%;
}

.hadas-project__profile--brillia {
  z-index: 5;
  margin-top: clamp(1.5rem, 2.1vw, 2.5rem);
}

.hadas-project__profile--brillia figure {
  width: 99.88%;
}

.hadas-project__profile--serenya {
  z-index: 6;
  margin-top: clamp(1.5rem, 2.1vw, 2.5rem);
}

.hadas-project__profile--serenya figure {
  width: 99.25%;
}

.hadas-project__closing {
  position: relative;
  z-index: 7;
  display: grid;
  grid-template-columns: minmax(0, 38%) minmax(0, 59%);
  align-items: center;
  gap: 3%;
  margin-top: clamp(2.75rem, 4vw, 5rem);
}

.hadas-project__brand-lockup {
  width: 100%;
  margin: 0;
}

.hadas-project__closing-cta {
  position: relative;
  width: 100%;
  aspect-ratio: 950 / 420;
  margin: 0;
  overflow: hidden;
}

.hadas-project .hadas-project__closing-cta img {
  width: 168.421%;
  height: auto;
  max-width: none;
  transform: translateX(-40.625%);
}

.hadas-project-page .project-more[hidden] {
  display: none !important;
}

@media (max-width: 760px) {
  body.hadas-project-page .hadas-project {
    --hadas-reference-width: calc(100% - 1rem);
    padding-top: 6.25rem;
    padding-bottom: 1.5rem;
  }

  .hadas-project__insight {
    min-height: 18.5rem;
    margin-top: 1rem;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 1.5rem;
    background:
      linear-gradient(#fff, #fff) padding-box,
      linear-gradient(90deg, #f7444e 0%, #79dd91 52%, #05a5df 100%) border-box;
  }

  .hadas-project__insight-art {
    position: absolute;
    inset: 0;
    height: 100%;
  }

  .hadas-project__insight-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 58%, rgba(255, 255, 255, 0.18) 100%);
  }

  .hadas-project__insight-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .hadas-project__insight-copy {
    top: 50%;
    left: 1.25rem;
    width: calc(100% - 2.5rem);
  }

  .hadas-project__insight-copy h2 {
    max-width: 19ch;
    margin-bottom: 0.9rem;
    font-size: clamp(1.35rem, 6.2vw, 1.85rem);
  }

  .hadas-project__insight-copy p {
    max-width: 34rem;
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .hadas-project__sequence {
    margin-top: 0.55rem;
  }

  .hadas-project__profile--lumia {
    margin-top: 0;
  }

  .hadas-project__profile--brillia,
  .hadas-project__profile--serenya {
    margin-top: 1rem;
  }

  .hadas-project__closing {
    gap: 3%;
    margin-top: 1.75rem;
  }
}

@media (max-width: 420px) {
  body.hadas-project-page .hadas-project {
    --hadas-reference-width: calc(100% - 0.75rem);
  }
}

@media (max-width: 640px) {
  .hadas-project__closing {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    width: min(calc(100% - 0.25rem), var(--hadas-reference-width));
    max-width: 100%;
    margin-top: 2.5rem;
    overflow: hidden;
  }

  .hadas-project__brand-lockup {
    width: min(78%, 20rem);
    max-width: 100%;
    margin-inline: auto;
  }

  .hadas-project__closing-cta {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}
