@font-face {
  font-family: Montserrat-Regular;
  src: url("./font/Montserrat-Regular.otf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: NB-International;
  src: url("./font/nbinternationalproreg-webfont.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

:root {
  color-scheme: light;
  --works-bg: #fafafa;
  --works-panel: rgba(255, 255, 255, 0.96);
  --works-border: rgba(0, 0, 0, 0.13);
  --works-text: #000000;
  --works-muted: rgba(0, 0, 0, 0.3);
  --works-focus: rgba(167, 118, 88, 0.9);
  --works-font: "NB-International", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

html {
  background: var(--works-bg);
}

body {
  overflow: hidden;
  background: var(--works-bg);
  color: var(--works-text);
  font-family: var(--works-font);
  text-rendering: optimizeLegibility;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
  background: none;
}

button,
a {
  text-decoration: none;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--works-focus);
  outline-offset: 3px;
}

.works-page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.works-page .lab-topbar {
  opacity: 1;
  pointer-events: auto;
  animation: works-fade-in 0.9s cubic-bezier(0.215, 0.61, 0.355, 1) 0.18s forwards;
}

.works-page .lab-topnav {
  max-width: 36.25rem;
}

.works-page .lab-contact-panel.is-open {
  opacity: 1;
}

.works-page .lab-contact-panel.is-open + .lab-contact-blur {
  opacity: 1;
  pointer-events: auto;
}

.works-topbar {
  position: fixed;
  top: 4px;
  left: 4px;
  right: 4px;
  z-index: 10;
  opacity: 0;
  animation: works-fade-in 0.9s cubic-bezier(0.215, 0.61, 0.355, 1) 0.18s forwards;
}

.works-topnav {
  display: flex;
  width: 100%;
  max-width: 36.25rem;
  gap: 2px;
}

.works-pill {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  gap: 2px;
  min-height: 58px;
  padding: 40px 10px 7px;
  border: 1px solid var(--works-border);
  border-radius: 6px;
  background: var(--works-panel);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  color: var(--works-muted);
  font-size: 0.65625rem;
  line-height: 1.05;
  transition:
    color 0.45s cubic-bezier(0.215, 0.61, 0.355, 1),
    border-color 0.45s cubic-bezier(0.215, 0.61, 0.355, 1),
    opacity 0.45s cubic-bezier(0.215, 0.61, 0.355, 1),
    transform 0.45s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.works-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: currentColor;
  opacity: 0.03;
  pointer-events: none;
}

.works-pill:hover,
.works-pill:focus-visible,
.works-pill.is-active {
  color: var(--works-text);
}

.works-pill-brand-word,
.works-pill-brand-mark,
.works-pill-brand-suffix {
  display: inline-flex;
}

.works-pill-brand {
  width: 12.5rem;
  flex: 0 0 12.5rem;
}

.works-pill-brand-mark {
  margin-top: -0.5px;
}

.works-pill-brand-suffix {
  display: none;
}

.works-topnav .works-pill:not(.works-pill-brand) {
  flex: 1 1 0;
}

.works-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: var(--works-bg);
}

.works-shell {
  position: fixed;
  inset: 0;
  z-index: 2;
  overflow-y: auto;
  overscroll-behavior: none;
  opacity: 0;
  transition: opacity 0.75s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.works-shell.is-ready {
  opacity: 1;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: start;
  row-gap: 5.9rem;
  padding: 16.25rem 0 5.5rem;
}

.works-tile {
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 0.55s cubic-bezier(0.215, 0.61, 0.355, 1),
    transform 0.55s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.works-tile.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.works-link {
  display: block;
  width: var(--tile-width, 62%);
  transform: translate3d(0, 0, 0);
  transition: transform 0.45s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.works-link:hover,
.works-link:focus-visible {
  transform: translate3d(0, -4px, 0);
}

.works-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  aspect-ratio: var(--tile-ratio, 1);
}

.works-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.works-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.works-loader {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--works-bg);
  font-size: 0.6875rem;
  line-height: 1;
  opacity: 1;
  transition: opacity 0.55s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.works-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.works-loader[hidden] {
  display: none;
}

.works-empty {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding: 12rem 1rem 4rem;
  font-size: 0.75rem;
}

.works-contact-panel {
  position: fixed;
  inset: 0;
  z-index: 29;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
}

.works-contact-panel.is-open {
  pointer-events: none;
}

.works-contact-nav {
  width: auto;
  pointer-events: auto;
}

.works-contact-list {
  display: flex;
  gap: 2px;
  padding: 14px;
  transform: translateY(75%);
}

.works-contact-item {
  display: flex;
  flex-shrink: 0;
  opacity: 0;
}

.works-contact-link,
.works-contact-meta a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--works-text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.015em;
}

.works-contact-link {
  min-height: 48px;
  padding: 14px 16px;
  border-radius: 6px;
  font-size: 10.5px;
  line-height: 1.05;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.works-contact-link-pill {
  border-radius: 999px;
}

.works-contact-link::before,
.works-contact-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.works-contact-link::before {
  border: 1px solid currentColor;
  opacity: 0.13;
}

.works-contact-link::after {
  background: currentColor;
  opacity: 0.03;
}

.works-contact-link span,
.works-contact-meta a span {
  position: relative;
  z-index: 1;
  opacity: 0.3;
  transform: translateY(1.5px);
}

.works-contact-meta {
  position: fixed;
  bottom: 0.6875rem;
  left: 0.875rem;
  display: flex;
  gap: 0.75rem;
  opacity: 0;
  font-size: 10.5px;
  line-height: 1.24;
  letter-spacing: 0.015em;
  pointer-events: auto;
}

.works-contact-blur {
  position: fixed;
  inset: 0;
  z-index: 28;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.works-contact-meta a:hover span,
.works-contact-meta a:focus-visible span,
.works-contact-link:hover span,
.works-contact-link:focus-visible span {
  opacity: 1;
}

body[data-works-contact="open"] .works-contact-panel {
  opacity: 1;
}

body[data-works-contact="open"] .works-topbar {
  pointer-events: none;
}

@keyframes works-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (min-width: 640px) {
  .works-pill-brand-suffix {
    display: inline-flex;
  }

  .works-contact-list {
    transform: translateY(0);
  }
}

@media (max-width: 1023px) {
  .works-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 4.6rem;
    padding-top: 13.5rem;
  }
}

@media (max-width: 767px) {
  .works-page .lab-topnav {
    max-width: none;
  }

  .works-page .lab-pill {
    min-height: 54px;
    padding: 36px 8px 7px;
    font-size: 0.59375rem;
  }

  .works-page .lab-pill-brand {
    width: 25%;
    flex: 0 0 25%;
  }

  .works-page .lab-topnav .lab-pill:not(.lab-pill-brand) {
    width: 25%;
    flex: 0 0 25%;
  }

  .works-topnav {
    max-width: none;
  }

  .works-pill {
    min-height: 54px;
    padding: 36px 8px 7px;
    font-size: 0.59375rem;
  }

  .works-pill-brand {
    width: 25%;
    flex: 0 0 25%;
  }

  .works-topnav .works-pill:not(.works-pill-brand) {
    width: 25%;
    flex: 0 0 25%;
  }

  .works-contact-item-address {
    display: none;
  }
}

@media (max-width: 639px) {
  .works-page .lab-pill-brand-mark {
    display: inline-flex;
    margin-left: 2px;
    font-size: 9px;
    letter-spacing: 0.01em;
  }

  .works-page .lab-pill-brand-suffix {
    display: none;
  }

  .works-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 3.5rem;
    padding-top: 8.75rem;
    padding-bottom: 3rem;
  }

  .works-pill-brand-mark {
    display: inline-flex;
  }

  .works-pill-brand-suffix {
    display: none;
  }

  .works-link {
    width: var(--tile-width-mobile, 78%);
  }

  .works-contact-list {
    max-width: 100%;
    padding-inline: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .works-page .lab-topbar,
  .works-page .lab-contact-panel,
  .works-page .lab-contact-meta,
  .works-page .lab-contact-blur,
  .works-page .lab-contact-list,
  .works-page .lab-contact-item,
  .works-topbar,
  .works-shell,
  .works-loader,
  .works-tile,
  .works-link,
  .works-contact-panel,
  .works-contact-meta,
  .works-contact-blur {
    animation: none !important;
    transition: none !important;
  }
}
