:root {
  --paper: #e4e2dd;
  --ink: #12121e;
  --focus: #159c7c;
  --desktop-stage-width: min(76vw, 1360px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

img,
video {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.boot-loader {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background: var(--paper);
  transition: opacity 420ms ease, visibility 420ms ease;
}

.loader-mark {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  animation: loader-pulse 900ms ease-in-out infinite alternate;
}

.is-loaded .boot-loader {
  opacity: 0;
  visibility: hidden;
}

.pixel-section {
  width: 100%;
  margin: 0;
  background: var(--paper);
  scroll-margin-top: 0;
}

#about,
#services {
  background: #fff;
}

#contact {
  background: #333;
}

#process {
  background: var(--paper);
}

.mobile-section {
  display: none;
}

.stage {
  position: relative;
  width: 100%;
  aspect-ratio: var(--stage-w) / var(--stage-h);
  overflow: hidden;
  container-type: inline-size;
}

.stage-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.pixel-video,
.hotspot {
  position: absolute;
  z-index: 2;
}

.pixel-video {
  object-fit: cover;
  opacity: 0;
  transition: opacity 180ms ease, transform 220ms ease, filter 220ms ease;
  background: transparent;
  cursor: pointer;
}

.pixel-video.is-active,
.pixel-video.autoplay-visible {
  opacity: 1;
}

.pixel-video:hover {
  transform: none;
  filter: none;
}

.home-video {
  border: clamp(6px, 0.68vw, 18px) solid #282826;
  border-width: clamp(6px, 0.72cqw, 18px);
}

.home-tag-foreground {
  position: absolute;
  z-index: 3;
  left: 49.19%;
  top: 14.10%;
  width: 26.94%;
  height: auto;
  pointer-events: none;
}

.about-stage {
  background: #fff;
  color: var(--ink);
}

.about-title,
.about-copy,
.about-brand-grid {
  position: absolute;
  z-index: 2;
}

.about-title {
  left: 7.15%;
  top: 13.05%;
  margin: 0;
  font-size: clamp(2.3rem, 6.1cqw, 6.1rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0;
}

.about-title span {
  display: inline-block;
  padding: 0 0.11em 0.04em;
  border: 0.43cqw solid currentColor;
  font-weight: 800;
  line-height: 0.92;
}

.about-copy {
  left: 7.15%;
  top: 31.8%;
  width: 42.2%;
  color: var(--ink);
  text-align: center;
}

.about-copy p {
  margin: 0;
  font-size: clamp(0.95rem, 1.88cqw, 1.88rem);
  line-height: 1.36;
}

.about-copy p + p {
  margin-top: 3cqw;
}

.about-brand-grid {
  right: 3.7%;
  top: 13.05%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 41%;
  height: 72%;
  overflow: hidden;
}

.about-brand-tile {
  position: relative;
  display: grid;
  place-items: center;
}

.about-brand-tile img {
  width: 72%;
  max-width: none;
  opacity: 0.45;
  filter: brightness(0) saturate(100%);
}

.tile-grey {
  background: #d9d9d9;
}

.tile-coral {
  background: #d36c73;
}

.tile-green {
  background: #39ae8d;
}

.tile-purple {
  background: #9b78b8;
}

.tile-yellow {
  background: #f0cd4d;
}

.tile-cream {
  background: #eadbc7;
}

.work-stage {
  background: var(--paper);
  color: #151515;
}

.work-title {
  position: absolute;
  left: 6.25%;
  top: 13.2%;
  z-index: 3;
  margin: 0;
  font-size: clamp(2.5rem, 7.25cqw, 7.25rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0;
}

.work-title span {
  display: inline-block;
  padding: 0 0.13em 0.04em;
  border: 0.43cqw solid currentColor;
  font-weight: 800;
  font-style: italic;
  line-height: 0.9;
}

.work-gallery {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.work-media {
  position: absolute;
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  object-fit: cover;
  background: var(--paper);
}

.work-portrait {
  left: 6.18%;
  top: 27.94%;
  width: 10.18%;
  height: 21.17%;
}

.work-hands-card {
  left: 17.96%;
  top: 27.94%;
  width: 17.95%;
  height: 21.17%;
}

.work-black-video {
  left: 37.39%;
  top: 27.94%;
  width: 13.55%;
  height: 36.39%;
}

.work-black-box {
  left: 52.48%;
  top: 27.94%;
  width: 12.39%;
  height: 36.39%;
}

.work-building {
  left: 66.24%;
  top: 27.94%;
  width: 8.10%;
  height: 21.17%;
}

.work-product {
  left: 75.79%;
  top: 27.94%;
  width: 17.95%;
  height: 21.17%;
}

.work-chair-detail {
  left: 6.18%;
  top: 52.56%;
  width: 12.39%;
  height: 36.84%;
}

.work-model {
  left: 20.10%;
  top: 52.56%;
  width: 13.55%;
  height: 36.84%;
}

.work-studio {
  left: 35.19%;
  top: 67.79%;
  width: 17.95%;
  height: 21.50%;
}

.work-fabric {
  left: 54.57%;
  top: 67.79%;
  width: 10.13%;
  height: 21.62%;
}

.work-suit {
  left: 66.24%;
  top: 52.56%;
  width: 12.39%;
  height: 36.84%;
}

.work-chair {
  left: 80.17%;
  top: 52.56%;
  width: 13.60%;
  height: 36.84%;
}

.work-black-video,
.work-suit {
  object-position: center;
}

.work-black-box {
  object-position: 54% 44%;
}

.work-product {
  object-position: center 48%;
}

.work-chair-detail {
  object-position: 39% 50%;
}

.work-chair {
  object-position: 52% 54%;
}

.services-stage {
  background: #fff;
  color: #151515;
}

.services-title,
.services-intro {
  position: absolute;
  z-index: 2;
  margin: 0;
}

.services-title {
  left: 7.15%;
  top: 12.4%;
  font-size: clamp(2.5rem, 7.3cqw, 7.3rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0;
}

.services-title span {
  display: inline-block;
  margin-inline: 0.07em;
  padding: 0 0.1em 0.04em;
  border: 0.45cqw solid currentColor;
  font-weight: 800;
  font-style: italic;
  line-height: 0.9;
}

.services-intro {
  left: 7.25%;
  top: 25.6%;
  width: 86.5%;
  font-size: clamp(1rem, 2.02cqw, 2.02rem);
  line-height: 1.26;
}

.services-card-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  color: #161616;
  font-family: Arial, Helvetica, sans-serif;
}

.service-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2.35cqw 2.45cqw 2.15cqw;
  border: 0.58cqw solid #151515;
  border-radius: 29% / 35%;
  background: #fff;
  text-align: center;
}

.service-card img {
  width: 38%;
  height: 29%;
  margin: 0 0 0.9cqw;
  object-fit: contain;
}

.service-card h3,
.service-card p {
  margin: 0;
}

.service-card h3 {
  max-width: 100%;
  font-size: clamp(0.62rem, 1.48cqw, 1.42rem);
  font-weight: 800;
  line-height: 1.08;
  white-space: nowrap;
}

.service-card h3 span {
  font-weight: 800;
}

.service-card p {
  max-width: 86%;
  margin-top: 0.5cqw;
  font-size: clamp(0.58rem, 1.28cqw, 1.22rem);
  line-height: 1.28;
  text-wrap: balance;
}

.contact-stage {
  background: #333;
  color: #fff;
}

.contact-logo,
.contact-email,
.contact-cta,
.contact-socials {
  position: absolute;
  z-index: 2;
}

.contact-logo {
  left: 19.9%;
  top: 29.7%;
  width: 27.6%;
  height: auto;
}

.contact-email {
  left: 59.9%;
  top: 36.2%;
  color: #fff;
  font-size: clamp(1rem, 2.6cqw, 2.45rem);
  line-height: 1;
  text-decoration: none;
}

.contact-cta {
  left: 20.5%;
  top: 68.15%;
  display: grid;
  place-items: center;
  width: 22%;
  height: 7.75%;
  border-radius: 999px;
  background: #169b80;
  color: #fff;
  font-size: clamp(0.9rem, 2.1cqw, 2rem);
  line-height: 1;
  text-decoration: none;
}

.contact-socials {
  left: 63%;
  top: 68.05%;
  display: flex;
  gap: 3cqw;
  align-items: center;
}

.contact-socials a {
  display: block;
  width: 5.25cqw;
  height: 5.25cqw;
  outline-offset: 0.55cqw;
}

.contact-socials a:focus-visible,
.contact-email:focus-visible,
.contact-cta:focus-visible {
  outline: 0.35cqw solid #fff;
}

.contact-socials img {
  width: 100%;
  height: 100%;
  filter: invert(1) brightness(3);
}

.process-stage {
  background: var(--paper);
  color: #151515;
}

.section-arrow {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 2;
  width: 4.08cqw;
  height: 4.5cqw;
  transform: translateX(-50%);
  color: #fff;
  overflow: visible;
}

.section-arrow path {
  fill: none;
  stroke: currentColor;
  stroke-width: 12;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.work-arrow {
  z-index: 1;
}

.services-arrow {
  color: var(--paper);
}

.process-title {
  position: absolute;
  left: 5.95%;
  top: 13.45%;
  z-index: 2;
  width: 56%;
  margin: 0;
  color: #151515;
  font-size: clamp(2.4rem, 5.85cqw, 6.2rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
  white-space: nowrap;
}

.process-title span {
  display: block;
  width: max-content;
  margin-top: 0.28cqw;
  padding: 0 0.18em 0.04em;
  border: 0.45cqw solid currentColor;
  font-weight: 800;
  font-style: italic;
  line-height: 0.95;
}

.process-steps {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.process-step {
  position: absolute;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.2cqw;
  align-items: start;
  width: 25.5%;
}

.process-step-1 {
  left: 5.95%;
  top: 42.25%;
}

.process-step-2 {
  left: 5.95%;
  top: 70.38%;
}

.process-step-3 {
  left: 32.85%;
  top: 42.25%;
}

.process-step-4 {
  left: 32.85%;
  top: 70.38%;
}

.process-number {
  color: #151515;
  font-size: clamp(1.8rem, 4.05cqw, 4.05rem);
  font-weight: 400;
  line-height: 0.98;
}

.process-step h3,
.process-step p {
  margin: 0;
}

.process-step h3 {
  padding-top: 0.35cqw;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 2cqw, 2rem);
  font-weight: 400;
  line-height: 1.05;
}

.process-step p {
  grid-column: 2;
  max-width: 15.2cqw;
  margin-top: 1.2cqw;
  font-size: clamp(0.78rem, 1.28cqw, 1.28rem);
  line-height: 1.34;
}

.process-devices {
  position: absolute;
  z-index: 2;
  right: 4.7%;
  top: 21%;
  width: 38.3%;
  height: auto;
}

.hotspot {
  display: block;
  border-radius: 999px;
  outline-offset: 6px;
}

.hotspot:focus-visible {
  outline: 4px solid var(--focus);
}

@media (min-width: 901px) {
  .stage {
    width: var(--desktop-stage-width);
    margin-inline: auto;
  }
}

@media (max-width: 900px) {
  html,
  body {
    overflow-x: hidden;
  }

  .pixel-section {
    background: #f6f6f4;
  }

  .stage {
    display: none;
  }

  .mobile-section {
    display: grid;
    gap: 24px;
    width: 100%;
    max-width: 100%;
    padding: 34px 22px;
    overflow: hidden;
  }

  .mobile-section h1,
  .mobile-section h2,
  .mobile-section h3,
  .mobile-section p {
    margin: 0;
  }

  .mobile-section h1,
  .mobile-section h2 {
    line-height: 0.95;
    font-weight: 500;
    color: #111119;
  }

  .mobile-section h1 {
    font-size: clamp(3.3rem, 14vw, 5.6rem);
    font-weight: 900;
    letter-spacing: 0;
  }

  .mobile-section h2 {
    font-size: clamp(2.8rem, 14vw, 5.8rem);
  }

  .mobile-section h2 span {
    display: inline-block;
    padding: 0 0.1em 0.04em;
    border: 3px solid currentColor;
    font-weight: 900;
    font-style: italic;
  }

  .mobile-section p,
  .mobile-section li {
    font-size: clamp(1rem, 4.8vw, 1.35rem);
    line-height: 1.35;
  }

  .mobile-topline {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 14px;
  }

  .mobile-socials {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .mobile-socials a {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 2px solid #15151b;
    border-radius: 999px;
    color: #15151b;
    font-size: 0.86rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
  }

  .mobile-pill {
    display: inline-grid;
    place-items: center;
    justify-self: start;
    min-height: 44px;
    padding: 0 18px;
    border: 2px solid currentColor;
    border-radius: 999px;
    color: #15151b;
    font-size: 1.1rem;
    text-decoration: none;
  }

  .mobile-home .mobile-pill {
    justify-self: start;
  }

  .mobile-video-grid,
  .mobile-masonry {
    display: grid;
    gap: 10px;
  }

  .mobile-video-grid > *,
  .mobile-masonry > * {
    min-width: 0;
  }

  .mobile-video-grid {
    grid-template-columns: 1fr;
  }

  .mobile-video-grid video,
  .mobile-masonry video,
  .mobile-masonry img,
  .mobile-device-static {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .mobile-video-grid video,
  .mobile-masonry video,
  .mobile-masonry img {
    border: 6px solid #282826;
  }

  .mobile-video-grid video {
    aspect-ratio: 9 / 14;
  }

  .mobile-about {
    background: #fff;
  }

  .mobile-about-brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    aspect-ratio: 3 / 2;
    overflow: hidden;
  }

  .mobile-masonry {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .mobile-masonry > * {
    min-height: 160px;
    aspect-ratio: 3 / 4;
    height: 100%;
  }

  .mobile-services {
    background: #fff;
  }

  .mobile-service-grid {
    display: grid;
    gap: 14px;
  }

  .mobile-service-grid article {
    padding: 22px 18px;
    border: 5px solid #151515;
    border-radius: 42px;
    text-align: center;
  }

  .mobile-service-grid h3 {
    margin-bottom: 8px;
    font-size: 1.15rem;
    line-height: 1.1;
  }

  .mobile-service-grid p {
    font-size: 1rem;
  }

  .mobile-process {
    background: var(--paper);
  }

  .mobile-process ol {
    display: grid;
    gap: 18px;
    padding: 0;
    margin: 0;
    list-style: none;
    counter-reset: process;
  }

  .mobile-process li {
    display: grid;
    grid-template-columns: 3.3rem 1fr;
    gap: 10px 14px;
    align-items: start;
    counter-increment: process;
  }

  .mobile-process li::before {
    content: "0" counter(process);
    font-size: 2.35rem;
    line-height: 0.95;
  }

  .mobile-process strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.3rem;
    font-weight: 400;
  }

  .mobile-process span {
    grid-column: 2;
  }

  .mobile-device-static {
    justify-self: end;
    max-width: min(460px, 62vw);
  }

  .mobile-contact {
    min-height: 100svh;
    place-content: center;
    justify-items: center;
    background: #333;
    color: #fff;
    text-align: center;
  }

  .mobile-contact h2 {
    color: #fff;
    font-weight: 900;
  }

  .mobile-email {
    color: #fff;
    font-size: clamp(1.7rem, 8vw, 3rem);
    text-decoration: none;
  }

  .mobile-contact .mobile-pill {
    border: 0;
    background: #159c7c;
    color: #fff;
  }

  .mobile-contact .mobile-socials a {
    border-color: #fff;
    color: #fff;
  }
}

@media (min-width: 560px) and (max-width: 900px) {
  .mobile-topline {
    grid-template-columns: 1fr auto;
  }

  .mobile-home .mobile-pill {
    justify-self: end;
  }

  .mobile-video-grid,
  .mobile-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .pixel-section {
    background: var(--paper);
  }

  .stage {
    display: block;
    width: 100%;
  }

  .mobile-section {
    display: none;
  }

  .about-stage {
    aspect-ratio: 4268 / 2140;
  }

  .about-copy {
    width: 44.5%;
  }

  .about-brand-grid {
    height: 76.5%;
  }

  .about-copy p {
    font-size: 2.32cqw;
    line-height: 1.22;
  }

  .about-copy p + p {
    margin-top: 2.05cqw;
  }

  .services-intro {
    font-size: 1.96cqw;
    line-height: 1.2;
  }

  .service-card h3 {
    font-size: 1.82cqw;
  }

  .service-card p {
    font-size: 1.5cqw;
    line-height: 1.15;
  }

  .process-title {
    font-size: 5.5cqw;
  }

  .process-number {
    font-size: 4.12cqw;
  }

  .process-step {
    column-gap: 1cqw;
    width: 27%;
  }

  .process-step h3 {
    padding-top: 0.22cqw;
    font-size: 2.08cqw;
    line-height: 1.02;
  }

  .process-step p {
    max-width: 18.2cqw;
    margin-top: 0.72cqw;
    font-size: 1.56cqw;
    line-height: 1.15;
  }
}

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

@keyframes loader-pulse {
  from {
    opacity: 0.45;
  }
  to {
    opacity: 1;
  }
}
