:root {
  --screen-height: 1024px;
  --tail-screen-height: min(100vh, 1024px);
  --paper: #f7f2e8;
  --paper-strong: #f2ecde;
  --ink: #2f2b29;
  --ink-soft: #b4ad9f;
  --line: rgba(47, 43, 41, 0.28);
  --line-strong: rgba(47, 43, 41, 0.5);
  --accent: #0794df;
  --orange: #ff6238;
  --white: #fff;
  --display: "Unbounded", sans-serif;
  --sf: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    sans-serif;
  --serif: "PT Serif", serif;
  --body: "MiSans", "Noto Sans SC", sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --shadow: 0 30px 70px rgba(47, 43, 41, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scroll-snap-type: none;
  scroll-padding-top: 0;
  overscroll-behavior-y: none;
}

body {
  margin: 0;
  min-width: 1280px;
  color: var(--ink);
  font-family: var(--body);
  background: var(--paper);
  overflow-x: auto;
  overscroll-behavior-y: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.52), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  pointer-events: none;
  z-index: -1;
}

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

button {
  font: inherit;
}

body.is-gate-locked {
  overflow: hidden;
}

body.is-gate-locked .portfolio,
body.is-gate-locked .floating-menu,
body.is-gate-locked .audio-toggle,
body.is-gate-locked .site-loader {
  visibility: hidden;
  pointer-events: none;
}

img,
picture,
canvas,
svg,
.project-detail__image,
.desk-card__face,
.switch-card__frame {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  background: var(--paper);
  color: #171411;
  opacity: 1;
  visibility: visible;
  overflow: hidden;
  transition:
    opacity 820ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 820ms;
}

.site-loader__rail {
  width: max-content;
  font-family: var(--body);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  white-space: nowrap;
  transform-origin: center center;
  transition:
    filter 820ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 820ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 820ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: filter, opacity, transform;
}

.access-gate {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(247, 242, 232, 0.94);
  backdrop-filter: blur(18px);
}

.access-gate[hidden] {
  display: none;
}

.access-gate__panel {
  width: min(100%, 420px);
  padding: 32px 30px 28px;
  border: 2px solid var(--line-strong);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(242, 236, 222, 0.92)),
    var(--paper);
  box-shadow: 0 28px 80px rgba(47, 43, 41, 0.16);
}

.access-gate__eyebrow {
  margin: 0 0 10px;
  color: #666157;
  font-family: var(--mono);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.access-gate__title {
  margin: 0;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 0.94;
}

.access-gate__description {
  margin: 16px 0 0;
  color: #4f4a45;
  font-family: var(--sf);
  font-size: 0.98rem;
  line-height: 1.5;
}

.access-gate__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 22px;
}

.access-gate__input {
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-align: center;
  outline: none;
}

.access-gate__input:focus {
  border-color: var(--ink);
}

.access-gate__submit {
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  cursor: pointer;
}

.access-gate__submit {
  min-width: 126px;
  height: 52px;
  padding: 0 18px;
  font-size: 0.94rem;
  font-weight: 700;
}

.access-gate__feedback {
  min-height: 1.4em;
  margin: 12px 0 0;
  color: #9a3f24;
  font-family: var(--sf);
  font-size: 0.88rem;
}

.site-loader__track {
  display: flex;
  gap: 104px;
  align-items: center;
  padding-left: 0;
  animation: loader-percent-marquee 10s linear infinite;
  will-change: transform;
}

.site-loader__track span {
  flex: 0 0 4ch;
  min-width: 4ch;
  text-align: center;
  white-space: pre;
}

.site-loader.is-dismissing {
  opacity: 0;
  visibility: hidden;
}

.site-loader.is-dismissing .site-loader__rail {
  opacity: 0;
  filter: blur(5px);
  transform: translate3d(0, -8px, 0) scale(0.985);
}

@keyframes loader-percent-marquee {
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

body.is-loading {
  overflow: hidden;
}

body.is-loading .portfolio,
body.is-loading .floating-menu,
body.is-loading .audio-toggle {
  visibility: hidden;
  pointer-events: none;
}

body:not(.is-hero-ready) .hero__start-text,
body:not(.is-hero-ready) .hero__start-text::before,
body:not(.is-hero-ready) .hero__start-text::after,
body:not(.is-hero-ready) .hero__arrow::after {
  animation: none;
}

body:not(.is-hero-ready) .hero__start-text::after {
  opacity: 0;
}

body.is-detail-open {
  overflow: hidden;
}

body.is-detail-open .audio-toggle {
  opacity: 0;
  pointer-events: none;
}

body.is-detail-open .floating-menu {
  z-index: 140;
}

.mask-reveal {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.mask-reveal__inner {
  display: inline-block;
  transform: translate3d(0, 110%, 0);
  transition:
    transform 820ms cubic-bezier(0.32, 0.72, 0, 1),
    opacity 620ms cubic-bezier(0.32, 0.72, 0, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform;
}

.mask-reveal.is-revealed > .mask-reveal__inner,
.is-revealed .mask-reveal > .mask-reveal__inner {
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .mask-reveal__inner {
    transform: none;
    transition: none;
  }
}

@media print {
  .portfolio,
  .project-detail,
  .floating-menu,
  .audio-toggle,
  .site-loader {
    display: none !important;
  }

  body {
    background: var(--paper);
  }
}

.portfolio {
  position: relative;
}

.floating-menu {
  position: fixed;
  top: 30px;
  left: 50%;
  z-index: 50;
  display: grid;
  justify-items: center;
  transform: translateX(-50%);
}

.floating-menu__toggle {
  grid-area: 1 / 1;
}

.floating-menu__toggle {
  width: 100px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
  border: 0;
  border-radius: 4px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
}

.floating-menu__label {
  line-height: 1;
}

.floating-menu__icon {
  position: relative;
  width: 12px;
  height: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: rotate(0deg);
  transition: transform 260ms cubic-bezier(0.32, 0.72, 0, 1);
}

.floating-menu__icon span {
  position: absolute;
  left: 0;
  width: 12px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition:
    transform 260ms cubic-bezier(0.32, 0.72, 0, 1),
    opacity 180ms ease;
}

.floating-menu__icon span:nth-child(1) {
  top: 0;
}

.floating-menu__icon span:nth-child(2) {
  top: 4.25px;
}

.floating-menu__icon span:nth-child(3) {
  top: 8.5px;
}

.floating-menu.is-open .floating-menu__icon {
  transform: rotate(180deg);
}

.floating-menu.is-open .floating-menu__icon span:nth-child(1) {
  top: 4.25px;
  transform: rotate(45deg);
}

.floating-menu.is-open .floating-menu__icon span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.2);
}

.floating-menu.is-open .floating-menu__icon span:nth-child(3) {
  top: 4.25px;
  transform: rotate(-45deg);
}

.audio-toggle {
  position: fixed;
  left: 36px;
  bottom: 36px;
  z-index: 50;
  width: 48px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #0794df;
  cursor: pointer;
  transition:
    background 180ms cubic-bezier(0.32, 0.72, 0, 1),
    color 180ms cubic-bezier(0.32, 0.72, 0, 1);
}

.audio-toggle:hover,
.audio-toggle:focus-visible {
  background: #0794df;
  color: var(--white);
  outline: none;
}

.audio-toggle__bars {
  width: 30px;
  height: 18px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 4px;
}

.audio-toggle__bars span {
  width: 3px;
  height: var(--bar-height, 10px);
  display: block;
  border-radius: 999px 999px 0 0;
  background: currentColor;
  transform-origin: bottom center;
}

.audio-toggle__bars span:nth-child(1) {
  --bar-height: 9px;
}

.audio-toggle__bars span:nth-child(2) {
  --bar-height: 18px;
}

.audio-toggle__bars span:nth-child(3) {
  --bar-height: 7px;
}

.audio-toggle__bars span:nth-child(4) {
  --bar-height: 13px;
}

.audio-toggle__bars span:nth-child(5) {
  --bar-height: 16px;
}

.audio-toggle.is-playing .audio-toggle__bars span {
  animation: audio-wave 680ms ease-in-out infinite;
}

.audio-toggle.is-playing .audio-toggle__bars span:nth-child(2) {
  animation-delay: 80ms;
}

.audio-toggle.is-playing .audio-toggle__bars span:nth-child(3) {
  animation-delay: 160ms;
}

.audio-toggle.is-playing .audio-toggle__bars span:nth-child(4) {
  animation-delay: 240ms;
}

.audio-toggle.is-playing .audio-toggle__bars span:nth-child(5) {
  animation-delay: 320ms;
}

@keyframes audio-wave {
  0%,
  100% {
    transform: scaleY(0.45);
  }

  50% {
    transform: scaleY(1);
  }
}

.floating-menu__panel {
  position: absolute;
  top: 33px;
  left: 50%;
  display: grid;
  width: 100px;
  gap: 14px;
  justify-items: stretch;
  padding: 14px 0;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: #f7f2e8;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-4px) scale(0.96);
  transform-origin: top center;
  transition:
    opacity 200ms cubic-bezier(0.32, 0.72, 0, 1),
    transform 200ms cubic-bezier(0.32, 0.72, 0, 1),
    visibility 0s linear 200ms;
  will-change: opacity, transform;
}

.floating-menu.is-open .floating-menu__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
  transition:
    opacity 200ms cubic-bezier(0.32, 0.72, 0, 1),
    transform 200ms cubic-bezier(0.32, 0.72, 0, 1),
    visibility 0s linear 0s;
}

.floating-menu__panel a {
  position: relative;
  width: 100%;
  font-family: var(--display);
  font-size: 0.79rem;
  font-weight: 500;
  letter-spacing: 0;
  text-align: center;
  color: #333333;
}

.floating-menu__panel a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -2px;
  height: 1px;
  background: #333333;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.floating-menu__panel a:hover::after,
.floating-menu__panel a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  height: var(--screen-height);
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hero__lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero__lines span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}

.hero__lines span:nth-child(1) {
  top: 1000x;
}

.hero__lines span:nth-child(2) {
  display: none;
}

.hero__lines span:nth-child(3) {
  top: 960ZZZZF;
}

.hero__brand {
  position: absolute;
  top: 30px;
  left: 36px;
  display: grid;
  gap: 2px;
}

.hero__brand strong {
  font-family: var(--display);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 0.94;
}

.hero__brand small {
  margin-top: 10px;
  color: #666157;
  font-family: var(--mono);
  font-size: 0.72rem;
}

.hero__meta {
  position: absolute;
  top: 30px;
  right: 30px;
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
}

.hero__meta strong {
  font-family: var(--display);
  font-size: 1.9rem;
  font-weight: 700;
}

.hero__meta > span,
.hero__meta a {
  font-family: var(--sf);
  font-size: 0.88rem;
  font-weight: 400;
}

.hero__wechat {
  position: relative;
  display: inline-block;
  cursor: default;
  outline: none;
}

.hero__wechat::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  opacity: 0.36;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 180ms ease;
}

.hero__wechat:hover::after,
.hero__wechat:focus-visible::after {
  transform: scaleX(1);
}

.hero__wechat-qr {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 10;
  display: block;
  width: 158px;
  padding: 10px;
  border: 2px solid var(--line-strong);
  border-radius: 4px;
  background: rgba(247, 242, 232, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px) scale(0.96);
  transform-origin: top right;
  transition:
    opacity 180ms cubic-bezier(0.32, 0.72, 0, 1),
    transform 180ms cubic-bezier(0.32, 0.72, 0, 1),
    visibility 0s linear 180ms;
}

.hero__wechat:hover .hero__wechat-qr,
.hero__wechat:focus .hero__wechat-qr {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition:
    opacity 180ms cubic-bezier(0.32, 0.72, 0, 1),
    transform 180ms cubic-bezier(0.32, 0.72, 0, 1),
    visibility 0s linear 0s;
}

.hero__wechat-qr img {
  width: 134px;
  height: 134px;
  display: block;
  object-fit: cover;
  border-radius: 3px;
  background: var(--white);
}

.hero__start {
  position: absolute;
  top: 420px;
  left: 51%;
  display: grid;
  gap: 18px;
  justify-items: center;
  transform: translateX(-50%);
}

.hero__start-button {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--display);
  font-size: 4rem;
  font-weight: 800;
  line-height: 0.94;
  cursor: pointer;
  display: inline-flex;
  align-items: baseline;
}

.hero__start-text {
  --start-text-width: 6.25em;
  position: relative;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  vertical-align: top;
}

.hero__start-text::before,
.hero__start-text::after {
  display: inline-block;
}

.hero__start-text::before {
  content: "“START”";
  width: 0;
  max-width: var(--start-text-width);
  overflow: hidden;
  animation: hero-start-type 1s steps(7, end) 160ms forwards;
}

.hero__start-text::after {
  content: "";
  width: 0.42em;
  height: 0.82em;
  margin-left: 0.12em;
  vertical-align: -0.08em;
  background: currentColor;
  animation: hero-start-cursor 720ms steps(1, end) 160ms infinite;
}

.hero__start-cursor {
  display: none;
}

@keyframes hero-start-type {
  from {
    width: 0;
  }

  to {
    width: var(--start-text-width);
  }
}

@keyframes hero-start-cursor {
  0%,
  46% {
    opacity: 1;
  }

  47%,
  100% {
    opacity: 0;
  }
}

.hero__arrow {
  width: 18px;
  height: 82px;
  position: relative;
  overflow: hidden;
}

.hero__arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 72px;
  background: rgba(47, 43, 41, 0.2);
  transform: translateX(-50%);
}

.hero__arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 42px;
  background: rgba(47, 43, 41, 0.9);
  transform: translateX(-50%);
  animation: hero-arrow-flow 1.55s linear infinite;
}

.hero__arrow-head {
  position: absolute;
  left: 50%;
  top: 66px;
  width: 11px;
  height: 11px;
  border-right: 1.2px solid rgba(47, 43, 41, 0.62);
  border-bottom: 1.2px solid rgba(47, 43, 41, 0.62);
  transform: translateX(-50%) rotate(45deg);
}

@keyframes hero-arrow-flow {
  0% {
    transform: translateX(-50%) translateY(-42px);
    opacity: 0;
  }

  18% {
    opacity: 1;
  }

  78% {
    transform: translateX(-50%) translateY(20px);
    opacity: 1;
  }

  100% {
    transform: translateX(-50%) translateY(44px);
    opacity: 0;
  }
}

.hero__title {
  position: absolute;
  left: 36px;
  bottom: 118px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  justify-content: flex-start;
  z-index: 2;
  white-space: nowrap;
  transform: translate3d(0, 0, 0);
}

.hero__product {
  font-family: var(--serif);
  font-size: 142px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}

.hero__designer {
  font-family: var(--display);
  font-size: 146px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.07em;
  color: #f7f2e8;
  -webkit-text-stroke: 1.35px #2f2b29;
  paint-order: stroke fill;
}

.hero__emoji {
  position: absolute;
  left: 80px;
  bottom: 122px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  font-size: 1.2rem;
}

.hero__badges {
  position: absolute;
  z-index: 4;
  right: 40px;
  top: 1400px;
  bottom: auto;
  display: grid;
  gap: 10px;
  justify-items: end;
}

.hero__badges > span {
  padding: 8px;
  border-radius: 4px;
  background: #2e2f31;
  color: var(--white);
  font-family: var(--mono);
  font-size: 0.86rem;
}

.horizontal-stage {
  position: relative;
  margin-top: -220px;
  scroll-snap-align: start;
}

.horizontal-stage__sticky {
  position: sticky;
  top: 0;
  height: var(--screen-height);
  overflow: hidden;
}

.horizontal-stage__track {
  position: relative;
  display: flex;
  height: 100%;
  will-change: transform;
}

.horizontal-stage__grid {
  position: absolute;
  inset: 0;
  width: 300vw;
  pointer-events: none;
  z-index: 1;
}

.stage-grid__line {
  position: absolute;
  background: var(--line);
}

.stage-grid__line--header {
  top: 60px;
  left: 100vw;
  width: 200vw;
  height: 1px;
}

.stage-grid__line--through {
  top: 124px;
  left: 0;
  width: 300vw;
  height: 1px;
}

.h-panel {
  position: relative;
  flex: 0 0 100vw;
  height: var(--screen-height);
  background: var(--paper);
}

.h-stage-hero {
  position: relative;
  height: 100%;
}

.h-stage-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 220px;
  height: 1px;
  background: var(--line);
  z-index: 1;
}

.h-stage-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 160px;
  height: 1px;
  background: var(--line);
  z-index: 1;
}

.h-stage-hero__title {
  position: absolute;
  right: 20px;
  left: auto;
  top: 115px;
  bottom: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
  justify-content: flex-end;
  z-index: 3;
  white-space: nowrap;
  transform: translate3d(0, 0, 0);
}

.h-stage-hero__product {
  font-family: var(--serif);
  font-size: 118px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}

.h-stage-hero__designer {
  font-family: var(--display);
  font-size: 122px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.07em;
  color: #f7f2e8;
  -webkit-text-stroke: 1.35px #2f2b29;
  paint-order: stroke fill;
}

.h-stage-hero__badges {
  position: absolute;
  right: 92px;
  top: 600px;
  z-index: 4;
  display: grid;
  gap: 12px;
  justify-items: end;
}

.h-stage-hero__badges > span {
  padding: 8px;
  border-radius: 4px;
  background: #2e2f31;
  color: var(--white);
  font-family: var(--mono);
  font-size: 0.86rem;
}

.h-panel__label {
  position: absolute;
  z-index: 2;
  top: 60px;
}

.h-panel__label h2 {
  margin: 0;
  color: var(--accent);
  font-family: var(--display);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
}

.h-panel--about .h-panel__label {
  left: 210px;
}

.h-panel--work .h-panel__label {
  right: 92px;
  top: 60px;
}

.h-panel--about::before,
.h-panel--work::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: var(--line);
  z-index: 1;
}

.about-card {
  width: 472px;
  margin: 224px 0 0 210px;
}

.about-card__title {
  display: grid;
  gap: 20px;
  margin-bottom: 28px;
  font-family: var(--display);
  font-size: 1.48rem;
  font-weight: 700;
}

.about-card__facts {
  margin: 0 0 28px;
  display: grid;
  gap: 20px;
}

.about-card__facts div {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 20px;
}

.about-card__facts dt {
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 700;
}

.about-card__facts dd {
  margin: 0;
  color: #7a7368;
  font-family: var(--body);
  font-size: 0.9rem;
}

.about-card__copy {
  display: grid;
  gap: 12px;
  color: #5d584f;
  font-family: var(--body);
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.82;
}

.about-card__copy p {
  margin: 0;
}

.work-overview {
  position: relative;
  height: 100%;
}

.work-overview__stats {
  position: absolute;
  left: 230px;
  top: 496px;
  bottom: auto;
  display: grid;
  gap: 14px;
  font-family: var(--serif);
  font-size: 1.075rem;
  font-style: italic;
  font-weight: 700;
}

.work-overview__stats p {
  margin: 0;
}

.work-overview__stats--right {
  left: auto;
  right: 170px;
}

.work-overview__scroll {
  position: absolute;
  top: 366px;
  left: 50%;
  display: grid;
  gap: 26px;
  justify-items: center;
  transform: translateX(-50%);
}

.work-overview__scroll span {
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 700;
}

.work-overview__scroll i {
  width: 1px;
  height: 114px;
  background: var(--line-strong);
  position: relative;
}

.work-overview__scroll i::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 14px;
  height: 14px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  transform: translate(-50%, 0) rotate(45deg);
}

.h-panel--work .h-panel__lines span:nth-child(1) {
  top: 59px;
}

.h-panel--work .h-panel__lines span:nth-child(2) {
  top: 109px;
}

.h-panel--work .h-panel__lines span:nth-child(3) {
  top: auto;
  bottom: 0;
}

.stack-scroll {
  position: relative;
  height: calc(var(--screen-height) * 3);
  scroll-snap-align: start;
}

.is-hidden-until-needed {
  display: none !important;
}

.stack-scroll__sticky {
  position: sticky;
  top: 0;
  height: var(--screen-height);
  display: grid;
  grid-template-columns: 320px 360px 400px;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 0 36px 144px;
  transform: translateY(-40px);
}

.stack-scroll__bubbles {
  position: absolute;
  top: calc(100% + 20px);
  right: 0;
  z-index: 80;
  display: grid;
  gap: 0;
  pointer-events: none;
  transform: scale(0.8);
  transform-origin: top right;
}

.stack-scroll__bubbles--secondary {
  right: 0;
  top: calc(100% + 20px);
}

.stack-bubble {
  width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 0;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(47, 43, 41, 0.08);
  color: #333333;
}

.stack-bubble--emoji {
  position: relative;
  gap: 32px;
  min-height: 94px;
  padding: 0 42px;
  border: 0;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(47, 43, 41, 0.05);
  animation: stack-bubble-float 3.6s ease-in-out infinite 160ms;
  z-index: 80;
}

.stack-bubble--emoji::before {
  content: "";
  position: absolute;
  left: 14px;
  top: -18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #ffffff;
  z-index: -1;
}

.stack-bubble--emoji span {
  display: inline-grid;
  place-items: center;
  font-size: 2.9rem;
  line-height: 1;
}

@keyframes stack-bubble-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.stack-scroll__copy {
  position: relative;
  width: max-content;
  display: flex;
  flex-direction: column;
  justify-self: start;
  color: var(--accent);
  font-family: var(--display);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 0.9;
  transform: translate(-20px, -20px);
}

.stack-scroll__copy > span:last-of-type {
  opacity: 0.56;
}

.stack-scroll__stage {
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  transform: translateX(20px);
}

.stack-scroll__cards {
  position: relative;
  width: 340px;
  height: 500px;
}

.switch-card {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 620ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity, filter;
}

.switch-card__frame {
  position: absolute;
  inset: 0;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 26px;
  color: var(--accent);
  background: transparent;
  overflow: hidden;
  box-shadow:
    0 34px 74px rgba(47, 43, 41, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.82) inset;
  transform: translateZ(0);
}

.switch-card.is-active .switch-card__frame {
  box-shadow:
    0 38px 90px rgba(47, 43, 41, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.86) inset;
}

.switch-card__asset {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}

.switch-card__date {
  position: relative;
  z-index: 1;
  justify-self: start;
  margin-top: 28px;
  color: var(--accent);
  font-family: "Modern Antiqua", var(--serif);
  line-height: 0.92;
  text-align: left;
}

.switch-card__date span,
.switch-card__date strong {
  display: block;
}

.switch-card__date span {
  font-size: 2.9rem;
  font-weight: 400;
}

.switch-card__date strong {
  margin-top: 6px;
  font-size: 3.2rem;
  font-weight: 400;
}

.switch-card__date--sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.stack-scroll__list {
  display: grid;
  align-content: center;
  padding-inline: 18px;
}

.stack-item {
  position: relative;
  width: 100%;
  display: block;
  padding: 26px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition:
    color 220ms ease,
    opacity 220ms ease;
}

.stack-item + .stack-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-strong);
}

.stack-item:last-child {
  padding-bottom: 34px;
}

.stack-item.is-active {
  color: var(--accent);
}

.stack-item__text {
  display: grid;
  gap: 6px;
  width: 100%;
}

.stack-item__text strong {
  font-family: var(--display);
  font-size: 1rem;
}

.stack-item__text > span,
.stack-item__text > small {
  color: inherit;
  font-family: var(--body);
  font-size: 0.92rem;
}

.stack-item__tags {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 8px;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    max-height 220ms cubic-bezier(0.32, 0.72, 0, 1),
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.32, 0.72, 0, 1);
}

.stack-item.is-active .stack-item__tags {
  max-height: 36px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.stack-item__tag {
  min-width: 64px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

.stack-item em {
  position: absolute;
  top: 26px;
  right: 0;
  font-family: var(--mono);
  font-size: 3.4rem;
  font-style: normal;
  line-height: 0.9;
}

.canvas-board {
  position: relative;
  height: var(--tail-screen-height);
  padding: 24px 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.canvas-board__surface {
  position: relative;
  width: calc(100vw - 80px);
  height: calc(var(--tail-screen-height) - 48px);
  margin: 0 auto;
  overflow: hidden;
  border-top: 1px solid rgba(47, 43, 41, 0.08);
  border-bottom: 1px solid rgba(47, 43, 41, 0.08);
  --pointer-x: 84%;
  --pointer-y: 78%;
  --pointer-opacity: 0;
  background:
    radial-gradient(circle, rgba(47, 43, 41, 0.2) 1px, transparent 1.1px),
    linear-gradient(180deg, rgba(247, 242, 232, 0.94), rgba(247, 242, 232, 0.98));
  background-size: 26px 26px, 100% 100%;
  background-position: 0 0;
}

.canvas-board__surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.48), transparent 24%);
  pointer-events: none;
}

.canvas-board__surface::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 40;
  border-radius: 2px;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.24), transparent 32%),
    rgba(247, 242, 232, 0.38);
  opacity: 0;
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
  pointer-events: none;
  transition: opacity 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.canvas-board__surface.has-focused-card::after {
  opacity: 1;
  pointer-events: auto;
}

.desk-card {
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(172px, 15vw, 236px);
  aspect-ratio: 823 / 1024;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: grab;
  user-select: none;
  touch-action: none;
  transform-origin: center center;
  transform:
    translate3d(var(--focus-x, 0px), var(--focus-y, 0px), 0)
    rotate(var(--rotation, 0deg))
    scale(var(--focus-scale, 1));
  transform-style: preserve-3d;
  transition:
    box-shadow 260ms ease,
    filter 260ms ease,
    opacity 260ms ease,
    transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
}

.desk-card.is-settling {
  animation: desk-card-settle 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes desk-card-settle {
  0% {
    transform: rotate(var(--settle-from, var(--rotation, 0deg)));
  }

  58% {
    transform: rotate(-1.5deg);
  }

  100% {
    transform:
      translate3d(var(--focus-x, 0px), var(--focus-y, 0px), 0)
      rotate(0deg)
      scale(var(--focus-scale, 1));
  }
}

.desk-card__face {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
}

.desk-card__face img {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

.desk-card__face--front {
  transform: rotateY(0deg);
}

.desk-card__face--back {
  transform: rotateY(180deg);
}

.desk-card:hover,
.desk-card--active {
  box-shadow: none;
}

.desk-card.is-dragging {
  cursor: grabbing;
  box-shadow: none;
  transition:
    box-shadow 180ms ease,
    filter 180ms ease,
    opacity 180ms ease;
}

.desk-card.is-flipped {
  cursor: default;
  transform:
    translate3d(var(--focus-x, 0px), var(--focus-y, 0px), 0)
    rotate(0deg)
    scale(var(--focus-scale, 1));
}

.desk-card.is-flipped .desk-card__face--front {
  transform: rotateY(-180deg);
}

.desk-card.is-flipped .desk-card__face--back {
  transform: rotateY(0deg);
}

.canvas-board__surface.has-focused-card .desk-card:not(.is-flipped) {
  z-index: 1 !important;
  filter: blur(2px) saturate(0.85);
  opacity: 0.42;
  pointer-events: none;
}

.canvas-board__surface.has-focused-card .desk-card.is-flipped {
  z-index: 60 !important;
  filter: none;
  opacity: 1;
  pointer-events: auto;
  box-shadow: none;
}

.final-screen {
  position: relative;
  height: var(--tail-screen-height);
  display: flex;
  justify-content: center;
  align-items: stretch;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.final-screen__frame {
  width: min(calc(100vw - 80px), 1480px);
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto auto 1fr auto;
  justify-items: center;
  align-items: start;
  padding: 0 0 34px;
}

.final-screen__contact {
  grid-row: 2;
  z-index: 3;
  margin-bottom: 40px;
  font-family: var(--display);
  font-size: 1.52rem;
  font-weight: 500;
}

.final-screen__contact::after {
  content: "↗";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-left: 8px;
  border-radius: 2px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.72rem;
}

.final-screen__quote {
  grid-row: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--serif);
  font-size: 8rem;
  font-style: italic;
  font-weight: 400;
  line-height: 0.88;
  text-align: center;
}

.final-screen__quote span {
  display: block;
  white-space: nowrap;
}

.final-screen small {
  grid-row: 5;
  align-self: end;
  transform: none;
  color: #666157;
  font-family: var(--mono);
  font-size: 0.84rem;
}

.project-detail {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: var(--paper);
  color: #333333;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 420ms;
}

.project-detail.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}

.project-detail__scroll {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--paper);
}

.project-detail__nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 42px 76px 0;
  pointer-events: none;
}

.project-detail__brand,
.project-detail__work {
  border: 0;
  background: transparent;
  color: var(--detail-nav-color, #333333);
  font-family: var(--display);
  font-size: 1.78rem;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 0;
  cursor: pointer;
  pointer-events: auto;
}

.project-detail__brand {
  font-size: 2.16rem;
  line-height: 1;
}

.project-detail.is-over-media .project-detail__brand,
.project-detail.is-over-media .project-detail__work {
  color: var(--detail-nav-contrast, #ffffff);
}

.project-detail__intro {
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(640px, 1fr) minmax(420px, 540px);
  align-items: start;
  gap: 80px;
  padding: 140px 76px 56px;
}

.project-detail__intro h1 {
  max-width: 860px;
  margin: 0;
  font-family: var(--display);
  font-size: 65px;
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: 0;
}

.project-detail__intro h1 span {
  display: block;
}

.project-detail__meta {
  display: grid;
  gap: 28px;
  align-self: start;
  padding-top: 8px;
  font-family: var(--display);
}

.project-detail__client {
  display: flex;
  align-items: baseline;
  gap: 30px;
  margin: 0;
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 350;
  line-height: 1.4;
}

.project-detail__client span {
  color: var(--accent);
}

.project-detail__client strong {
  font: inherit;
}

.project-detail__description {
  max-width: 480px;
  margin: 0;
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 350;
  line-height: 1.4;
}

.project-detail__services {
  margin: 0;
  color: #b5b5b5;
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 350;
  line-height: 1.4;
}

.project-detail__services span {
  display: block;
}

.project-detail__media {
  display: grid;
  gap: 0;
  background: #050505;
}

.project-detail__image {
  position: relative;
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 42%),
    #111111;
}

.project-detail__image--wide {
  min-height: 430px;
}

.project-detail__image--tall {
  min-height: 820px;
}

.project-detail__image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-detail__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.01);
}

.project-detail__image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

@media (max-width: 1320px) {
  body {
    min-width: 1120px;
  }

  .hero__product {
    font-size: 132px;
  }

  .hero__designer {
    font-size: 142px;
  }

  .stack-scroll__sticky {
    grid-template-columns: 300px 390px 360px;
    gap: 44px;
  }

  .canvas-board__surface {
    width: calc(100vw - 56px);
  }

  .project-detail__intro {
    grid-template-columns: minmax(560px, 1fr) minmax(380px, 480px);
    gap: 54px;
  }
}

@media (max-width: 1024px) {
  body {
    min-width: 980px;
  }

  .hero__brand strong {
    font-size: 2.4rem;
  }

  .hero__start-button {
    font-size: 3.2rem;
  }

  .hero__product {
    font-size: 116px;
  }

  .hero__designer {
    font-size: 126px;
  }

  .h-panel__label h2 {
    font-size: 3.6rem;
  }

  .stack-scroll__sticky {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 28px;
    padding: 86px 24px 40px;
  }

  .stack-scroll__copy,
  .stack-scroll__list {
    width: 430px;
  }

  .canvas-board__surface {
    width: calc(100vw - 40px);
  }

  .project-detail__nav {
    padding-inline: 44px;
  }

  .project-detail__intro {
    min-height: 720px;
    grid-template-columns: 1fr;
    align-content: end;
    gap: 46px;
    padding-inline: 44px;
  }

  .project-detail__intro h1 {
    max-width: 760px;
    font-size: 7rem;
  }

  .project-detail__meta {
    max-width: 560px;
    justify-self: end;
  }
}
