@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/raleway/raleway-normal.woff2") format("woff2");
}

#sd-particles {
  position: relative;
  overflow: hidden;
  background: var(--site-surface-muted);
  text-align: center;
}

#sd-particles #sd-particles-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero {
  position: relative;
  box-sizing: border-box;
  min-height: 560px;
  display: grid;
  place-items: center;
  padding: 118px 24px 72px;
  overflow: hidden;
  text-align: center;
}

.home-hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
}

.homepage_heading {
  margin: 0;
  color: var(--site-heading);
  font-family: Raleway, sans-serif;
  font-size: 55px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.42;
  text-align: center;
}

.homepage_subheading {
  margin: 0;
  color: var(--site-text);
  font-family: Raleway, sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.7;
  text-align: center;
}

.home-hero__actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.home-intro-section {
  width: min(100% - 48px, 980px);
  margin: 0 auto;
  padding: 92px 0 56px;
  text-align: center;
}

.home-intro-section h2 {
  margin: 0 0 28px;
}

.home-intro-section a {
  color: var(--site-accent);
}

.home-intro-section p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--site-text);
  font-size: 18px;
  line-height: 1.8;
}

.team-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  width: min(100% - 64px, 1210px);
  margin: 0 auto;
  padding: 20px 0 72px;
}

.team-card {
  position: relative;
  --team-photo-size: min(100%, 252px);
  --team-accent: #a12064;
  min-width: 0;
  text-align: center;
}

.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: var(--team-photo-size);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--team-accent);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) scale(0.35);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.team-card:hover::before,
.team-card:focus-within::before {
  opacity: 0.88;
  transform: translateX(-50%) scale(1);
}

.team-card::after {
  content: "";
  position: absolute;
  top: 4px;
  right: calc((100% - var(--team-photo-size)) / 2 + 4px);
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--team-accent);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.team-card:hover::after,
.team-card:focus-within::after {
  opacity: 0;
  transform: scale(0.45);
}

.team-card__icon {
  position: absolute;
  top: 4px;
  right: calc((100% - var(--team-photo-size)) / 2 + 4px);
  z-index: 3;
  display: block;
  width: 46px;
  height: 46px;
  color: #fff;
  font-size: 24px;
  line-height: 46px;
  pointer-events: none;
  text-align: center;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.team-card__icon::before {
  position: relative;
  top: 10px;
}

.team-card:hover .team-card__icon,
.team-card:focus-within .team-card__icon {
  opacity: 0;
  transform: scale(0.45);
}

.team-card img {
  position: relative;
  z-index: 0;
  display: block;
  width: var(--team-photo-size);
  aspect-ratio: 1;
  height: auto;
  margin-bottom: 24px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50%;
  object-fit: cover;
  transition: opacity 0.22s ease;
}

.team-card:hover img,
.team-card:focus-within img {
  opacity: 0.32;
}

.team-card__role {
  position: absolute;
  top: calc(var(--team-photo-size) / 2);
  left: 50%;
  z-index: 2;
  width: calc(var(--team-photo-size) - 48px);
  margin: 0;
  color: transparent;
  font-family: Verdana;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  pointer-events: none;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  transition: color 0.18s ease, opacity 0.18s ease;
}

.team-card:hover .team-card__role,
.team-card:focus-within .team-card__role {
  color: #fff;
}

.team-card h3 {
  margin: 0 0 14px;
}

.team-card p:last-child {
  margin: 0;
  color: var(--site-text);
  font-size: 14px;
  line-height: 1.8;
}

.home-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-pillar {
  display: flex;
  min-height: 264px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 80px;
}

.home-pillar h3 {
  margin: 0 0 22px;
  color: inherit;
}

.home-pillar p {
  margin: 0 0 42px;
  color: inherit;
  font-family: Verdana;
  font-size: 14px;
  line-height: 1.8;
}

.home-pillar a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  overflow: hidden;
  padding: 0 0 0 30px;
  border: 2px solid currentColor;
  color: inherit;
  font-family: Verdana;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-pillar__icon {
  position: relative;
  display: block;
  align-self: stretch;
  width: 58px;
  margin-left: 30px;
  border-left: 2px solid currentColor;
}

.home-pillar__icon .sli {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 28px;
  line-height: 1;
  transform: translate(-50%, -50%);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.home-pillar__icon .sli-arrow-right-circle {
  opacity: 0;
  transform: translate(35%, -50%);
}

.home-pillar a:hover .home-pillar__icon .sli:not(.sli-arrow-right-circle),
.home-pillar a:focus-visible .home-pillar__icon .sli:not(.sli-arrow-right-circle) {
  opacity: 0;
  transform: translate(-135%, -50%);
}

.home-pillar a:hover .home-pillar__icon .sli-arrow-right-circle,
.home-pillar a:focus-visible .home-pillar__icon .sli-arrow-right-circle {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.home-pillar--accent {
  background: var(--site-accent-strong);
  color: #fff;
}

.home-pillar--light {
  background: var(--site-surface-soft);
  color: var(--site-text);
}

.home-pillar--light h3,
.home-pillar--light a {
  color: var(--site-heading);
}

.home-pillar--dark {
  background: var(--site-dark-bg);
  color: #fff;
}

.home-clients-section {
  padding-top: 82px;
}

.home-clients-content {
  max-width: 820px;
  margin: 0 auto 42px;
  padding: 0 24px;
  text-align: center;
}

.home-clients-content h2 {
  margin: 0 0 16px;
}

.home-clients-content span {
  color: var(--site-accent);
}

.home-clients-content p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}

@media (max-width: 1284px) {
  .homepage_heading,
  .homepage_subheading {
    padding: 0 10px;
  }
}

@media (max-width: 1024px) {
  .team-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-pillars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .home-hero {
    min-height: auto;
    place-items: start center;
    padding: 124px 24px 60px;
  }

  .homepage_heading {
    font-size: 39px;
  }

  .homepage_subheading {
    font-size: 18px;
    line-height: 1.55;
  }
}

@media (max-width: 720px) {
  .team-section {
    grid-template-columns: 1fr;
    width: calc(100% - 48px);
  }

  .home-pillar {
    min-height: auto;
    padding: 48px 32px;
  }

}

@media (max-width: 480px) {
  .home-hero {
    padding: 116px 20px 52px;
  }

  .homepage_heading {
    font-size: 28px;
  }

  .homepage_subheading {
    font-size: 17px;
  }

  .home-hero__actions {
    margin-top: 24px;
  }
}
