.uf-home-hero {
  background: linear-gradient(125deg, #fbfafc 36%, #f0eaf7);
  border-bottom: 1px solid #eae5ef;
  color: #211d29;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(64px, 7.3vw, 110px);
}

.uf-home-hero #hero-title {
  margin: 0;
  font-size: clamp(42px, 5.2vw, 79px);
  font-weight: 630;
  line-height: .99;
  letter-spacing: -.075em;
}

.uf-home-hero #hero-title span {
  display: block;
  color: #7250a1;
}

.home-hero-lead {
  max-width: 39ch;
  margin: 24px 0 0;
  color: #514b59;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.65;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 23px;
  margin-top: 25px;
}

.uf-home-hero .home-hero-actions .uf-button {
  font-size: 14px;
  min-height: 50px;
  padding-inline: 20px;
}

.home-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: #422e59;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.home-hero-link:hover {
  color: #693f9c;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 27px;
  padding-top: 16px;
  border-top: 1px solid #ded6e7;
}

.home-hero-proof-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #28222f;
  line-height: 1.3;
  text-decoration: none;
}

.home-hero-proof-link > img {
  flex-shrink: 0;
}

.home-hero-proof-link strong,
.home-hero-proof-link small {
  display: block;
}

.home-hero-proof-link strong {
  font-size: 13px;
  font-weight: 650;
}

.home-hero-proof-link small {
  margin-top: 3px;
  font-size: 11px;
  color: #56505e;
}

.home-hero-proof-link:hover strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-hero-stars {
  margin-left: 3px;
  color: #986510;
  white-space: nowrap;
  letter-spacing: .07em;
}

.home-hero-award img {
  padding: 3px;
}

.home-hero-projects {
  --panel-padding: clamp(16px, 2.1vw, 30px);
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: var(--panel-padding) var(--panel-padding) 0;
  border: 1px solid #482f60;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(145deg, #372745, #261b35 74%);
  box-shadow: 0 18px 40px -22px #38214973;
}

.home-hero-projects::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse at 80% 8%, #8b61b582, transparent 63%),
    repeating-radial-gradient(ellipse at 103% -6%, transparent 0 41px, #e5d7fa24 42px 43px, transparent 44px 68px);
  content: "";
  pointer-events: none;
}

.home-hero-projects #hero-projects-title {
  margin: 0 0 19px;
  padding-right: 83px;
  color: #f1e8fc;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-hero-projects-list {
  touch-action: pan-y;
}

.home-hero-project {
  display: block;
  color: inherit;
  text-decoration: none;
}

.home-hero-project[hidden],
.home-hero-project-controls[hidden] {
  display: none;
}

.home-hero-project-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid #fff5;
  border-radius: 10px;
  background: #201729;
  box-shadow: 0 9px 25px #130c1b64;
}

.home-hero-project-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero-project-arrow {
  position: absolute;
  top: calc(var(--panel-padding) - 7px);
  right: var(--panel-padding);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #fff4;
  border-radius: 50%;
  color: #fff;
  background: #28193669;
}

.home-hero-project:hover .home-hero-project-arrow {
  background: #fff;
  color: #422b59;
}

.home-hero-project-caption {
  display: grid;
  align-content: center;
  gap: 4px;
  min-height: 88px;
  padding-block: 15px;
}

.home-hero-projects[data-enhanced] .home-hero-project-caption {
  padding-inline-end: 106px;
}

.home-hero-project-caption strong {
  font-size: clamp(15px, 1.5vw, 21px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.home-hero-project-caption span {
  color: #d9cde4;
  font-size: 12px;
  line-height: 1.2;
}

.home-hero-project-controls {
  position: absolute;
  right: var(--panel-padding);
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.home-hero-project-count {
  position: absolute;
  top: var(--panel-padding);
  right: calc(var(--panel-padding) + 43px);
  color: #e2d7ed;
  font-size: 12px;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.home-hero-project-controls button {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid #fff4;
  border-radius: 50%;
  color: #fff;
  background: #ffffff0d;
  cursor: pointer;
}

.home-hero-project-controls button:hover {
  border-color: #fff9;
  background: #ffffff20;
}

.uf-home-hero :is(a, button):focus-visible {
  outline: 2px solid #8757bb;
  outline-offset: 3px;
}

.home-hero-projects :is(a, button):focus-visible {
  outline-color: #e7d8fb;
}

.home-hero-project-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 54px;
  }

  .uf-home-hero #hero-title {
    font-size: clamp(41px, 9vw, 68px);
  }

  .home-hero-projects {
    width: 100%;
    max-width: 680px;
  }
}

@media (max-width: 580px) {
  .home-hero-grid {
    gap: 25px;
    padding-block: 39px 32px;
  }

  .uf-home-hero #hero-title {
    font-size: clamp(41px, 11.8vw, 59px);
  }

  .home-hero-lead {
    margin-top: 17px;
  }

  .home-hero-actions {
    gap: 4px 14px;
    margin-top: 18px;
  }

  .uf-home-hero .home-hero-actions .uf-button {
    min-height: 44px;
    padding-inline: 14px;
    font-size: 13px;
  }

  .home-hero-link {
    font-size: 13px;
  }

  .home-hero-link svg,
  .home-hero-actions .uf-button svg {
    width: 15px;
  }

  .home-hero-proof {
    column-gap: 16px;
    margin-top: 18px;
    padding-top: 10px;
  }

  .home-hero-projects {
    border-radius: 16px;
  }

  .home-hero-projects #hero-projects-title {
    margin-bottom: 15px;
  }

  .home-hero-project-caption {
    min-height: 76px;
  }

  .home-hero-project-controls {
    bottom: 16px;
  }
}
