:root {
  --ink: #0a0d10;
  --ink-soft: #0e1317;
  --surface: #14191e;
  --surface-2: #1b2228;
  --line: rgba(226, 242, 245, 0.14);
  --line-strong: rgba(226, 242, 245, 0.26);
  --text: #f2f7f8;
  --muted: #a9b6bc;
  --cyan: #2bd6f7;
  --cyan-deep: #00a9cd;
  --orange: #ff8a3d;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  --shell: min(1180px, calc(100% - 48px));
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Arial Narrow", "Roboto Condensed", Inter, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 75% 12%, rgba(43, 214, 247, 0.07), transparent 26rem),
    var(--ink);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: var(--cyan);
  color: var(--ink);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.shell--narrow {
  max-width: 820px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  translate: 0 -160%;
  background: var(--cyan);
  color: var(--ink);
  font-weight: 800;
}

.skip-link:focus {
  translate: 0;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  transition: background-color 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(10, 13, 16, 0.84);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  font-weight: 740;
  letter-spacing: -0.025em;
}

.brand__mark {
  position: relative;
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  rotate: -4deg;
}

.brand__mark span {
  position: absolute;
  width: 25px;
  height: 11px;
  border: 2px solid var(--cyan);
  border-radius: 3px;
  transform: skewY(-23deg) rotate(23deg);
}

.brand__mark span:nth-child(1) { translate: 0 -8px; }
.brand__mark span:nth-child(2) { translate: 0 0; opacity: 0.82; }
.brand__mark span:nth-child(3) { translate: 0 8px; opacity: 0.58; }

.brand__mark--official {
  width: 48px;
  height: 58px;
  overflow: hidden;
  rotate: 0deg;
}

.brand__mark--official img {
  position: absolute;
  top: -15px;
  left: 50%;
  width: 108px;
  max-width: none;
  height: 108px;
  object-fit: contain;
  translate: -50% 0;
}

.brand__name {
  font-size: 1.06rem;
}

.brand__name strong {
  color: var(--cyan);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav__list,
.site-nav .menu {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.site-nav__list a,
.site-nav .menu a {
  color: #d5dfe2;
  font-size: 0.9rem;
  font-weight: 620;
  transition: color 160ms ease;
}

.site-nav__list a:hover,
.site-nav .menu a:hover,
.site-nav .current-menu-item > a {
  color: var(--cyan);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 13px 21px;
  border: 1px solid var(--cyan);
  border-radius: 3px;
  background: var(--cyan);
  color: #061014;
  font-size: 0.93rem;
  font-weight: 820;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 34px rgba(43, 214, 247, 0.16);
  transition: translate 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  translate: 0 -2px;
  border-color: #74eaff;
  background: #74eaff;
  box-shadow: 0 14px 42px rgba(43, 214, 247, 0.23);
}

.button--small {
  min-height: 43px;
  padding: 9px 15px;
  font-size: 0.84rem;
}

.button--outline {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--text);
  box-shadow: none;
}

.button--outline:hover {
  border-color: var(--cyan);
  background: rgba(43, 214, 247, 0.08);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 740;
}

.text-link span {
  color: var(--cyan);
  transition: translate 160ms ease;
}

.text-link:hover span {
  translate: 5px 0;
}

.eyebrow {
  display: flex;
  margin: 0 0 18px;
  align-items: center;
  gap: 11px;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 820;
  letter-spacing: 0.17em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 24px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--font-display);
  font-weight: 820;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.35rem, 5vw, 4.6rem);
}

h3 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.08;
}

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  height: min(900px, 100svh);
  place-items: stretch;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #080b0d;
}

.hero__media,
.hero__veil {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}

.hero__veil {
  background:
    linear-gradient(90deg, rgba(6, 9, 11, 0.98) 0%, rgba(6, 9, 11, 0.9) 28%, rgba(6, 9, 11, 0.34) 61%, rgba(6, 9, 11, 0.22) 100%),
    linear-gradient(0deg, rgba(6, 9, 11, 0.75) 0%, transparent 34%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  padding-top: 100px;
  padding-bottom: 94px;
  grid-template-columns: minmax(0, 720px) 1fr;
  align-items: center;
}

.hero__content {
  padding: 50px 0;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 30px;
  font-size: clamp(3.8rem, 8vw, 7.7rem);
  line-height: 0.86;
  text-transform: uppercase;
}

.hero h1 em {
  display: block;
  color: var(--cyan);
  font-style: normal;
}

.hero__lead {
  max-width: 600px;
  margin: 0;
  color: #c7d1d5;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  margin-top: 38px;
  align-items: center;
  gap: 28px;
}

.hero__rail {
  align-self: end;
  justify-self: end;
  display: grid;
  min-width: 186px;
  margin-bottom: 55px;
  grid-template-columns: auto 1fr;
  gap: 13px 16px;
  color: #c7d1d5;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__rail span {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.hero__rail p {
  margin: 0;
}

.hero__ticker {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: rgba(9, 13, 15, 0.68);
  backdrop-filter: blur(14px);
}

.hero__ticker div {
  display: flex;
  width: max-content;
  min-width: 100%;
  min-height: 62px;
  align-items: center;
  justify-content: space-around;
  gap: 30px;
  padding-inline: 40px;
  color: #b9c4c8;
  font-size: 0.74rem;
  font-weight: 720;
  letter-spacing: 0.23em;
}

.hero__ticker i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

.section {
  position: relative;
  padding: clamp(86px, 11vw, 150px) 0;
}

.section-heading {
  margin-bottom: 54px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr);
  align-items: end;
  gap: 72px;
}

.section-heading--split > p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 1.03rem;
}

.services {
  background:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    var(--ink-soft);
  background-size: 54px 54px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.service-card {
  position: relative;
  display: flex;
  min-height: 430px;
  padding: 34px;
  flex-direction: column;
  background: rgba(16, 21, 25, 0.98);
  isolation: isolate;
  transition: background-color 200ms ease;
}

.service-card::before {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 0;
  background: linear-gradient(0deg, rgba(43, 214, 247, 0.1), transparent);
  content: "";
  transition: height 230ms ease;
}

.service-card:hover::before {
  height: 72%;
}

.service-card--featured {
  background: #101b20;
}

.service-card__number {
  color: #64727a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
}

.service-card__icon {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 50px 0 42px;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--cyan);
}

.service-card__icon > span {
  position: relative;
  display: block;
  width: 31px;
  height: 31px;
}

.icon-layers::before,
.icon-layers::after,
.icon-layers {
  border: 1.5px solid currentColor;
  transform: skewY(-22deg) rotate(22deg) scaleY(0.68);
}

.icon-layers::before,
.icon-layers::after {
  position: absolute;
  inset: 0;
  content: "";
}

.icon-layers::before { translate: 0 -8px; }
.icon-layers::after { translate: 0 8px; }

.icon-cube {
  border: 1.5px solid currentColor;
  rotate: 30deg;
}

.icon-cube::before,
.icon-cube::after {
  position: absolute;
  background: currentColor;
  content: "";
}

.icon-cube::before { top: 50%; left: -1px; width: calc(100% + 2px); height: 1.5px; }
.icon-cube::after { top: -1px; left: 50%; width: 1.5px; height: calc(100% + 2px); }

.icon-part {
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-part::before,
.icon-part::after {
  position: absolute;
  content: "";
}

.icon-part::before {
  inset: 8px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.icon-part::after {
  inset: 13px -6px;
  border-right: 5px solid currentColor;
  border-left: 5px solid currentColor;
}

.service-card h3 {
  margin-bottom: 17px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.service-card > a {
  display: flex;
  margin-top: auto;
  padding-top: 26px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 750;
}

.service-card > a span {
  color: var(--cyan);
}

.process-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}

.process {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(460px, 1.2fr);
  gap: clamp(70px, 11vw, 150px);
}

.process__intro {
  position: sticky;
  top: 140px;
  align-self: start;
}

.process__intro p:not(.eyebrow) {
  max-width: 480px;
  margin-bottom: 32px;
  color: var(--muted);
}

.process__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.process__steps li {
  display: grid;
  min-height: 150px;
  padding: 28px 0;
  grid-template-columns: 54px 1fr;
  gap: 24px;
  border-top: 1px solid var(--line);
}

.process__steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.process__steps > li > span {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.79rem;
}

.process__steps h3 {
  margin-bottom: 10px;
  font-size: 1.55rem;
}

.process__steps p {
  margin: 0;
  color: var(--muted);
}

.projects-section {
  background: var(--ink-soft);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  min-width: 0;
}

.project-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 450ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.project-card:hover .project-card__media img {
  scale: 1.045;
}

.project-card__arrow {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--cyan);
  color: var(--ink);
  font-weight: 900;
}

.project-card__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(43, 214, 247, 0.14), transparent 28%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: auto, 30px 30px, 30px 30px;
}

.project-card__placeholder i {
  position: absolute;
  width: 100px;
  height: 38px;
  border: 1px solid var(--cyan);
  transform: skewY(-22deg) rotate(22deg);
}

.project-card__placeholder i:nth-child(1) { translate: 0 -29px; opacity: 0.9; }
.project-card__placeholder i:nth-child(2) { opacity: 0.65; }
.project-card__placeholder i:nth-child(3) { translate: 0 29px; opacity: 0.4; }

.project-card__body {
  padding: 22px 2px;
}

.project-card__meta {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card h2,
.project-card h3 {
  margin-bottom: 12px;
  font-size: 1.55rem;
}

.project-card h2 a,
.project-card h3 a {
  transition: color 160ms ease;
}

.project-card h2 a:hover,
.project-card h3 a:hover {
  color: var(--cyan);
}

.project-card__body > p:last-child {
  margin: 0;
  color: var(--muted);
}

.projects-empty {
  position: relative;
  display: grid;
  min-height: 330px;
  padding: clamp(34px, 6vw, 72px);
  grid-column: 1 / -1;
  grid-template-columns: minmax(240px, 0.8fr) 1fr;
  align-items: center;
  gap: 70px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.projects-empty__grid {
  height: 210px;
  border: 1px solid var(--line);
  background:
    linear-gradient(30deg, transparent 49.5%, rgba(43, 214, 247, 0.24) 50%, transparent 50.5%),
    linear-gradient(150deg, transparent 49.5%, rgba(43, 214, 247, 0.16) 50%, transparent 50.5%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 24px 24px, 24px 24px;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
}

.projects-empty h3,
.projects-empty h2 {
  margin-bottom: 15px;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.projects-empty p:last-child {
  max-width: 540px;
  color: var(--muted);
}

.about-strip {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 15% 50%, rgba(43, 214, 247, 0.1), transparent 30rem),
    var(--ink);
}

.about-strip__inner {
  display: grid;
  grid-template-columns: minmax(290px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(50px, 10vw, 150px);
}

.about-strip__index {
  margin: 0;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(7rem, 20vw, 17rem);
  font-weight: 900;
  line-height: 0.7;
  letter-spacing: -0.09em;
  -webkit-text-stroke: 1px rgba(43, 214, 247, 0.34);
}

.about-strip__index span {
  display: block;
  translate: 17% 0;
}

.about-strip__inner > div:last-child > p:not(.eyebrow) {
  max-width: 630px;
  color: var(--muted);
}

.inquiry-cta {
  background: var(--cyan);
  color: #061014;
}

.inquiry-cta .eyebrow {
  color: #061014;
}

.inquiry-cta__inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(50px, 9vw, 130px);
  align-items: end;
}

.inquiry-cta h2 {
  max-width: 780px;
  margin-bottom: 0;
}

.inquiry-cta__inner > div:last-child > p {
  margin-top: 0;
  font-weight: 580;
}

.inquiry-cta .button {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--text);
  box-shadow: none;
}

.inquiry-cta .button:hover {
  border-color: var(--surface-2);
  background: var(--surface-2);
}

.site-footer {
  padding: 76px 0 28px;
  background: #07090b;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-logo {
  display: block;
  width: min(230px, 100%);
  margin: -22px 0 18px -18px;
}

.footer-logo img {
  width: 100%;
  border-radius: 4px;
}

.site-footer__top > div:first-child p {
  max-width: 430px;
  color: var(--muted);
}

.site-footer__label {
  margin: 2px 0 17px;
  color: #68777d;
  font-size: 0.75rem;
  font-weight: 780;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a:not(.brand) {
  color: #d8e0e3;
}

.site-footer a:not(.brand):hover {
  color: var(--cyan);
}

.site-footer__bottom {
  display: flex;
  padding-top: 26px;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: #637178;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
}

.page-main {
  min-height: 70vh;
  padding: 170px 0 120px;
}

.content-page__header,
.archive-header {
  margin-bottom: 62px;
}

.content-page__header h1,
.archive-header h1,
.project-hero h1 {
  margin-bottom: 0;
  font-size: clamp(3.3rem, 8vw, 7rem);
  text-transform: uppercase;
}

.archive-header > p:last-child {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.12rem;
}

.prose {
  color: #cad4d8;
  font-size: 1.08rem;
}

.prose > * + * {
  margin-top: 1.45em;
}

.prose h2,
.prose h3 {
  margin-top: 1.8em;
  color: var(--text);
  line-height: 1.08;
}

.prose h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
.prose h3 { font-size: 1.65rem; }

.prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose blockquote {
  margin-inline: 0;
  padding: 6px 0 6px 25px;
  border-left: 3px solid var(--cyan);
  color: var(--text);
  font-size: 1.28rem;
}

.archive-projects .project-grid {
  margin-top: 72px;
}

.nav-links {
  display: flex;
  margin-top: 56px;
  gap: 8px;
}

.nav-links .page-numbers {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
}

.nav-links .current,
.nav-links a:hover {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--ink);
}

.project-hero {
  display: grid;
  margin-bottom: 60px;
  grid-template-columns: 1fr minmax(260px, 0.45fr);
  align-items: end;
  gap: 80px;
}

.back-link {
  display: inline-block;
  margin-bottom: 50px;
  color: var(--muted);
  font-size: 0.88rem;
}

.back-link:hover {
  color: var(--cyan);
}

.project-hero__lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.project-facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.project-facts div {
  display: flex;
  padding: 13px 0;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.project-facts dt {
  color: var(--muted);
}

.project-facts dd {
  margin: 0;
  text-align: right;
}

.project-cover {
  overflow: hidden;
  border: 1px solid var(--line);
}

.project-cover img {
  width: 100%;
  max-height: 760px;
  object-fit: cover;
}

.project-content {
  padding-top: 76px;
  padding-bottom: 110px;
}

.project-next {
  padding: 75px 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.project-next__inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.project-next h2 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.error-page h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 6.7rem);
}

.error-page > .shell > p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 30px;
  color: var(--muted);
}

.nl3d-form {
  margin-top: 42px;
}

.nl3d-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.nl3d-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.nl3d-field--wide {
  grid-column: 1 / -1;
}

.nl3d-field label,
.nl3d-field legend {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 720;
}

.nl3d-field input,
.nl3d-field select,
.nl3d-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--surface);
  color: var(--text);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.nl3d-field textarea {
  min-height: 160px;
  resize: vertical;
}

.nl3d-field input:focus,
.nl3d-field select:focus,
.nl3d-field textarea:focus {
  outline: 0;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(43, 214, 247, 0.14);
}

.nl3d-field input[type="file"] {
  padding: 16px;
  border-style: dashed;
}

.nl3d-field small,
.nl3d-file-name {
  color: var(--muted);
  font-size: 0.8rem;
}

.nl3d-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 11px;
  font-size: 0.88rem;
}

.nl3d-check input {
  width: 19px;
  height: 19px;
  margin-top: 3px;
  accent-color: var(--cyan);
}

.nl3d-check a {
  color: var(--cyan);
  text-decoration: underline;
}

.nl3d-form__actions {
  display: flex;
  margin-top: 30px;
  align-items: center;
  gap: 22px;
}

.nl3d-status {
  margin: 0 0 28px;
  padding: 16px 18px;
  border: 1px solid;
  font-size: 0.94rem;
}

.nl3d-status--success {
  border-color: rgba(68, 217, 144, 0.48);
  background: rgba(68, 217, 144, 0.08);
  color: #9ff0c9;
}

.nl3d-status--error {
  border-color: rgba(255, 112, 112, 0.5);
  background: rgba(255, 112, 112, 0.08);
  color: #ffb0b0;
}

.nl3d-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 1020px) {
  .site-nav {
    gap: 18px;
  }

  .site-nav__list,
  .site-nav .menu {
    gap: 17px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__rail {
    display: none;
  }

  .service-card {
    padding: 28px;
  }

  .process {
    grid-template-columns: 1fr 1.15fr;
    gap: 64px;
  }

  .project-hero {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media (max-width: 840px) {
  :root {
    --shell: min(100% - 34px, 720px);
  }

  .site-header__inner {
    min-height: 72px;
  }

  .nav-toggle {
    z-index: 2;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 11px;
    cursor: pointer;
  }

  .nav-toggle__label {
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .nav-toggle__icon {
    position: relative;
    width: 25px;
    height: 15px;
  }

  .nav-toggle__icon i {
    position: absolute;
    right: 0;
    width: 25px;
    height: 2px;
    background: currentColor;
    transition: rotate 160ms ease, translate 160ms ease;
  }

  .nav-toggle__icon i:first-child { top: 2px; }
  .nav-toggle__icon i:last-child { bottom: 2px; width: 17px; }

  .nav-toggle[aria-expanded="true"] .nav-toggle__icon i:first-child { top: 7px; rotate: 45deg; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon i:last-child { bottom: 6px; width: 25px; rotate: -45deg; }

  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    padding: 110px 24px 40px;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    visibility: hidden;
    background: rgba(8, 11, 13, 0.98);
    opacity: 0;
    translate: 0 -10px;
    transition: opacity 180ms ease, translate 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    translate: 0;
  }

  .site-nav__list,
  .site-nav .menu {
    flex-direction: column;
    gap: 20px;
  }

  .site-nav__list a,
  .site-nav .menu a {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 7vw, 3rem);
    font-weight: 820;
    line-height: 1;
    text-transform: uppercase;
  }

  .site-nav .button {
    margin-top: 24px;
  }

  .hero {
    min-height: 750px;
    height: 100svh;
  }

  .hero__media img {
    object-position: 67% 50%;
  }

  .hero__veil {
    background:
      linear-gradient(90deg, rgba(6, 9, 11, 0.97) 0%, rgba(6, 9, 11, 0.75) 65%, rgba(6, 9, 11, 0.42) 100%),
      linear-gradient(0deg, rgba(6, 9, 11, 0.85) 0%, transparent 60%);
  }

  .hero__inner {
    padding-top: 86px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 14vw, 6.5rem);
  }

  .section-heading--split,
  .process,
  .about-strip__inner,
  .inquiry-cta__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .section-heading--split {
    align-items: start;
  }

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

  .service-card {
    min-height: 380px;
  }

  .process__intro {
    position: static;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-grid .project-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 12px);
  }

  .about-strip__index {
    font-size: clamp(8rem, 35vw, 15rem);
  }

  .about-strip__index span {
    display: inline;
    translate: 0;
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__top > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 30px);
  }

  .brand__name {
    font-size: 0.96rem;
  }

  .brand__mark--official {
    width: 42px;
    height: 52px;
  }

  .brand__mark--official img {
    top: -14px;
    width: 96px;
    height: 96px;
  }

  .hero__inner {
    padding-bottom: 92px;
  }

  .hero__content {
    padding-top: 42px;
  }

  .hero h1 {
    margin-bottom: 24px;
    font-size: clamp(3rem, 16vw, 5.25rem);
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__actions {
    margin-top: 30px;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero__ticker div {
    justify-content: flex-start;
    gap: 22px;
  }

  .hero__ticker span:nth-of-type(n+3),
  .hero__ticker i:nth-of-type(n+3) {
    display: none;
  }

  .section {
    padding: 82px 0;
  }

  h2 {
    font-size: clamp(2.35rem, 13vw, 3.5rem);
  }

  .service-card {
    min-height: 355px;
    padding: 26px;
  }

  .service-card__icon {
    margin: 35px 0 32px;
  }

  .process__steps li {
    grid-template-columns: 42px 1fr;
    gap: 15px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-grid .project-card:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
  }

  .projects-empty {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .projects-empty__grid {
    height: 150px;
  }

  .about-strip__index {
    font-size: 38vw;
  }

  .inquiry-cta__inner {
    align-items: start;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .site-footer__top > div:first-child {
    grid-column: auto;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 7px;
  }

  .page-main {
    padding: 130px 0 86px;
  }

  .content-page__header h1,
  .archive-header h1,
  .project-hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.6rem);
  }

  .project-next__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nl3d-form__grid {
    grid-template-columns: 1fr;
  }

  .nl3d-field--wide {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
