:root {
  --ink: #121212;
  --panel: #191919;
  --white: #ffffff;
  --lime: #cce939;
  --line: #f0f0f0;
  --scale: 1;
}

@font-face {
  font-family: "Roboto Flex Local";
  src: url("assets/RobotoFlex-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-stretch: 25% 151%;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--white);
  font-family: "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

html.is-loading,
html.is-loading body {
  overflow: hidden;
}

.site-loader {
  position: fixed;
  z-index: 9999;
  inset: 0;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, -100%, 0);
  will-change: transform;
  transition:
    transform 720ms cubic-bezier(0.76, 0, 0.24, 1),
    visibility 0s linear 720ms;
}

html.is-loading .site-loader {
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

html.is-loading .site-loader.is-exiting {
  pointer-events: none;
  transform: translate3d(0, -100%, 0);
}

.site-loader__stage {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
}

.site-loader__mark {
  position: relative;
  width: calc(220px * var(--loader-scale, 1));
  height: calc(220px * var(--loader-scale, 1));
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.site-loader__mark-center {
  position: relative;
  z-index: 1;
  font-family: "Showcard Gothic", Impact, sans-serif;
  font-size: calc(42px * var(--loader-scale, 1));
  font-weight: 400;
  line-height: calc(48px * var(--loader-scale, 1));
  letter-spacing: calc(4.2px * var(--loader-scale, 1));
  white-space: nowrap;
}

.site-loader__orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transform-origin: 50% 50%;
  animation: loader-orbit-spin 12s linear infinite;
}

.site-loader__orbit span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(14px * var(--loader-scale, 1));
  height: calc(18px * var(--loader-scale, 1));
  margin-top: calc(-9px * var(--loader-scale, 1));
  margin-left: calc(-7px * var(--loader-scale, 1));
  font-family: "Roboto Flex Local", "Noto Sans SC", sans-serif;
  font-size: calc(14px * var(--loader-scale, 1));
  font-weight: 800;
  line-height: calc(18px * var(--loader-scale, 1));
  text-align: center;
  transform: rotate(var(--char-angle)) translateY(calc(-98px * var(--loader-scale, 1)));
  transform-origin: 50% 50%;
}

.site-loader__progress {
  position: absolute;
  top: calc(var(--loader-offset-y, 0px) + 962px * var(--loader-scale, 1));
  left: calc(var(--loader-offset-x, 0px) + 1757px * var(--loader-scale, 1));
  margin: 0;
  color: var(--lime);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: calc(48px * var(--loader-scale, 1));
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: calc(58px * var(--loader-scale, 1));
  white-space: nowrap;
}

.sound-permission-prompt {
  position: fixed;
  z-index: 10000;
  left: 50%;
  bottom: 32px;
  max-width: calc(100vw - 32px);
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.82);
  color: var(--white);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.24);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.04em;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, 12px, 0);
  transition: opacity 220ms ease, transform 220ms ease;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.sound-permission-prompt.is-visible {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}

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

html.scroll-reveal-ready [data-scroll-reveal] {
  --reveal-distance: 44px;
  --reveal-clip: 16%;
  opacity: 0;
  clip-path: inset(0 0 var(--reveal-clip) 0);
  transform: translate3d(0, var(--reveal-distance), 0);
  will-change: opacity, transform, clip-path;
}

html.scroll-reveal-ready [data-scroll-reveal="section"] {
  --reveal-distance: 68px;
  --reveal-clip: 22%;
}

html.scroll-reveal-ready [data-scroll-reveal="item"] {
  --reveal-distance: 34px;
  --reveal-clip: 10%;
}

html.scroll-reveal-ready [data-scroll-reveal].is-scroll-revealed {
  animation: scroll-content-reveal 720ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms) both;
}

@keyframes scroll-content-reveal {
  from {
    opacity: 0;
    clip-path: inset(0 0 var(--reveal-clip) 0);
    transform: translate3d(0, var(--reveal-distance), 0);
  }

  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translate3d(0, 0, 0);
  }
}

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

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

address {
  font-style: normal;
}

.viewport-shell {
  position: relative;
  width: 100vw;
  height: calc(5113px * var(--scale));
  overflow: hidden;
  background: var(--ink);
}

.portfolio {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1920px;
  height: 5113px;
  transform: translateX(-50%) scale(var(--scale));
  transform-origin: top center;
  background: var(--ink);
  overflow: hidden;
}

.hero {
  position: absolute;
  inset: 0 0 auto;
  height: 1080px;
  overflow: hidden;
}

.hero__visual,
.hero__image,
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__visual {
  overflow: hidden;
  background: #effb00;
}

.hero__image {
  object-fit: cover;
  opacity: 1;
  transition: opacity 240ms ease;
}

.hero__canvas {
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.hero__visual.is-ready .hero__image {
  opacity: 0;
}

.hero__visual.is-ready .hero__canvas {
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  inset: -1px;
  background: rgba(18, 18, 18, 0.5);
}

.nav-shell {
  position: fixed;
  z-index: 1000;
  top: calc(16px * var(--scale));
  left: 50%;
  width: calc(1800px * var(--scale));
  height: calc(80px * var(--scale));
  padding: 0 calc(40px * var(--scale));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.4);
  color: #fff;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.25);
  transform: translateX(-50%);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    backdrop-filter 180ms ease;
}

.nav-shell.nav-shell--on-light {
  background: rgba(18, 18, 18, 0.78);
  color: #fff;
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.22),
    0 12px 30px rgba(18, 18, 18, 0.16);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
}

.brand {
  font-family: "Showcard Gothic", Impact, sans-serif;
  font-size: 26px;
  line-height: 28px;
  letter-spacing: 2.6px;
}

.nav-shell > .brand {
  font-size: calc(26px * var(--scale));
  line-height: calc(28px * var(--scale));
  letter-spacing: calc(2.6px * var(--scale));
}

.nav-shell nav {
  display: flex;
  gap: calc(60px * var(--scale));
  align-items: center;
  font-size: calc(16px * var(--scale));
  line-height: calc(26px * var(--scale));
}

.nav-shell nav a {
  position: relative;
}

.nav-shell nav a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

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

.hero__title-group {
  position: absolute;
  z-index: 1;
  top: 449px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  transform: translateX(-50%);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--lime);
  font-size: 18px;
  line-height: 30px;
}

.eyebrow span {
  width: 40px;
  height: 1px;
  background: var(--lime);
  border-radius: 1px;
}

.hero h1,
.about-intro h2,
.creations h2 {
  font-size: 100px;
  font-weight: 700;
  line-height: 120px;
  letter-spacing: 30px;
  white-space: nowrap;
}

.pressure-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: crosshair;
  font-family: "Roboto Flex Local", "Arial Narrow", sans-serif !important;
  font-optical-sizing: auto;
  font-weight: 100 !important;
  font-stretch: 25%;
  font-variation-settings: "wght" 100, "wdth" 25, "opsz" 144;
  letter-spacing: 0 !important;
  user-select: none;
}

.pressure-char {
  display: inline-block;
  font-variation-settings: "wght" 100, "wdth" 25, "opsz" 144;
}

.pressure-text.is-pressurized .pressure-char {
  will-change: font-variation-settings;
}

#hero-title,
#about-title {
  width: 789px;
}

#hero-title {
  font-size: 120px;
  line-height: 144px;
}

#work-title {
  width: 800px;
}

.hero__manifesto {
  position: absolute;
  z-index: 1;
  top: 996px;
  left: 60px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero__manifesto p {
  font-size: 18px;
  line-height: 30px;
}

.hero__manifesto small,
.footer small {
  font-size: 14px;
  line-height: 22px;
}

.hero__contact {
  position: absolute;
  z-index: 1;
  top: 1018px;
  right: 60px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 22px;
}

.hero__contact span {
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 38px;
}

.work-strip {
  --marquee-gap: 16px;
  --marquee-shift: 8px;
  position: absolute;
  top: 1140px;
  left: 0;
  width: 100%;
  height: 333px;
  overflow: hidden;
}

.work-strip__track {
  display: flex;
  gap: var(--marquee-gap);
  width: max-content;
  animation: work-marquee 18s linear infinite;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.work-strip figure {
  width: 400px;
  height: 333px;
  flex: none;
  overflow: hidden;
  border-radius: 24px;
  background: #222;
}

.work-strip img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.work-strip__portrait img {
  object-position: center top;
}

@keyframes work-marquee {
  to {
    transform: translate3d(calc(-50% - var(--marquee-shift)), 0, 0);
  }
}

.about-intro {
  position: absolute;
  top: 1473px;
  left: 0;
  width: 100%;
  height: 826px;
}

.about-intro__content {
  position: absolute;
  top: 200px;
  left: 566px;
  width: 789px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  text-align: center;
}

.about-intro h2 {
  width: 100%;
  color: var(--lime);
  text-align: left;
}

.about-intro__content > p {
  width: 609px;
  font-size: 18px;
  line-height: 30px;
}

.about-intro__content > p strong {
  color: var(--lime);
  font-weight: 700;
}

.lime-button {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 32px;
  border-radius: 100px;
  background: var(--lime);
  color: var(--ink);
  font-size: 24px;
  font-weight: 500;
  line-height: 34px;
  transition: transform 180ms ease, background 180ms ease;
}

.lime-button:hover,
.lime-button:focus-visible {
  background: #dafa3a;
  transform: translateY(-3px);
}

.eyes {
  --pupil-x: 0px;
  --pupil-y: 0px;
  display: grid;
  grid-template-columns: 20px 20px;
  gap: 4px;
}

.eyes i {
  position: relative;
  width: 20px;
  height: 22px;
  display: block;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
}

.eyes i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
  content: "";
  transform: translate(calc(-50% + var(--pupil-x)), calc(-50% + var(--pupil-y)));
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.eyes.is-tracking i::after {
  transition: none;
}

.creations {
  --projects-bottom-gap: 160px;
  position: absolute;
  top: 2299px;
  left: 0;
  width: 100%;
  height: 1130px;
  border-radius: 24px 24px 0 0;
  background: #fff;
  color: var(--ink);
}

.creations h2 {
  position: absolute;
  top: 160px;
  left: 560px;
}

.project-list {
  position: absolute;
  top: 400px;
  left: 260px;
  width: 1400px;
  border-top: 1px solid #f0f0f0;
}

.project {
  --preview-right: 217px;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 80px;
  display: block;
  overflow: visible;
  border-bottom: 1px solid #f0f0f0;
  color: var(--ink);
  transition: height 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.project:hover,
.project:focus-visible,
.project--active {
  z-index: 3;
  height: 204px;
}

.project > span {
  position: absolute;
  top: 42px;
  left: 0;
  height: 38px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  overflow: hidden;
  opacity: 0.4;
  white-space: nowrap;
  transition:
    top 360ms cubic-bezier(0.16, 1, 0.3, 1),
    height 360ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 280ms ease;
}

.project:hover > span,
.project:focus-visible > span,
.project--active > span {
  top: 77px;
  height: 50px;
  align-items: flex-end;
  overflow: visible;
  opacity: 1;
}

.project__preview {
  position: absolute;
  top: 50%;
  right: var(--preview-right);
  width: 206.597px;
  height: 364.9px;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 220ms ease,
    visibility 0s linear 220ms,
    transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(calc(-50% + 10px));
}

.project__preview img {
  width: 160px;
  height: 346px;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.1);
  transform: rotate(-8deg);
}

.project--forest .project__preview img {
  width: auto;
  height: 346px;
}

.project:hover .project__preview,
.project:focus-visible .project__preview,
.project--active .project__preview {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
  transform: translateY(-50%);
}

.project strong {
  font-size: 40px;
  font-weight: 700;
  line-height: 50px;
}

.project small {
  padding-bottom: 3px;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 0s linear 180ms;
}

.project:hover small,
.project:focus-visible small,
.project--active small {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.project__arrow {
  position: absolute;
  top: 14px;
  right: 0;
  width: 52px;
  height: 52px;
  opacity: 0.4;
  transition:
    top 360ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 280ms ease;
}

.project:hover .project__arrow,
.project:focus-visible .project__arrow,
.project--active .project__arrow {
  top: 76px;
  opacity: 1;
}

.project--poster {
  --preview-right: 236.36px;
}

.project--poster .project__preview {
  width: 187.639px;
  height: 232.161px;
}

.project--poster .project__preview img {
  width: 159.688px;
  height: 212px;
}

html.project-modal-open,
html.project-modal-open body {
  overflow: hidden;
}

html.project-modal-open .viewport-shell {
  pointer-events: none;
  user-select: none;
}

.project-modal {
  --project-content-width: 1000px;
  --project-content-half-width: 500px;
  --project-close-gap: 24px;
  position: fixed;
  z-index: 900;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  border: 0;
  background: rgba(18, 18, 18, 0.8);
  color: var(--white);
  opacity: 0;
  transition: opacity 300ms ease;
}

.project-modal[open].is-visible {
  opacity: 1;
}

.project-modal::backdrop {
  background: transparent;
}

.project-modal__surface {
  min-height: 100%;
  padding: calc(136px * var(--scale)) 0 80px;
  background: transparent;
}

.project-modal__main {
  width: 100%;
}

.project-modal__heading {
  width: min(var(--project-content-width), calc(100% - 120px));
  min-height: 50px;
  margin: 0 auto 33px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-modal__title-group {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.project-modal__title-group h2,
.project-modal__title-group p {
  margin: 0;
}

.project-modal__title-group h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 50px;
}

.project-modal__title-group p {
  padding-bottom: 1px;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
}

.project-modal__close {
  position: fixed;
  z-index: 920;
  top: calc(136px * var(--scale) - 1px);
  right: auto;
  left: calc(50% + var(--project-content-half-width) + var(--project-close-gap));
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: transform 220ms ease, background-color 220ms ease;
}

.project-modal__close img {
  width: 24px;
  height: 24px;
  display: block;
}

.project-modal__close:hover,
.project-modal__close:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.project-modal__close:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.project-modal__gallery {
  width: min(var(--project-content-width), calc(100% - 120px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-modal__media {
  width: 100%;
  margin: 0;
  display: block;
  overflow: visible;
  background: transparent;
}

.project-modal__media img {
  width: 100%;
  max-width: var(--project-content-width);
  height: auto;
  object-fit: contain;
  display: block;
}

html.about-modal-open,
html.about-modal-open body {
  overflow: hidden;
}

html.about-modal-open .viewport-shell {
  pointer-events: none;
  user-select: none;
}

.about-modal {
  position: fixed;
  z-index: 900;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  border: 0;
  background: rgba(18, 18, 18, 0.8);
  color: var(--white);
  opacity: 0;
  transition: opacity 300ms ease;
}

.about-modal[open].is-visible {
  opacity: 1;
}

.about-modal::backdrop {
  background: transparent;
}

.about-modal__canvas {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1920px;
  height: 1080px;
  overflow: visible;
  transform: translateX(-50%) scale(var(--about-scale, 1));
  transform-origin: top center;
}

.about-modal__surface {
  position: absolute;
  top: 244px;
  left: 543px;
  width: 1160px;
  margin: 0;
  padding: 60px 60px 60px 160px;
  border: 0;
  border-radius: 24px;
  background: var(--panel);
  transform: translateY(26px);
  transform-origin: center top;
  transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.about-modal.is-visible .about-modal__surface {
  transform: translateY(0);
}

.about-modal__close {
  position: fixed;
  z-index: 920;
  top: calc(244px * var(--about-scale, 1));
  right: auto;
  left: calc(50% + 743px * var(--about-scale, 1) + 40px);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
  cursor: pointer;
  transition: transform 220ms ease, background-color 220ms ease;
}

.about-modal__close img {
  width: 24px;
  height: 24px;
  display: block;
}

.about-modal__close:hover,
.about-modal__close:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.about-id-card {
  position: absolute;
  z-index: 2;
  top: 243px;
  left: 247px;
  width: 400px;
  min-height: 0;
  margin: 0;
  padding: 24px;
  border-radius: 24px;
  background: #202020;
  color: var(--white);
  transform: rotate(-8deg);
  transform-origin: center;
}

.about-id-card__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.about-id-card__heading h2,
.about-id-card__heading span,
.about-id-card__list,
.about-id-card__list dd {
  margin: 0;
}

.about-id-card__heading h2 {
  color: var(--lime);
  font-size: 32px;
  font-weight: 500;
  line-height: 42px;
}

.about-id-card__heading span {
  padding-bottom: 4px;
  font-size: 14px;
  line-height: 22px;
  white-space: nowrap;
}

.about-id-card__list {
  display: grid;
  gap: 12px;
}

.about-id-card__list > div {
  display: grid;
  gap: 6px;
}

.about-id-card__list dt {
  color: var(--lime);
  font-size: 18px;
  line-height: 30px;
}

.about-id-card__list dd {
  font-size: 16px;
  line-height: 26px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-id-card__list a {
  color: inherit;
}

.about-paperclip {
  position: absolute;
  z-index: 3;
  width: 100px;
  height: 133.333px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(134, 255, 40, 0.18));
}

.about-paperclip--card {
  top: 175px;
  left: 332px;
  transform: rotate(-17.04deg);
}

.about-paperclip--panel {
  top: 184px;
  left: 1490px;
  transform: rotate(12deg);
}

.about-modal__main {
  position: relative;
  width: 100%;
}

.about-modal__intro {
  display: grid;
  gap: 8px;
  margin-bottom: 40px;
}

.about-modal__intro h2,
.about-modal__intro p {
  margin: 0;
}

.about-modal__intro h2 {
  color: var(--lime);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
}

.about-modal__intro p {
  max-width: 940px;
  font-size: 16px;
  line-height: 26px;
}

.about-modal__intro strong {
  color: var(--lime);
  font-weight: 700;
}

.about-timeline {
  position: relative;
  height: 460px;
  overflow: hidden;
  overscroll-behavior: contain;
  outline: none;
}

.about-timeline__rail {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 13px;
  height: 460px;
  display: block;
  pointer-events: none;
}

.about-timeline:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.3);
  outline-offset: 8px;
}

.about-timeline__item {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 60px;
  cursor: pointer;
  opacity: 0.25;
  transform: translateY(59.5px);
  will-change: transform, opacity;
  transition:
    opacity 180ms linear,
    transform 460ms cubic-bezier(0.76, 0, 0.24, 1);
}

.about-timeline__item.is-active {
  z-index: 2;
  opacity: 1;
}

.about-timeline__item[data-position="previous"] {
  transform: translateY(59.5px);
}

.about-timeline__item[data-position="current"] {
  transform: translateY(168.5px);
}

.about-timeline__item[data-position="next"] {
  transform: translateY(381.5px);
}

.about-timeline__item[data-position="before-previous"] {
  pointer-events: none;
  opacity: 0;
  transform: translateY(-153.5px);
}

.about-timeline__item[data-position="after-next"] {
  pointer-events: none;
  opacity: 0;
  transform: translateY(594.5px);
}

.about-timeline__item time {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 22px;
}

.about-timeline__item h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
  white-space: nowrap;
}

.about-timeline__item.is-active h3 {
  color: var(--lime);
}

.about-timeline__item ul {
  max-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  font-size: 16px;
  line-height: 1.5;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    max-height 300ms ease,
    margin-top 300ms ease,
    opacity 220ms ease,
    transform 300ms ease,
    visibility 0s linear 300ms;
}

.about-timeline__item.is-active ul {
  max-height: 144px;
  margin-top: 16px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

@media (max-width: 900px) {
  .about-modal {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .about-modal__canvas {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    min-height: 100%;
    padding: 104px 24px 48px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
    transform: none;
  }

  .about-id-card {
    position: relative;
    top: auto;
    left: auto;
    grid-area: 1 / 1;
    width: min(400px, calc(100vw - 64px));
    justify-self: center;
    transform: rotate(-3deg);
  }

  .about-modal__surface {
    position: relative;
    top: auto;
    left: auto;
    grid-area: 2 / 1;
    width: 100%;
    padding: 72px 32px 40px;
    border-radius: 20px;
    transform: translateY(22px);
  }

  .about-modal__close {
    top: 40px;
    right: 40px;
    left: auto;
  }

  .about-modal.is-visible .about-modal__surface {
    transform: translateY(0);
  }

  .about-paperclip--card,
  .about-paperclip--panel {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    align-self: start;
  }

  .about-paperclip--card {
    grid-area: 1 / 1;
    justify-self: center;
    margin-top: -64px;
    margin-left: 190px;
    transform: rotate(-12deg);
  }

  .about-paperclip--panel {
    z-index: 3;
    grid-area: 2 / 1;
    justify-self: end;
    margin-top: -76px;
    margin-right: 48px;
  }

  .about-modal__intro h2 {
    font-size: 24px;
    line-height: 1.2;
  }

  .about-modal__intro p {
    font-size: 14px;
    line-height: 24px;
  }

  .about-timeline {
    height: 460px;
  }

  .about-timeline__item {
    left: 32px;
  }

  .about-timeline__item h3 {
    font-size: 20px;
    line-height: 1.5;
    white-space: normal;
  }

  .about-timeline__item ul {
    font-size: 14px;
    line-height: 1.5;
  }

  .about-timeline__item.is-active ul {
    max-height: 220px;
  }
}

@media (max-width: 480px) {
  .about-modal__canvas {
    padding: 96px 16px 36px;
    gap: 36px;
  }

  .about-id-card {
    width: calc(100vw - 48px);
    padding: 20px;
  }

  .about-id-card__heading {
    margin-bottom: 24px;
  }

  .about-id-card__heading h2 {
    font-size: 27px;
    line-height: 36px;
  }

  .about-id-card__list dt {
    font-size: 16px;
    line-height: 26px;
  }

  .about-id-card__list dd {
    font-size: 14px;
    line-height: 24px;
  }

  .about-paperclip--card {
    width: 84px;
    height: 112px;
    margin-top: -56px;
    margin-left: 148px;
  }

  .about-paperclip--panel {
    width: 84px;
    height: 112px;
    margin-top: -62px;
    margin-right: 24px;
  }

  .about-modal__surface {
    padding: 68px 20px 32px;
  }

  .about-timeline__item ul {
    font-size: 14px;
    line-height: 1.5;
  }
}

.profile {
  position: absolute;
  top: 3429px;
  left: 0;
  width: 100%;
  height: auto;
  padding-top: 160px;
  border-radius: 24px 24px 0 0;
  background: var(--ink);
}

.profile-card {
  position: relative;
  width: 1400px;
  margin: 0 auto 200px;
  padding: 60px;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: var(--panel);
}

.profile-card__top {
  display: flex;
  align-items: center;
  gap: 120px;
}

.seal {
  position: relative;
  width: 220px;
  height: 220px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.circular-mark__center {
  position: relative;
  z-index: 1;
  font-family: "Showcard Gothic", Impact, sans-serif;
  font-size: 35px;
  line-height: 38px;
  letter-spacing: 3.5px;
}

.circular-mark__orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transform-origin: 50% 50%;
}

.circular-mark__orbit span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-block;
  width: 14px;
  height: 18px;
  margin-top: -9px;
  margin-left: -7px;
  font-family: "Roboto Flex Local", "Noto Sans SC", sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  transform: rotate(var(--char-angle)) translateY(-98px);
  transform-origin: 7px 9px;
}

.profile-copy {
  flex: 1;
  font-size: 16px;
  line-height: 26px;
}

.profile-copy__title {
  margin: 0 0 32px;
  color: var(--lime);
  font-size: 32px;
  font-weight: 700;
  line-height: 42px;
}

.profile-copy p + p {
  margin-top: 26px;
}

.footer {
  position: relative;
  width: 100%;
  height: 336px;
  overflow: hidden;
}

.footer > img {
  position: absolute;
  top: -204px;
  left: 0;
  width: 100%;
  height: 1080px;
  object-fit: cover;
}

.footer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.footer__content {
  position: absolute;
  top: 160px;
  left: 60px;
  width: 1800px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.brand--footer {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 42px;
  line-height: 48px;
  letter-spacing: 4.2px;
}

.footer__content p {
  font-size: 18px;
  line-height: 30px;
}

.footer__content > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__contacts {
  display: flex;
  align-items: flex-end;
  gap: 15px;
  font-style: normal;
}

.footer__dock-item {
  --dock-scale: 1;
  position: relative;
  width: calc(38px * var(--dock-scale));
  height: calc(38px * var(--dock-scale));
  flex: 0 0 calc(38px * var(--dock-scale));
  display: grid;
  place-items: end center;
  color: inherit;
  cursor: default;
  will-change: width, height, flex-basis;
}

a.footer__dock-item {
  cursor: pointer;
}

.footer__dock-icon {
  width: 38px;
  height: 38px;
  display: block;
  transform: scale(var(--dock-scale));
  transform-origin: bottom center;
  will-change: transform;
}

.footer__contacts img {
  display: block;
}

.footer__dock-feedback {
  position: absolute;
  z-index: 1;
  bottom: calc(100% + 16px);
  left: 50%;
  display: block;
  color: var(--ink);
  font-style: normal;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 150ms ease,
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.footer__dock-feedback--email,
.footer__dock-feedback--phone {
  bottom: calc(100% + 34px);
  isolation: isolate;
  overflow: visible;
  width: max-content;
  min-width: 0;
  height: 60px;
  padding: 15px 24px;
  border-radius: 30px;
  background: var(--white);
  box-sizing: border-box;
}

.footer__dock-feedback--email::after,
.footer__dock-feedback--phone::after {
  content: "";
  position: absolute;
  top: calc(100% - 5px);
  width: 26px;
  height: 22px;
  background: var(--white);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.footer__dock-feedback--email {
  transform: translate(-50%, 8px);
}

.footer__dock-feedback--email::after {
  left: 50%;
  transform: translateX(-50%);
}

.footer__dock-feedback--wechat {
  width: 140px;
  height: 154.584px;
  transform: translate(-70px, 8px);
}

.footer__dock-feedback--phone {
  right: calc(50% - 31px);
  left: auto;
  transform: translateY(8px);
}

.footer__dock-feedback--phone::after {
  right: 18px;
}

.footer__dock-feedback-text {
  position: relative;
  display: block;
  font-size: 18px;
  line-height: 30px;
  white-space: nowrap;
}

.footer__dock-qr-crop {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 120px;
  height: 120px;
  display: block;
  overflow: hidden;
  border-radius: 16px;
}

.footer__dock-qr-crop img {
  position: absolute;
  top: -61.47%;
  left: -20.95%;
  width: 141.9%;
  height: 211.01%;
  max-width: none;
}

.footer__dock-item:hover .footer__dock-feedback,
.footer__dock-item:focus-visible .footer__dock-feedback {
  opacity: 1;
}

.footer__dock-item:hover .footer__dock-feedback--email,
.footer__dock-item:focus-visible .footer__dock-feedback--email {
  transform: translate(-50%, 0);
}

.footer__dock-item:hover .footer__dock-feedback--wechat,
.footer__dock-item:focus-visible .footer__dock-feedback--wechat {
  transform: translate(-70px, 0);
}

.footer__dock-item:hover .footer__dock-feedback--phone,
.footer__dock-item:focus-visible .footer__dock-feedback--phone {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 5px;
}

@media (max-width: 1135px) {
  .project-modal__close {
    right: 16px;
    left: auto;
  }
}

@media (max-width: 760px) {
  .site-loader__stage {
    top: 50%;
  }

  .site-loader__mark {
    width: 180px;
    height: 180px;
  }

  .site-loader__mark-center {
    font-size: 34px;
    line-height: 40px;
    letter-spacing: 3.4px;
  }

  .site-loader__orbit span {
    width: 12px;
    height: 16px;
    margin-top: -8px;
    margin-left: -6px;
    font-size: 12px;
    line-height: 16px;
    transform: rotate(var(--char-angle)) translateY(-80px);
  }

  .site-loader__progress {
    top: auto;
    right: 24px;
    bottom: 28px;
    left: auto;
    font-size: 28px;
    line-height: 34px;
  }

  .viewport-shell {
    height: auto;
    overflow: visible;
  }

  .portfolio {
    position: relative;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 100vh;
    transform: none;
    overflow: hidden;
  }

  .hero,
  .work-strip,
  .about-intro,
  .creations,
  .profile,
  .profile-card,
  .footer {
    position: relative;
    top: auto;
    left: auto;
  }

  .hero {
    height: 720px;
  }

  .nav-shell {
    top: 16px;
    left: 16px;
    width: calc(100% - 32px);
    height: 58px;
    padding: 0 20px;
    transform: none;
  }

  .nav-shell nav {
    gap: 14px;
    font-size: 10px;
    line-height: 18px;
  }

  .nav-shell > .brand {
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 2px;
  }

  .hero__title-group {
    top: 280px;
    width: 100%;
    gap: 20px;
  }

  .eyebrow {
    gap: 12px;
    font-size: 13px;
  }

  .eyebrow span {
    width: 24px;
  }

  .hero h1,
  .about-intro h2,
  .creations h2 {
    font-size: clamp(42px, 12vw, 64px);
    line-height: 1.1;
    letter-spacing: 0.18em;
  }

  #hero-title {
    font-size: clamp(42px, 12vw, 64px);
    line-height: 1.1;
  }

  .hero__manifesto {
    top: auto;
    right: 20px;
    bottom: 72px;
    left: 20px;
  }

  .hero__manifesto p {
    font-size: 15px;
  }

  .hero__contact {
    top: auto;
    right: auto;
    bottom: 24px;
    left: 20px;
  }

  .work-strip {
    --marquee-gap: 12px;
    --marquee-shift: 6px;
    width: 100%;
    height: auto;
    padding: 28px 0;
  }

  .work-strip__track {
    animation-duration: 16s;
  }

  .work-strip figure {
    width: 76vw;
    height: 62vw;
    max-height: 330px;
  }

  .about-intro {
    height: auto;
    padding: 110px 24px;
  }

  .about-intro__content {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    gap: 36px;
  }

  .about-intro h2 {
    text-align: center;
  }

  .about-intro__content > p {
    width: 100%;
    font-size: 16px;
    line-height: 28px;
  }

  .lime-button {
    padding: 12px 24px;
    font-size: 18px;
  }

  .creations {
    width: 100%;
    height: auto;
    padding: 96px 22px 120px;
  }

  .creations h2,
  .project-list {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
  }

  .creations h2 {
    margin-bottom: 70px;
    text-align: center;
  }

  .project {
    height: 84px;
    overflow: hidden;
  }

  .project:hover,
  .project:focus-visible,
  .project--active {
    height: 286px;
  }

  .project > span,
  .project:hover > span,
  .project:focus-visible > span,
  .project--active > span {
    top: 24px;
    right: 54px;
  }

  .project > span {
    height: 26px;
  }

  .project:hover > span,
  .project:focus-visible > span,
  .project--active > span {
    height: 34px;
  }

  .project strong {
    font-size: 25px;
    line-height: 34px;
  }

  .project small {
    font-size: 11px;
  }

  .project__preview {
    top: 78px;
    right: auto;
    left: 50%;
    width: 132px;
    height: 194px;
    transform: translate(-50%, 10px);
  }

  .project__preview img {
    width: 84px;
    height: 182px;
  }

  .project--forest .project__preview img {
    width: auto;
    height: 182px;
  }

  .project:hover .project__preview,
  .project:focus-visible .project__preview,
  .project--active .project__preview {
    transform: translate(-50%, 0);
  }

  .project__arrow {
    top: 23px;
    width: 38px;
    height: 38px;
  }

  .project:hover .project__arrow,
  .project:focus-visible .project__arrow,
  .project--active .project__arrow {
    top: 23px;
  }

  .project--poster .project__preview {
    top: 78px;
    right: auto;
    width: 132px;
    height: 194px;
  }

  .project--poster .project__preview img {
    width: 112px;
    height: 149px;
  }

  .project-modal__surface {
    padding-top: 98px;
    padding-bottom: 48px;
  }

  .project-modal__heading,
  .project-modal__gallery {
    width: calc(100% - 32px);
  }

  .project-modal__heading {
    margin-top: 0;
    margin-bottom: 24px;
    align-items: flex-start;
  }

  .project-modal__title-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .project-modal__title-group h2 {
    font-size: 28px;
    line-height: 38px;
  }

  .project-modal__title-group p {
    font-size: 13px;
    line-height: 22px;
  }

  .project-modal__close {
    top: 100px;
    right: 16px;
  }

  .profile {
    width: 100%;
    height: auto;
    padding-top: 80px;
  }

  .profile-card {
    width: calc(100% - 32px);
    margin: 0 16px 100px;
    padding: 36px 24px;
  }

  .profile-card__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .seal {
    width: 140px;
    height: 140px;
  }

  .circular-mark__center {
    font-size: 25px;
    line-height: 30px;
    letter-spacing: 2.5px;
  }

  .circular-mark__orbit span {
    font-size: 10px;
    transform: rotate(var(--char-angle)) translateY(-61px);
  }

  .profile-copy {
    font-size: 14px;
    line-height: 24px;
  }

  .profile-copy__title {
    margin-bottom: 24px;
    font-size: 26px;
    line-height: 36px;
  }

  .footer {
    height: 440px;
  }

  .footer > img {
    top: -110px;
  }

  .footer__content {
    top: 90px;
    left: 24px;
    width: calc(100% - 48px);
    height: 270px;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__contacts {
    flex-wrap: nowrap;
  }
}

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

  .about-timeline {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  .site-loader {
    opacity: 1;
    transform: none;
    transition: opacity 120ms linear, visibility 0s linear 120ms;
  }

  html.is-loading .site-loader.is-exiting {
    opacity: 0;
    transform: none;
  }

  .site-loader__orbit {
    animation: none;
    transform: rotate(-12deg);
  }

  .pressure-text {
    width: 100% !important;
    cursor: default;
  }

  .work-strip {
    overflow-x: auto;
    scrollbar-color: rgba(204, 233, 57, 0.7) transparent;
    scrollbar-width: thin;
  }

  .work-strip__track {
    animation: none;
    transform: none;
    will-change: auto;
  }

  .circular-mark__orbit {
    transform: rotate(-12deg);
  }

  .footer__dock-item {
    --dock-scale: 1 !important;
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    will-change: auto;
  }

  .footer__dock-icon {
    transform: none;
    will-change: auto;
  }

  .footer__dock-feedback {
    transition: none;
  }

}
