@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap");

@font-face {
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./assets/PretendardVariable.ttf") format("truetype");
}

:root {
  --paper: #f2f2f2;
  --ink: #292929;
  --muted: #3d3d3d;
  --white: #ffffff;
  --green: #63da3c;
  --gutter: clamp(16px, 1.4vw, 20px);
  --ui-label-size: 13px;
  --mono: Arial, sans-serif;
  --ko: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --display: "EB Garamond", serif;
  --hero-filter-font: var(--display);
  --hero-filter-weight: 450;
  --hero-title-size: clamp(24px, 2.65vw, 28px);
  --hero-title-half-line: clamp(13.2px, 1.4575vw, 15.4px);
  --hero-title-lift: clamp(156px, 19.8svh, 204px);
  --hero-work-gap: 56px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
:root {
  background: var(--paper);
  background-color: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--paper);
  background-color: var(--paper);
  font-family: var(--mono);
  font-size: var(--ui-label-size);
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
}

@media (hover: hover) and (pointer: fine) {
  body,
  a,
  button,
  select,
  input,
  .work-card,
  .hero-filter__select,
  [data-cursor-label] {
    cursor: none;
  }
}

body.is-loading {
  overflow: hidden;
}

body.is-loading:not(.is-handoff) .hero .hero-filter__title {
  visibility: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

dt,
dd {
  margin: 0;
}

img,
video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 100%;
  height: 4px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  background: transparent;
  color: var(--ink);
  transition: visibility 0s linear;
}

.preloader::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--paper);
  opacity: 1;
  transition: opacity 0.68s cubic-bezier(0.19, 1, 0.22, 1);
}

.preloader.is-placing {
  pointer-events: none;
}

.preloader.is-complete {
  visibility: hidden;
}

.preloader.is-done::before {
  opacity: 0;
}

.preloader.is-complete .preloader__sentence {
  visibility: hidden;
}

.preloader__sentence {
  position: relative;
  z-index: 1;
  width: min(1096px, 76.1vw);
  text-align: center;
  transform-origin: center center;
  will-change: transform;
}

.preloader__word {
  overflow: visible;
  pointer-events: none;
}

.preloader__word-label {
  position: relative;
  z-index: 0;
  display: inline-block;
  padding: 0 0.03em 0.02em;
  transition: width 0.42s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: width;
}

.preloader__word-label::before,
.preloader__word-label::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 1px;
  background: currentColor;
  pointer-events: none;
}

.preloader__word-label::before {
  transform: scaleX(1);
  transform-origin: right;
}

.preloader__word-label::after {
  transform: scaleX(0);
  transform-origin: left;
}

.preloader__word.is-label-writing .preloader__word-label::before {
  animation: filter-underline-out 0.32s cubic-bezier(0.19, 1, 0.22, 1) both;
}

.preloader__word.is-label-writing .preloader__word-label::after {
  animation: filter-underline-in 0.32s cubic-bezier(0.19, 1, 0.22, 1) both;
}

.preloader.is-placing .preloader__sentence {
  transition: transform 500ms cubic-bezier(.42,0,.58,1);
  transform: translate3d(var(--preloader-x, 0px), var(--preloader-y, 0px), 0);
}

.preloader__word.is-label-writing .hero-filter__letter {
  animation: filter-letter-reveal 0.34s ease-out both;
  animation-delay: calc(var(--letter-index) * 20ms);
  will-change: opacity, text-shadow;
}

.preloader__word.is-label-exiting .hero-filter__letter {
  animation: preloader-letter-exit 0.16s ease-in both;
  animation-delay: calc(var(--letter-index) * 8ms);
  will-change: opacity, transform;
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10001;
  width: 18px;
  height: 18px;
  pointer-events: none;
  border: 1px solid var(--white);
  border-radius: 50%;
  background: var(--white);
  mix-blend-mode: difference;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition: width 0.25s ease, height 0.25s ease, opacity 0.25s ease,
    border-color 0.25s ease, background 0.25s ease,
    border-radius 0.25s ease, mix-blend-mode 0.25s ease;
}

.cursor.is-visible {
  opacity: 1;
}

.cursor.is-active {
  width: 35px;
  height: 35px;
}

.cursor::after {
  content: attr(data-label);
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--white);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.18s ease;
}

.cursor.has-label {
  width: 82px;
  height: 22px;
  border-color: var(--ink);
  border-radius: 999px;
  background: var(--ink);
  mix-blend-mode: normal;
}

.cursor.has-label::after {
  opacity: 1;
  font-size: 10px;
}

.site-header {
  --header-reveal-offset: 0px;
  --header-y: var(--header-reveal-offset);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  padding: 11px 0;
  color: var(--white);
  mix-blend-mode: difference;
  transform: translateY(var(--header-y));
  opacity: 1;
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1),
              opacity 350ms ease;
  will-change: transform, opacity;
}

.site-header.is-scrolled {
  transform: translateY(0);
}

.site-header.is-hidden {
  transform: translateY(calc(-100% - 12px));
  opacity: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  padding-inline: var(--gutter);
}

.header-grid {
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: clamp(12px, 2.6vw, 20px);
  padding-inline: clamp(16px, 2.6vw, 20px);
}

.logo {
  grid-column: 1;
  grid-row: 1;
  width: fit-content;
}

.role {
  grid-column: 4 / span 3;
}

.nav {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  gap: 1em;
  justify-self: center;
}

.section--hidden-for-now {
  display: none;
}

.nav a:not(:last-child)::after {
  content: ",";
}

.location {
  grid-column: 11 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  white-space: nowrap;
}

.contact-link {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  width: fit-content;
}

.spark {
  width: 18px;
  height: 12px;
  margin-top: 1px;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: skewX(-18deg);
}

.link {
  position: relative;
  width: fit-content;
}

.link::before {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.75s cubic-bezier(0.19, 1, 0.22, 1);
}

.link:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: center;
  padding: 72px var(--gutter);
}

.about-main {
  min-height: 100svh;
}

.about-hero {
  display: flex;
  min-height: 100svh;
  align-items: center;
  justify-content: center;
  padding: 72px var(--gutter);
}

.principle-morph {
  --principle-icon-size: clamp(186px, 14.1vw, 202px);
  --principle-text-rise: 20px;
  --principle-text-exit-y: -10px;
  --principle-text-enter-duration: 620ms;
  --principle-text-exit-duration: 440ms;
  --principle-text-line-stagger: 60ms;
  position: relative;
  z-index: 2;
  display: grid;
  width: min(100%, 260px);
  margin: 0 auto;
  grid-template-rows: var(--principle-icon-size) 4em;
  justify-items: center;
  gap: clamp(18px, 2.4vw, 30px);
  color: #000000;
  text-align: center;
}

.principle-ascii {
  display: block;
  width: var(--principle-icon-size);
  height: var(--principle-icon-size);
}

.principle-title {
  position: relative;
  width: 100%;
  min-height: 4em;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--ui-label-size);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
  white-space: pre-line;
}

.principle-text-current {
  display: block;
  width: 100%;
  transform-origin: center;
  will-change: transform;
}

.principle-title-line {
  display: block;
  transform-origin: center;
  will-change: transform;
}

.principle-morph.is-text-entering .principle-title-line {
  animation: principle-text-rise var(--principle-text-enter-duration)
    cubic-bezier(0.2, 0.86, 0.5, 1) both;
}

.principle-morph.is-text-exiting .principle-title-line {
  animation: principle-text-exit var(--principle-text-exit-duration)
    cubic-bezier(0.6, 0, 1, 1) both;
}

.principle-morph.is-text-entering .principle-title-line:nth-child(2) {
  animation-delay: var(--principle-text-line-stagger);
}

.principle-morph.is-text-resetting .principle-title-line {
  animation: none;
}

@keyframes principle-text-exit {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(0, var(--principle-text-exit-y), 0);
  }
}

@keyframes principle-text-rise {
  from {
    transform: translate3d(0, var(--principle-text-rise), 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

.hero-filter {
  position: relative;
  z-index: 40;
  width: min(1096px, 76.1vw);
  margin: 0 auto;
  text-align: center;
}

.hero-filter::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgb(255 255 255 / 58%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.38s cubic-bezier(0.19, 1, 0.22, 1);
}

.hero-filter.is-open::before {
  opacity: 1;
}

.hero-filter__title {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  column-gap: 0.4em;
  row-gap: 0.08em;
  font-family: var(--hero-filter-font);
  font-size: var(--hero-title-size);
  font-weight: var(--hero-filter-weight);
  font-style: normal;
  line-height: 1.1;
  text-transform: none;
}

.hero-filter__stage {
  position: relative;
  z-index: 1;
  transform: translateY(calc(0px - var(--hero-title-lift)));
}

.hero-filter__title > span:not(.hero-filter__select-wrap) {
  font-style: italic;
  transition: opacity 0.28s ease;
}

.hero-filter__intro {
  display: block;
  flex-basis: 100%;
  line-height: 1.2;
  padding-bottom: 0.08em;
  overflow: visible;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.35s cubic-bezier(0.16, 1, 0.3, 1);
}

body:not(.intro-ready) .hero .hero-filter__intro {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(24px);
}

body.intro-ready .hero .hero-filter__intro {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

body.intro-ready .hero .hero-filter__intro .hero-filter__letter {
  animation: filter-letter-reveal 0.42s ease-out both;
  animation-delay: calc(80ms + var(--letter-index) * 20ms);
  will-change: opacity, text-shadow;
}

.hero-filter__select-wrap + span {
  display: inline-block;
  padding-left: 0.24em;
  overflow: visible;
}

.hero-filter.is-hovered .hero-filter__title > span:not(.hero-filter__select-wrap),
.hero-filter.is-open .hero-filter__title > span:not(.hero-filter__select-wrap) {
  opacity: 0.5;
}

.hero-filter__select-wrap {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
}

.hero-filter__select-wrap::before {
  content: "";
  position: absolute;
  top: 100%;
  right: -24px;
  left: -24px;
  height: 22px;
}

.hero-filter__select {
  display: inline-flex;
  align-items: center;
  gap: 0.16em;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  line-height: inherit;
  letter-spacing: 0;
  text-transform: none;
  transition: opacity 0.18s ease, color 0.18s ease;
}

.hero-filter__select [data-filter-label] {
  position: relative;
  z-index: 0;
  display: inline-block;
  overflow: visible;
  padding: 0 0.03em 0.02em;
  color: var(--ink);
  font-weight: 450;
  font-style: normal;
  white-space: nowrap;
  transition: width 0.42s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: width;
}

.hero-filter__label-current,
.hero-filter__label-next {
  position: relative;
  z-index: 1;
  display: block;
  white-space: nowrap;
  color: currentColor;
}

.hero-filter__label-next {
  position: absolute;
  inset: 0 0 auto 0;
  opacity: 0;
}

.hero-filter__letter {
  display: inline-block;
  white-space: pre;
}

.hero-filter__select.is-label-writing .hero-filter__letter {
  animation: filter-letter-reveal 0.34s ease-out both;
  animation-delay: calc(var(--letter-index) * 20ms);
  will-change: opacity, text-shadow;
}

.hero-filter__select [data-filter-label]::before,
.hero-filter__select [data-filter-label]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 1px;
  background: currentColor;
  pointer-events: none;
}

.hero-filter__select [data-filter-label]::before {
  transform: scaleX(1);
  transform-origin: right;
}

.hero-filter__select [data-filter-label]::after {
  transform: scaleX(0);
  transform-origin: left;
}

.hero-filter__select:hover [data-filter-label]::before,
.hero-filter__select:focus-visible [data-filter-label]::before,
.hero-filter__select.is-label-writing [data-filter-label]::before {
  animation: filter-underline-out 0.32s cubic-bezier(0.19, 1, 0.22, 1) both;
}

.hero-filter__select:hover [data-filter-label]::after,
.hero-filter__select:focus-visible [data-filter-label]::after,
.hero-filter__select.is-label-writing [data-filter-label]::after {
  animation: filter-underline-in 0.32s cubic-bezier(0.19, 1, 0.22, 1) both;
}

.hero-filter__select::after {
  content: none;
}

.hero-filter__select:hover,
.hero-filter__select:focus-visible {
  opacity: 1;
}

.hero-filter__select:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 3px;
}

.hero-filter[data-active-filter="all"] .hero-filter__select {
  color: var(--ink);
}

.hero-filter[data-active-filter="brand-identity"] .hero-filter__select {
  color: var(--ink);
}

.hero-filter[data-active-filter="video"] .hero-filter__select {
  color: var(--ink);
}

.hero-filter[data-active-filter="user-experience"] .hero-filter__select {
  color: var(--ink);
}

.hero-filter__menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 0.03em;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.18em;
  min-width: max-content;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 6px, 0);
  transition: opacity 0.28s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.28s cubic-bezier(0.19, 1, 0.22, 1);
}

.hero-filter.is-open .hero-filter__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.hero-filter__menu button {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgb(41 41 41 / 62%);
  font: inherit;
  line-height: 1.08;
  text-align: left;
  text-transform: none;
  white-space: nowrap;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.hero-filter__menu button:hover {
  color: var(--ink);
}

.hero-filter__menu button[aria-selected="true"] {
  display: none;
}

@keyframes filter-underline-out {
  from {
    transform: scaleX(1);
  }

  to {
    transform: scaleX(0);
  }
}

@keyframes filter-underline-in {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes filter-letter-reveal {
  0% {
    opacity: 0;
    text-shadow: 0 0 1px rgb(41 41 41 / 8%);
  }

  66% {
    opacity: 1;
    text-shadow: 0 0 8px rgb(41 41 41 / 28%);
  }

  100% {
    opacity: 1;
    text-shadow: 0 0 0 rgb(41 41 41 / 0%);
  }
}

@keyframes preloader-letter-exit {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  to {
    opacity: 0;
    transform: translate3d(0, -0.16em, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-filter__select.is-label-writing .hero-filter__letter,
  body.intro-ready .hero .hero-filter__intro .hero-filter__letter,
  .preloader__word.is-label-writing .hero-filter__letter,
  .preloader__word.is-label-exiting .hero-filter__letter {
    animation: none;
  }

  .preloader.is-placing .preloader__sentence {
    transition: none;
  }
}

.work {
  margin-top: calc(-50svh + var(--hero-title-half-line) + var(--hero-work-gap));
  padding: 0 0 clamp(76px, 12vw, 92px);
}

.work-list {
  display: grid;
  width: min(100%, 1000px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  column-gap: 14px;
  row-gap: 40px;
  padding-inline: 18px;
  margin-inline: auto;
}

.work-column {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 40px;
}

.work-card.is-filtered-out {
  display: none;
}

.work-card a,
.work-card__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.work-card--visual-system .work-card__image {
  aspect-ratio: 3 / 4;
}

.musique-card-visual {
  aspect-ratio: 4 / 3;
  background: #151712;
}

.musique-card-visual img {
  object-fit: cover;
}

.work-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  width: 100%;
  text-transform: none;
}

.work-card__title {
  margin: 0;
  font-family: var(--mono);
  font-size: var(--ui-label-size);
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
}

.work-card__description {
  max-width: 520px;
  margin: 0;
  color: rgb(41 41 41 / 56%);
  font-family: var(--mono);
  font-size: clamp(13px, calc(0.83vw + 2px), 14px);
  font-weight: 400;
  line-height: 1.25;
}

.work-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.work-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgb(41 41 41 / 8%);
  color: rgb(41 41 41 / 68%);
  font-family: var(--mono);
  font-size: clamp(11px, calc(0.76vw + 1px), 12px);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.work-card__image {
  --media-scale: 1;
  --parallax-y: 0px;
  --parallax-back-y: 0px;
  --parallax-front-y: 0px;
  height: auto;
  aspect-ratio: 1 / 0.82;
  overflow: hidden;
  border-radius: 5px;
  background: #c9c9c9;
  position: relative;
}

.work-card__image--16x9 {
  aspect-ratio: 16 / 9;
}

.work-card__image--orbis {
  aspect-ratio: 5 / 4;
}

.work-card__image--ambient {
  aspect-ratio: 1000 / 1333;
}

.work-card__image--two-expressions {
  aspect-ratio: 155 / 87;
}

.work-card__image--empty {
  background: #050505;
}

.work-card__image > img,
.work-card__image > video {
  height: 100%;
  transform: scale(var(--media-scale));
  transition: transform 0.85s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform;
}

.work-card__image > .work-card__badge {
  position: absolute;
  top: clamp(14px, 4%, 24px);
  left: clamp(14px, 4%, 24px);
  z-index: 10;
  width: auto;
  height: 45px;
  object-fit: contain;
  opacity: 0;
  transform: none;
  transition: opacity 0.22s ease;
  will-change: opacity;
  pointer-events: none;
}

.work-card:hover .work-card__image > .work-card__badge,
.work-card:focus-within .work-card__image > .work-card__badge {
  opacity: 1;
}

.work-card__image::after {
  position: absolute;
  inset: 0;
  z-index: 5;
  content: "";
  pointer-events: none;
  background: rgb(255 255 255 / 15%);
  opacity: 0;
  transition: opacity 0.45s ease;
}

.orange-layered-frame {
  position: relative;
  isolation: isolate;
  background: #060705;
}

.orange-layered-frame > .orange-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--media-scale));
  transition: transform 0.85s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform;
}

.orange-layered-frame > .orange-layer--back {
  z-index: 1;
}

.orange-layered-frame > .orange-layer--front {
  z-index: 2;
  pointer-events: none;
}

.work-card:hover .work-card__image {
  --media-scale: 1.035;
}

.work-card:hover .work-card__image::after,
.work-card:focus-within .work-card__image::after {
  opacity: 1;
}

.work-card--portrait {
  width: min(568px, 39.45vw);
  margin-inline: auto;
}

.work-card--portrait .work-card__image {
  height: min(710px, 49.3vw);
}

.project-page .site-header {
  color: var(--white);
  mix-blend-mode: difference;
  transform: translateY(0);
}

.project-page .site-header.is-hidden {
  transform: translateY(calc(-100% - 12px));
}

.project {
  padding-bottom: clamp(28px, 5vw, 48px);
}

.project-page .project > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1),
    transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.project-page.project-ready .project > * {
  opacity: 1;
  transform: translateY(0);
}

.project-page.project-ready .project > :nth-child(2) {
  transition-delay: 0.06s;
}

.project-page.project-ready .project > :nth-child(3) {
  transition-delay: 0.14s;
}

.project-page.project-ready .project > :nth-child(n + 4) {
  transition-delay: 0.2s;
}

.project-spacer {
  height: clamp(92px, 14vh, 150px);
}

.project-hero-image,
.project-full-image {
  margin: 0;
  background: #c9c9c9;
}

.project-hero-image {
  position: sticky;
  top: 0;
  z-index: 0;
}

.project-hero-image img,
.project-hero-image video,
.project-full-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.project-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2.6vw, 20px);
  margin: 0 clamp(16px, 2.6vw, 20px) 12px;
  padding-bottom: 0;
}

.project-intro__lead {
  grid-column: 1 / -1;
  padding-bottom: clamp(48px, 7.6vw, 120px);
}

.project-intro__lead p {
  max-width: 975px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(24px, 3.9vw, 42px);
  line-height: 1;
  text-transform: none;
}

.project-intro__lead span,
.project-context p {
  color: rgb(41 41 41 / 56%);
}

.project-intro__lead .project-title-text {
  color: var(--ink);
}

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

.project-context {
  padding-top: 0;
}

.project-context h2,
.project-context p {
  margin: 0;
  font-family: var(--mono);
  font-size: var(--ui-label-size);
  font-weight: 400;
  line-height: 1.2;
}

.project-context p {
  padding-top: 4px;
}

.project-copy {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 650px);
  justify-content: center;
  gap: 24px;
  margin: 0;
  padding: clamp(64px, 8.4vw, 120px) clamp(16px, 2.6vw, 20px);
  background: var(--paper);
}

.project-copy__title {
  grid-column: 1;
  max-width: 650px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(24px, calc(2.22vw - 4px), 28px);
  font-weight: 400;
  line-height: 1.15;
  text-transform: none;
}

.project-copy__title span {
  color: rgb(41 41 41 / 56%);
}

.project-copy__gap {
  display: none;
}

.project-copy__body {
  grid-column: 1;
  max-width: 650px;
}

.project-copy__body p {
  margin: 0 0 20px;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  text-transform: none;
}

.project-copy__body .project-copy__paragraph--ko {
  opacity: 0.5;
  font-family: var(--ko);
  font-size: 15px;
  font-weight: 200;
  font-style: normal;
  line-height: 1.5;
}

.project-copy__end {
  display: none;
}

.project-footer-nav {
  display: flex;
  justify-content: space-between;
  margin: 0 clamp(16px, 2.6vw, 20px);
  padding-top: 22px;
}

.musique-page {
  --musique-accent: #514cff;
  --musique-soft: #e9e8ff;
  --musique-content-width: 900px;
}

.musique-hero-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #151712;
}

.musique-page .project-intro {
  position: relative;
  z-index: 1;
  background: var(--paper);
}

.musique-page .project-intro::before {
  position: absolute;
  top: 0;
  bottom: -12px;
  left: 50%;
  z-index: -1;
  width: 100vw;
  content: "";
  background: var(--paper);
  transform: translateX(-50%);
}

.musique-hero-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-aspect-ratio: 16 / 9) {
  .musique-hero-placeholder {
    position: relative;
  }
}

.musique-media-placeholder span,
.musique-value__media span {
  font-family: var(--mono);
  font-size: var(--ui-label-size);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.musique-case-study {
  position: relative;
  z-index: 1;
  padding: clamp(92px, 11vw, 170px) clamp(16px, 2.6vw, 20px);
  background: var(--paper);
}

.musique-page .musique-project {
  padding-bottom: 0;
}

.musique-page .project-footer-nav {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 22px clamp(16px, 2.6vw, 20px) clamp(28px, 5vw, 48px);
  background: var(--paper);
}

.musique-section-nav {
  position: fixed;
  top: 50%;
  left: clamp(16px, 2.6vw, 32px);
  z-index: 45;
  display: flex;
  width: 180px;
  flex-direction: column;
  gap: 18px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(-50% + 8px));
  visibility: hidden;
  transition: opacity 0.28s ease, transform 0.28s ease,
    visibility 0.28s ease;
}

.musique-section-nav.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%);
  visibility: visible;
}

.project-page.project-ready .project > .musique-section-nav {
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(-50% + 8px));
  visibility: hidden;
}

.project-page.project-ready .project > .musique-section-nav.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%);
  visibility: visible;
}

.musique-section-nav a {
  color: rgb(41 41 41 / 28%);
  font-family: var(--mono);
  font-size: var(--ui-label-size);
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.musique-section-nav a:hover,
.musique-section-nav a:focus-visible {
  color: rgb(41 41 41 / 68%);
}

.musique-section-nav a.is-active {
  color: var(--musique-accent);
}

.musique-section {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding-bottom: clamp(110px, 14vw, 220px);
  scroll-margin-top: 80px;
}

.musique-eyebrow,
.musique-step {
  margin: 0 0 24px;
  color: var(--musique-accent);
  font-family: var(--mono);
  font-size: var(--ui-label-size);
  font-weight: 400;
  letter-spacing: 0.035em;
  line-height: 1.2;
  text-transform: uppercase;
}

.musique-section > .musique-eyebrow {
  width: min(100%, var(--musique-content-width));
  margin-right: auto;
  margin-left: auto;
}

.musique-section > h1,
.musique-section > h2 {
  width: min(100%, var(--musique-content-width));
  margin: 0 auto;
  color: #626262;
  font-family: var(--ko);
  font-size: clamp(22px, calc(2.22vw - 4px), 28px);
  font-weight: 450;
  letter-spacing: -0.035em;
  line-height: 1.15;
  text-transform: none;
  word-break: keep-all;
}

.musique-body {
  width: min(100%, var(--musique-content-width));
  margin: 24px auto 0;
}

.musique-body p,
.musique-value > p,
.musique-journey article > p {
  margin: 0 0 20px;
  color: #878787;
  font-family: var(--ko);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.6;
  text-transform: none;
  word-break: keep-all;
}

.musique-body .musique-question {
  color: #656565;
  font-weight: 500;
}

.musique-media-placeholder {
  display: flex;
  width: min(100%, var(--musique-content-width));
  min-height: clamp(320px, 52vw, 720px);
  align-items: center;
  justify-content: center;
  margin: clamp(48px, 6vw, 88px) auto 0;
  border: 1px solid rgb(81 76 255 / 22%);
  background:
    linear-gradient(135deg, rgb(81 76 255 / 7%), rgb(81 76 255 / 16%)),
    var(--musique-soft);
  color: var(--musique-accent);
}

.musique-value-grid {
  display: grid;
  width: min(100%, var(--musique-content-width));
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(64px, 8vw, 112px);
  margin: clamp(58px, 7vw, 100px) auto 0;
}

.musique-section--values > .musique-body {
  margin-right: auto;
  margin-left: auto;
}

.musique-value {
  display: flex;
  min-width: 0;
  max-width: 100%;
  flex-direction: column;
  overflow: hidden;
}

.musique-value h3,
.musique-journey h3 {
  margin: 0 0 16px;
  color: #626262;
  font-family: var(--ko);
  font-size: clamp(19px, 1.65vw, 25px);
  font-weight: 450;
  letter-spacing: -0.04em;
  line-height: 1.2;
  text-transform: none;
  word-break: keep-all;
}

.musique-value > p {
  min-height: 0;
  font-size: clamp(13px, 1.05vw, 16px);
}

.musique-value__media {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: clamp(280px, 31vw, 470px);
  align-items: flex-end;
  justify-content: flex-start;
  margin-top: 20px;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 26%, var(--musique-accent) 0 8%, transparent 8.5%),
    linear-gradient(160deg, #d9f3f7 0 58%, #c9c6ff 58% 100%);
  color: var(--musique-accent);
}

.musique-value__media span {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.musique-value:nth-child(2) .musique-value__media {
  background:
    radial-gradient(circle at 50% 76%, #c8ff70 0 15%, transparent 15.5%),
    linear-gradient(145deg, #d9f3f7 0 62%, var(--musique-accent) 62% 100%);
}

.musique-value:nth-child(3) .musique-value__media {
  background:
    linear-gradient(90deg, transparent 0 54%, rgb(81 76 255 / 75%) 54% 72%, transparent 72%),
    linear-gradient(145deg, #d9f3f7 0 65%, #ffbadf 65% 100%);
}

.musique-journey {
  display: grid;
  width: min(100%, var(--musique-content-width));
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(56px, 7vw, 100px);
  margin: clamp(64px, 8vw, 118px) auto 0;
}

.musique-journey article {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding-top: 22px;
  border-top: 1px solid rgb(41 41 41 / 22%);
}

.musique-value h3,
.musique-value > p,
.musique-journey h3,
.musique-journey article > p {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.musique-journey .musique-step {
  margin-bottom: 34px;
}

.musique-journey article > p {
  font-size: clamp(13px, 1.05vw, 16px);
}

.musique-journey article > .musique-step {
  color: var(--musique-accent);
  font-family: var(--mono);
  font-size: var(--ui-label-size);
  font-weight: 400;
  letter-spacing: 0.035em;
  line-height: 1.2;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .musique-page .project-intro {
    width: min(calc(100% - 40px), var(--musique-content-width));
    margin: 0 auto 12px;
    padding-top: 96px;
  }

  .musique-page .project-intro__lead p {
    font-size: 42px;
  }

  .musique-page .project-intro__lead {
    padding-bottom: 96px;
  }

  .musique-case-study {
    padding-top: 120px;
  }

  .musique-section {
    width: min(100%, var(--musique-content-width));
    padding-bottom: 160px;
  }

  .musique-eyebrow,
  .musique-step {
    font-size: var(--ui-label-size);
  }

  .musique-section > h1,
  .musique-section > h2 {
    font-size: 28px;
  }

  .musique-media-placeholder {
    min-height: 0;
    aspect-ratio: 10 / 9;
    margin-top: 72px;
  }

  .musique-value-grid {
    gap: 96px;
    margin-top: 80px;
  }

  .musique-value h3,
  .musique-journey h3 {
    font-size: 25px;
  }

  .musique-value > p,
  .musique-journey article > p {
    font-size: 16px;
  }

  .musique-value__media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .musique-journey {
    gap: 80px;
    margin-top: 96px;
  }
}

.craft-main {
  min-height: calc(100vh - 160px);
  padding: clamp(92px, 14vh, 150px) 20px 80px;
}

.craft-hero {
  display: grid;
  min-height: 52vh;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-content: end;
  column-gap: 12px;
}

.craft-hero p {
  grid-column: 1 / span 3;
  align-self: end;
  color: rgb(41 41 41 / 56%);
}

.craft-hero h1 {
  grid-column: 4 / -1;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(72px, calc(13vw - 4px), 184px);
  font-weight: 300;
  line-height: 0.78;
  text-transform: none;
}

.story {
  position: relative;
  min-height: 220vh;
  padding-inline: 0;
  color: var(--paper);
}

.story-bg {
  position: sticky;
  top: 10px;
  z-index: 0;
  height: calc(100vh - 20px);
  overflow: hidden;
  border-radius: 0;
  background: #121212;
}

.story-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(0, 0, 0, 0.18);
}

.story-copy {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(910px, 64vw);
  min-height: 170vh;
  flex-direction: column;
  justify-content: center;
  gap: 100vh;
  margin: -50vh auto 0;
  padding-bottom: 45vh;
  text-align: center;
}

.eyebrow {
  font-size: clamp(11px, 0.83vw, 12px);
}

.story h2 {
  font-family: var(--display);
  font-size: clamp(24px, calc(3.06vw - 4px), 40px);
  font-weight: 400;
  line-height: 0.9;
}

.footer {
  width: 100%;
  padding: 120px 20px 24px;
}

.footer-profile {
  width: 100%;
}

.footer-profile ul {
  display: grid;
  width: 100%;
  list-style: none;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-profile li:last-child {
  justify-self: end;
}

.point {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}

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

body:not(.home-ready) #work .work-card.reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(72px);
}

body.home-ready #work .work-card.reveal {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1)
      var(--work-reveal-delay, 0ms),
    filter 1.1s cubic-bezier(0.16, 1, 0.3, 1) var(--work-reveal-delay, 0ms),
    transform 1.35s cubic-bezier(0.16, 1, 0.3, 1)
      var(--work-reveal-delay, 0ms);
}

@media (max-width: 767px) {
  :root {
    --hero-title-size: 21px;
    --hero-title-half-line: 11.55px;
    --hero-title-lift: clamp(126px, 19.4svh, 164px);
    --hero-work-gap: 48px;
  }

  .preloader {
    padding: 10px;
  }

  .preloader__sentence {
    width: 100%;
  }

  .role,
  .location {
    display: none;
  }

  .contact-link {
    display: block;
  }

  .nav {
    gap: 1em;
  }

  .hero {
    min-height: 100svh;
    padding: 70px 16px;
  }

  .about-hero {
    padding: 70px 16px;
  }

  .principle-morph {
    --principle-icon-size: 186px;
    width: min(100%, 240px);
    gap: 18px;
  }

  .principle-title {
    font-size: var(--ui-label-size);
  }

  .hero-filter {
    width: 100%;
  }

  .hero-filter__title {
    align-items: center;
    row-gap: 0.04em;
  }

  .hero-filter__select-wrap + span {
    padding-left: 0.24em;
  }

  .hero-filter__menu {
    left: 50%;
    align-items: center;
    flex-wrap: nowrap;
    width: max-content;
    max-width: calc(100vw - 40px);
    row-gap: 8px;
    transform: translate3d(-50%, 6px, 0);
  }

  .hero-filter.is-open .hero-filter__menu {
    transform: translate3d(-50%, 0, 0);
  }

  .work-card--portrait {
    width: 100%;
  }

  .work-card--portrait .work-card__image {
    height: 480px;
  }

  .musique-case-study {
    padding: 78px 16px 0;
  }

  .musique-page .project-intro {
    margin-top: 0;
    padding-top: 56px;
  }

  .musique-section-nav {
    display: none;
  }

  .project-page.project-ready .project > .musique-section-nav,
  .project-page.project-ready .project > .musique-section-nav.is-visible {
    display: none;
  }

  .musique-section {
    scroll-margin-top: 90px;
  }

  .musique-section {
    padding-bottom: 112px;
  }

  .musique-eyebrow,
  .musique-step {
    margin-bottom: 22px;
  }

  .musique-section > h1,
  .musique-section > h2 {
    font-size: clamp(20px, calc(7vw - 4px), 24px);
    line-height: 1.18;
  }

  .musique-body {
    margin-top: 22px;
  }

  .musique-body p,
  .musique-value > p,
  .musique-journey article > p {
    font-size: 15px;
    line-height: 1.5;
  }

  .musique-media-placeholder {
    min-height: 300px;
    margin-top: 42px;
  }

  .musique-value-grid,
  .musique-journey {
    grid-template-columns: 1fr;
  }

  .musique-value-grid {
    gap: 64px;
    margin-top: 52px;
  }

  .musique-value > p {
    min-height: 0;
  }

  .musique-value__media {
    min-height: 330px;
  }

  .musique-journey {
    gap: 54px;
    margin-top: 56px;
  }

  .craft-main {
    min-height: calc(100vh - 120px);
    padding: 112px 16px 60px;
  }

  .craft-hero {
    min-height: 48vh;
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .craft-hero p,
  .craft-hero h1 {
    grid-column: 1;
  }

  .craft-hero h1 {
    font-size: clamp(54px, calc(22vw - 4px), 92px);
  }

  .story {
    min-height: 210vh;
    padding-inline: 0;
  }

  .story-bg {
    top: 0;
    height: 100vh;
    border-radius: 0;
  }

  .story-copy {
    width: 100%;
    min-height: 165vh;
    gap: 82vh;
    padding: 0 16px 70vh;
  }

  .story h2 {
    font-size: 28px;
  }

  .footer {
    padding: 45px 16px 20px;
  }

  .footer-profile ul {
    gap: 12px;
    grid-template-columns: 1fr;
  }

  .footer-profile li,
  .footer-profile li:nth-child(2),
  .footer-profile li:last-child {
    justify-self: start;
  }

  .footer-profile li:last-child {
    display: none;
  }

}

@media (hover: none), (pointer: coarse) {
  .cursor {
    display: none;
  }
}

@media (max-width: 430px) {
  .principle-morph {
    --principle-icon-size: 186px;
    width: min(100%, 220px);
    gap: 14px;
  }

  .principle-title {
    font-size: var(--ui-label-size);
  }

  .work-list {
    grid-template-columns: 1fr;
    row-gap: 28px;
    padding-inline: 16px;
  }

  .work-column {
    display: contents;
  }

  .work-card {
    order: var(--project-order, 0);
  }
}
