/*--  ----------- --------- - ----------- ----------- --->
<---  -----------       CDL - Section     ----------- --->
<---  ----------- --------- - ----------- ----------- --*/

.ui-cdl {
  padding-block: 4rem 2rem;
  overflow: hidden;
}

.ui-cdl-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.ui-cdl-header {
  padding-bottom: 2rem;
  border-bottom: 1px solid hsl(0 0% 100% / 0.07);
}

.ui-cdl-body {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.ui-cdl-intro-text {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--white-color);
  max-width: 68ch;
  white-space: normal;
  margin: 0 0 1rem 0;
}

/* 1024px */
@media screen and (min-width: 64rem) {
  .ui-cdl {
    padding-block: 5rem 2rem;
  }

  .ui-cdl-container {
    gap: 3.5rem;
  }

  .ui-cdl-body {
    gap: 4rem;
  }
}
/*--  ----------- --------- - ----------- ----------- --->
<---  -----------   Profile  - Section    ----------- --->
<---  ----------- --------- - ----------- ----------- --*/

.ui-profile {
  padding-block: 5rem 6rem;
  overflow: hidden;
  background: var(--background-color-gradient);
}

.ui-profile-container {
  display: grid;
  gap: 4rem;
  align-items: center;
}

.ui-profile-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2.5rem;
  border-radius: 1rem;
  border: 1px solid hsl(0 0% 100% / 0.06);
  background: linear-gradient(
    135deg,
    hsla(0, 0%, 100%, 0.04) 0%,
    hsla(0, 0%, 100%, 0.02) 100%
  );
}

.ui-profile-content .ui-text {
  color: var(--white-color-dark);
  max-width: 52ch;
  margin: 0;
}

.ui-profile-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand-color);
  opacity: 0.85;
  transition: opacity 200ms ease;
  white-space: nowrap;
}

.ui-profile-linkedin svg {
  fill: currentColor;
  flex-shrink: 0;
}

.ui-profile-linkedin:hover {
  opacity: 1;
}

.ui-profile-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 28rem;
  margin-inline: auto;
  aspect-ratio: 1;
}

.ui-profile-blob {
  position: absolute;
  width: 65%;
  height: 65%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    hsl(49 99% 54% / 0.2) 0%,
    transparent 70%
  );
  filter: blur(2.5rem);
  z-index: 0;
  pointer-events: none;
}

.ui-profile-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ui-profile-ring-outer {
  transform: rotate(-12deg);
}

.ui-profile-img-wrap {
  position: relative;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  z-index: 2;
}

.ui-profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  display: block;
}

.ui-profile-card {
  position: absolute;
  bottom: 6%;
  left: -2%;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.65rem 1rem;
  border-radius: 0.6rem;
  border: 1px solid hsl(0 0% 100% / 0.1);
  background: hsl(240 10% 6% / 0.85);
  backdrop-filter: blur(12px);
  z-index: 3;
  min-width: 9rem;
}

.ui-profile-card-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white-color);
  line-height: 1.2;
}

.ui-profile-card-role {
  font-size: 0.72rem;
  color: var(--white-color-dark);
  opacity: 0.7;
}

.ui-profile-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.ui-profile-deco-a {
  width: 3.5rem;
  height: 3.5rem;
  bottom: 18%;
  right: 2%;
  background: hsl(49 99% 54% / 0.12);
  border: 1px solid hsl(49 99% 54% / 0.35);
}

.ui-profile-deco-b {
  width: 1.5rem;
  height: 1.5rem;
  top: 18%;
  right: 14%;
  background: hsl(49 99% 54% / 0.2);
  border: 1px solid hsl(49 99% 54% / 0.5);
}

.ui-profile-accent {
  position: absolute;
  top: 4%;
  right: 0%;
  width: 3rem;
  height: 3rem;
  z-index: 1;
  opacity: 0.85;
}

.ui-profile-accent svg {
  width: 100%;
  height: 100%;
}

/* 860px */
@media screen and (min-width: 53.75rem) {
  .ui-profile-container {
    grid-template-columns: 1fr minmax(0, 26rem);
    gap: 3rem;
  }

  .ui-profile-visual {
    margin-inline: 0;
    max-width: 100%;
  }
}

/* 1024px */
@media screen and (min-width: 64rem) {
  .ui-profile {
    padding-block: 6rem 7rem;
  }

  .ui-profile-container {
    grid-template-columns: 1fr minmax(0, 28rem);
    gap: 5rem;
  }
}
