.nurjan-site-logo {
  display: block;
  font-family: "Haffer", sans-serif;
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
}

.nurjan-primary-nav-button[aria-current="page"] {
  background-color: #10041f;
  color: #fff;
}

.nurjan-home-logo-bar {
  width: 100%;
  margin-top: clamp(4rem, 9vw, 10rem);
  padding-block: clamp(1.3rem, 2.5vw, 2.1rem);
  padding-inline: clamp(0.5rem, 2vw, 2rem);
  border-block: 1px solid rgb(16 4 31 / 12%);
}

.nurjan-client-logo-set {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 3rem);
}

.nurjan-client-logo-item {
  display: flex;
  width: 100%;
  min-width: 0;
  height: clamp(2.5rem, 3.2vw, 3rem);
  align-items: center;
  justify-content: center;
}

.nurjan-client-logo-link {
  color: inherit;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.nurjan-client-logo-link:focus-visible {
  border-radius: 0.25rem;
  outline: 2px solid #10041f;
  outline-offset: 0.4rem;
}

@media (hover: hover) {
  .nurjan-client-logo-link:hover {
    opacity: 0.68;
  }
}

.nurjan-client-logo-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1) contrast(0) brightness(0.72);
}

.nurjan-client-logo-text {
  color: #77727c;
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
  text-align: center;
  white-space: nowrap;
}

.nurjan-client-logo-item:has(.nurjan-client-logo-name) {
  flex-direction: column;
  gap: 0.3rem;
}

.nurjan-client-logo-item:has(.nurjan-client-logo-name) .nurjan-client-logo-image {
  width: clamp(1.65rem, 2.2vw, 2rem);
  height: clamp(1.65rem, 2.2vw, 2rem);
  max-width: none;
  max-height: none;
}

.nurjan-client-logo-name {
  color: #77727c;
  font-size: clamp(0.56rem, 0.68vw, 0.68rem);
  font-weight: 500;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 1023px) {
  .nurjan-client-logo-set {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: clamp(1.5rem, 4vw, 2.5rem);
  }
}

@media (max-width: 766px) {
  .nurjan-client-logo-set {
    --nurjan-mobile-client-logo-height: 0.85rem;
  }

  .nurjan-client-logo-text {
    font-size: var(--nurjan-mobile-client-logo-height);
  }

  .nurjan-client-logo-image--mobile-featured {
    width: auto;
    height: calc(var(--nurjan-mobile-client-logo-height) * 1.2);
    max-width: 100%;
    max-height: none;
  }

  .nurjan-client-logo-item:has(.nurjan-client-logo-name)
    .nurjan-client-logo-image {
    width: 1.4rem;
    height: 1.4rem;
  }

  .nurjan-client-logo-name {
    font-size: 0.5rem;
  }
}

@media (max-width: 479px) {
  .nurjan-client-logo-set {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.nurjan-services-mosaic {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  overflow: hidden;
}

.nurjan-services-mosaic-cell,
.nurjan-services-mosaic-image {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}

.nurjan-services-mosaic-image {
  object-fit: cover;
}

.nurjan-services-mosaic-yellow {
  background: #e8fd64;
}

.nurjan-services-mosaic-wide {
  grid-column: span 2;
}

.nurjan-hero-video-frame {
  position: absolute;
  top: clamp(-58px, -4vw, -38px);
  left: 50%;
  z-index: 5;
  width: clamp(276px, 29.325vw, 563.5px);
  aspect-ratio: 7 / 6;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
  background: transparent;
  border-radius: clamp(16px, 1.5vw, 26px);
  box-shadow: 0 18px 50px rgb(16 4 31 / 16%);
  opacity: 0.9;
  transition: opacity 300ms ease;
  transform: translateX(-50%);
}

.nurjan-hero-video-frame:hover {
  opacity: 1;
}

.nurjan-hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: inherit;
}

.nurjan-featured-work-card > div:first-child {
  overflow: hidden;
}

.nurjan-featured-work-image {
  transition: transform 2s ease-out;
}

.nurjan-featured-work-card:nth-child(3) {
  order: 1;
}

.nurjan-featured-work-card:nth-child(4) {
  order: 2;
}

.nurjan-featured-work-card:nth-child(1) {
  order: 3;
}

.nurjan-featured-work-card:nth-child(2) {
  order: 4;
}

.nurjan-featured-work-card:nth-child(n + 5) {
  order: 5;
}

@media (hover: hover) {
  .nurjan-featured-work-card:hover .nurjan-featured-work-image {
    transform: scale(1.05);
  }
}

.nurjan-hero-wordmark {
  position: relative;
  display: block;
  width: 100%;
  margin-top: -0.24ch;
  margin-left: -0.12ch;
  color: transparent;
  background-image: url("/assets/HomeHeroBackground.jpg");
  background-position: center;
  background-repeat: repeat;
  background-size: 75%;
  background-clip: text;
  -webkit-background-clip: text;
  font-family: "Haffer", sans-serif;
  font-size: clamp(4.5rem, 20vw, 24rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
}

.nurjan-art-wordmark,
.nurjan-why-us-wordmark,
.nurjan-hey-wordmark {
  background-image: url("/assets/HomeHeroBackground.jpg") !important;
  background-position: center;
  background-repeat: repeat;
  background-size: 75% !important;
}

.nurjan-why-us-wordmark {
  background-image: url("/assets/WhyUsBackground.jpg") !important;
}

.nurjan-contact-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.nurjan-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42em;
  text-decoration: none;
}

.nurjan-whatsapp-icon {
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 auto;
}

.nurjan-turnstile:not([hidden]) {
  display: block;
  width: 100%;
  min-height: 65px;
  margin-top: 0.25rem;
}

.nurjan-turnstile > div,
.nurjan-turnstile iframe {
  max-width: 100%;
}

@media (min-width: 767px) {
  .nurjan-hero-wordmark-wrap {
    padding-top: 6rem;
  }

  .nurjan-hero-wordmark {
    margin-bottom: -0.15ch;
  }
}

@media (max-width: 766px) {
  .nurjan-hero-intro {
    gap: clamp(12px, 4vw, 18px);
    margin-bottom: 0 !important;
  }

  .nurjan-hero-video-frame {
    position: relative;
    top: auto;
    left: auto;
    width: 100% !important;
    aspect-ratio: 16 / 9;
    margin: clamp(24px, 7vw, 32px) 0 clamp(20px, 6vw, 28px);
    padding: 0 !important;
    border-radius: clamp(16px, 5vw, 22px) !important;
    transform: none;
  }

  .nurjan-hero-wordmark-wrap {
    padding-top: 0;
  }

  .nurjan-hero-wordmark {
    margin: 0 0 -0.08ch -0.06ch;
    font-size: clamp(3rem, 19.5vw, 9.5rem);
  }
}

@media (max-width: 479px) {
  .nurjan-home-logo-bar::after {
    height: 18px;
  }
}
