:root {
  color-scheme: dark;
  --bg:#050505;
  --ink:#f5f5f5;
  --muted:#aaa;
  --border:#292929;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 36px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 7px;
}
::selection {
  background: #555;
  color: #fff;
}
.wrap {
  width: min(1248px, calc(100% - 96px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  top: -100px;
  left: 24px;
  z-index: 20;
  padding: 10px;
  background: #fff;
  color: #000;
}
.skip:focus {
  top: 10px;
}
.ambient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  min-height: 740px;
  pointer-events: none;
  overflow: hidden;
  background-color: #050505;
  background-image:
    linear-gradient(#ffffff0b 1px, transparent 1px),
    linear-gradient(
      90deg,
      #ffffff0b 1px,
      transparent 1px);
  background-size: 48px 48px;
}
.ambient:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      0deg,
      #050505,
      transparent 28%,
      #0003),
    radial-gradient(
      ellipse at center,
      transparent 10%,
      #05050599 100%);
}
canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: .85;
}
.nav,
main,
footer {
  position: relative;
  z-index: 1;
}
.nav {
  height: 104px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wordmark {
  display: flex;
  gap: 18px;
  align-items: center;
}
.mark {
  color: #999;
}
.nav nav {
  display: flex;
  gap: 36px;
  color: #bbb;
}
.nav nav a:hover,
.back:hover {
  color: #fff;
}
.hero {
  min-height: max(636px, calc(100svh - 104px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 70px 30px;
}
.hero-copy {
  max-width: 900px;
  padding-bottom: 92px;
}
.eyebrow {
  color: #aaa;
  margin: 0 0 22px;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1 {
  margin-bottom: 28px;
}
h1 span {
  color: #929292;
}
.hero-description {
  max-width: 570px;
  color: #b9b9b9;
  margin-bottom: 32px;
}
.button {
  display: inline-flex;
  gap: 34px;
  align-items: center;
  background: #eee;
  color: #111;
  border-radius: 30px;
  padding: 13px 23px;
  transition: transform .2s, background .2s;
}
.button:hover {
  background: #fff;
  transform: translateY(-2px);
}
.button:active {
  transform: translateY(1px);
}
.role-line {
  margin: 22px 0 0;
  color: #aaa;
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #ffffff20;
  padding-top: 22px;
  color: #999;
}
.motion-toggle {
  position: absolute;
  right: 0;
  bottom: 86px;
  border: 1px solid #ffffff30;
  border-radius: 20px;
  color: #aaa;
  background: #090909b3;
  padding: 7px 13px;
  cursor: pointer;
}
.work {
  padding-top: 100px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}
.section-heading h2,
.section-heading .eyebrow {
  margin: 0;
}
.project {
  padding: 0 0 80px;
  margin-bottom: 70px;
  border-bottom: 1px solid var(--border);
}
.project-title {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 28px;
}
.project-title > .eyebrow {
  align-self: flex-start;
  padding-top: 5px;
}
.project-title div .eyebrow {
  margin-bottom: 8px;
}
.project-title h3 {
  margin: 0;
}
.project-arrow {
  margin-left: auto;
  color: #888;
  transition: transform .25s;
}
.project-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 48px;
  align-items: center;
}
.project-image,
.case-image {
  overflow: hidden;
  border: 1px solid #ffffff19;
  border-radius: 14px;
  background: #111;
}
.project-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
  display: block;
  transition: transform .5s;
}
.project-link {
  display: block;
  transition: transform .25s;
}
.project-link:hover {
  transform: translateY(-2px);
}
.project-link:hover .project-image img {
  transform: scale(1.025);
}
.project-link:hover .project-arrow {
  transform: translate(3px, -3px);
  color: #fff;
}
.tag {
  color: #aaa;
  margin-bottom: 17px;
}
.project-copy h4 {
  margin-bottom: 16px;
}
.project-copy > p:not(.tag) {
  color: #aaa;
}
.result {
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 24px 0;
}
.result span {
  color: #aaa;
  max-width: 250px;
}
.text-link {
  display: inline-block;
  border-bottom: 1px solid #666;
  padding-bottom: 5px;
}
.about {
  padding-block: 30px 110px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.about-grid p {
  color: #aaa;
  max-width: 540px;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding-block: 30px;
  border-top: 1px solid var(--border);
  color: #999;
}
footer div {
  display: flex;
  gap: 30px;
}
.case-hero {
  padding-top: 38px;
}
.back {
  display: inline-block;
  color: #aaa;
  margin-bottom: 70px;
}
.case-intro {
  max-width: 750px;
  color: #bbb;
}
.case-meta {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 70px;
  padding-block: 20px 40px;
  max-width: 920px;
}
.case-meta .eyebrow {
  margin-bottom: 9px;
}
.case-meta p {
  color: #aaa;
}
.case-image img {
  display: block;
  width: 100%;
  height: auto;
}
.case-body {
  padding-top: 75px;
}
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  padding-block: 50px;
  border-top: 1px solid var(--border);
}
.story h2 {
  max-width: 420px;
}
.story > p {
  color: #bbb;
}
.case-body > .case-image {
  margin-block: 20px 65px;
}
.next-project {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-block: 50px 90px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.next-project .eyebrow {
  grid-column: 1/-1;
  margin: 0;
}
@media (max-width: 1024px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .project-grid {
    gap: 30px;
    grid-template-columns: 1.3fr 1fr;
  }
  .story,
  .about-grid {
    gap: 40px;
  }
  .hero {
    min-height: max(636px, calc(100svh - 104px));
  }
}
@media (max-width: 767px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .nav {
    height: 84px;
  }
  .wordmark {
    gap: 8px;
  }
  .nav nav {
    gap: 20px;
  }
  .nav nav a:last-child {
    display: none;
  }
  .hero {
    min-height: calc(100svh - 84px);
    padding-block: 60px 26px;
  }
  .ambient {
    min-height: 700px;
  }
  .hero-copy {
    padding-bottom: 85px;
  }
  .hero-description {
    max-width: 450px;
  }
  .hero-bottom {
    gap: 25px;
  }
  .hero-bottom span:first-child {
    max-width: 160px;
  }
  .motion-toggle {
    bottom: 100px;
  }
  .work {
    padding-top: 64px;
  }
  .section-heading {
    margin-bottom: 38px;
  }
  .project-title {
    gap: 16px;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .project {
    padding-bottom: 50px;
    margin-bottom: 44px;
  }
  .project-copy h4 {
    max-width: 420px;
  }
  .result {
    margin-block: 22px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .about {
    padding-bottom: 65px;
  }
  footer {
    flex-direction: column;
    gap: 18px;
  }
  footer div {
    justify-content: space-between;
  }
  .case-hero {
    padding-top: 18px;
  }
  .back {
    margin-bottom: 46px;
  }
  .case-meta {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: 20px;
  }
  .story {
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 30px;
  }
  .case-body {
    padding-top: 45px;
  }
  .next-project {
    margin-block: 30px 60px;
  }
}
.hero {
  position: relative;
}
.project-image img {
  height: auto;
}
.motion-toggle {
  top: 12px;
  bottom: auto;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
