* {
  cursor: none !important;
}

body {
  background-color: #004e4a;
  color: #f5f5f2;
  overflow-x: hidden;
  font-family: "Inter", sans-serif;
}

::selection {
  background: #c5a575;
  color: #004e4a;
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: #003633;
}

::-webkit-scrollbar-thumb {
  background: #c5a575;
}

.drafting-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(
      to right,
      rgba(197, 165, 117, 0.18) 1.5px,
      transparent 1.5px
    ),
    linear-gradient(
      to bottom,
      rgba(197, 165, 117, 0.18) 1.5px,
      transparent 1.5px
    ),
    linear-gradient(to right, rgba(197, 165, 117, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(197, 165, 117, 0.08) 1px, transparent 1px);
  background-size:
    320px 320px,
    320px 320px,
    80px 80px,
    80px 80px;
  mask-image: radial-gradient(circle at center, black, transparent 95%);
  opacity: 0.85;
}

.drafting-grid::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(197, 165, 117, 0.3) 1.5px,
    transparent 1.5px
  );
  background-size: 80px 80px;
}

.noise-texture {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

#cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background-color: #c5a575;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    width 0.3s,
    height 0.3s,
    background-color 0.3s;
  mix-blend-mode: difference;
}

#cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(197, 165, 117, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.2s ease-out;
}

.cursor-hover #cursor-dot {
  width: 40px;
  height: 40px;
  background-color: rgba(197, 165, 117, 0.2);
}

.cursor-hover #cursor-ring {
  width: 60px;
  height: 60px;
  border-color: #c5a575;
}

.nav-link {
  position: relative;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  transition: color 0.5s;
  padding-bottom: 4px;
  display: inline-block;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(245, 245, 242, 0.7);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #c5a575;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
  color: #c5a575;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.project-card .card-content {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 1023px) {
  .project-card .card-content {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1024px) {
  .project-card:hover .card-content {
    opacity: 1;
    transform: translateY(0);
  }
}

#enquiry-modal {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

#enquiry-modal.open {
  opacity: 1;
  pointer-events: auto;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

@media (max-width: 1023px) {
  * {
    cursor: auto !important;
  }
  #cursor-dot,
  #cursor-ring {
    display: none !important;
  }
}
.filter-btn.active {
  color: #004e4a !important;
}

.filter-indicator {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.blueprint-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 2s ease;
}

.project-card:hover .blueprint-line {
  stroke-dashoffset: 0;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}