:root {
  --ink: #11110f;
  --ink-soft: #1b1b18;
  --paper: #f0eee7;
  --paper-deep: #dedbd0;
  --acid: #c8ff2d;
  --blue: #6fd8ff;
  --coral: #ff684e;
  --violet: #a593ff;
  --line-dark: rgba(17, 17, 15, 0.22);
  --line-light: rgba(240, 238, 231, 0.22);
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
  --sans: Inter, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --page-pad: clamp(20px, 4vw, 64px);
  --header-h: 78px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-loading {
  overflow: hidden;
}

body.menu-open {
  overflow: hidden;
}

main {
  display: block;
  width: 100%;
}

section[id] {
  scroll-margin-top: var(--header-h);
}

button,
a {
  color: inherit;
}

a {
  text-decoration: none;
}

button {
  font: inherit;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

i {
  font-style: normal;
}

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

:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--acid);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
}

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

.grain {
  position: fixed;
  z-index: 999;
  inset: 0;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.84' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
}

.scroll-progress {
  position: fixed;
  z-index: 1200;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--acid);
}

/* Loader */
.loader {
  position: fixed;
  z-index: 5000;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 26px var(--page-pad);
  background: var(--acid);
  color: var(--ink);
  transition: clip-path 1s var(--ease), visibility 1s;
  clip-path: inset(0 0 0 0);
}

.loader.is-done {
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
}

.loader__top {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
}

.loader__center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.loader__mark {
  width: clamp(46px, 7vw, 92px);
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: conic-gradient(from 90deg, transparent 0 25%, var(--ink) 25% 50%, transparent 50% 75%, var(--ink) 75%);
  animation: spin 1.8s linear infinite;
}

.loader__count {
  min-width: 1.8em;
  font-family: var(--display);
  font-size: clamp(72px, 13vw, 180px);
  line-height: .8;
}

.loader__track {
  width: 100%;
  height: 1px;
  background: rgba(17, 17, 15, .3);
}

.loader__track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--ink);
  transition: width .15s linear;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1100;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: var(--header-h);
  padding: 0 var(--page-pad);
  color: #fff;
  mix-blend-mode: difference;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
}

.brand__mark {
  position: relative;
  display: grid;
  width: 22px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.brand__mark::before,
.brand__mark::after,
.brand__mark span {
  position: absolute;
  display: block;
  content: "";
  background: currentColor;
}

.brand__mark::before {
  width: 100%;
  height: 1px;
}

.brand__mark::after {
  width: 1px;
  height: 100%;
}

.brand__mark span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 52px);
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
}

.desktop-nav a::after {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  transition: transform .45s var(--ease);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.desktop-nav span {
  font-family: var(--mono);
  font-size: 8px;
  opacity: .65;
}

.header-meta {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 22px;
  font-family: var(--mono);
  font-size: 10px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(255,255,255,.14);
  animation: pulse 2s ease infinite;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: var(--mono);
  font-size: 11px;
  cursor: pointer;
}

.menu-toggle i {
  display: block;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: transform .4s var(--ease);
}

.mobile-menu {
  position: fixed;
  z-index: 1050;
  inset: 0;
  display: flex;
  visibility: hidden;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px var(--page-pad) 36px;
  transform: translateY(-100%);
  background: var(--ink);
  color: var(--paper);
  transition: transform .7s var(--ease), visibility .7s;
}

.mobile-menu.is-open {
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu nav {
  display: grid;
}

.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--display);
  font-size: clamp(40px, 11vw, 74px);
  line-height: 1;
  text-transform: uppercase;
}

.mobile-menu nav span {
  font-family: var(--mono);
  font-size: 10px;
}

.mobile-menu > p {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(240, 238, 231, .65);
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 100svh;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 54px) var(--page-pad) 32px;
  background:
    radial-gradient(circle at 78% 42%, rgba(200, 255, 45, .06), transparent 28%),
    var(--ink);
  isolation: isolate;
}

.hero__grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(var(--line-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-light) 1px, transparent 1px);
  background-size: 7.15vw 7.15vw;
  -webkit-mask-image: linear-gradient(to bottom, transparent 5%, #000 32%, #000 80%, transparent);
  mask-image: linear-gradient(to bottom, transparent 5%, #000 32%, #000 80%, transparent);
}

.hero__intro {
  display: flex;
  justify-content: space-between;
  padding-right: 22%;
  font-family: var(--mono);
  font-size: clamp(9px, .8vw, 12px);
  letter-spacing: .06em;
}

.hero__title {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: auto 0;
  padding: 3vh 0;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .76;
  text-transform: uppercase;
}

.hero__line {
  position: relative;
  display: flex;
  align-items: flex-start;
  will-change: transform;
}

.hero__line--shift {
  justify-content: flex-end;
  padding-right: 1.3vw;
}

.hero__word {
  font-size: clamp(90px, 16vw, 270px);
  white-space: nowrap;
}

.hero__word--outline {
  color: transparent;
  -webkit-text-stroke: clamp(1px, .16vw, 3px) var(--paper);
  text-stroke: clamp(1px, .16vw, 3px) var(--paper);
}

.hero__index {
  margin: 1.4vw 0 0 1.4vw;
  padding: 5px 8px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0;
}

.hero__object {
  position: absolute;
  z-index: 3;
  top: 25%;
  right: 12%;
  width: clamp(160px, 24vw, 360px);
  color: var(--acid);
  will-change: transform;
}

.hero__object svg {
  overflow: visible;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,.4));
  animation: hover-object 6s ease-in-out infinite;
}

.hero__object > span {
  position: absolute;
  right: -8px;
  bottom: 10%;
  padding: 6px 8px;
  transform: rotate(6deg);
  background: var(--acid);
  color: var(--ink);
  font-family: var(--mono);
  font-size: clamp(7px, .7vw, 10px);
  line-height: 1.2;
}

.orbit {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  stroke-dasharray: 4 9;
  transform-origin: center;
}

.orbit--one {
  animation: spin 25s linear infinite;
}

.orbit--two {
  animation: spin-reverse 18s linear infinite;
}

.object-frame {
  fill: var(--ink);
  stroke: currentColor;
  stroke-width: 2;
}

.object-core {
  fill: currentColor;
  stroke: var(--ink);
  stroke-width: 2;
  transform-origin: center;
  animation: morph 8s var(--ease) infinite alternate;
}

.object-cross {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  stroke-dasharray: 3 6;
}

.object-dot {
  fill: var(--coral);
  stroke: var(--ink);
  stroke-width: 2;
}

.hero__footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
  border-top: 1px solid var(--line-light);
  padding-top: 16px;
}

.hero__footer > div {
  display: grid;
  gap: 4px;
  font-family: var(--mono);
  font-size: 10px;
}

.hero__footer > div span {
  color: rgba(240, 238, 231, .55);
}

.hero__footer > p {
  justify-self: center;
  font-size: clamp(13px, 1vw, 16px);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 18px;
  font-family: var(--mono);
  font-size: 10px;
}

.scroll-cue i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  transition: background .35s, color .35s;
}

.scroll-cue:hover i {
  background: var(--acid);
  color: var(--ink);
}

/* Ticker */
.ticker {
  overflow: hidden;
  padding: 17px 0 14px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--acid);
  color: var(--ink);
}

.ticker__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: clamp(20px, 2.4vw, 48px);
  animation: ticker 22s linear infinite;
  will-change: transform;
}

.ticker span {
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 58px);
  letter-spacing: -.02em;
  line-height: .9;
}

.ticker i {
  font-size: clamp(18px, 2vw, 34px);
}

/* Shared sections */
.section-light {
  background: var(--paper);
  color: var(--ink);
}

.section-kicker {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: clamp(9px, .75vw, 11px);
  letter-spacing: .05em;
}

.section-kicker--dark {
  border-color: var(--line-light);
}

.reveal {
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.js .reveal {
  opacity: 0;
  transform: translateY(48px);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* About */
.about {
  position: relative;
  padding: 32px var(--page-pad) 110px;
}

.about__headline {
  padding: clamp(80px, 13vw, 190px) 0 clamp(70px, 10vw, 150px);
}

.about__headline > p {
  margin: 0 0 24px 16%;
  font-family: var(--mono);
  font-size: clamp(11px, .9vw, 14px);
}

.about__headline h2 {
  max-width: 1300px;
  font-size: clamp(46px, 7.4vw, 120px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .98;
}

.about__headline h2 span {
  position: relative;
  display: inline-block;
  padding: 0 .08em;
  color: var(--paper);
  font-family: "Times New Roman", serif;
  font-style: italic;
  z-index: 0;
}

.about__headline h2 span::before {
  position: absolute;
  z-index: -1;
  inset: .06em -.02em -.02em;
  content: "";
  transform: rotate(-2deg);
  border-radius: 50%;
  background: var(--ink);
}

.about__body {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 10vw;
  align-items: start;
  padding: 0 8% 90px 16%;
}

.about__lead {
  font-size: clamp(24px, 3.1vw, 48px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.1;
}

.about__copy {
  display: grid;
  gap: 24px;
  font-size: clamp(14px, 1.1vw, 17px);
}

.about__copy .en {
  color: rgba(17, 17, 15, .55);
  font-size: .86em;
}

.about__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.about__facts article {
  position: relative;
  display: flex;
  min-height: 190px;
  justify-content: space-between;
  padding: 20px;
  border-right: 1px solid var(--ink);
}

.about__facts article:last-child {
  border-right: 0;
}

.about__facts strong {
  font-family: var(--display);
  font-size: clamp(68px, 8vw, 130px);
  font-weight: 400;
  line-height: .8;
}

.about__facts span {
  align-self: flex-end;
  text-align: right;
  font-family: var(--mono);
  font-size: clamp(8px, .7vw, 11px);
  line-height: 1.5;
}

/* Capabilities */
.capabilities {
  padding: 32px var(--page-pad) 120px;
  background: var(--ink);
  color: var(--paper);
}

.capabilities__title {
  margin: 110px 0 90px;
  font-family: var(--display);
  font-size: clamp(78px, 13vw, 220px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .76;
}

.capabilities__title span {
  color: transparent;
  -webkit-text-stroke: 1px var(--paper);
}

.services {
  border-top: 1px solid var(--line-light);
}

.service {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 190px;
  grid-template-columns: .25fr 1fr .8fr;
  align-items: center;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-light);
}

.service__number {
  align-self: start;
  padding-top: 7px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--acid);
}

.service h3 {
  position: relative;
  z-index: 2;
  font-size: clamp(30px, 4vw, 64px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: .9;
}

.service h3 i {
  font-family: var(--display);
  font-size: .8em;
  font-weight: 400;
  color: rgba(240, 238, 231, .25);
}

.service > p {
  position: relative;
  z-index: 2;
  justify-self: end;
  font-family: var(--mono);
  font-size: clamp(9px, .75vw, 12px);
  color: rgba(240, 238, 231, .6);
}

.service__shape {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 12%;
  width: 100px;
  aspect-ratio: 1;
  transform: translateY(-50%) scale(.45) rotate(0);
  opacity: 0;
  transition: transform .7s var(--ease), opacity .4s;
}

.service__shape--one {
  border: 18px solid var(--acid);
  border-radius: 50%;
}

.service__shape--two {
  background: var(--blue);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.service__shape--three {
  border-radius: 50% 0 50% 0;
  background: var(--coral);
}

.service:hover .service__shape {
  opacity: 1;
  transform: translateY(-50%) scale(1) rotate(24deg);
}

/* Work */
.work {
  padding: 32px var(--page-pad) 130px;
}

.work__heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  padding: 100px 0 72px;
}

.work__heading h2 {
  font-family: var(--display);
  font-size: clamp(64px, 10.2vw, 168px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .8;
}

.work__heading h2 span {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

.work__heading p {
  padding-bottom: 12px;
  font-size: 13px;
}

.work__heading p span {
  font-family: var(--mono);
  font-size: 8px;
  color: rgba(17,17,15,.5);
}

.projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(42px, 7vw, 110px) clamp(16px, 2.2vw, 36px);
}

.project-card {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.project-card--wide {
  grid-column: 1 / -1;
}

.project-card__meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: clamp(8px, .7vw, 10px);
}

.project-card__meta i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.project-card__meta span:last-child {
  text-align: right;
}

.project-visual {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1.18 / 1;
  transform: translateZ(0);
}

.project-card--wide .project-visual {
  aspect-ratio: 2.25 / 1;
}

.project-card__footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: baseline;
  padding: 15px 0 0;
}

.project-card__footer strong {
  font-family: var(--display);
  font-size: clamp(25px, 2.4vw, 42px);
  font-weight: 400;
  letter-spacing: -.02em;
}

.project-card__footer > span {
  font-size: clamp(10px, .8vw, 13px);
}

.project-card__footer > i {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  transition: transform .45s var(--ease), background .35s, color .35s;
}

.project-card:hover .project-card__footer > i {
  transform: rotate(45deg);
  background: var(--ink);
  color: var(--paper);
}

.project-card:hover .poster > * {
  animation-play-state: running;
}

/* Project poster 01 */
.poster--noise {
  background: var(--acid);
  color: var(--ink);
}

.poster__grid {
  position: absolute;
  inset: -30%;
  background:
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(17,17,15,.2) 18px 19px),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(17,17,15,.2) 18px 19px);
  transform: perspective(700px) rotateX(62deg) rotateZ(-17deg) scale(1.4);
  transition: transform 1.2s var(--ease);
}

.project-card:hover .poster__grid {
  transform: perspective(700px) rotateX(54deg) rotateZ(-5deg) scale(1.55);
}

.poster__word {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--display);
  font-size: clamp(100px, 19vw, 310px);
  letter-spacing: -.06em;
  line-height: .7;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
  transition: letter-spacing .9s var(--ease);
}

.project-card:hover .poster__word {
  letter-spacing: .02em;
}

.poster__ring {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: min(30vw, 380px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: clamp(25px, 4vw, 65px) solid var(--coral);
  border-radius: 50%;
  mix-blend-mode: multiply;
  animation: ring-breathe 3.5s ease-in-out infinite paused;
}

.poster__caption {
  position: absolute;
  z-index: 4;
  right: 24px;
  bottom: 20px;
  padding: 5px 7px;
  background: var(--ink);
  color: var(--acid);
  font-family: var(--mono);
  font-size: 9px;
}

/* Project poster 02 */
.poster--after {
  background: #1c4cff;
  color: var(--paper);
}

.after__a,
.after__b {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-55%, -54%);
  font-family: var(--display);
  font-size: clamp(230px, 33vw, 490px);
  line-height: .7;
  transition: transform .9s var(--ease);
}

.after__b {
  transform: translate(-42%, -44%);
  color: var(--coral);
  mix-blend-mode: screen;
}

.project-card:hover .after__a {
  transform: translate(-62%, -56%) rotate(-7deg);
}

.project-card:hover .after__b {
  transform: translate(-35%, -42%) rotate(7deg);
}

.after__line {
  position: absolute;
  right: 8%;
  bottom: 8%;
  left: 8%;
  height: 1px;
  background: var(--paper);
}

.after__caption {
  position: absolute;
  top: 22px;
  left: 22px;
  font-family: var(--mono);
  font-size: 9px;
}

/* Project poster 03 */
.poster--field {
  background: var(--coral);
  color: var(--ink);
}

.field__word {
  position: absolute;
  top: 7%;
  left: -2%;
  font-family: var(--display);
  font-size: clamp(80px, 13vw, 190px);
  letter-spacing: -.05em;
  line-height: .8;
  transition: transform .8s var(--ease);
}

.field__word--two {
  top: auto;
  right: -2%;
  bottom: 6%;
  left: auto;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}

.project-card:hover .field__word {
  transform: translateX(6%);
}

.project-card:hover .field__word--two {
  transform: translateX(-6%);
}

.field__dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--violet);
  mix-blend-mode: multiply;
  transition: border-radius .9s var(--ease), transform .9s var(--ease);
}

.project-card:hover .field__dot {
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 4%;
}

.field__code {
  position: absolute;
  right: 18px;
  top: 18px;
  text-align: right;
  font-family: var(--mono);
  font-size: 8px;
}

/* Project poster 04 */
.poster--soft {
  background: #d8d0ff;
  color: var(--ink);
}

.soft__disc {
  position: absolute;
  top: 50%;
  width: clamp(150px, 24vw, 360px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  border: 1px solid var(--ink);
  border-radius: 50%;
  mix-blend-mode: multiply;
  transition: transform 1s var(--ease);
}

.soft__disc::after {
  position: absolute;
  inset: 18%;
  content: "";
  border: 1px dashed var(--ink);
  border-radius: 50%;
}

.soft__disc--one {
  left: 8%;
  background: var(--blue);
}

.soft__disc--two {
  left: 38%;
  background: var(--coral);
}

.soft__disc--three {
  right: 7%;
  background: var(--acid);
}

.project-card:hover .soft__disc--one {
  transform: translate(12%, -50%) rotate(80deg);
}

.project-card:hover .soft__disc--two {
  transform: translate(-10%, -50%) rotate(-60deg);
}

.project-card:hover .soft__disc--three {
  transform: translate(-16%, -50%) rotate(100deg);
}

.soft__title {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--display);
  font-size: clamp(60px, 9vw, 145px);
  letter-spacing: -.04em;
  line-height: .72;
  text-align: center;
  white-space: nowrap;
}

.soft__caption {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 16px;
  font-family: var(--mono);
  font-size: 8px;
}

/* Manifesto */
.manifesto {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 90svh;
  flex-direction: column;
  justify-content: center;
  padding: 80px var(--page-pad);
  background: var(--acid);
  color: var(--ink);
}

.manifesto > p:first-of-type {
  margin: 0 0 12px 8%;
  font-family: var(--mono);
  font-size: 11px;
}

.manifesto h2 {
  position: relative;
  z-index: 2;
  font-family: var(--display);
  font-size: clamp(74px, 14.5vw, 245px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .78;
  white-space: nowrap;
}

.manifesto h2 span {
  display: inline-block;
  color: var(--coral);
  animation: spin 8s linear infinite;
}

.manifesto__zh {
  align-self: flex-end;
  margin-top: 34px;
  font-size: clamp(16px, 1.8vw, 26px);
}

.manifesto__orb {
  position: absolute;
  top: 50%;
  right: 10%;
  width: min(39vw, 540px);
  aspect-ratio: 1;
  transform: translateY(-50%);
}

.manifesto__orb span {
  position: absolute;
  inset: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}

.manifesto__orb span:nth-child(1) {
  transform: translateX(-28%);
}

.manifesto__orb span:nth-child(2) {
  transform: translateX(28%);
}

.manifesto__orb span:nth-child(3) {
  transform: scale(.55);
  background: var(--coral);
  mix-blend-mode: multiply;
}

/* Process */
.process {
  padding: 32px var(--page-pad) 130px;
}

.process__intro {
  display: grid;
  grid-template-columns: 1fr .4fr;
  gap: 40px;
  align-items: end;
  padding: 105px 0 82px;
}

.process__intro h2 {
  font-family: var(--display);
  font-size: clamp(66px, 10vw, 164px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .8;
}

.process__intro h2 span {
  color: var(--coral);
}

.process__intro p {
  max-width: 320px;
  padding-bottom: 10px;
  font-size: 15px;
}

.process-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.process-list li {
  display: grid;
  min-height: 190px;
  grid-template-columns: .18fr .8fr .55fr .35fr;
  gap: 28px;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid var(--ink);
}

.process-list li > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 9px;
}

.process-list h3 {
  font-family: var(--display);
  font-size: clamp(34px, 4.2vw, 68px);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: .82;
}

.process-list h3 i {
  font-family: var(--sans);
  font-size: .32em;
  font-weight: 500;
  letter-spacing: 0;
}

.process-list p {
  max-width: 430px;
  font-size: clamp(12px, .9vw, 15px);
  color: rgba(17,17,15,.7);
}

.process-list b {
  align-self: end;
  padding-bottom: 5px;
  text-align: right;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
}

/* Contact */
.contact {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  padding: 30px var(--page-pad) 0;
  background: var(--ink);
  color: var(--paper);
}

.contact::before {
  position: absolute;
  top: 22%;
  right: -7vw;
  width: 34vw;
  min-width: 280px;
  aspect-ratio: 1;
  content: "";
  border: 1px solid var(--line-light);
  border-radius: 50%;
  box-shadow:
    0 0 0 4vw var(--ink),
    0 0 0 calc(4vw + 1px) var(--line-light),
    0 0 0 8vw var(--ink),
    0 0 0 calc(8vw + 1px) var(--line-light);
}

.contact__top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--mono);
  font-size: clamp(8px, .7vw, 10px);
}

.contact__main {
  position: relative;
  z-index: 2;
  padding: clamp(90px, 13vh, 150px) 0 50px;
}

.contact__main > p {
  margin: 0 0 20px 7%;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--acid);
}

.contact__main h2 {
  font-family: var(--display);
  font-size: clamp(72px, 13vw, 215px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .72;
}

.contact__main h2 span {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--paper);
}

.contact__actions {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  margin: 30px 0 100px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.contact__email {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 20px 25px 0;
  font-size: clamp(22px, 3.4vw, 54px);
  letter-spacing: -.03em;
}

.contact__email i {
  display: grid;
  width: clamp(42px, 5vw, 66px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  transition: background .35s, color .35s, transform .45s var(--ease);
}

.contact__email:hover i {
  transform: rotate(45deg);
  background: var(--acid);
  color: var(--ink);
}

.copy-email {
  height: 100%;
  padding: 0 34px;
  border: 0;
  border-left: 1px solid var(--line-light);
  background: transparent;
  color: inherit;
  font-family: var(--mono);
  font-size: 9px;
  cursor: pointer;
  transition: background .3s, color .3s;
}

.copy-email:hover {
  background: var(--acid);
  color: var(--ink);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  padding: 20px 0 24px;
  border-top: 1px solid var(--line-light);
  font-family: var(--mono);
  font-size: 9px;
}

.site-footer div {
  display: flex;
  gap: 24px;
}

.site-footer > a {
  justify-self: end;
}

.site-footer a:hover {
  color: var(--acid);
}

/* Case modal */
.case-modal {
  width: min(1120px, calc(100vw - 40px));
  max-width: none;
  height: min(820px, calc(100svh - 40px));
  max-height: none;
  padding: 0;
  border: 1px solid var(--paper);
  background: var(--ink);
  color: var(--paper);
}

.case-modal::backdrop {
  background: rgba(0,0,0,.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.case-modal[open] {
  animation: modal-in .6s var(--ease);
}

.case-modal__bar {
  display: flex;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--mono);
  font-size: 9px;
}

.case-close {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.case-close:hover {
  color: var(--acid);
}

.case-modal__body {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
  padding: 50px 40px;
}

.case-tags {
  margin-bottom: 12px;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 9px;
}

.case-modal__title h2 {
  font-family: var(--display);
  font-size: clamp(54px, 7vw, 105px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .8;
}

.case-subtitle {
  margin-top: 18px;
  font-size: 16px;
}

.case-modal__content {
  display: grid;
  align-content: end;
  gap: 35px;
}

.case-summary {
  font-size: clamp(15px, 1.2vw, 18px);
  color: rgba(240,238,231,.74);
}

.case-modal dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.case-modal dl div {
  display: grid;
  grid-template-columns: .35fr 1fr;
  padding-top: 9px;
  border-top: 1px solid var(--line-light);
  font-family: var(--mono);
  font-size: 9px;
}

.case-modal dt {
  color: rgba(240,238,231,.45);
}

.case-modal dd {
  margin: 0;
}

.case-modal__visual {
  position: relative;
  overflow: hidden;
  height: 330px;
  margin: 0 20px 20px;
  background: var(--acid);
  color: var(--ink);
}

.case-visual__index {
  position: absolute;
  top: 15px;
  left: 18px;
  font-family: var(--mono);
  font-size: 10px;
}

.case-visual__word {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  font-family: var(--display);
  font-size: clamp(70px, 10vw, 145px);
  letter-spacing: -.04em;
  line-height: .8;
  text-align: center;
}

.case-visual__orb {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 48px solid var(--coral);
  border-radius: 50%;
  mix-blend-mode: multiply;
  animation: ring-breathe 3s ease-in-out infinite;
}

/* Cursor */
@media (pointer: fine) {
  .cursor {
    position: fixed;
    z-index: 3000;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    pointer-events: none;
  }

  .cursor__dot {
    position: absolute;
    width: 12px;
    height: 12px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--acid);
    mix-blend-mode: difference;
    transition: width .35s var(--ease), height .35s var(--ease);
  }

  .cursor__label {
    position: absolute;
    display: grid;
    visibility: hidden;
    width: 68px;
    height: 68px;
    place-items: center;
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    background: var(--acid);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 8px;
    opacity: 0;
    transition: transform .4s var(--ease), opacity .3s, visibility .4s;
  }

  .cursor.is-project .cursor__dot {
    width: 0;
    height: 0;
  }

  .cursor.is-project .cursor__label {
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }

  body:has(.project-card:hover) {
    cursor: none;
  }
}

/* Motion */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
  to { transform: rotate(-360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

@keyframes hover-object {
  0%, 100% { transform: translateY(-8px) rotate(-2deg); }
  50% { transform: translateY(10px) rotate(2deg); }
}

@keyframes morph {
  0% { d: path("m116 107 98 17-41 96-67-32z"); }
  100% { d: path("m99 130 79-45 51 77-73 76z"); }
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

@keyframes ring-breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(.82) rotate(0); }
  50% { transform: translate(-50%, -50%) scale(1.08) rotate(18deg); }
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(30px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Tablet */
@media (max-width: 980px) {
  :root {
    --header-h: 68px;
  }

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

  .desktop-nav,
  .header-meta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu-toggle.is-open i:first-of-type {
    transform: translateX(4px) rotate(45deg);
  }

  .menu-toggle.is-open i:last-of-type {
    transform: translateX(-18px) rotate(-45deg);
  }

  .hero__intro {
    padding-right: 0;
  }

  .hero__object {
    top: 31%;
    right: 5%;
  }

  .about__body {
    gap: 7vw;
    padding-right: 2%;
    padding-left: 7%;
  }

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

  .service > p {
    justify-self: start;
    grid-column: 2;
  }

  .work__heading,
  .process__intro {
    grid-template-columns: 1fr;
  }

  .work__heading p,
  .process__intro p {
    justify-self: end;
  }

  .process-list li {
    grid-template-columns: .12fr .8fr .6fr;
  }

  .process-list b {
    display: none;
  }
}

/* Mobile */
@media (max-width: 680px) {
  :root {
    --page-pad: 18px;
  }

  .grain {
    opacity: .035;
  }

  .loader__top span:last-child {
    display: none;
  }

  .hero {
    min-height: 820px;
    padding-bottom: 20px;
  }

  .hero__grid {
    background-size: 18vw 18vw;
  }

  .hero__intro p:last-child {
    display: none;
  }

  .hero__title {
    margin-top: 16vh;
    padding: 0;
    line-height: .82;
  }

  .hero__line--shift {
    justify-content: flex-start;
  }

  .hero__word {
    font-size: clamp(69px, 22.6vw, 112px);
  }

  .hero__line--shift .hero__word {
    font-size: 18.2vw;
    letter-spacing: -.065em;
  }

  .hero__object {
    top: 38%;
    right: -13%;
    width: 58vw;
  }

  .hero__index {
    margin-top: 2vw;
  }

  .hero__footer {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .hero__footer > p {
    display: none;
  }

  .scroll-cue span {
    display: none;
  }

  .ticker {
    padding: 12px 0 9px;
  }

  .about,
  .capabilities,
  .work,
  .process {
    padding-top: 22px;
    padding-bottom: 80px;
  }

  .about__headline {
    padding: 85px 0 65px;
  }

  .about__headline > p {
    margin-left: 0;
  }

  .about__headline h2 {
    font-size: clamp(43px, 12vw, 62px);
  }

  .about__body {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 0 0 70px;
  }

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

  .about__facts article {
    min-height: 135px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .about__facts article:last-child {
    border-bottom: 0;
  }

  .about__facts strong {
    font-size: 78px;
  }

  .capabilities__title {
    margin: 80px 0 60px;
    font-size: clamp(68px, 21vw, 105px);
  }

  .service {
    min-height: 180px;
    grid-template-columns: 42px 1fr;
    gap: 8px;
  }

  .service h3 {
    font-size: 36px;
  }

  .service > p {
    max-width: 240px;
  }

  .service__shape {
    right: -15px;
    width: 72px;
    opacity: .5;
    transform: translateY(-50%) scale(.8);
  }

  .work__heading {
    gap: 30px;
    padding: 78px 0 52px;
  }

  .work__heading h2 {
    font-size: clamp(62px, 18.5vw, 90px);
  }

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

  .project-card--wide {
    grid-column: auto;
  }

  .project-card--wide .project-visual,
  .project-visual {
    aspect-ratio: 1 / 1.02;
  }

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

  .project-card__footer > span {
    grid-column: 1;
    grid-row: 2;
  }

  .project-card__footer > i {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .poster__word {
    font-size: 32vw;
  }

  .poster__ring {
    width: 58vw;
  }

  .soft__disc {
    width: 52vw;
  }

  .soft__disc--one {
    left: -25%;
  }

  .soft__disc--two {
    left: 24%;
  }

  .soft__disc--three {
    right: -28%;
  }

  .soft__title {
    font-size: 20vw;
  }

  .manifesto {
    min-height: 720px;
  }

  .manifesto h2 {
    font-size: clamp(72px, 23vw, 112px);
    white-space: normal;
  }

  .manifesto__orb {
    top: 64%;
    right: -28%;
    width: 88vw;
  }

  .process__intro {
    padding: 75px 0 52px;
  }

  .process__intro h2 {
    font-size: clamp(62px, 19vw, 90px);
  }

  .process-list li {
    grid-template-columns: 48px 1fr;
    gap: 18px 8px;
    padding: 30px 0;
  }

  .process-list li > span {
    align-self: start;
  }

  .process-list h3 {
    font-size: 38px;
  }

  .process-list p {
    grid-column: 2;
  }

  .contact {
    min-height: 800px;
    padding-top: 22px;
  }

  .contact__top span:last-child {
    display: none;
  }

  .contact__main {
    padding-top: 100px;
  }

  .contact__main h2 {
    font-size: clamp(68px, 21vw, 104px);
  }

  .contact__actions {
    grid-template-columns: 1fr;
    margin-bottom: 75px;
  }

  .contact__email {
    font-size: clamp(19px, 6vw, 28px);
  }

  .copy-email {
    min-height: 54px;
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    row-gap: 18px;
  }

  .site-footer div {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-content: space-between;
  }

  .case-modal {
    width: calc(100vw - 20px);
    height: calc(100svh - 20px);
  }

  .case-modal__body {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 34px 20px;
  }

  .case-modal__title h2 {
    font-size: 56px;
  }

  .case-modal__visual {
    height: 260px;
    margin: 0 10px 10px;
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* 404 */
.error-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: var(--page-pad);
  background:
    radial-gradient(circle at 72% 30%, rgba(200,255,45,.12), transparent 26%),
    var(--ink);
}

.error-card {
  width: min(980px, 100%);
}

.error-card__top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--mono);
  font-size: 10px;
}

.error-card h1 {
  margin: 8vh 0 35px;
  font-family: var(--display);
  font-size: clamp(100px, 25vw, 360px);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .7;
  color: transparent;
  -webkit-text-stroke: 2px var(--acid);
}

.error-card h2 {
  font-size: clamp(28px, 4vw, 58px);
  font-weight: 500;
  letter-spacing: -.04em;
}

.error-card p {
  margin: 12px 0 44px;
  color: rgba(240,238,231,.55);
}

.error-card a {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 15px 18px;
  border: 1px solid var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  transition: background .3s, color .3s;
}

.error-card a:hover {
  background: var(--acid);
  color: var(--ink);
}
