:root {
  --brand-lime: #d6ff4f;
  --brand-navy: #0a1020;
  --brand-ink: #edf0ef;
  --brand-muted: #a4adb0;
  --brand-line: rgba(237, 240, 239, 0.16);
  --brand-blue: #7aa7ff;
}

.brand-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--brand-lime);
  text-decoration: none;
}

.brand-logo-mark {
  width: 46px;
  height: 46px;
  flex: none;
  filter: drop-shadow(0 10px 22px rgba(214, 255, 79, 0.18));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.brand-wordmark:hover .brand-logo-mark {
  transform: rotate(-6deg) scale(1.04);
  filter: drop-shadow(0 12px 25px rgba(214, 255, 79, 0.3));
}

.brand-wordmark-name {
  color: var(--brand-lime);
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.045em;
}

/* Shared site header */
.global-header {
  display: flex !important;
  width: min(calc(100% - 64px), 1490px) !important;
  min-height: 116px !important;
  margin-inline: auto;
  padding: 0 !important;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--brand-line);
}

.global-header .brand-logo-mark {
  width: 58px;
  height: 58px;
}

.global-header .brand-wordmark-name {
  color: var(--brand-lime);
  font-size: 18px;
  letter-spacing: -0.045em;
}

.global-header .global-header-actions {
  display: flex;
  align-items: center;
  gap: 34px;
  justify-self: auto;
}

.global-header .language-switcher {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid var(--brand-line);
  color: #73808d;
  background: rgba(10, 16, 32, 0.3);
  font: 10px "DM Mono", monospace;
}

.global-header .lang-button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
  transition: color 0.2s ease;
}

.global-header .lang-button:hover,
.global-header .lang-button.is-active {
  color: var(--brand-lime);
}

.global-header-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand-lime);
  background: transparent;
  font: 12px "DM Mono", monospace;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.global-header-link b {
  font-weight: 400;
  transition: transform 0.2s ease;
}

.global-header-link:hover {
  color: #e5ff82;
}

.global-header-link:hover b {
  transform: translate(2px, -2px);
}

/* Analytics consent */
.consent-banner {
  position: fixed;
  z-index: 10020;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: min(calc(100% - 44px), 720px);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: end;
  padding: 24px;
  border: 1px solid rgba(237, 240, 239, 0.25);
  color: var(--brand-ink);
  background:
    linear-gradient(135deg, rgba(122, 167, 255, 0.11), transparent 45%),
    #0d1628;
  box-shadow: 0 24px 80px rgba(2, 7, 18, 0.55);
  font-family: Manrope, Arial, sans-serif;
}

.consent-banner[hidden],
.consent-settings[hidden] {
  display: none !important;
}

.consent-kicker {
  margin: 0 0 9px;
  color: var(--brand-blue);
  font: 9px "DM Mono", monospace;
  letter-spacing: 0.08em;
}

.consent-banner h2 {
  margin: 0;
  color: var(--brand-ink);
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.consent-description {
  max-width: 485px;
  margin: 10px 0 0;
  color: var(--brand-muted);
  font-size: 12px;
  line-height: 1.55;
}

.consent-necessary {
  margin: 7px 0 0;
  color: rgba(237, 240, 239, 0.7);
  font: 9px "DM Mono", monospace;
}

.consent-details {
  margin-top: 12px;
  color: var(--brand-muted);
  font-size: 10px;
}

.consent-details summary {
  width: fit-content;
  color: var(--brand-lime);
  cursor: pointer;
  font: 9px "DM Mono", monospace;
}

.consent-details p {
  max-width: 520px;
  margin: 9px 0 0;
  line-height: 1.55;
}
.consent-policy-link{display:inline-block;margin-top:8px;border-bottom:1px solid rgba(214,255,79,.42);color:var(--brand-lime);font:9px "DM Mono",monospace;text-decoration:none}

.consent-actions {
  display: grid;
  min-width: 165px;
  gap: 8px;
}

.consent-button,
.consent-settings {
  border: 1px solid var(--brand-line);
  font: 10px "DM Mono", monospace;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.consent-button {
  min-height: 42px;
  padding: 10px 13px;
}

.consent-button:hover,
.consent-button:focus-visible,
.consent-settings:hover,
.consent-settings:focus-visible {
  outline: none;
  transform: translateY(-2px);
}

.consent-button-reject {
  color: var(--brand-ink);
  background: transparent;
}

.consent-button-reject:hover,
.consent-button-reject:focus-visible {
  border-color: rgba(237, 240, 239, 0.45);
}

.consent-button-accept {
  border-color: var(--brand-lime);
  color: var(--brand-navy);
  background: var(--brand-lime);
  font-weight: 700;
}

.consent-button-accept:hover,
.consent-button-accept:focus-visible {
  background: #e4ff7d;
}

.consent-settings {
  position: fixed;
  z-index: 10010;
  bottom: 12px;
  left: 12px;
  padding: 8px 10px;
  color: var(--brand-muted);
  background: rgba(10, 16, 32, 0.92);
  backdrop-filter: blur(10px);
}

.entry-gate {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  overflow: auto;
  place-items: center;
  padding: 34px;
  color: var(--brand-ink);
  background:
    radial-gradient(circle at 14% 10%, rgba(122, 167, 255, 0.12), transparent 27%),
    radial-gradient(circle at 86% 84%, rgba(214, 255, 79, 0.08), transparent 30%),
    var(--brand-navy);
  font-family: Manrope, Arial, sans-serif;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.42s ease, visibility 0.42s ease;
}

.entry-gate::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(237, 240, 239, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 240, 239, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black, transparent 82%);
  content: "";
}

.entry-gate.is-leaving {
  opacity: 0;
  visibility: hidden;
}

.entry-choice-complete .entry-gate {
  display: none;
}

.entry-gate-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 1040px);
}

.entry-gate-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--brand-line);
  animation: gate-rise 0.6s both;
}

.entry-gate-status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--brand-muted);
  font: 9px "DM Mono", monospace;
  letter-spacing: 0.08em;
}

.entry-gate-controls {
  display: flex;
  align-items: center;
  gap: 18px;
}

.gate-language-switcher {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid var(--brand-line);
  color: #73808d;
  background: rgba(17, 27, 45, 0.5);
  font: 10px "DM Mono", monospace;
}

.gate-lang-button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
  transition: color 0.2s ease;
}

.gate-lang-button:hover,
.gate-lang-button.is-active {
  color: var(--brand-lime);
}

.entry-gate-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-lime);
  box-shadow: 0 0 16px rgba(214, 255, 79, 0.7);
  animation: gate-pulse 1.8s ease-in-out infinite;
}

/* Shared liquid-glass project carousel */
.ns-project-carousel {
  --carousel-index: 0;
  --carousel-offset: 0%;
  position: relative;
  padding: 14px;
  border: 1px solid rgba(237, 240, 239, 0.16);
  background:
    radial-gradient(circle at 12% 0%, rgba(122, 167, 255, 0.12), transparent 35%),
    radial-gradient(circle at 88% 100%, rgba(214, 255, 79, 0.08), transparent 34%),
    rgba(11, 19, 34, 0.58);
  box-shadow: 0 32px 90px rgba(2, 7, 18, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px) saturate(130%);
  overflow: hidden;
}

.ns-project-carousel::before {
  position: absolute;
  z-index: 0;
  top: -120px;
  left: 18%;
  width: 360px;
  height: 240px;
  border-radius: 50%;
  background: rgba(122, 167, 255, 0.08);
  filter: blur(50px);
  content: "";
  pointer-events: none;
  animation: ns-glass-drift 9s ease-in-out infinite alternate;
}

.ns-carousel-stage {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.025);
}

.ns-carousel-track {
  display: flex;
  width: 100%;
  transform: translate3d(var(--carousel-offset), 0, 0);
  transition: transform 0.72s cubic-bezier(0.22, 0.8, 0.2, 1);
  will-change: transform;
}

.ns-project-slide {
  --project-accent: #7aa7ff;
  --project-glow: rgba(122, 167, 255, 0.22);
  position: relative;
  display: grid;
  min-width: 100%;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  min-height: 520px;
  color: var(--brand-ink);
  background:
    radial-gradient(circle at 18% 18%, var(--project-glow), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  text-decoration: none;
  opacity: 0.42;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.ns-project-slide.is-active { opacity: 1; pointer-events: auto; }
.ns-project-apex { --project-accent: #e8be68; --project-glow: rgba(232, 190, 104, 0.2); }
.ns-project-ewpol { --project-accent: #d6b58c; --project-glow: rgba(214, 181, 140, 0.2); }
.ns-project-cafe { --project-accent: #e8a064; --project-glow: rgba(232, 160, 100, 0.23); }

.ns-slide-visual {
  position: relative;
  display: grid;
  min-width: 0;
  padding: 66px 34px 34px;
  place-items: center;
  overflow: hidden;
}

.ns-slide-visual::after {
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 280px;
  height: 280px;
  border: 1px solid var(--project-accent);
  border-radius: 50%;
  opacity: 0.12;
  content: "";
  transition: transform 0.6s ease;
}

.ns-project-slide:hover .ns-slide-visual::after { transform: scale(1.12); }

.ns-slide-index,
.ns-slide-industry {
  position: absolute;
  z-index: 3;
  top: 22px;
  color: var(--project-accent);
  font: 9px "DM Mono", monospace;
  letter-spacing: 0.09em;
}

.ns-slide-index { left: 25px; }
.ns-slide-industry { right: 25px; text-align: right; }

.ns-browser-preview {
  position: relative;
  z-index: 2;
  width: min(100%, 810px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 13px;
  background: #f1f2ef;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.44), 0 0 42px var(--project-glow);
  transform: perspective(1000px) rotateY(2deg) rotate(-1deg);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.ns-project-slide:hover .ns-browser-preview {
  box-shadow: 0 38px 80px rgba(0, 0, 0, 0.5), 0 0 58px var(--project-glow);
  transform: perspective(1000px) rotateY(0) rotate(0) scale(1.012);
}

.ns-browser-bar {
  display: flex;
  height: 35px;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: #e3e6e1;
}

.ns-browser-bar i { width: 7px; height: 7px; flex: none; border-radius: 50%; background: #abb2ad; }
.ns-browser-bar span { min-width: 0; margin-left: 4px; overflow: hidden; color: #68736d; font: 7px "DM Mono", monospace; text-overflow: ellipsis; white-space: nowrap; }
.ns-browser-preview img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }

.ns-live-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #20150f; }
.ns-live-frame iframe { display: block; width: 200%; height: 200%; border: 0; transform: scale(0.5); transform-origin: 0 0; pointer-events: none; }

.ns-slide-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-end;
  padding: 42px 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.11);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018));
  backdrop-filter: blur(22px);
}

.ns-slide-copy::before {
  width: 48px;
  height: 2px;
  margin-bottom: 23px;
  background: var(--project-accent);
  box-shadow: 0 0 20px var(--project-glow);
  content: "";
}

.ns-slide-copy p { margin: 0 0 17px; color: var(--project-accent); font: 9px "DM Mono", monospace; letter-spacing: 0.07em; }
.ns-slide-copy h3 { margin: 0; color: var(--project-accent); font-size: clamp(25px, 3vw, 42px); line-height: 1.02; letter-spacing: -0.055em; }
.ns-slide-copy small { display: block; margin-top: 18px; color: var(--brand-muted); font-size: 12px; line-height: 1.6; }
.ns-slide-copy > span { width: fit-content; margin-top: 32px; padding-bottom: 5px; border-bottom: 1px solid var(--project-accent); color: var(--project-accent); font: 9px "DM Mono", monospace; }

.ns-carousel-controls {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 54px minmax(150px, 1fr) 54px;
  gap: 10px;
  margin-top: 12px;
}

.ns-carousel-controls button {
  display: grid;
  min-height: 48px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(237, 240, 239, 0.2);
  color: var(--brand-ink);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(16px);
  cursor: pointer;
  font-size: 19px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ns-carousel-controls button:hover,
.ns-carousel-controls button:focus-visible { border-color: var(--brand-lime); color: var(--brand-navy); background: var(--brand-lime); outline: none; transform: translateY(-2px); }

.ns-carousel-status {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(80px, 1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 0 17px;
  border: 1px solid rgba(237, 240, 239, 0.14);
  color: var(--brand-muted);
  background: rgba(255, 255, 255, 0.025);
  font: 9px "DM Mono", monospace;
}

.ns-carousel-status i { position: relative; height: 2px; overflow: hidden; background: rgba(237, 240, 239, 0.12); }
.ns-carousel-status b { position: absolute; inset: 0 auto 0 0; width: 25%; background: linear-gradient(90deg, var(--brand-blue), var(--brand-lime)); transition: width 0.55s ease; }

/* Portfolio motion and the vertical What I do guide */
.portfolio-page .hero { position: relative; overflow: hidden; }
.portfolio-page .hero::after {
  position: absolute;
  z-index: -1;
  top: 12%;
  right: 3%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 167, 255, 0.13), transparent 68%);
  content: "";
  animation: ns-hero-orbit 8s ease-in-out infinite alternate;
}

.portfolio-page .ns-motion-section { opacity: 0; transform: translateY(26px); transition: opacity 0.72s ease, transform 0.72s cubic-bezier(0.22, 0.75, 0.2, 1); }
.portfolio-page .ns-motion-section.is-visible { opacity: 1; transform: translateY(0); }
.portfolio-page .service-grid article,
.portfolio-page .work .project-card { opacity: 0; transform: translateY(24px) scale(0.985); }
.portfolio-page .statement.is-visible .service-grid article,
.portfolio-page .work.is-visible .project-card { opacity: 1; transform: translateY(0) scale(1); transition: opacity 0.62s ease, transform 0.62s cubic-bezier(0.22, 0.75, 0.2, 1), border-color 0.25s ease; }
.portfolio-page .statement.is-visible .service-grid article:nth-child(2),
.portfolio-page .work.is-visible .project-card:nth-child(2) { transition-delay: 0.08s; }
.portfolio-page .statement.is-visible .service-grid article:nth-child(3),
.portfolio-page .work.is-visible .project-card:nth-child(3) { transition-delay: 0.16s; }
.portfolio-page .statement.is-visible .service-grid article:nth-child(4),
.portfolio-page .work.is-visible .project-card:nth-child(4) { transition-delay: 0.24s; }

.what-flow-arrow {
  position: absolute;
  top: 68px;
  bottom: 58px;
  left: clamp(62px, 7.4vw, 105px);
  display: grid;
  width: 108px;
  grid-template-rows: auto 1fr;
  gap: 12px;
  justify-items: center;
  color: var(--brand-blue);
  pointer-events: none;
}

.what-flow-arrow small { color: var(--brand-muted); font: 7px "DM Mono", monospace; letter-spacing: 0.2em; opacity: 0; }
.what-flow-track { position: relative; width: 108px; height: 100%; min-height: 610px; }
.what-flow-whisper { position: absolute; display: block; color: rgba(214, 255, 79, 0.64); opacity: 0; clip-path: inset(0 0 100% 0); filter: drop-shadow(1px 1px 0 rgba(20, 34, 61, 0.72)) drop-shadow(-1px -1px 0 rgba(255, 255, 255, 0.12)) drop-shadow(0 0 6px rgba(214, 255, 79, 0.26)); }
.what-flow-whisper-a { top: 30px; left: 30px; width: 52px; height: 190px; border-left: 2.5px dashed currentColor; border-radius: 52% 0 0 48%; transform: rotate(-8deg); }
.what-flow-whisper-b { top: 216px; left: 20px; width: 68px; height: 190px; border-right: 2.5px dashed currentColor; border-radius: 0 49% 51% 0; transform: rotate(7deg); }
.what-flow-whisper-c { top: 397px; left: 28px; width: 55px; height: 134px; border-left: 2.5px dashed currentColor; border-radius: 48% 0 0 52%; transform: rotate(-5deg); }
.what-flow-whisper-echo { color: rgba(122, 167, 255, 0.68); filter: drop-shadow(1px 1px 0 rgba(20, 34, 61, 0.72)) drop-shadow(-1px -1px 0 rgba(255, 255, 255, 0.12)) drop-shadow(0 0 6px rgba(122, 167, 255, 0.32)); }
.what-flow-whisper-echo-a { top: 31px; left: 40px; width: 52px; height: 190px; border-left: 2.5px dashed currentColor; border-radius: 52% 0 0 48%; transform: rotate(-8deg); }
.what-flow-whisper-echo-b { top: 216px; left: 30px; width: 68px; height: 190px; border-right: 2.5px dashed currentColor; border-radius: 0 49% 51% 0; transform: rotate(7deg); }
.what-flow-whisper-echo-c { top: 397px; left: 38px; width: 55px; height: 134px; border-left: 2.5px dashed currentColor; border-radius: 48% 0 0 52%; transform: rotate(-5deg); }
.what-flow-loop { position: absolute; top: 480px; left: 16px; width: 72px; height: 64px; border: 1px dashed rgba(214, 255, 79, 0.65); border-radius: 54% 46% 50% 48%; opacity: 0; transform: rotate(-13deg) scale(0.45); }
.what-flow-comet {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 31px;
  height: 18px;
  opacity: 0;
  offset-path: path("M 10 4 C 72 58, 3 140, 54 205 C 90 250, 8 330, 49 392 C 72 430, 15 480, 37 529 C 54 565, 93 548, 83 511 C 73 475, 25 478, 20 520 C 16 558, 49 582, 78 561");
  offset-distance: 0%;
  offset-rotate: auto 0deg;
  will-change: offset-distance, opacity;
}
.what-flow-comet::before { position: absolute; top: 7px; left: 0; width: 25px; height: 3px; border-radius: 99px; background: linear-gradient(90deg, rgba(122, 167, 255, 0.18), var(--brand-lime)); box-shadow: 0 0 3px rgba(255, 255, 255, 0.5), 0 0 14px rgba(214, 255, 79, 0.7); content: ""; }
.what-flow-comet::after { position: absolute; top: 3px; right: 0; width: 10px; height: 10px; border-top: 3px solid var(--brand-lime); border-right: 3px solid var(--brand-lime); filter: drop-shadow(0 0 4px rgba(214, 255, 79, 0.75)); transform: rotate(45deg); content: ""; }
.what-flow-comet b { position: absolute; top: 5px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: #fff7c7; box-shadow: 0 0 0 4px rgba(214, 255, 79, 0.14), 0 0 22px rgba(214, 255, 79, 0.9); }
.what-flow-comet-echo { offset-path: path("M 20 4 C 82 58, 13 140, 64 205 C 100 250, 18 330, 59 392 C 82 430, 25 480, 47 529 C 64 565, 103 548, 93 511 C 83 475, 35 478, 30 520 C 26 558, 59 582, 88 561"); }
.what-flow-comet-echo::before { background: linear-gradient(90deg, rgba(214, 255, 79, 0.16), var(--brand-blue)); box-shadow: 0 0 3px rgba(255, 255, 255, 0.55), 0 0 15px rgba(122, 167, 255, 0.85); }
.what-flow-comet-echo::after { border-color: var(--brand-blue); filter: drop-shadow(0 0 5px rgba(122, 167, 255, 0.9)); }
.what-flow-comet-echo b { background: #e6efff; box-shadow: 0 0 0 4px rgba(122, 167, 255, 0.16), 0 0 22px rgba(122, 167, 255, 0.95); }
.portfolio-page .statement.is-flowing .what-flow-arrow small { animation: ns-flow-label 0.45s ease forwards; }
.portfolio-page .statement.is-flowing .what-flow-whisper-primary.what-flow-whisper-a { animation: ns-flow-trail 1.80s 0.28s linear forwards; }
.portfolio-page .statement.is-flowing .what-flow-whisper-primary.what-flow-whisper-b { animation: ns-flow-trail 1.40s 1.80s linear forwards; }
.portfolio-page .statement.is-flowing .what-flow-whisper-primary.what-flow-whisper-c { animation: ns-flow-trail 1s 2.80s linear forwards; }
.portfolio-page .statement.is-flowing .what-flow-whisper-echo-a { animation: ns-flow-trail 1.80s 0.72s linear forwards; }
.portfolio-page .statement.is-flowing .what-flow-whisper-echo-b { animation: ns-flow-trail 1.40s 2.10s linear forwards; }
.portfolio-page .statement.is-flowing .what-flow-whisper-echo-c { animation: ns-flow-trail 1s 3.05s linear forwards; }
.portfolio-page .statement.is-flowing .what-flow-loop { animation: ns-flow-loop 0.75s 2.55s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.portfolio-page .statement.is-flowing .what-flow-comet-primary { animation: ns-flow-flight 3.6s 0.18s cubic-bezier(0.45, 0, 0.55, 1) forwards; }
.portfolio-page .statement.is-flowing .what-flow-comet-echo { animation: ns-flow-flight 3.6s 0.50s cubic-bezier(0.45, 0, 0.55, 1) forwards; }

@keyframes ns-glass-drift { to { transform: translate(260px, 80px) scale(1.18); } }
@keyframes ns-hero-orbit { to { transform: translate(-70px, 45px) scale(1.15); } }
@keyframes ns-flow-label { to { opacity: 0.75; } }
@keyframes ns-flow-trail { from { opacity: 0; clip-path: inset(0 0 100% 0); } 12% { opacity: 1; } to { opacity: 1; clip-path: inset(0); } }
@keyframes ns-flow-loop { 0% { opacity: 0; transform: rotate(-30deg) scale(0.45); } 70% { opacity: 1; transform: rotate(-8deg) scale(1.08); } 100% { opacity: 0.82; transform: rotate(-13deg) scale(1); } }
@keyframes ns-flow-flight { 0% { offset-distance: 0%; opacity: 0; } 6% { opacity: 1; } 100% { offset-distance: 100%; opacity: 1; } }

@media (max-width: 900px) {
  .ns-project-slide { grid-template-columns: 1fr; min-height: 0; }
  .ns-slide-visual { min-height: 400px; }
  .ns-slide-copy { min-height: 270px; border-top: 1px solid rgba(255, 255, 255, 0.11); border-left: 0; }
}

@media (max-width: 700px) {
  .ns-project-carousel { padding: 8px; }
  .ns-slide-visual { min-height: 270px; padding: 52px 13px 18px; }
  .ns-slide-index, .ns-slide-industry { top: 16px; font-size: 7px; }
  .ns-slide-index { left: 15px; }
  .ns-slide-industry { right: 15px; }
  .ns-browser-preview { border-radius: 8px; }
  .ns-browser-bar { height: 27px; }
  .ns-slide-copy { min-height: 260px; padding: 28px 20px; }
  .ns-slide-copy h3 { font-size: 28px; }
  .ns-slide-copy > span { margin-top: 24px; }
  .ns-carousel-controls { grid-template-columns: 48px minmax(110px, 1fr) 48px; }
  .what-flow-arrow { top: 62px; right: 4px; bottom: 55px; left: auto; width: 65px; opacity: 0.88; }
  .what-flow-track { width: 65px; min-height: 900px; }
  .what-flow-whisper-a { top: 50px; left: 11px; width: 43px; height: 280px; }
  .what-flow-whisper-b { top: 320px; left: 7px; width: 50px; height: 280px; }
  .what-flow-whisper-c { top: 590px; left: 12px; width: 42px; height: 208px; }
  .what-flow-whisper-echo-a { top: 50px; left: 17px; width: 43px; height: 280px; }
  .what-flow-whisper-echo-b { top: 320px; left: 13px; width: 50px; height: 280px; }
  .what-flow-whisper-echo-c { top: 590px; left: 18px; width: 42px; height: 208px; }
  .what-flow-loop { top: 763px; left: 5px; width: 54px; height: 49px; }
  .what-flow-comet-primary { offset-path: path("M 4 0 C 45 90, -5 200, 28 300 C 55 390, 3 500, 25 600 C 43 670, 5 740, 24 806 C 40 860, 63 842, 59 795 C 55 756, 18 760, 14 807 C 11 850, 34 880, 57 861"); }
  .what-flow-comet-echo { offset-path: path("M 10 0 C 51 90, 1 200, 34 300 C 61 390, 9 500, 31 600 C 49 670, 11 740, 30 806 C 46 860, 65 842, 63 795 C 59 756, 24 760, 20 807 C 17 850, 40 880, 63 861"); }
}

@media (prefers-reduced-motion: reduce) {
  .ns-project-carousel::before,
  .portfolio-page .hero::after { animation: none !important; }
  .portfolio-page .statement .what-flow-arrow small,
  .portfolio-page .statement .what-flow-whisper,
  .portfolio-page .statement .what-flow-loop,
  .portfolio-page .statement .what-flow-comet { animation: none !important; opacity: 0.75; }
  .portfolio-page .statement .what-flow-whisper { clip-path: inset(0); }
  .portfolio-page .statement .what-flow-comet { offset-distance: 100%; }
  .portfolio-page .statement .what-flow-loop { transform: rotate(-13deg) scale(1); }
  .ns-carousel-track,
  .portfolio-page .ns-motion-section,
  .portfolio-page .service-grid article,
  .portfolio-page .work .project-card { transition: none !important; }
  .portfolio-page .ns-motion-section,
  .portfolio-page .service-grid article,
  .portfolio-page .work .project-card { opacity: 1; transform: none; }
}


/* Portfolio statement: copy and capability cards share one row */
.portfolio-page .statement {
  grid-template-columns: 100px minmax(0, 1fr);
  gap: clamp(34px, 4.2vw, 58px);
}

.portfolio-page .statement > .what-flow-arrow {
  position: absolute;
  right: auto;
  left: 0;
  z-index: 2;
}

.portfolio-page .statement-content {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(480px, 1.12fr);
  gap: clamp(28px, 3.5vw, 52px);
  align-items: center;
  min-width: 0;
}

.portfolio-page .statement-copy { min-width: 0; }

.portfolio-page .statement-copy h2 {
  max-width: 470px;
  font-size: clamp(44px, 4.25vw, 61px);
}

.portfolio-page .statement-copy p:not(.section-number) {
  max-width: 470px;
  margin-bottom: 0;
  font-size: 16px;
}

.portfolio-page .statement .service-grid {
  align-self: center;
  margin-top: 0;
}

.portfolio-page .statement .service-grid article {
  min-height: 158px;
}

@media (max-width: 960px) {
  .portfolio-page .statement {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .portfolio-page .statement-content {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .portfolio-page .statement-copy {
    padding-right: 0;
    padding-left: 92px;
  }

  .portfolio-page .statement .service-grid {
    margin-top: 0;
  }

  .portfolio-page .statement > .what-flow-arrow {
    top: 92px;
    right: auto;
    left: 10px;
    opacity: 0.62;
    transform: scale(0.76);
    transform-origin: top left;
  }
}

@media (max-width: 700px) {
  .portfolio-page .statement-copy {
    padding-right: 0;
    padding-left: 74px;
  }
  .portfolio-page .statement > .what-flow-arrow {
    top: 62px;
    right: auto;
    left: 4px;
    transform: none;
  }
  .portfolio-page .statement .service-grid article { min-height: 142px; }
}


.entry-gate-copy {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: end;
  padding: 54px 0 34px;
  animation: gate-rise 0.65s 0.08s both;
}

.entry-gate-kicker {
  margin: 0 0 18px;
  color: var(--brand-blue);
  font: 9px "DM Mono", monospace;
  letter-spacing: 0.08em;
}

.entry-gate h1 {
  margin: 0;
  font-size: clamp(43px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.entry-gate h1 em {
  color: var(--brand-lime);
  font-family: Georgia, serif;
  font-weight: 400;
}

.entry-gate-intro {
  max-width: 410px;
  margin: 0;
  color: var(--brand-muted);
  font-size: 14px;
}

.entry-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--brand-line);
  background: rgba(17, 27, 45, 0.62);
  box-shadow: 22px 22px 0 rgba(122, 167, 255, 0.035);
  animation: gate-rise 0.7s 0.16s both;
}

.entry-choice-link {
  position: relative;
  display: flex;
  min-height: 245px;
  flex-direction: column;
  padding: 25px;
  overflow: hidden;
  border-right: 1px solid var(--brand-line);
  color: var(--brand-ink);
  text-decoration: none;
  transition: color 0.28s ease, background 0.28s ease;
}

.entry-choice-link:last-child {
  border-right: 0;
}

.entry-choice-link::before {
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: var(--brand-lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  content: "";
}

.entry-choice-link::after {
  position: absolute;
  right: -30px;
  bottom: -55px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(122, 167, 255, 0.18);
  border-radius: 50%;
  transition: transform 0.4s ease, border-color 0.3s ease;
  content: "";
}

.entry-choice-link:hover,
.entry-choice-link:focus-visible {
  outline: none;
  color: var(--brand-navy);
  background: var(--brand-lime);
}

.entry-choice-link:hover::before,
.entry-choice-link:focus-visible::before {
  transform: scaleX(1);
}

.entry-choice-link:hover::after,
.entry-choice-link:focus-visible::after {
  border-color: rgba(10, 16, 32, 0.2);
  transform: scale(1.22);
}

.entry-choice-number {
  position: relative;
  z-index: 1;
  color: var(--brand-blue);
  font: 10px "DM Mono", monospace;
}

.entry-choice-link:hover .entry-choice-number,
.entry-choice-link:focus-visible .entry-choice-number {
  color: rgba(10, 16, 32, 0.58);
}

.entry-choice-content {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.entry-choice-content strong {
  display: block;
  max-width: 230px;
  font-size: clamp(23px, 2.7vw, 34px);
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.entry-choice-content small {
  display: block;
  max-width: 230px;
  margin-top: 13px;
  color: var(--brand-muted);
  font-size: 11px;
  line-height: 1.45;
}

.entry-choice-link:hover small,
.entry-choice-link:focus-visible small {
  color: rgba(10, 16, 32, 0.68);
}

.entry-choice-arrow {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 23px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--brand-navy);
  background: var(--brand-lime);
  font-style: normal;
  transition: transform 0.28s ease;
}

.entry-choice-link:hover .entry-choice-arrow,
.entry-choice-link:focus-visible .entry-choice-arrow {
  color: var(--brand-lime);
  background: var(--brand-navy);
  transform: translate(3px, -3px);
}

.entry-gate-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  color: var(--brand-muted);
  font: 8px "DM Mono", monospace;
  letter-spacing: 0.06em;
  animation: gate-rise 0.7s 0.24s both;
}

@keyframes gate-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes gate-pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1); }
}

@media (max-width: 760px) {
  .consent-banner {
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px;
  }
  .consent-kicker,.consent-necessary { display: none; }
  .consent-banner h2 { font-size: 17px; }
  .consent-description { margin-top: 6px; font-size: 10px; line-height: 1.4; }
  .consent-details { margin-top: 7px; }
  .consent-actions { grid-template-columns: 1fr; min-width: 125px; }
  .consent-button { min-height: 37px; padding: 7px 9px; font-size: 8px; }
  .global-header {
    width: min(calc(100% - 30px), 1490px) !important;
    min-height: 82px !important;
    gap: 15px;
  }
  .global-header .brand-logo-mark { width: 44px; height: 44px; }
  .global-header .brand-wordmark-name { font-size: 14px; }
  .global-header .global-header-actions { gap: 12px; }
  .global-header .language-switcher { padding: 7px 9px; }
  .global-header-link > span { display: none; }
  .global-header-link b { font-size: 18px; }
  .brand-logo-mark { width: 40px; height: 40px; }
  .brand-wordmark-name { font-size: 13px; }
  .entry-gate { align-items: start; padding: 22px 16px; }
  .entry-gate-top { padding-bottom: 20px; }
  .entry-gate-status { display: none; }
  .entry-gate-controls { margin-left: auto; }
  .entry-gate-copy { grid-template-columns: 1fr; gap: 18px; padding: 39px 0 27px; }
  .entry-gate h1 { font-size: clamp(40px, 13vw, 60px); }
  .entry-gate-intro { font-size: 13px; }
  .entry-choice-grid { grid-template-columns: 1fr; }
  .entry-choice-link { min-height: 142px; padding: 20px; border-right: 0; border-bottom: 1px solid var(--brand-line); }
  .entry-choice-link:last-child { border-bottom: 0; }
  .entry-choice-content strong { font-size: 25px; }
  .entry-choice-content small { max-width: 72%; margin-top: 7px; }
  .entry-choice-arrow { top: 18px; right: 18px; }
  .entry-gate-foot { display: none; }
}

@media (max-width: 480px) {
  .consent-banner { grid-template-columns: 1fr; }
  .consent-actions { grid-template-columns: 1fr 1fr; }
  .consent-settings { max-width: calc(100% - 24px); }
  .brand-wordmark-name { display: none; }
}

/* Shared enquiry form */
.ns-enquiry-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:920px;margin:38px 0 28px;padding:24px;border:1px solid var(--brand-line);background:linear-gradient(145deg,rgba(122,167,255,.08),rgba(17,27,45,.6));font-family:Manrope,Arial,sans-serif}
.ns-enquiry-form label{display:grid;gap:8px;color:var(--brand-muted);font:9px 'DM Mono',monospace;letter-spacing:.04em}
.ns-form-wide{grid-column:1/-1}.ns-enquiry-form input,.ns-enquiry-form textarea{width:100%;border:1px solid var(--brand-line);border-radius:0;outline:0;color:var(--brand-ink);background:rgba(10,16,32,.74);font:14px Manrope,Arial,sans-serif;transition:border-color .2s ease,box-shadow .2s ease}.ns-enquiry-form input{min-height:48px;padding:11px 13px}.ns-enquiry-form textarea{min-height:118px;padding:13px;resize:vertical}.ns-enquiry-form input:focus,.ns-enquiry-form textarea:focus{border-color:var(--brand-lime);box-shadow:0 0 0 3px rgba(214,255,79,.08)}.ns-form-action{display:flex;align-items:center;gap:18px}.ns-form-action button{flex:none;min-height:46px;padding:12px 17px;border:1px solid var(--brand-lime);color:var(--brand-navy);background:var(--brand-lime);font:700 11px Manrope,Arial,sans-serif;cursor:pointer}.ns-form-action small{max-width:480px;color:var(--brand-muted);font:9px/1.5 'DM Mono',monospace}
@media(max-width:700px){.ns-enquiry-form{grid-template-columns:1fr;padding:17px}.ns-form-wide{grid-column:auto}.ns-form-action{display:grid}.ns-form-action button{width:100%}}

@media (prefers-reduced-motion: reduce) {
  .entry-gate *,
  .entry-gate,
  .consent-banner *,
  .consent-settings {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}


/* Shared motion system: section reveals, living surfaces and microinteractions */
:root {
  --ns-pointer-x: 50vw;
  --ns-pointer-y: 45vh;
  --ns-scroll-progress: 0%;
  --ns-motion-ease: cubic-bezier(0.2, 0.78, 0.2, 1);
}

.ns-scroll-progress {
  position: fixed;
  z-index: 10010;
  inset: 0 0 auto;
  height: 2px;
  pointer-events: none;
}

.ns-scroll-progress i {
  display: block;
  width: var(--ns-scroll-progress);
  height: 100%;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-lime), #ff8f73);
  box-shadow: 0 0 14px rgba(214, 255, 79, 0.55);
  transition: width 0.08s linear;
}

.ns-pointer-aurora {
  position: fixed;
  z-index: 0;
  top: 0;
  left: 0;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 167, 255, 0.085), rgba(214, 255, 79, 0.024) 38%, transparent 70%);
  opacity: 0;
  transform: translate3d(calc(var(--ns-pointer-x) - 220px), calc(var(--ns-pointer-y) - 220px), 0);
  transition: opacity 0.45s ease;
  pointer-events: none;
  will-change: transform;
}

.ns-pointer-aurora.is-active { opacity: 1; }

.ns-motion-ready main,
.ns-motion-ready .global-header,
.ns-motion-ready .site-menu,
.ns-motion-ready footer { position: relative; z-index: 1; }

.ns-motion-section {
  position: relative;
  isolation: isolate;
}

.ns-motion-section > :not(.ns-motion-accent) {
  position: relative;
  z-index: 1;
}

.ns-motion-ready .ns-motion-section {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  filter: saturate(0.84);
  transition: opacity 0.82s ease, transform 0.9s var(--ns-motion-ease), filter 0.9s ease;
}

.ns-motion-ready .ns-motion-section.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: saturate(1);
}

.ns-motion-ready .ns-motion-item {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity 0.64s calc(var(--ns-item-order, 0) * 70ms + 100ms) ease,
    transform 0.72s calc(var(--ns-item-order, 0) * 70ms + 100ms) var(--ns-motion-ease);
}

.ns-motion-ready .ns-motion-section.is-visible .ns-motion-item {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.ns-motion-accent {
  position: absolute;
  z-index: 0;
  top: clamp(30px, 8vw, 105px);
  right: clamp(-25px, 2vw, 28px);
  width: clamp(96px, 12vw, 170px);
  aspect-ratio: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s 0.28s ease;
}

.ns-motion-section.is-visible .ns-motion-accent { opacity: 0.62; }

.ns-motion-accent i,
.ns-motion-accent b {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.ns-motion-accent i:first-child {
  inset: 4%;
  border: 1px solid rgba(122, 167, 255, 0.22);
  border-top-color: rgba(214, 255, 79, 0.72);
  animation: ns-accent-orbit 13s linear infinite;
}

.ns-motion-accent i:nth-child(2) {
  inset: 24%;
  border: 1px dashed rgba(237, 240, 239, 0.17);
  animation: ns-accent-orbit-reverse 9s linear infinite;
}

.ns-motion-accent b {
  top: 10%;
  left: 48%;
  width: 7px;
  height: 7px;
  background: var(--brand-lime);
  box-shadow: 0 0 0 6px rgba(214, 255, 79, 0.07), 0 0 20px rgba(214, 255, 79, 0.45);
  animation: ns-accent-breathe 3.2s ease-in-out infinite;
}

.ns-motion-variant-1 .ns-motion-accent {
  top: auto;
  right: auto;
  bottom: clamp(28px, 7vw, 90px);
  left: clamp(-18px, 1vw, 18px);
  transform: rotate(35deg) scale(0.78);
}

.ns-motion-variant-1 .ns-motion-accent i:first-child { border-top-color: #ff8f73; }
.ns-motion-variant-1 .ns-motion-accent b { background: #ff8f73; box-shadow: 0 0 0 6px rgba(255, 143, 115, 0.07), 0 0 20px rgba(255, 143, 115, 0.45); }

.ns-motion-variant-2 .ns-motion-accent {
  top: 45%;
  right: clamp(-35px, 1vw, 10px);
  transform: scale(0.58);
}

.ns-motion-variant-2 .ns-motion-accent i:first-child { border-top-color: var(--brand-blue); }
.ns-motion-variant-2 .ns-motion-accent b { background: var(--brand-blue); box-shadow: 0 0 0 6px rgba(122, 167, 255, 0.07), 0 0 20px rgba(122, 167, 255, 0.48); }

.ns-motion-heading {
  position: relative;
  text-wrap: balance;
}

.ns-motion-heading::after {
  display: block;
  width: 0;
  height: 1px;
  margin-top: 16px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-lime), transparent);
  content: "";
  transition: width 0.9s 0.24s var(--ns-motion-ease);
}

.ns-motion-section.is-visible .ns-motion-heading::after { width: min(180px, 34%); }
.hero .ns-motion-heading::after { width: 0; }
.hero.is-visible .ns-motion-heading::after { width: min(230px, 42%); }

.ns-interactive-card {
  --ns-card-x: 50%;
  --ns-card-y: 50%;
  position: relative;
  isolation: isolate;
}

.ns-card-glow {
  position: absolute !important;
  z-index: 0 !important;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  background: radial-gradient(220px circle at var(--ns-card-x) var(--ns-card-y), rgba(122, 167, 255, 0.14), rgba(214, 255, 79, 0.045) 38%, transparent 70%);
  transition: opacity 0.32s ease;
  pointer-events: none;
}

.ns-interactive-card > :not(.ns-card-glow) { position: relative; z-index: 1; }
.ns-interactive-card:hover > .ns-card-glow,
.ns-interactive-card:focus-within > .ns-card-glow { opacity: 1; }

.ns-interactive-card {
  transition:
    translate 0.32s var(--ns-motion-ease),
    scale 0.32s var(--ns-motion-ease),
    box-shadow 0.32s ease,
    border-color 0.32s ease !important;
}

.ns-interactive-card:hover {
  translate: 0 -5px;
  scale: 1.006;
  box-shadow: 0 25px 55px rgba(2, 7, 18, 0.23);
}

.ns-motion-action {
  position: relative !important;
  isolation: isolate;
  overflow: hidden;
}

.ns-motion-action > :not(.ns-action-sheen) { position: relative; z-index: 1; }

.ns-action-sheen {
  position: absolute !important;
  z-index: 0 !important;
  top: -80%;
  bottom: -80%;
  left: -42%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  opacity: 0;
  transform: skewX(-19deg);
  transition: left 0.68s var(--ns-motion-ease), opacity 0.25s ease;
  pointer-events: none;
}

.ns-motion-action:hover .ns-action-sheen,
.ns-motion-action:focus-visible .ns-action-sheen { left: 116%; opacity: 1; }

.ns-chrome-motion {
  animation: ns-chrome-enter 0.72s 0.05s var(--ns-motion-ease) both;
}

.global-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-blue), var(--brand-lime));
  content: "";
  animation: ns-header-line 1.15s 0.28s var(--ns-motion-ease) forwards;
}

.ns-has-scrolled .global-header {
  border-bottom-color: rgba(214, 255, 79, 0.22);
  filter: drop-shadow(0 12px 24px rgba(2, 7, 18, 0.18));
}

.site-menu a {
  position: relative;
  overflow: hidden;
}

.site-menu a::after {
  position: absolute;
  right: 16px;
  bottom: 8px;
  left: 16px;
  height: 1px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-lime));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.38s var(--ns-motion-ease);
}

.site-menu a:hover::after,
.site-menu a:focus-visible::after,
.site-menu a.is-active::after { transform: scaleX(1); }

.ns-project-slide.is-active .ns-browser-preview { animation: ns-project-window-in 0.66s var(--ns-motion-ease) both; }
.ns-project-slide.is-active .ns-slide-copy > * { animation: ns-project-copy-in 0.55s var(--ns-motion-ease) both; }
.ns-project-slide.is-active .ns-slide-copy > :nth-child(2) { animation-delay: 0.07s; }
.ns-project-slide.is-active .ns-slide-copy > :nth-child(3) { animation-delay: 0.14s; }
.ns-project-slide.is-active .ns-slide-copy > :nth-child(4) { animation-delay: 0.2s; }

.eyebrow > span,
.eyebrow > i {
  animation: ns-status-pulse 2.8s ease-in-out infinite;
}

.section-number {
  transition: letter-spacing 0.35s ease, color 0.35s ease;
}

.ns-motion-section:hover > .section-number,
.ns-motion-section:hover .section-heading .section-number { letter-spacing: 0.075em; color: var(--brand-lime); }

footer.footer::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 18%;
  height: 1px;
  background: linear-gradient(90deg, var(--brand-lime), var(--brand-blue), transparent);
  content: "";
  animation: ns-footer-scan 6s ease-in-out infinite alternate;
}

@keyframes ns-accent-orbit { to { transform: rotate(360deg); } }
@keyframes ns-accent-orbit-reverse { to { transform: rotate(-360deg); } }
@keyframes ns-accent-breathe { 50% { opacity: 0.42; transform: scale(1.45); } }
@keyframes ns-chrome-enter { from { opacity: 0; transform: translateY(-14px); } }
@keyframes ns-header-line { to { width: min(420px, 38%); } }
@keyframes ns-project-window-in { from { opacity: 0.55; transform: translateY(18px) rotate(-0.6deg) scale(0.975); } }
@keyframes ns-project-copy-in { from { opacity: 0; transform: translateX(18px); } }
@keyframes ns-status-pulse { 50% { opacity: 0.48; box-shadow: 0 0 0 7px rgba(214, 255, 79, 0.035); } }
@keyframes ns-footer-scan { to { width: 72%; } }

@media (max-width: 700px) {
  .ns-pointer-aurora { display: none; }
  .ns-motion-accent { width: 88px; opacity: 0.42; }
  .ns-motion-variant-1 .ns-motion-accent { left: -32px; }
  .ns-motion-ready .ns-motion-section { transform: translate3d(0, 22px, 0); }
  .ns-interactive-card:hover { translate: 0 -2px; scale: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .ns-scroll-progress i,
  .ns-pointer-aurora,
  .ns-motion-section,
  .ns-motion-item,
  .ns-motion-accent *,
  .ns-motion-heading::after,
  .ns-chrome-motion,
  .global-header::after,
  .ns-project-slide.is-active .ns-browser-preview,
  .ns-project-slide.is-active .ns-slide-copy > *,
  .eyebrow > span,
  .eyebrow > i,
  footer.footer::before {
    animation: none !important;
    transition: none !important;
  }
  .ns-motion-ready .ns-motion-section,
  .ns-motion-ready .ns-motion-item { opacity: 1; filter: none; transform: none; }
  .ns-motion-accent { display: none; }
  .ns-interactive-card:hover { translate: 0; scale: 1; }
}
