:root {
  --architect-royal-blue: #020b24;
  --architect-royal-blue-deep: #00030c;
  --architect-neon-orange: #ff5a00;
  --architect-neon-orange-glow: rgba(255, 90, 0, 0.72);
  --architect-soft-white: rgba(255, 255, 255, 0.86);
}

html,
body {
  background: var(--architect-royal-blue) !important;
}

.canvas {
  background:
    radial-gradient(circle at 50% 55%, rgba(255, 90, 0, 0.1), transparent 34%),
    linear-gradient(180deg, var(--architect-royal-blue) 0%, var(--architect-royal-blue-deep) 100%) !important;
}

.loader .wrap {
  background:
    linear-gradient(
      90deg,
      rgba(0, 47, 159, 0),
      var(--architect-royal-blue) 40%,
      var(--architect-royal-blue) 60%,
      rgba(0, 47, 159, 0)
    ) !important;
}

.loader a,
.loader a:hover,
.header__lnk,
.header__lnk:hover {
  color: var(--architect-neon-orange) !important;
  text-shadow:
    0 0 0.36rem var(--architect-neon-orange-glow),
    0 0 1.1rem rgba(255, 90, 0, 0.42),
    0 0 2rem rgba(255, 90, 0, 0.18);
}

.loader .loader-progress {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 0 auto;
  max-width: 42rem;
  opacity: 1;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
  visibility: visible;
  width: min(68vw, 42rem);
}

.loader .loader-status {
  --loader-progress: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255, 90, 0, 0.18), transparent),
    linear-gradient(90deg, rgba(255, 90, 0, 0.08), rgba(255, 90, 0, 0.62), rgba(255, 90, 0, 0.08)) !important;
  border: 1px solid rgba(255, 90, 0, 0.34);
  box-shadow:
    0 0 0.65rem rgba(255, 90, 0, 0.18),
    inset 0 0 0.65rem rgba(255, 90, 0, 0.22);
  color: transparent !important;
  display: block !important;
  font-size: 0 !important;
  height: 0.34rem;
  flex: 1 1 auto;
  letter-spacing: 0;
  margin: 0;
  max-width: 36rem;
  min-width: 14rem;
  overflow: hidden;
  position: relative;
  text-shadow: none !important;
  width: auto;
}

.loader .loader-status::before {
  background:
    linear-gradient(90deg, rgba(255, 90, 0, 0), rgba(255, 90, 0, 0.95), rgba(255, 160, 60, 0.98), rgba(255, 90, 0, 0));
  box-shadow:
    0 0 1rem rgba(255, 90, 0, 0.8),
    0 0 2.2rem rgba(255, 90, 0, 0.42);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  transform-origin: left center;
  transform: scaleX(var(--loader-progress));
  transition: transform 0.18s ease-out;
  width: 100%;
}

.loader .loader-status::after {
  animation: architect-loader-scan 1.15s linear infinite;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.92), transparent);
  box-shadow: 0 0 1rem rgba(255, 255, 255, 0.72);
  content: "";
  height: 150%;
  left: -18%;
  position: absolute;
  top: -25%;
  transform: skewX(-24deg);
  width: 16%;
}

.loader .loader-percent {
  color: var(--architect-neon-orange);
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  min-width: 3.4rem;
  text-align: right;
  text-shadow:
    0 0 0.28rem var(--architect-neon-orange-glow),
    0 0 0.9rem rgba(255, 90, 0, 0.32);
}

.loader .loader-phase {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  line-height: 1;
  margin: 0.85rem 0 1.2rem;
  opacity: 1;
  text-align: center;
  text-transform: uppercase;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
  visibility: visible;
  white-space: nowrap;
}

.loader.is-complete .loader-progress,
.loader.is-complete .loader-phase {
  opacity: 0 !important;
  pointer-events: none;
  visibility: hidden;
}

@keyframes architect-loader-scan {
  0% {
    left: -18%;
  }

  100% {
    left: 102%;
  }
}

.loader > span {
  background:
    linear-gradient(
      90deg,
      rgba(255, 90, 0, 0),
      var(--architect-neon-orange) 40%,
      var(--architect-neon-orange) 60%,
      rgba(255, 90, 0, 0)
    ) !important;
}

.header__lnk--2,
.footer,
.footer__social-lnk,
.footer__audio-toggle {
  color: var(--architect-soft-white) !important;
}

.header__lnk--2 {
  align-items: center;
  animation: architect-chat-float 3.8s ease-in-out infinite;
  background:
    radial-gradient(circle at 78% 50%, rgba(255, 90, 0, 0.16), transparent 42%),
    linear-gradient(90deg, rgba(255, 90, 0, 0.04), rgba(255, 255, 255, 0.05)) !important;
  border-color: rgba(255, 90, 0, 0.74) !important;
  box-shadow:
    0 0 0.7rem rgba(255, 90, 0, 0.2),
    inset 0 0 1rem rgba(255, 90, 0, 0.1);
  color: var(--architect-neon-orange) !important;
  display: inline-flex;
  gap: 0.58rem;
  justify-content: center;
  min-width: 8.9rem;
  overflow: visible;
  position: relative;
  text-shadow:
    0 0 0.28rem var(--architect-neon-orange-glow),
    0 0 1rem rgba(255, 90, 0, 0.32);
  text-transform: uppercase;
}

.header__lnk--2::before {
  background:
    linear-gradient(90deg, rgba(255, 90, 0, 0), rgba(255, 90, 0, 0.56), rgba(255, 255, 255, 0.76));
  border-radius: 999px;
  box-shadow: 0 0 1rem rgba(255, 90, 0, 0.42);
  content: "";
  height: 1px;
  left: -2.55rem;
  opacity: 0.78;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.15rem;
}

.header__lnk--2::after {
  animation: architect-chat-spark 1.8s linear infinite;
  background: var(--architect-neon-orange);
  border-radius: 50%;
  box-shadow:
    -1.6rem 0.18rem 0 -0.09rem rgba(255, 255, 255, 0.72),
    -2.35rem -0.22rem 0 -0.12rem rgba(255, 90, 0, 0.72),
    0 0 0.7rem rgba(255, 90, 0, 0.9);
  content: "";
  height: 0.34rem;
  left: -0.45rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0.34rem;
}

.header__lnk--2:hover,
.footer__social-lnk:hover,
.footer__audio-toggle:hover {
  color: var(--architect-neon-orange) !important;
  text-shadow: 0 0 0.55rem var(--architect-neon-orange-glow);
}

@keyframes architect-chat-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(-0.32rem, -0.18rem, 0);
  }
}

@keyframes architect-chat-spark {
  0%,
  100% {
    opacity: 0.55;
    transform: translateY(-50%) scale(0.82);
  }

  48% {
    opacity: 1;
    transform: translateY(-50%) scale(1.12);
  }
}

.header__lnk,
.header__lnk--2,
.footer__social-lnk {
  cursor: pointer;
  text-decoration: none !important;
  transition:
    color 0.24s ease,
    opacity 0.24s ease,
    text-shadow 0.24s ease;
}

.header__lnk {
  display: inline-block;
  font-family: "Arial Black", "Impact", "IBM Plex Mono", system-ui, sans-serif !important;
  font-size: clamp(1.7rem, 2.25vw, 2.85rem) !important;
  font-weight: 900 !important;
  letter-spacing: 0.045em !important;
  line-height: 1;
  padding-top: 0.1rem;
  text-transform: uppercase;
  -webkit-text-stroke: 0.018em rgba(255, 142, 64, 0.22);
}

.footer__social {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.05rem;
  padding-left: 0;
}

.footer__social-lnk.is-active {
  color: var(--architect-neon-orange) !important;
  opacity: 1;
  text-shadow: 0 0 0.55rem var(--architect-neon-orange-glow);
}

.contact-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease;
  visibility: hidden;
  z-index: 200;
}

.contact-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.contact-modal__backdrop {
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 90, 0, 0.12), transparent 34%),
    rgba(0, 3, 12, 0.72);
  border: 0;
  cursor: default;
  inset: 0;
  padding: 0;
  position: absolute;
}

.contact-modal__panel {
  background:
    linear-gradient(180deg, rgba(2, 11, 36, 0.96), rgba(0, 3, 12, 0.98));
  border: 1px solid rgba(255, 90, 0, 0.46);
  box-shadow:
    0 0 2rem rgba(255, 90, 0, 0.16),
    inset 0 0 2rem rgba(255, 90, 0, 0.08);
  color: rgba(255, 255, 255, 0.9);
  max-width: min(92vw, 31rem);
  padding: 2rem;
  position: relative;
  transform: translate3d(0, 0.8rem, 0) scale(0.98);
  transition: transform 0.22s ease;
  width: 100%;
}

.contact-modal.is-open .contact-modal__panel {
  transform: translate3d(0, 0, 0) scale(1);
}

.contact-modal__close {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.82);
  display: inline-flex;
  font-size: 1.2rem;
  height: 2rem;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 2rem;
}

.contact-modal__close:hover,
.contact-modal__close:focus-visible {
  border-color: rgba(255, 90, 0, 0.8);
  color: var(--architect-neon-orange);
  outline: none;
}

.contact-modal__eyebrow {
  color: var(--architect-neon-orange);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}

.contact-modal__title {
  color: rgba(255, 255, 255, 0.94);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(1.18rem, 3vw, 1.8rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0 2rem 1.55rem 0;
  text-shadow: 0 0 0.9rem rgba(255, 255, 255, 0.18);
}

.contact-modal__grid {
  display: grid;
  gap: 0.75rem;
}

.contact-modal__item {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.88) !important;
  display: block;
  padding: 0.95rem 1rem;
  text-decoration: none !important;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.contact-modal__item:hover,
.contact-modal__item:focus-visible {
  border-color: rgba(255, 90, 0, 0.78);
  box-shadow:
    0 0 0.7rem rgba(255, 90, 0, 0.16),
    inset 0 0 1rem rgba(255, 90, 0, 0.08);
  color: var(--architect-neon-orange) !important;
  outline: none;
}

.contact-modal__item span {
  color: rgba(255, 255, 255, 0.52);
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.contact-modal__item strong {
  display: block;
  font-size: clamp(0.82rem, 2vw, 1rem);
  font-weight: 400;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 575.98px) {
  .header__lnk {
    font-size: 1.08rem !important;
    letter-spacing: 0.02em !important;
  }

  .header__lnk--2 {
    min-width: 7.15rem;
  }

  .header__lnk--2::before {
    left: -1.45rem;
    width: 1.15rem;
  }

  .footer__social {
    gap: 0.45rem 0.8rem;
  }

  .footer__social-lnk {
    font-size: 0.76rem;
  }

  .contact-modal__panel {
    padding: 1.55rem;
  }
}
