:root {
  --black: #000;
  --white: #f7f7f5;
  --gutter: 1.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-size-body: clamp(16px, 1.125rem, 22px);
  --font-size-card-title: clamp(20px, 1.5625rem, 30px);
  --font-size-caption: 0.75rem;
  --line-height-body: 1.8;
  --line-height-card-title: 1.4;
  --section-top-space: 10.375rem;
  --section-content-gap: 3.3125rem;
  --media-meta-gap: 1.5rem;
  --section-break-space: clamp(5rem, 7vw, 7rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
  font-size: 1vw;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: "IBM Plex Sans JP", sans-serif;
  font-size: 1rem;
  line-height: 1.08;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

a {
  text-decoration: none;
}

button {
  border: 0;
}

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

p,
h1,
h2,
figure,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

::selection {
  color: var(--black);
  background: #6f7cff;
}

.section-light {
  background: var(--white);
}

.eyebrow {
  font-size: 0.82rem;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: white;
  background: black;
}

.loader__brand {
  opacity: 0;
  font-size: clamp(40px, 8vw, 128px);
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.15;
  white-space: nowrap;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.4rem;
  padding: 0 var(--gutter);
  color: white;
  mix-blend-mode: difference;
  pointer-events: none;
}

.site-header a,
.site-header button {
  pointer-events: auto;
}

.mini-logo {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0;
  opacity: 0;
  transform: translateY(-0.6rem);
  transition: opacity 0.35s ease, transform 0.35s var(--ease);
}

.site-header.is-visible .mini-logo {
  opacity: 1;
  transform: translateY(0);
}

.menu-trigger {
  display: flex;
  gap: 0.45rem;
  align-items: baseline;
  padding: 0;
  color: inherit;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
}

.menu-trigger__text {
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
}

.menu-trigger__icon {
  position: relative;
  display: block;
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 600;
  width: 1.2em;
  height: 0.75em;
  height: 1cap;
}

.menu-trigger__icon i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
}

.menu-trigger__icon i:first-child {
  top: 0;
}

.menu-trigger__icon i:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.menu-trigger__icon i:last-child {
  bottom: 0;
}

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 1.35rem var(--gutter) 1.25rem;
  color: white;
  background: black;
  opacity: 0;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease), opacity 0.2s, visibility 0.7s;
}

.menu-panel.is-open {
  opacity: 1;
  visibility: visible;
  clip-path: inset(0 0 0 0);
}

.menu-panel__top,
.menu-panel__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-panel__top > span {
  font-size: 1.55rem;
  font-weight: 700;
}

.menu-close {
  padding: 0;
  color: white;
  font-size: 0.72rem;
  background: transparent;
  cursor: pointer;
}

.menu-panel__nav {
  display: flex;
  flex-direction: column;
  align-self: center;
}

.menu-panel__nav a {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  border-bottom: 1px solid #343434;
  font-size: clamp(4.8rem, 11vw, 10rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.88;
  transition: color 0.25s, padding-left 0.45s var(--ease);
}

.menu-panel__nav a:hover {
  color: #777;
  padding-left: 2.5vw;
}

.menu-panel__nav span {
  margin-top: 0.8em;
  font-size: 0.68rem;
  letter-spacing: 0;
}

.menu-panel__footer,
.menu-panel__footer div {
  gap: 1rem;
  font-size: 0.8rem;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 1rem var(--gutter);
}

.hero__intro {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  max-width: 24rem;
  font-size: 1.5625rem;
  font-weight: 500;
  line-height: 1.35;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 10.108rem;
  min-width: 10.108rem;
  min-height: 3.1875rem;
  padding: 0 1.32rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1.12px;
  line-height: 1.4;
  text-transform: uppercase;
  transition: color 0.25s ease, background 0.25s ease, transform 0.35s var(--ease);
}

.pill:hover {
  transform: translateY(-3px);
}

.hero__wordmark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100vw - (var(--gutter) * 2));
  font-size: 21vw;
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 0.7;
  text-align: center;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.hero__meta {
  position: absolute;
  right: var(--gutter);
  bottom: 1rem;
  left: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1.25rem;
  align-items: center;
  font-size: 0.9722rem;
  font-weight: 500;
}

.hero__socials {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.hero__socials a,
.contact__socials a {
  position: relative;
}

.hero__socials a::after,
.contact__socials a::after {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.hero__socials a:hover::after,
.contact__socials a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.lang {
  display: grid;
  width: 1.45rem;
  height: 1.25rem;
  place-items: center;
  border-radius: 0.28rem;
  color: white;
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1;
  background: black;
}

.manifesto {
  position: relative;
  height: 87.75vw;
  padding: var(--section-top-space) var(--gutter) 4rem;
  overflow: hidden;
}

.manifesto__inner {
  display: flex;
  flex-direction: column;
  min-height: calc(126vh - 12rem);
}

.display-copy {
  position: relative;
  z-index: 2;
  font-size: 5vw;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  padding-bottom: 0.75rem;
}

#manifesto-title {
  line-height: 1.18;
}

.mobile-only-break {
  display: none;
}

.object-stage {
  position: relative;
  width: 100%;
  height: 58vw;
  margin-top: var(--section-content-gap);
  overflow: hidden;
  background: transparent;
}

.object-stage__media {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: black;
  will-change: width, height;
}

.object-stage__media video {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.manifesto__note {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: 8.22vw 1fr;
  gap: 6.25vw;
  width: 52vw;
  padding-bottom: 0;
  opacity: 0;
  transform: translateY(2rem);
  will-change: opacity, transform;
}

.manifesto__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: start;
  width: 100%;
  max-width: 36vw;
  min-height: 0;
  gap: 1.8em;
  font-size: var(--font-size-body);
  font-weight: 400;
  letter-spacing: 0;
  line-height: var(--line-height-body);
}

.manifesto__note .eyebrow {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-transform: uppercase;
}

.services {
  position: relative;
  height: calc(165vw + 10.22px);
  min-height: 1600px;
  color: white;
  background: black;
}

.services__sticky {
  position: relative;
  height: 100%;
  min-height: 0;
  padding-top: var(--section-top-space);
  overflow: clip;
}

.services__rail {
  display: none;
}

.services__label {
  display: none;
}

.services__statement {
  position: absolute;
  top: var(--section-top-space);
  right: 4.37%;
  z-index: 3;
  font-size: 2.5vw;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.project {
  position: absolute;
  z-index: 2;
  opacity: 1;
  will-change: transform;
}

.project img {
  width: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 42%;
  border-radius: 0.25rem;
  will-change: clip-path, object-position;
}

.services.has-motion .project img {
  clip-path: var(--service-reveal-start, inset(100% 0 0 0));
  transition: clip-path 1s cubic-bezier(0.76, 0, 0.24, 1);
}

.services.has-motion .project.is-revealed img {
  clip-path: inset(0 0 0 0);
}

.project__meta {
  height: auto;
  margin-bottom: var(--media-meta-gap);
}

.project__meta span {
  display: block;
  margin-bottom: 1rem;
  color: #888;
  font-family: "IBM Plex Sans JP", sans-serif;
  font-size: var(--font-size-caption);
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.project__meta strong {
  display: block;
  max-width: 36rem;
  font-size: var(--font-size-card-title);
  font-weight: 500;
  line-height: var(--line-height-card-title);
}

.project__description {
  max-width: 34rem;
  margin-top: 1rem;
  font-size: var(--font-size-body);
  font-weight: 400;
  letter-spacing: 0;
  line-height: var(--line-height-body);
}

.project--ai-development {
  --service-reveal-start: inset(100% 100% 0 0);
  top: calc(var(--section-top-space) + var(--section-content-gap));
  left: var(--gutter);
  width: 48.25vw;
}

.project--ai-development img {
  height: 43.125vw;
}

.project--workflow-support {
  --service-reveal-start: inset(100% 0 0 100%);
  top: calc(31.31vw - 2.2px);
  right: var(--gutter);
  width: 31.833vw;
}

.project--workflow-support img {
  height: 26.875vw;
}

.project--web-development {
  --service-reveal-start: inset(100% 0 0 0);
  top: calc(97.025vw + 2.5px);
  left: 17.666vw;
  width: 64.667vw;
}

.project--web-development img {
  height: 42.25vw;
}

.museum {
  position: relative;
  height: 200vh;
  min-height: 1400px;
  color: white;
  background: black;
}

.museum__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: black;
}

.museum__room {
  position: absolute;
  inset: 0;
  background: url("./assets/background.png") center / cover no-repeat;
  opacity: 1;
  transform: scale(1.8);
  will-change: opacity, transform;
}

.museum__screen {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 100vw;
  height: 56.25vw;
  overflow: hidden;
  transform: translate(-50%, -50%);
  transform-origin: center;
  will-change: transform;
}

.museum__screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 100vh;
  padding: 1.25rem var(--gutter);
  overflow: hidden;
  color: white;
  background: black;
}

.contact__main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 19.8%;
  gap: 2rem;
  align-items: end;
  padding-top: 25.62vh;
}

.contact h2 {
  font-size: 5vw;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.contact__buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.pill--outline {
  min-width: 9.4rem;
  border: 1px solid #777;
  color: white;
}

.pill--outline:hover {
  color: black;
  background: white;
}

.contact__socials {
  display: flex;
  flex-direction: column;
  gap: 0.4167rem;
  padding-bottom: 0.4167rem;
  font-size: 1.5625rem;
  font-weight: 500;
  line-height: 1;
  transform: translateY(2.75rem);
}

.contact__buttons .pill {
  width: 12.201rem;
}

.contact__socials a {
  width: max-content;
}

.contact__wordmark {
  margin-top: auto;
  padding-top: 4rem;
  width: 100%;
  font-size: 21vw;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  text-align: left;
  white-space: nowrap;
}

.contact__credits {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: end;
  font-size: 0.875rem;
  mix-blend-mode: difference;
}

@media (min-width: 992px) {
  .services__sticky {
    padding-top: 1rem;
  }

  .services__rail {
    position: sticky;
    top: 3rem;
    z-index: 10;
    display: flex;
    width: max-content;
    margin: 1.25rem 0 0 var(--gutter);
    color: white;
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    text-transform: uppercase;
    mix-blend-mode: difference;
    will-change: transform;
  }

  .services__rail span {
    display: inline-block;
    transform-origin: center;
    will-change: transform;
  }

  .menu-panel {
    top: 1rem;
    right: 4.75rem;
    bottom: auto;
    left: auto;
    display: block;
    width: auto;
    padding: 0;
    color: white;
    background: transparent;
    mix-blend-mode: difference;
    clip-path: none;
    transform: translateY(-0.5rem);
    transition: opacity 0.3s ease, visibility 0.3s, transform 0.45s var(--ease);
  }

  .menu-panel.is-open {
    transform: translateY(0);
  }

  .menu-panel__top,
  .menu-panel__footer {
    display: none;
  }

  .menu-panel__nav {
    flex-direction: row;
    gap: 1.25rem;
  }

  .menu-panel__nav a {
    display: block;
    border: 0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
  }

  .menu-panel__nav a:hover {
    padding-left: 0;
    opacity: 0.55;
  }

  .menu-panel__nav span {
    display: none;
  }
}

@media (max-width: 991px) {
  :root {
    --gutter: 1.25rem;
    --font-size-body: 1rem;
    --font-size-card-title: 1.25rem;
    --section-top-space: 7.25rem;
    --section-content-gap: 3.6875rem;
    --section-message-to-content-gap: 4.4rem;
  }

  html {
    font-size: 16px;
  }

  body {
    font-size: 1rem;
  }

  .menu-panel__footer {
    justify-content: flex-end;
  }

  .menu-panel__footer > p {
    display: none;
  }

  .menu-panel__footer div {
    display: flex;
    flex-direction: row;
    gap: 1.25rem;
    align-items: center;
  }

  .menu-panel__footer div > span {
    display: inline;
  }

  .menu-panel__footer a {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: flex-end;
    padding: 0.5rem 0.25rem;
  }

  .menu-panel__nav a {
    font-size: 2.25rem;
    letter-spacing: -0.025em;
    line-height: 1.1;
  }

  .menu-panel__nav {
    gap: 1.5rem;
  }

  .site-header {
    height: 3.8rem;
  }

  .menu-trigger__text {
    display: none;
  }

  .menu-trigger__icon {
    width: 18px;
    height: 14px;
  }

  .menu-trigger__icon i {
    height: 2px;
  }

  .hero {
    padding-top: 1rem;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .hero__intro {
    gap: 1.5rem;
    font-size: 1.25rem;
  }

  .pill {
    width: 10.014rem;
    min-width: 10.014rem;
    min-height: 3.175rem;
    padding-right: 1.3125rem;
    padding-left: 1.3125rem;
    font-size: 0.75rem;
  }

  .hero__wordmark {
    top: 50%;
    font-size: 20vw;
    letter-spacing: 0.015em;
    transform: translate(-50%, -50%);
  }

  .hero__meta {
    grid-template-columns: 1fr auto auto;
    gap: 0.9rem;
    font-size: 0.875rem;
  }

  .hero__socials {
    gap: 0.7rem;
  }

  .hero__socials a:first-child::before {
    content: "X";
    font-size: 0;
  }

  .manifesto {
    height: auto;
    min-height: 93.7svh;
    padding: 7.25rem var(--gutter) 4rem;
  }

  .manifesto__inner {
    min-height: 0;
  }

  .display-copy {
    font-size: 2.5rem;
    line-height: 1;
    padding-bottom: 0.375rem;
  }

  #manifesto-title {
    font-size: 2.25rem;
  }

  .mobile-only-break {
    display: inline;
  }

  .object-stage {
    display: flex;
    flex-direction: column;
    gap: 2.375rem;
    height: auto;
    min-height: 0;
    margin-top: 3.6875rem;
    overflow: visible;
  }

  .object-stage__media {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1.6;
  }

  .manifesto__note {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    width: 96%;
    padding: 0;
    opacity: 1;
    transform: none;
  }

  .manifesto__copy {
    height: auto;
    max-width: 27rem;
  }

  .services {
    height: auto;
    min-height: 0;
  }

  .services__sticky {
    position: relative;
    height: auto;
    min-height: 0;
    padding: var(--section-top-space) var(--gutter) 2rem;
    overflow: hidden;
  }

  .services__rail {
    position: absolute;
    top: 1rem;
    right: var(--gutter);
    left: var(--gutter);
    z-index: 8;
    display: flex;
    justify-content: space-between;
    font-size: 0.625rem;
    font-weight: 600;
  }

  .manifesto__note .eyebrow {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: normal;
    line-height: 1.08;
  }

  .services__statement {
    position: static;
    margin: 1.5rem 0 var(--section-message-to-content-gap);
    font-size: 1.5625rem;
    transform: translateY(-1.25rem);
  }

  .project {
    position: relative;
    inset: auto !important;
    display: flex;
    flex-direction: column;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 7.8rem;
    opacity: 1 !important;
    transform: none !important;
  }

  .project img {
    order: 2;
    width: 100%;
    height: auto;
    border-radius: 0.25rem;
  }

  .project__meta {
    position: static;
    order: 1;
    height: auto;
    margin-bottom: var(--media-meta-gap);
  }

  .project__meta strong {
    max-width: 31rem;
  }

  .project__description {
    max-width: 31rem;
  }

  .project--workflow-support {
    width: 61.714% !important;
    margin-left: 38.2857%;
  }

  .project--web-development {
    margin-bottom: 3.25rem;
  }

  .project--ai-development img {
    height: calc(100vw - (var(--gutter) * 2));
  }

  .project--workflow-support img {
    height: calc((100vw - (var(--gutter) * 2)) * 0.58857);
  }

  .project--web-development img {
    height: calc((100vw - (var(--gutter) * 2)) * 1.60286);
  }

  .museum {
    height: 52vw;
    min-height: 280px;
    max-height: 470px;
  }

  .museum__sticky {
    position: relative;
    height: 100%;
    min-height: 0;
  }

  .museum__room {
    opacity: 1 !important;
    transform: none !important;
  }

  .museum__screen {
    top: 50%;
    width: 64%;
    height: 65%;
    transform: translate(-50%, -50%) !important;
  }

  .contact {
    min-height: 100svh;
    padding-top: 0;
  }

  .contact__main {
    grid-template-columns: 1fr;
    gap: 4rem;
    padding-top: 28vh;
  }

  .contact h2 {
    font-size: 2.5rem;
    line-height: 1.3;
  }

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

  .pill--outline {
    min-width: 10rem;
  }

  .contact__socials {
    align-self: end;
    justify-self: end;
    align-items: flex-start;
    width: max-content;
    max-width: 100%;
    margin-left: 0;
    color: #aaa;
    gap: 0.375rem;
    padding-bottom: 0;
    font-size: 1.5625rem;
    line-height: 1;
    transform: none;
  }

  .contact__wordmark {
    display: none;
  }

  .contact__credits {
    display: block;
    margin-top: auto;
    text-align: center;
  }

}

@media (max-width: 560px) {
  :root {
    --gutter: 1.25rem;
  }

  .menu-panel__nav a {
    padding: 0.08em 0;
    font-size: 2.25rem;
    letter-spacing: -0.025em;
  }

  .menu-panel__footer {
    align-items: flex-start;
  }

  .menu-panel__footer div {
    flex-direction: row;
  }

  .hero__intro {
    width: 100%;
    max-width: 19rem;
    font-size: 1.15rem;
    line-height: 1.4;
  }

  .hero__intro p {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero__wordmark {
    font-size: 20vw;
    transform: translate(-50%, -50%);
  }

  .hero__meta {
    right: 1rem;
    left: 1rem;
    gap: 0.6rem;
    font-size: 0.85rem;
  }

  .hero__socials {
    gap: 0.65rem;
    height: 1.25rem;
    align-items: center;
    font-size: 0.75rem;
    line-height: 1;
  }

  .hero__socials a,
  .hero__socials > span {
    display: flex;
    height: 100%;
    align-items: center;
  }

  .hero__socials a:first-child {
    font-size: 0;
  }

  .hero__socials a:first-child::after {
    content: none;
  }

  .hero__socials a:first-child::before {
    content: "X";
    font-size: 0.75rem;
  }

  .hero__socials a:last-child {
    font-size: 0;
  }

  .hero__socials a:last-child::before {
    content: "INSTAGRAM";
    font-size: 0.75rem;
  }

  .manifesto {
    padding-top: var(--section-top-space);
  }

  .display-copy {
    font-size: 2.5rem;
  }

  .services__sticky {
    padding-top: var(--section-top-space);
  }

  .services__statement {
    margin-top: 0;
    font-size: 1.5625rem;
  }

  .project {
    margin-bottom: 3.25rem;
  }

  .project--workflow-support {
    margin-left: 38.2857%;
  }

  .museum {
    height: 108.21vw;
    max-height: none;
  }

  .museum__screen {
    width: 72%;
    height: 50%;
  }

  .contact__main {
    gap: 3.75rem;
    padding-top: 28.96vh;
  }

  .contact__socials {
    margin-left: 0;
    font-size: 1.5625rem;
  }

  .contact__buttons .pill {
    width: 12.061rem;
    min-width: 12.061rem;
  }
}

/* Horizontal works showcase */
.work-showcase {
  --work-progress: 0;
  position: relative;
  height: 100svh;
  min-height: 760px;
  overflow: clip;
  color: var(--black);
  background: var(--white);
}

.work-showcase__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 760px;
  overflow: hidden;
}

.work-showcase__rail {
  position: absolute;
  top: 3rem;
  right: auto;
  left: var(--gutter);
  z-index: 5;
  display: flex;
  width: max-content;
  margin: 0;
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-transform: uppercase;
}

.work-showcase__header {
  position: absolute;
  top: calc(23vh - 4.0375vw);
  right: auto;
  left: var(--gutter);
  z-index: 4;
  width: 29vw;
  pointer-events: none;
}

.work-showcase__statement {
  font-size: 4.25vw;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.work-showcase__viewport {
  position: absolute;
  inset: 23vh 0 7.5rem;
  overflow: hidden;
}

.work-showcase__track {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  width: max-content;
  height: 100%;
  padding: 0 7vw 0 34vw;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.work-card {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  flex: none;
  width: 70vw;
  height: 100%;
}

@media (min-width: 992px) {
  .work-card__meta span,
  .work-card__meta strong {
    align-self: start;
    line-height: 1;
  }

  .work-card__meta strong {
    transform: translateY(-0.12em);
  }

  .work-card:first-child .work-card__meta strong {
    max-width: none;
    white-space: nowrap;
  }
}

.work-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  border-radius: 0.25rem;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.5s ease;
}

.work-card:hover img {
  filter: saturate(1.08);
  transform: scale(0.99);
}

.work-card__meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding-top: 1rem;
}

.work-card__meta::after {
  grid-column: 3;
  content: "";
}

.work-card__meta span {
  color: #777;
  font-size: var(--font-size-caption);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.work-card__meta strong {
  grid-column: 2;
  max-width: 32rem;
  font-size: var(--font-size-card-title);
  font-weight: 500;
  line-height: var(--line-height-card-title);
  text-align: center;
}

.work-showcase__footer {
  position: absolute;
  right: var(--gutter);
  bottom: 1.25rem;
  left: var(--gutter);
  z-index: 5;
  display: grid;
  grid-template-columns: auto minmax(6rem, 1fr) auto;
  gap: 1rem;
  align-items: center;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.work-showcase__progress {
  position: relative;
  height: 1px;
  overflow: hidden;
  background: #c9c9c6;
}

.work-showcase__progress i {
  position: absolute;
  inset: 0;
  background: var(--black);
  transform: scaleX(var(--work-progress));
  transform-origin: left;
  will-change: transform;
}

.work-showcase.is-native {
  height: auto !important;
  min-height: 0;
  overflow: hidden;
}

.work-showcase.is-native .work-showcase__sticky {
  position: relative;
  height: auto;
  min-height: 0;
  padding: 7.25rem 0 5rem;
  overflow: hidden;
}

.work-showcase.is-native .work-showcase__header {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  width: auto;
  margin: 0 var(--gutter) 3.5rem;
}

.work-showcase.is-native .work-showcase__rail {
  top: 1rem;
  right: var(--gutter);
  width: auto;
  justify-content: space-between;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.08;
}

.work-showcase.is-native .work-showcase__statement {
  font-size: 2.5rem;
}

.work-showcase.is-native .work-showcase__viewport {
  position: relative;
  inset: auto;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  -webkit-overflow-scrolling: touch;
}

.work-showcase.is-native .work-showcase__viewport::-webkit-scrollbar {
  display: none;
}

.work-showcase.is-native .work-showcase__track {
  gap: 1rem;
  height: auto;
  padding: 0 var(--gutter);
  transform: none !important;
}

.work-showcase.is-native .work-card {
  width: min(82vw, 34rem);
  scroll-snap-align: start;
}

.work-showcase.is-native .work-card img {
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 0.9;
}

.work-showcase.is-native .work-card__meta {
  display: block;
}

.work-showcase.is-native .work-card__meta span {
  display: block;
  margin-bottom: 0.75rem;
}

.work-showcase.is-native .work-card__meta strong {
  display: block;
}

.work-showcase.is-native .work-showcase__footer {
  position: relative;
  right: auto;
  bottom: auto;
  left: auto;
  grid-template-columns: auto 1fr;
  margin: 3rem var(--gutter) 0;
}

.work-showcase.is-native .work-showcase__footer > :last-child {
  display: none;
}

@media (max-width: 991px) {
  .work-showcase {
    margin-top: var(--section-break-space);
  }

  .work-showcase:not(.is-native) {
    min-height: 0;
  }

  .work-showcase.is-native .work-showcase__header {
    width: calc(100% - (var(--gutter) * 2));
  }

  .work-showcase.is-native .work-card {
    width: calc(100vw - (var(--gutter) * 2));
  }

  .work-card__meta {
    padding-top: var(--media-meta-gap);
  }

  .work-showcase:not(.is-native) .work-showcase__sticky {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: var(--section-message-to-content-gap);
    min-height: 0;
    padding: var(--section-top-space) 0 1.25rem;
  }

  .work-showcase:not(.is-native) .work-showcase__header {
    position: relative;
    inset: auto;
    width: auto;
    margin: 0 var(--gutter);
  }

  .work-showcase:not(.is-native) .work-showcase__rail {
    top: 1rem;
    right: var(--gutter);
    width: auto;
    justify-content: space-between;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: normal;
    line-height: 1.08;
  }

  .work-showcase:not(.is-native) .work-showcase__statement {
    font-size: clamp(1.75rem, 5.5vw, 2.5rem);
    line-height: 1.1;
  }

  .work-showcase:not(.is-native) .work-showcase__viewport {
    position: relative;
    inset: auto;
    min-height: 0;
    touch-action: pan-y;
  }

  .work-showcase:not(.is-native) .work-showcase__track {
    gap: 1rem;
    padding: 0 var(--gutter);
  }

  .work-showcase:not(.is-native) .work-card {
    display: grid;
    grid-template-rows: minmax(0, 1fr) 8rem;
    width: calc(100vw - (var(--gutter) * 2));
    height: 100%;
  }

  .work-showcase:not(.is-native) .work-card img {
    height: 100%;
    min-height: 0;
    max-height: none;
  }

  .work-showcase:not(.is-native) .work-card__meta {
    display: block;
  }

  .work-showcase:not(.is-native) .work-card__meta span {
    display: block;
    margin-bottom: 0.75rem;
  }

  .work-showcase:not(.is-native) .work-card__meta strong {
    display: block;
  }

  .work-showcase:not(.is-native) .work-showcase__footer {
    position: relative;
    inset: auto;
    grid-template-columns: auto minmax(0, 1fr) auto;
    margin: 0 var(--gutter);
  }
}

@media (max-width: 991px) and (max-height: 500px) {
  .work-showcase:not(.is-native) .work-showcase__sticky {
    gap: 0.75rem;
    padding-top: 4.5rem;
    padding-bottom: 0.75rem;
  }

  .work-showcase:not(.is-native) .work-showcase__rail {
    top: 3.25rem;
  }

  .work-showcase:not(.is-native) .work-showcase__statement {
    font-size: 1.5rem;
  }

  .work-showcase:not(.is-native) .work-card {
    grid-template-rows: minmax(0, 1fr) 5rem;
  }

  .work-showcase:not(.is-native) .work-card__meta {
    padding-top: var(--media-meta-gap);
  }

  .work-showcase:not(.is-native) .work-card__meta span {
    margin-bottom: 0.25rem;
  }

  .work-showcase:not(.is-native) .work-card__meta strong {
    font-size: var(--font-size-body);
  }
}

/* Entrance effects shared by desktop and mobile. */
html.is-motion-setup .entrance-copy,
html.is-motion-setup .entrance-media,
html.is-motion-setup .entrance-fade,
html.is-motion-setup .entrance-brand,
html.is-motion-setup .entrance-copy span {
  transition: none !important;
}

html.has-entrance-motion .entrance-copy.is-entered {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
}

html.has-entrance-motion .entrance-fade.is-entered {
  opacity: 1;
  filter: blur(0);
}

html.has-entrance-motion .entrance-brand.is-entered {
  opacity: 1;
  letter-spacing: 0.015em;
  transform: translate(-50%, -50%) scale(1);
}

@media (max-width: 991px) {
  html.has-entrance-motion .entrance-copy {
    opacity: 0;
    filter: blur(5px);
    transform: translate3d(0, 1.75rem, 0);
    transition:
      opacity 0.75s ease var(--entrance-delay, 0ms),
      filter 0.9s ease var(--entrance-delay, 0ms),
      transform 1s var(--ease) var(--entrance-delay, 0ms);
    will-change: opacity, filter, transform;
  }

  html.has-entrance-motion .services__statement.entrance-copy {
    transform: translate3d(0, 0.25rem, 0);
  }

  html.has-entrance-motion .services__statement.entrance-copy.is-entered {
    transform: translate3d(0, -1.25rem, 0);
  }

  html.has-entrance-motion .entrance-media {
    opacity: 0;
    clip-path: inset(100% 0 0 0 round 0.25rem);
    transform: scale(1.075);
    transform-origin: 50% 70%;
    transition:
      opacity 0.55s ease var(--entrance-delay, 0ms),
      clip-path 1.15s cubic-bezier(0.76, 0, 0.24, 1) var(--entrance-delay, 0ms),
      transform 1.35s var(--ease) var(--entrance-delay, 0ms);
    will-change: opacity, clip-path, transform;
  }

  html.has-entrance-motion .entrance-media.is-entered {
    opacity: 1;
    clip-path: inset(0 0 0 0 round 0.25rem);
    transform: scale(1);
  }

  html.has-entrance-motion .entrance-fade {
    opacity: 0;
    filter: blur(8px);
    transition: opacity 1s ease, filter 1.2s ease;
    will-change: opacity, filter;
  }

  html.has-entrance-motion .entrance-brand {
    opacity: 0;
    letter-spacing: 0.075em;
    transform: translate(-50%, -46%) scale(0.96);
    transition:
      opacity 0.9s ease,
      letter-spacing 1.2s var(--ease),
      transform 1.2s var(--ease);
  }

  html.has-entrance-motion .services__rail.entrance-copy span,
  html.has-entrance-motion .work-showcase__rail.entrance-copy span {
    opacity: 0;
    transform: translate3d(0, 0.9rem, 0) scale(0.75);
    transition:
      opacity 0.45s ease calc(var(--entrance-delay, 0ms) + (var(--letter-index) * 55ms)),
      transform 0.7s var(--ease) calc(var(--entrance-delay, 0ms) + (var(--letter-index) * 55ms));
  }

  html.has-entrance-motion .services__rail.entrance-copy.is-entered span,
  html.has-entrance-motion .work-showcase__rail.entrance-copy.is-entered span {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (min-width: 992px) {
  html.has-entrance-motion .entrance-copy {
    opacity: 0;
    filter: blur(6px);
    transform: translate3d(0, 2.25rem, 0);
    transition:
      opacity 0.8s ease var(--entrance-delay, 0ms),
      filter 1s ease var(--entrance-delay, 0ms),
      transform 1.1s var(--ease) var(--entrance-delay, 0ms);
    will-change: opacity, filter, transform;
  }

  /* These elements already move with the desktop scroll choreography. */
  html.has-entrance-motion .services__rail.entrance-copy,
  html.has-entrance-motion .manifesto__note.entrance-copy {
    transition:
      opacity 0.8s ease var(--entrance-delay, 0ms),
      filter 1s ease var(--entrance-delay, 0ms);
  }

  html.has-entrance-motion .entrance-media {
    opacity: 0;
    clip-path: inset(100% 0 0 0 round 0.25rem);
    filter: saturate(0.82) brightness(0.88);
    transform: scale(1.045);
    transform-origin: 50% 65%;
    transition:
      opacity 0.6s ease var(--entrance-delay, 0ms),
      clip-path 1.2s cubic-bezier(0.76, 0, 0.24, 1) var(--entrance-delay, 0ms),
      filter 1.2s ease var(--entrance-delay, 0ms),
      transform 1.4s var(--ease) var(--entrance-delay, 0ms);
    will-change: opacity, clip-path, filter, transform;
  }

  html.has-entrance-motion .entrance-media.is-entered {
    opacity: 1;
    clip-path: inset(0 0 0 0 round 0.25rem);
    filter: none;
    transform: scale(1);
  }

  html.has-entrance-motion .services.has-motion .project img.entrance-media {
    transition:
      opacity 0.6s ease var(--entrance-delay, 0ms),
      clip-path 1.05s cubic-bezier(0.76, 0, 0.24, 1) var(--entrance-delay, 0ms),
      filter 1.2s ease var(--entrance-delay, 0ms),
      transform 1.4s var(--ease) var(--entrance-delay, 0ms);
  }

  html.has-entrance-motion .entrance-fade {
    opacity: 0;
    filter: blur(10px);
    transition: opacity 1s ease, filter 1.25s ease;
    will-change: opacity, filter;
  }

  html.has-entrance-motion .entrance-brand {
    opacity: 0;
    letter-spacing: 0.055em;
    transform: translate(-50%, -46%) scale(0.97);
    transition:
      opacity 0.95s ease,
      letter-spacing 1.3s var(--ease),
      transform 1.3s var(--ease);
  }

  html.has-entrance-motion .services__rail.entrance-copy span,
  html.has-entrance-motion .work-showcase__rail.entrance-copy span {
    opacity: 0;
    transition: opacity 0.5s ease calc(var(--entrance-delay, 0ms) + (var(--letter-index) * 65ms));
  }

  html.has-entrance-motion .services__rail.entrance-copy.is-entered span,
  html.has-entrance-motion .work-showcase__rail.entrance-copy.is-entered span {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .services.has-motion .project img {
    clip-path: inset(0 0 0 0);
  }
}
