:root {
  --ns-ink: #f8fafc;
  --ns-muted: #aab4c3;
  --ns-line: rgba(255, 255, 255, .12);
  --ns-paper: #0d121c;
  --ns-white: #ffffff;
  --ns-blue: #d9c08a;
  --ns-green: #7dd3c7;
  --ns-violet: #d8c7a1;
}

html {
  scroll-behavior: smooth;
  background: #0d121c;
  overflow-x: hidden;
}

body {
  color: var(--ns-ink);
  background: #0d121c;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  background:
    radial-gradient(520px circle at 18% 18%, rgba(217, 192, 138, .10), transparent 66%),
    linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(0, 0, 0, .18));
  mix-blend-mode: screen;
}

.ns-hero video {
  filter: saturate(1.04) contrast(1.03);
  object-position: 8% center;
  min-height: 100%;
}

.ns-hero {
  background: #080c14 !important;
}

.ns-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(244, 244, 236, .92), rgba(244, 244, 236, .58) 35%, rgba(244, 244, 236, .18) 58%, rgba(244, 244, 236, 0)),
    linear-gradient(180deg, rgba(244, 244, 236, .06), rgba(244, 244, 236, .18));
}

.ns-hero > div:last-child {
  z-index: 2;
}

.ns-nav {
  position: sticky;
  top: 16px;
  z-index: 5;
  max-width: 100vw;
}

.ns-nav > div {
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(8, 12, 20, .66) !important;
  box-shadow: 0 18px 54px rgba(0, 0, 0, .28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ns-nav a {
  white-space: nowrap;
  color: rgba(248, 250, 252, .76) !important;
}

.ns-nav a:hover {
  color: #fff !important;
}

.ns-brand {
  width: auto !important;
  min-width: 168px;
  padding: 0 14px !important;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px !important;
  background: rgba(8, 12, 20, .66) !important;
  box-shadow: 0 18px 52px rgba(0, 0, 0, .26);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ns-brand img {
  width: 144px;
  max-width: 38vw;
  height: auto;
}

.ns-hero-copy {
  max-width: 500px !important;
  padding: 6px 0;
  width: min(100%, 500px);
}

.ns-hero-copy h1 {
  max-width: 500px;
  font-size: clamp(28px, 3.9vw, 48px) !important;
  line-height: 1.04 !important;
  font-weight: 680 !important;
  text-wrap: balance;
  color: #10131a !important;
  text-shadow: 0 14px 34px rgba(255, 255, 255, .32);
}

.ns-signal-word {
  position: relative;
  display: inline-block;
  padding-bottom: .09em;
  margin-bottom: -.09em;
  color: transparent;
  background:
    linear-gradient(90deg, #10131a 0%, #8a6f35 28%, #2f6f66 52%, #10131a 76%, #8a6f35 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: nsSignalSweep 4.8s cubic-bezier(.2, .8, .2, 1) infinite;
  text-shadow: none;
}

@keyframes nsSignalSweep {
  0%, 18% { background-position: 0% 50%; filter: drop-shadow(0 0 0 rgba(217, 192, 138, 0)); }
  46% { background-position: 100% 50%; filter: drop-shadow(0 0 18px rgba(217, 192, 138, .18)); }
  100% { background-position: 0% 50%; filter: drop-shadow(0 0 0 rgba(217, 192, 138, 0)); }
}

.ns-hero-copy p {
  max-width: 390px;
  margin-top: 10px;
  color: rgba(16, 19, 26, .74) !important;
  font-size: 14px !important;
  line-height: 1.55;
  text-shadow: 0 10px 24px rgba(255, 255, 255, .25);
}

.ns-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.ns-primary,
.ns-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.ns-primary {
  border: 1px solid rgba(217, 192, 138, .30);
  background: linear-gradient(180deg, rgba(38, 34, 26, .96), rgba(7, 10, 15, .98));
  color: #f8fafc;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .44);
}

.ns-secondary {
  border: 1px solid rgba(16, 19, 26, .16);
  background: rgba(255, 255, 255, .58);
  color: #10131a;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ns-primary:hover,
.ns-secondary:hover {
  transform: translateY(-2px);
}

.ns-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.ns-section {
  position: relative;
  padding: 70px 0;
  background: var(--ns-paper);
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.ns-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .75fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 18px;
}

.ns-section-head .ns-kicker {
  grid-column: 1;
}

.ns-section-head h2 {
  grid-column: 1;
}

.ns-section-head > p {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
}

.ns-section-head--compact {
  margin-bottom: 20px;
}

.ns-kicker {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: var(--ns-blue);
  font-size: 12px;
  font-weight: 750;
}

.ns-section h2 {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(30px, 4.8vw, 56px);
  line-height: .95;
  font-weight: 680;
  letter-spacing: 0;
  text-wrap: balance;
}

@supports not (text-wrap: balance) {
  .ns-hero-copy h1,
  .ns-section h2 {
    max-width: 12ch;
  }
}

.ns-section p {
  color: var(--ns-muted);
  font-size: 15px;
  line-height: 1.68;
}

.ns-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ns-picker-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ns-picker-grid a {
  min-height: 170px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03)),
    linear-gradient(135deg, rgba(217, 192, 138, .10), transparent 44%);
  color: #f8fafc;
  box-shadow: 0 18px 56px rgba(0, 0, 0, .22);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.ns-picker-grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 192, 138, .28);
}

.ns-picker-grid span {
  color: var(--ns-blue);
  font-size: 12px;
  font-weight: 800;
}

.ns-picker-grid strong {
  display: block;
  margin: 36px 0 10px;
  font-size: 22px;
  line-height: 1.05;
}

.ns-picker-grid p {
  font-size: 13px;
  line-height: 1.58;
}

.ns-service-grid article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .035)),
    linear-gradient(135deg, rgba(217, 192, 138, .12), transparent 42%);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .24);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.ns-service-grid article:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .035)),
    linear-gradient(135deg, rgba(125, 211, 199, .12), transparent 42%);
}

.ns-service-grid article:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .035)),
    linear-gradient(135deg, rgba(216, 199, 161, .12), transparent 42%);
}

.ns-service-grid article:hover {
  transform: translateY(-5px);
  border-color: rgba(217, 192, 138, .30);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .32);
}

.ns-service-grid span {
  color: var(--ns-blue);
  font-size: 12px;
  font-weight: 800;
}

.ns-service-grid h3 {
  margin: 44px 0 12px;
  font-size: 22px;
  line-height: 1.05;
  font-weight: 750;
}

.ns-contact {
  overflow: hidden;
  background: #0b111d;
  color: #fff;
}

.ns-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(217, 192, 138, .18), transparent 28%),
    radial-gradient(circle at 78% 34%, rgba(125, 211, 199, .14), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, .08), transparent 52%);
}

.ns-contact-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 36px;
  align-items: end;
}

.ns-contact .ns-kicker {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
  color: #d9c08a;
}

.ns-contact h2 {
  max-width: 760px;
  color: #fff;
}

.ns-contact p {
  max-width: 620px;
  margin-top: 20px;
  color: rgba(255, 255, 255, .7);
}

.ns-contact-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(8, 10, 15, .68);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .34);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ns-contact-card a {
  display: grid;
  gap: 5px;
  padding: 16px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 17px;
  font-weight: 760;
  transition: background .2s ease, transform .2s ease;
}

.ns-contact-card a:hover {
  transform: translateX(3px);
  background: rgba(217, 192, 138, .16);
}

.ns-contact-card span {
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.ns-footer {
  padding: 24px 0;
  background: #0b1220;
  color: rgba(255, 255, 255, .66);
  font-size: 13px;
}

.ns-footer .ns-shell {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.ns-footer span:first-child {
  color: #fff;
  font-weight: 800;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .72s ease, transform .72s cubic-bezier(.2, .8, .2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .ns-nav > div,
  .ns-brand,
  .ns-secondary,
  .ns-contact-card {
    background: rgba(8, 10, 15, .94) !important;
  }
}

@media (max-width: 980px) {
  .ns-section-head,
  .ns-contact-shell {
    grid-template-columns: 1fr;
  }

  .ns-section-head .ns-kicker,
  .ns-section-head h2,
  .ns-section-head > p {
    grid-column: auto;
    grid-row: auto;
  }

  .ns-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ns-picker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ns-contact-card {
    width: min(100%, 520px);
  }
}

@media (max-width: 640px) {
  body::before {
    background:
      radial-gradient(280px circle at 50% 12%, rgba(217, 192, 138, .10), transparent 62%),
      linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(17, 24, 39, .03));
  }

  .ns-hero::after {
    background:
      linear-gradient(180deg, rgba(244, 244, 236, .52), rgba(244, 244, 236, .82)),
      linear-gradient(90deg, rgba(244, 244, 236, .90), rgba(244, 244, 236, .32));
  }

  .ns-nav {
    top: max(8px, env(safe-area-inset-top));
    justify-content: flex-start !important;
    overflow-x: auto;
    padding-left: 12px !important;
    padding-right: 12px !important;
    scrollbar-width: none;
  }

  .ns-nav::-webkit-scrollbar {
    display: none;
  }

  .ns-hero-copy h1 {
    max-width: min(100%, 21rem);
    font-size: clamp(28px, 8vw, 35px) !important;
    line-height: 1 !important;
  }

  .ns-hero-copy p {
    max-width: min(100%, 21rem);
    font-size: 13.5px !important;
  }

  .ns-hero-actions {
    display: grid;
    width: min(100%, 21rem);
  }

  .ns-primary,
  .ns-secondary {
    width: 100%;
  }

  .ns-section {
    padding: 52px 0;
  }

  .ns-section h2 {
    font-size: clamp(34px, 9vw, 40px);
    line-height: 1;
  }

  .ns-service-grid {
    grid-template-columns: 1fr;
  }

  .ns-picker-grid {
    grid-template-columns: 1fr;
  }

  .ns-service-grid article {
    min-height: auto;
  }

  .ns-picker-grid a {
    min-height: auto;
  }

  .ns-picker-grid strong {
    margin-top: 34px;
  }

  .ns-contact-card a {
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  .ns-footer .ns-shell {
    display: grid;
  }
}
