@font-face {
  font-family: "ABC Monument Grotesk Mono Trial";
  src:
    local("ABC Monument Grotesk Mono Trial Thin"),
    local("ABCMonumentGroteskMonoTrial-Thin");
  font-style: normal;
  font-weight: 100;
}

@font-face {
  font-family: "ABC Monument Grotesk Mono Trial";
  src:
    local("ABC Monument Grotesk Mono Trial Light"),
    local("ABCMonumentGroteskMonoTrial-Light");
  font-style: normal;
  font-weight: 300;
}

@font-face {
  font-family: "ABC Monument Grotesk Mono Trial";
  src:
    local("ABC Monument Grotesk Mono Trial Regular"),
    local("ABCMonumentGroteskMonoTrial-Regular");
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "ABC Monument Grotesk Mono Trial";
  src:
    local("ABC Monument Grotesk Mono Trial Medium"),
    local("ABCMonumentGroteskMonoTrial-Medium");
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "ABC Monument Grotesk Mono Trial";
  src:
    local("ABC Monument Grotesk Mono Trial Bold"),
    local("ABCMonumentGroteskMonoTrial-Bold");
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "ABC Monument Grotesk Mono Trial";
  src:
    local("ABC Monument Grotesk Mono Trial Heavy"),
    local("ABCMonumentGroteskMonoTrial-Heavy");
  font-style: normal;
  font-weight: 800;
}

@font-face {
  font-family: "ABC Monument Grotesk Mono Trial";
  src:
    local("ABC Monument Grotesk Mono Trial Black"),
    local("ABCMonumentGroteskMonoTrial-Black");
  font-style: normal;
  font-weight: 900;
}

@font-face {
  font-family: "DAWN Helvetica Neue LT Std";
  src:
    local("HelveticaNeueLTStd-Roman"),
    local("Helvetica Neue LT Std 55 Roman");
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "DAWN Helvetica Neue LT Std";
  src:
    local("HelveticaNeueLTStd-Md"),
    local("Helvetica Neue LT Std 65 Medium");
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "DAWN Helvetica Neue LT Std";
  src:
    local("HelveticaNeueLTStd-Bd"),
    local("Helvetica Neue LT Std 75 Bold");
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "The Future";
  font-style: normal;
  font-weight: 300;
  src: url("https://ulyssesdesanti.com/_nuxt/the-future-light.CL-9sOJq.woff2") format("woff2");
}

@font-face {
  font-family: "The Future";
  font-style: normal;
  font-weight: 400;
  src: url("https://ulyssesdesanti.com/_nuxt/the-future-regular.EHSdSZMz.woff2") format("woff2");
}

@font-face {
  font-family: "The Future";
  font-style: normal;
  font-weight: 500;
  src: url("https://ulyssesdesanti.com/_nuxt/the-future-medium.CUoQE23a.woff2") format("woff2");
}

:root {
  --ink: #202020;
  --muted: #68625a;
  --yellow: #ffc400;
  --panel: rgba(245, 239, 228, 0.94);
  --line: rgba(28, 27, 24, 0.18);
  --shadow: rgba(25, 20, 14, 0.28);
  --font-avant: "ABC Monument Grotesk Mono Trial", "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "ABC Monument Grotesk Mono Trial", "Arial Narrow", Arial, sans-serif;
  --sidebar-left: 3.55%;
  --sidebar-top: 7.2%;
  --sidebar-width: 14.9%;
  --sidebar-height: 86.2%;
  --archive-line-weight: 1.5px;
  --archive-line-color: #202020;
  --archive-corner-left-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' fill='none'%3E%3Cpath d='M7.25 0.75H0.75V7.25' stroke='white' stroke-width='1.5' stroke-linecap='square' shape-rendering='geometricPrecision'/%3E%3C/svg%3E");
  --archive-corner-right-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' fill='none'%3E%3Cpath d='M0.75 0.75H7.25V7.25' stroke='white' stroke-width='1.5' stroke-linecap='square' shape-rendering='geometricPrecision'/%3E%3C/svg%3E");
  --archive-head-pad-bottom: 1.75rem;
  --archive-block-gap: 1.22rem;
  --archive-block-pad-bottom: 5.2%;
  --archive-interface-pad-bottom: 3.4%;
  --archive-interface-gap: 0.44rem;
  --archive-statement-gap: 2.8%;
  --archive-statement-pad-top: 4.2%;
  --archive-statement-font-size: 2.53rem;
  --archive-statement-line-height: 0.85;
  --archive-statement-width: 132%;
  --archive-statement-scale-x: 0.75;
  --archive-contact-bottom: 1.2%;
  --archive-contact-qr-size: 3.45rem;
  --archive-contact-gap: 0.95rem;
  --archive-contact-font-size: 0.58rem;
  --archive-contact-scale: 1.1;
  --archive-contact-title-y: 0rem;
  --archive-contact-divider-y: 0rem;
  --archive-contact-discover-y: 0rem;
  --archive-contact-cooperate-y: -0.3rem;
  --archive-logo-y: 0rem;
  --archive-tagline-y: 0rem;
  --archive-view-title-y: 0.5rem;
  --archive-view-status-y: 0.46rem;
  --archive-legend-title-y: 1.72rem;
  --archive-legend-list-y: 1.08rem;
  --archive-interface-title-y: 0.18rem;
  --archive-interface-hover-y: -0.12rem;
  --archive-interface-click-y: -0.28rem;
  --archive-statement-text-y: 1.22rem;
  --archive-head-line-y: 0rem;
  --archive-view-line-y: -1.2rem;
  --archive-statement-line-y: 0.28rem;
  font-family: var(--font-avant);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background: #d7d1c4;
  color: var(--ink);
}

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

a {
  text-decoration: none;
}

button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.image-site {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 8px;
  overflow: auto;
}

.artboard {
  position: relative;
  flex: 0 0 auto;
  width: min(1920px, calc((100vh - 16px) * 1.778));
  min-width: 1280px;
  aspect-ratio: 5461 / 3072;
  background: url("assets/visuals/board-bg.png") center / contain no-repeat;
  filter: drop-shadow(0 18px 32px rgba(29, 24, 17, 0.28));
}

.side-copy,
.side-nav,
.side-status {
  position: absolute;
  left: 4.4%;
  width: 12%;
  z-index: 5;
}

.side-copy {
  top: 8.2%;
}

.side-logo {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: clamp(2.1rem, 3.2vw, 3.55rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.88;
}

.side-logo span {
  width: 0.42em;
  height: 0.42em;
  margin-top: 0.06em;
  border-radius: 50%;
  background: var(--yellow);
}

.side-copy p,
.side-status p {
  margin: 1.65rem 0 0;
  font-family: var(--font-avant);
  font-size: clamp(0.72rem, 0.95vw, 1rem);
  line-height: 1.4;
}

.side-nav {
  top: 32%;
  display: grid;
  gap: clamp(1.2rem, 2.1vw, 2.2rem);
}

.side-nav a,
.side-nav button {
  position: relative;
  padding: 0;
  color: rgba(32, 32, 32, 0.48);
  font-size: clamp(0.92rem, 1.25vw, 1.35rem);
  font-weight: 900;
  text-align: left;
}

.side-nav a:hover,
.side-nav button:hover,
.side-nav .is-active {
  color: var(--ink);
}

.side-nav .is-active::before {
  position: absolute;
  top: 50%;
  left: -1.1rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--yellow);
  content: "";
  transform: translateY(-50%);
}

.side-status {
  bottom: 7.8%;
  font-family: var(--font-avant);
}

.side-status small {
  display: block;
  margin-top: 2.4rem;
  font-size: clamp(0.48rem, 0.58vw, 0.68rem);
}

.barcode,
.mini-barcode {
  display: block;
  width: 82%;
  height: 1.2rem;
  background: repeating-linear-gradient(
    90deg,
    currentColor 0 1px,
    transparent 1px 3px,
    currentColor 3px 5px,
    transparent 5px 8px
  );
  opacity: 0.85;
}

.asset-object {
  position: absolute;
  z-index: 4;
  display: block;
  padding: 0;
  text-align: left;
  filter: drop-shadow(0 22px 18px rgba(30, 24, 17, 0.22));
  transform-origin: top center;
}

.asset-object:hover,
.asset-object:focus-visible {
  animation: object-swing 720ms ease;
  outline: none;
}

.asset-object img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.about-object {
  top: 4.5%;
  left: 19.7%;
  width: 17.8%;
}

.works-object {
  top: 5.2%;
  left: 41.1%;
  width: 20.2%;
}

.resume-object {
  top: 4.2%;
  right: 12.5%;
  width: 15.3%;
}

.skills-object {
  left: 19.7%;
  bottom: 0.2%;
  width: 14.2%;
}

.contact-object {
  right: 15.8%;
  bottom: 8.9%;
  width: 20.5%;
}

.receipt-object {
  right: 2.9%;
  bottom: 3.5%;
  width: 10.4%;
}

.asset-copy {
  position: absolute;
  display: grid;
  gap: 0.28rem;
  color: #1d1b17;
  pointer-events: none;
}

.asset-copy b,
.asset-copy strong {
  font-weight: 900;
}

.asset-copy em,
.asset-copy i {
  font-style: normal;
}

.asset-copy small {
  font-family: var(--font-avant);
}

.about-copy {
  top: 53%;
  left: 55.5%;
  width: 27%;
}

.about-copy b {
  font-size: clamp(0.7rem, 1vw, 1.2rem);
}

.about-copy strong {
  font-size: clamp(0.58rem, 0.88vw, 1rem);
}

.about-copy em {
  font-size: clamp(0.52rem, 0.76vw, 0.9rem);
  font-weight: 800;
}

.about-copy small {
  margin-top: 0.42rem;
  font-size: clamp(0.42rem, 0.48vw, 0.58rem);
  line-height: 1.45;
}

.about-copy i {
  margin-top: 0.35rem;
  font-size: clamp(0.7rem, 1vw, 1.1rem);
}

.works-copy {
  top: 21%;
  left: 25%;
  width: 43%;
  gap: 0.65rem;
}

.works-copy b {
  font-size: clamp(1rem, 1.55vw, 1.9rem);
}

.works-copy strong {
  font-size: clamp(1.55rem, 2.8vw, 3.25rem);
  line-height: 0.95;
}

.works-copy em {
  font-size: clamp(0.82rem, 1.16vw, 1.25rem);
  font-weight: 900;
}

.works-copy small {
  margin-top: 0.8rem;
  color: #3d3933;
  font-size: clamp(0.54rem, 0.74vw, 0.82rem);
  line-height: 1.45;
}

.folder-items {
  position: absolute;
  right: 19%;
  bottom: 14.2%;
  display: grid;
  width: 33%;
  gap: 0.26rem;
  color: #22201c;
  pointer-events: none;
}

.folder-items span:first-child {
  font-size: clamp(0.48rem, 0.65vw, 0.76rem);
  font-weight: 900;
}

.folder-items span:nth-child(2),
.folder-items em {
  color: #514c44;
  font-family: var(--font-avant);
  font-size: clamp(0.4rem, 0.52vw, 0.62rem);
  font-style: normal;
}

.folder-items i {
  display: block;
  height: 5.6rem;
  margin: 0.35rem 0;
  border-radius: 0.28rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent),
    repeating-linear-gradient(145deg, #282824 0 16px, #1c1c19 16px 32px);
}

.resume-copy {
  top: 30.5%;
  left: 33%;
  width: 41%;
  gap: 0.5rem;
}

.resume-copy b {
  font-size: clamp(0.88rem, 1.22vw, 1.36rem);
}

.resume-copy strong {
  font-size: clamp(1.25rem, 2vw, 2.35rem);
}

.resume-copy em {
  font-size: clamp(0.58rem, 0.82vw, 0.95rem);
  font-weight: 800;
}

.resume-copy small {
  margin-top: 1rem;
  color: #37342f;
  font-size: clamp(0.42rem, 0.58vw, 0.68rem);
  line-height: 1.55;
}

.resume-copy i {
  margin-top: 0.62rem;
  font-size: clamp(0.48rem, 0.66vw, 0.8rem);
  font-weight: 900;
}

.resume-copy .mini-barcode {
  width: 100%;
  height: 0.7rem;
  margin-top: 0.3rem;
}

.badge-copy {
  inset: 39% 25% auto 24%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.28rem;
  color: #f2eadb;
  text-align: center;
}

.badge-copy b,
.badge-copy strong,
.badge-copy em {
  width: 100%;
}

.badge-copy b {
  color: #d5cfc3;
  font-size: clamp(0.7rem, 1vw, 1.1rem);
}

.badge-copy strong {
  font-size: clamp(1.04rem, 1.58vw, 1.88rem);
  line-height: 0.9;
}

.badge-copy em {
  font-size: clamp(0.5rem, 0.72vw, 0.86rem);
  font-weight: 800;
}

.badge-copy span {
  border: 1px solid var(--yellow);
  border-radius: 999px;
  color: var(--yellow);
  padding: 0.1rem 0.32rem;
  font-size: clamp(0.36rem, 0.5vw, 0.62rem);
  font-weight: 900;
}

.contact-copy {
  top: 30%;
  left: 26%;
  width: 48%;
  gap: 0.42rem;
}

.contact-copy b {
  font-size: clamp(0.75rem, 1.08vw, 1.25rem);
}

.contact-copy strong {
  font-size: clamp(1.1rem, 1.75vw, 2.05rem);
}

.contact-copy em {
  font-size: clamp(0.56rem, 0.8vw, 0.95rem);
  font-weight: 800;
}

.contact-copy small {
  margin-top: 0.48rem;
  color: #3d3933;
  font-size: clamp(0.42rem, 0.58vw, 0.7rem);
  line-height: 1.65;
}

.contact-copy i {
  justify-self: end;
  font-size: clamp(0.78rem, 1.1vw, 1.3rem);
}

.receipt-copy {
  top: 36%;
  left: 26%;
  width: 52%;
  gap: 0.45rem;
  font-family: var(--font-avant);
}

.receipt-copy b {
  font-size: clamp(0.42rem, 0.62vw, 0.72rem);
}

.receipt-copy small,
.receipt-copy em {
  font-size: clamp(0.36rem, 0.48vw, 0.58rem);
  font-style: normal;
}

.receipt-copy strong {
  margin-top: 0.5rem;
  font-size: clamp(0.43rem, 0.62vw, 0.72rem);
}

.detail-card {
  position: absolute;
  z-index: 12;
  display: none;
  border: 1px solid rgba(64, 58, 48, 0.22);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.5)),
    var(--panel);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 26px 34px var(--shadow);
  color: #22201c;
  backdrop-filter: blur(4px);
}

.detail-card.is-open {
  display: block;
}

.detail-card h2 {
  margin: 0 0 1rem;
  font-size: clamp(1rem, 1.35vw, 1.42rem);
  font-weight: 900;
}

.detail-card h2 span {
  font-family: var(--font-avant);
  font-size: 0.72em;
  font-weight: 700;
}

.card-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
}

.skills-card {
  top: 40.2%;
  left: 11.2%;
  width: 32%;
  padding: 1.5rem 1.35rem 1.65rem;
}

.skill-grid {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(34, 32, 28, 0.2);
  border-radius: 6px;
  grid-template-columns: repeat(2, 1fr);
}

.skill-grid article {
  min-height: 5.5rem;
  border-right: 1px solid rgba(34, 32, 28, 0.2);
  border-bottom: 1px solid rgba(34, 32, 28, 0.2);
  padding: 0.9rem;
}

.skill-grid article:nth-child(2n) {
  border-right: 0;
}

.skill-grid article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.skill-grid strong {
  display: block;
  font-size: clamp(0.76rem, 0.95vw, 1rem);
  font-weight: 900;
}

.skill-grid p,
.compact-card p,
.compact-card li,
.resume-detail li,
.resume-detail p {
  color: #4e473d;
  font-family: var(--font-avant);
  font-size: clamp(0.58rem, 0.72vw, 0.82rem);
  line-height: 1.55;
}

.skill-grid p {
  margin: 0.45rem 0 0;
}

.tool-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  border: 1px solid rgba(34, 32, 28, 0.2);
  border-top: 0;
  border-radius: 0 0 6px 6px;
  padding: 0.82rem 0.9rem;
}

.tool-row b {
  width: 100%;
  font-size: 0.82rem;
}

.tool-row span {
  border: 1px solid rgba(34, 32, 28, 0.22);
  border-radius: 6px;
  padding: 0.38rem 0.55rem;
  font-size: clamp(0.48rem, 0.6vw, 0.68rem);
  font-weight: 900;
}

.compact-card {
  top: 38%;
  left: 22%;
  width: 28%;
  padding: 1.7rem 1.9rem;
}

.compact-card p {
  margin: 0 0 0.9rem;
}

.compact-card ul,
.resume-detail ul {
  margin: 0;
  padding-left: 1.05rem;
}

.resume-detail {
  top: 25%;
  left: 24%;
  display: none;
  width: 49%;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 1.4rem;
  padding: 1.8rem;
}

.resume-detail.is-open {
  display: grid;
}

.resume-detail h3 {
  margin: 0.9rem 0 0.45rem;
  color: #21496a;
  font-size: clamp(0.88rem, 1.05vw, 1.16rem);
}

.resume-preview {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  color: #21496a;
  font-size: 0.78rem;
  font-weight: 900;
}

.resume-preview img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 12px 18px rgba(32, 26, 18, 0.2);
}

@keyframes object-swing {
  0%,
  100% {
    transform: rotate(0);
  }

  35% {
    transform: rotate(1.5deg);
  }

  68% {
    transform: rotate(-1deg);
  }
}

.works-page {
  min-height: 100vh;
  padding: 0 0 2rem;
  background: #f2f2f4;
  color: #0a0a0a;
}

.works-copy-pending .works-brand,
.works-copy-pending .works-nav a,
.works-copy-pending .works-email,
.works-copy-pending .works-hero__copy > span {
  opacity: 0;
}

.works-frame {
  min-height: 100vh;
  background: #f2f2f4;
}

.works-hero {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  padding: clamp(1rem, 1.7vw, 2rem) clamp(0.8rem, 1.2vw, 1.5rem) clamp(1.4rem, 2.6vh, 2.5rem);
}

.works-masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 2rem;
  font-size: clamp(0.76rem, 1vw, 1rem);
  font-weight: 700;
  line-height: 1;
}

.works-brand {
  justify-self: start;
  font-size: clamp(0.95rem, 1.35vw, 1.35rem);
  font-weight: 800;
}

.works-nav {
  display: flex;
  gap: clamp(1.2rem, 2vw, 2.4rem);
}

.works-nav a,
.works-email,
.works-brand {
  position: relative;
  transition: opacity 180ms ease;
}

.works-nav a {
  display: inline-block;
  overflow: visible;
  padding-bottom: 0.12em;
}

.works-nav a::after,
.works-email::after {
  position: absolute;
  right: 0;
  bottom: -0.04em;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.works-nav a:hover::after,
.works-nav a:focus-visible::after,
.works-email:hover::after,
.works-email:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.works-nav a:hover,
.works-nav a:focus-visible,
.works-email:hover,
.works-email:focus-visible,
.works-brand:hover,
.works-brand:focus-visible {
  opacity: 0.58;
}

.works-email {
  justify-self: end;
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.works-hero__copy {
  display: grid;
  grid-template-columns: var(--works-hero-track-width, auto);
  width: 100%;
  justify-content: end;
  justify-items: start;
  margin: clamp(24rem, 58vh, 32rem) 0 0;
  padding-right: clamp(0.8rem, 1.2vw, 1.5rem);
  font-size: clamp(3.05rem, 3.85vw, 5.55rem);
  font-weight: 300;
  line-height: 0.9;
  text-align: left;
}

.works-hero__copy > span {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-left: 0;
  overflow-wrap: normal;
  text-align: left;
  white-space: nowrap;
}

.works-hero__copy > span:first-child {
  position: relative;
  left: 27.38vw;
  margin-left: 0;
  max-width: 100%;
}

.works-hero__copy > span.variable-proximity-target,
.works-hero__copy > span.variable-proximity-target .split-char {
  font-family: "Roboto Flex", var(--font-avant);
  font-optical-sizing: auto;
}

.works-hero__copy > span.variable-proximity-target {
  overflow: visible;
  padding-top: 0.06em;
  padding-bottom: 0.18em;
  margin-top: -0.06em;
  margin-bottom: -0.18em;
}

.works-hero__copy > span:not(:first-child) {
  margin-left: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow-wrap: normal;
}

.works-projects {
  min-height: 100vh;
  padding: clamp(1rem, 1.7vw, 2rem) clamp(0.8rem, 1.2vw, 1.5rem) 0;
}

.works-list {
  position: relative;
  isolation: isolate;
}

.works-list--media {
  --works-media-gap: clamp(1rem, 1.2vw, 1.5rem);
  --works-media-year-col: 22%;
  --works-media-preview-col: 22%;
}

.works-list--media .about-media__item {
  position: relative;
  display: block;
  width: 100%;
  padding: 1.78rem 0 2.12rem;
  border: 0;
  background: transparent;
  color: #0a0a0a;
  text-align: left;
  cursor: pointer;
  overflow: visible;
  z-index: 0;
  appearance: none;
}

.works-list--media .about-media__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(10, 10, 10, 0.15);
  z-index: 0;
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.works-list--media .about-media__row {
  display: grid;
  grid-template-columns: var(--works-media-year-col) var(--works-media-preview-col) minmax(0, 1fr);
  gap: var(--works-media-gap);
  align-items: start;
}

.works-list--media .about-media__year,
.works-list--media .about-media__content,
.works-list--media .about-media__content strong,
.works-list--media .about-media__content span {
  font-family: "The Future", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.works-list--media .about-media__year {
  grid-column: 1;
  font-size: clamp(1.05rem, 1.12vw, 1.42rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  padding-top: 0.08rem;
}

.works-list--media .about-media__content {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  line-height: 1;
  padding-left: 30px;
}

.works-list--media .about-media__content strong {
  display: block;
  font-family: "DAWN Helvetica Neue LT Std", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1.2rem, 1.12vw, 1.42rem);
  font-style: normal;
  font-weight: 500;
  font-synthesis: none;
  line-height: 1;
  letter-spacing: -0.01em;
}

.works-list--media .about-media__content span {
  display: block;
  color: rgba(10, 10, 10, 0.68);
  font-size: clamp(1.2rem, 1.12vw, 1.42rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
}

.works-list--media .about-media__preview {
  position: absolute;
  top: 0.08rem;
  left: calc(var(--works-media-year-col) + var(--works-media-gap) - 2.45rem);
  width: var(--works-media-preview-col);
  aspect-ratio: 1.33913 / 1;
  background-position: center;
  background-size: cover;
  pointer-events: none;
  clip-path: inset(0 100% 0 0);
  z-index: 2;
  will-change: clip-path;
  transition: clip-path 0.68s cubic-bezier(0.23, 1, 0.32, 1);
}

.works-list--media .about-media__item:hover,
.works-list--media .about-media__item:focus-visible {
  z-index: 3;
}

.works-list--media .about-media__item:hover .about-media__preview,
.works-list--media .about-media__item:focus-visible .about-media__preview {
  clip-path: inset(0 0 0 0);
}

.works-footer {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: clamp(1rem, 1.2vw, 1.5rem);
  margin-top: clamp(12rem, 28vh, 24rem);
  padding: 0 clamp(0.8rem, 1.2vw, 1.5rem) clamp(1rem, 1.7vw, 2rem);
  font-family: "DAWN Helvetica Neue LT Std", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1rem, 1.12vw, 1.42rem);
  font-style: normal;
  font-weight: 500;
  font-synthesis: none;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.works-footer p {
  margin: 0;
}

.works-footer__statement {
  grid-column: 1 / span 3;
}

.works-footer__location {
  grid-column: 4 / span 2;
}

.works-footer__contact {
  grid-column: 6 / span 2;
}

.works-footer__credit {
  grid-column: 9;
  white-space: nowrap;
}

.works-footer__contact a {
  position: relative;
  display: inline-block;
  overflow: visible;
  padding-bottom: 0.12em;
}

.works-footer__qr-card {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.9rem);
  z-index: 50;
  display: block;
  width: clamp(8.5rem, 10vw, 11rem);
  padding: 0.42rem;
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 0.65rem;
  background: #fff;
  box-shadow: 0 1.1rem 2.5rem rgba(0, 0, 0, 0.24);
  opacity: 0;
  pointer-events: none;
  transform:
    translate3d(calc(-50% + var(--tooltip-shift-x, 0px)), var(--tooltip-y, 20px), 0)
    rotate(var(--tooltip-rotate, 0deg))
    scale(var(--tooltip-scale, 0.6));
  transform-origin: 50% 100%;
  will-change: opacity, transform;
}

.works-footer__qr-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.38rem;
  background: #fff;
}

.works-footer__contact a::after {
  position: absolute;
  right: 0;
  bottom: calc(-0.04em + 1px);
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.works-footer__contact a:hover::after,
.works-footer__contact a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

@media (hover: none) {
  .works-footer__qr-card {
    display: none;
  }
}

.work-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(8rem, 22%) minmax(18rem, 34%) minmax(20rem, 1fr);
  align-items: start;
  width: 100%;
  min-height: clamp(7.8rem, 14vh, 10.2rem);
  color: #0a0a0a;
  padding: 0;
  text-align: left;
  transition: opacity 260ms ease;
  overflow: visible;
  z-index: 0;
}

.works-list::before,
.work-row::after {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(10, 10, 10, 0.2);
  content: "";
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.works-list::before {
  top: 0;
}

.work-row::after {
  bottom: 0;
}

body.works-lines-ready .works-list::before,
body.works-lines-ready .work-row::after,
body.works-lines-ready .works-list--media .about-media__item::before {
  animation: works-line-draw 1680ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

body.works-lines-ready .works-list::before {
  animation-delay: 0ms;
}

body.works-lines-ready .work-row:nth-child(1)::after {
  animation-delay: 220ms;
}

body.works-lines-ready .works-list--media .about-media__item:nth-child(1)::before {
  animation-delay: 220ms;
}

body.works-lines-ready .work-row:nth-child(2)::after {
  animation-delay: 440ms;
}

body.works-lines-ready .works-list--media .about-media__item:nth-child(2)::before {
  animation-delay: 440ms;
}

body.works-lines-ready .work-row:nth-child(3)::after {
  animation-delay: 660ms;
}

body.works-lines-ready .works-list--media .about-media__item:nth-child(3)::before {
  animation-delay: 660ms;
}

body.works-lines-ready .work-row:nth-child(4)::after {
  animation-delay: 880ms;
}

body.works-lines-ready .works-list--media .about-media__item:nth-child(4)::before {
  animation-delay: 880ms;
}

body.works-lines-ready .work-row:nth-child(5)::after {
  animation-delay: 1100ms;
}

body.works-lines-ready .works-list--media .about-media__item:nth-child(5)::before {
  animation-delay: 1100ms;
}

.works-list.is-engaged .work-row:not(.is-active) {
  opacity: 0.16;
}

.work-row__index {
  align-self: start;
  padding-top: 1.6rem;
  font-family: var(--font-avant);
  font-variation-settings: normal;
  font-size: clamp(0.72rem, 1vw, 1rem);
  font-weight: 500;
}

.work-row__preview {
  position: absolute;
  display: block;
  grid-column: 2;
  justify-self: start;
  align-self: start;
  width: min(28rem, 90%);
  margin-left: 0;
  max-height: 0;
  margin-top: 1.6rem;
  overflow: hidden;
  background: #ded8cc;
  opacity: 0;
  transform: translateY(24%) scaleY(0.15);
  transform-origin: 50% 100%;
  z-index: 3;
  transition:
    opacity 220ms ease,
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    max-height 520ms cubic-bezier(0.16, 1, 0.3, 1),
    margin-top 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.work-row__preview::before {
  display: block;
  width: 100%;
  padding-top: 75%;
  content: "";
}

.work-row__preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-row__preview--object img {
  object-fit: contain;
}

.work-row.is-active .work-row__preview {
  opacity: 1;
  transform: translateY(0) scaleY(1);
  max-height: 21rem;
}

.work-row.is-active {
  z-index: 2;
}

.work-row__copy {
  display: grid;
  gap: 0.45rem;
  padding: 1.4rem 0 1.4rem 1rem;
}

.work-row__copy strong {
  max-width: 42rem;
  font-family: var(--font-avant);
  font-variation-settings: normal;
  font-size: clamp(1.05rem, 1.4vw, 1.55rem);
  font-weight: 700;
  line-height: 1.02;
}

.work-row__copy em {
  color: rgba(10, 10, 10, 0.58);
  font-family: var(--font-avant);
  font-variation-settings: normal;
  font-size: clamp(0.8rem, 1vw, 1rem);
  font-style: normal;
}

.split-parent {
  overflow: hidden;
}

.works-hero__copy > span.split-parent {
  width: auto;
  overflow-wrap: normal;
}

.works-brand.split-parent,
.works-nav a.split-parent,
.works-email.split-parent,
.work-row__index.split-parent,
.work-row__copy strong.split-parent,
.work-row__copy em.split-parent {
  display: inline-block;
}

.works-nav a.split-parent {
  overflow: visible;
}

.works-email {
  display: inline-block;
  overflow: visible;
  padding-bottom: 0.12em;
}

.split-word {
  display: inline-block;
  white-space: nowrap;
}

.split-char {
  display: inline-block;
  will-change: opacity, transform;
}

.variable-proximity-target .split-char {
  font-variation-settings: "wght" 400, "opsz" 9;
  overflow: visible;
  will-change: opacity, transform, font-variation-settings;
}

.variable-proximity-target .split-word {
  overflow: visible;
}

@keyframes works-line-draw {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@media (max-width: 900px) {
  .image-site {
    padding: 0;
    justify-content: flex-start;
  }

  .artboard {
    width: 1500px;
    min-width: 1500px;
  }

  .works-masthead {
    grid-template-columns: 1fr auto;
    gap: 1.4rem;
  }

  .works-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(10, 10, 10, 0.2);
  }

  .works-hero__copy {
    width: 100%;
    padding-right: 0;
    font-size: clamp(2.35rem, 10.5vw, 4.4rem);
    line-height: 0.98;
    text-align: left;
  }

  .works-hero__copy > span {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-left: 0;
    overflow: hidden !important;
    overflow-wrap: anywhere;
    text-align: left;
    white-space: normal !important;
  }

  .works-hero__copy > span.split-parent > span {
    display: inline-block !important;
    white-space: nowrap !important;
  }

  .works-hero__copy > span:first-child {
    left: 0;
    margin-bottom: 0.35em;
    margin-left: 0;
  }

  .works-hero__copy > span:not(:first-child) {
    margin-left: 0;
  }
  .work-row {
    grid-template-columns: 5.4rem minmax(0, 1fr);
    min-height: 7.5rem;
    padding: 1rem 0;
  }

  .works-list--media {
    --works-media-gap: 1rem;
    --works-media-year-col: 1fr;
    --works-media-preview-col: 1fr;
  }

  .works-list--media .about-media__item {
    padding: 1rem 0 1.4rem;
  }

  .works-list--media .about-media__row {
    grid-template-columns: 1fr;
    gap: 0.95rem;
  }

  .works-list--media .about-media__year,
  .works-list--media .about-media__content {
    grid-column: 1;
  }

  .works-list--media .about-media__preview {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin: 1rem 0 1.2rem;
    clip-path: inset(0 0 0 0);
    transition: none;
  }

  .works-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.4rem 1rem;
    margin-top: clamp(8rem, 20vh, 12rem);
  }

  .works-footer__statement,
  .works-footer__location,
  .works-footer__contact,
  .works-footer__credit {
    grid-column: auto;
  }

  .work-row__index {
    grid-column: 1;
    grid-row: 1;
    padding-top: 0.35rem;
  }

  .work-row__copy {
    grid-column: 2;
    grid-row: 1;
    padding: 0;
  }

  .work-row__preview {
    position: relative;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-height: 0;
    margin-top: 0;
    z-index: auto;
    opacity: 0;
    transform: translateY(10%) scaleY(0.3);
  }

  .work-row.is-active .work-row__preview {
    max-height: min(75vw, 18rem);
    margin-top: 1rem;
  }

  .works-detail {
    padding: 1rem 0.8rem;
  }

  .works-detail__card {
    grid-template-columns: 1fr;
    width: min(92vw, 42rem);
    aspect-ratio: auto;
    min-height: auto;
  }

  .works-detail__gallery {
    min-height: 21rem;
    padding: 1.2rem;
  }

  .works-detail__image-stage {
    min-height: 18rem;
    padding: 1.6rem 2.8rem;
  }

  .works-detail__thumbs-wrap {
    padding: 0.9rem 0 0.7rem;
  }

  .works-detail__thumbs-wrap::before,
  .works-detail__thumbs-wrap::after {
    display: none;
  }

  .works-detail__panel {
    padding: 1rem 1.2rem 1.2rem;
  }

  .works-detail__content {
    gap: 0.95rem;
  }

  .works-detail__editorial-title {
    max-width: none;
    font-size: clamp(1.9rem, 7vw, 3.1rem);
  }

  .works-detail__facts {
    grid-template-columns: 1fr;
    gap: 0.95rem;
  }

  .works-detail__story-body {
    max-height: 10.5rem;
  }

  .works-detail__nav {
    width: 2.5rem;
    height: 2.5rem;
  }

  .works-detail__panel-actions {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 560px) {
  .works-footer {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .works-footer__credit {
    white-space: normal;
  }
}

body.replica-page {
  min-height: 100vh;
  overflow: auto;
  background: #d8d3c6;
}

.replica-shell {
  min-width: 100vw;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 0;
}

.replica-stage {
  position: relative;
  width: min(100vw, calc(100vh * 1.5));
  min-width: 1180px;
  aspect-ratio: 3 / 2;
  line-height: 0;
  filter: drop-shadow(0 26px 36px rgba(26, 22, 16, 0.22));
}

.replica-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.hotspot {
  position: absolute;
  z-index: 8;
  display: block;
  border: 0;
  background: transparent;
  padding: 0;
  line-height: 1;
  cursor: pointer;
}

.hotspot:focus-visible {
  outline: 2px solid rgba(255, 196, 0, 0.9);
  outline-offset: 3px;
}

.nav-home {
  left: 3.6%;
  top: 34.4%;
  width: 9%;
  height: 3.4%;
}

.nav-works {
  left: 3.6%;
  top: 39.7%;
  width: 9%;
  height: 3.3%;
}

.nav-resume {
  left: 3.6%;
  top: 45.1%;
  width: 9.6%;
  height: 3.3%;
}

.nav-contact {
  left: 3.6%;
  top: 50.5%;
  width: 10.4%;
  height: 3.3%;
}

.about-zone {
  left: 25.4%;
  top: 6.4%;
  width: 12.2%;
  height: 47.5%;
}

.works-zone {
  left: 38.1%;
  top: 6.6%;
  width: 31.8%;
  height: 79.6%;
}

.resume-zone {
  left: 72.5%;
  top: 6.2%;
  width: 14.5%;
  height: 48.3%;
}

.skills-zone {
  left: 23.6%;
  top: 54.8%;
  width: 13.4%;
  height: 35.4%;
}

.contact-zone {
  left: 69.7%;
  top: 67.2%;
  width: 16.3%;
  height: 22.8%;
}

.replica-popover {
  position: absolute;
  left: 18.2%;
  top: 40.5%;
  z-index: 20;
  display: none;
  width: 31.2%;
  border: 1px solid rgba(70, 64, 55, 0.24);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.55)),
    rgba(246, 240, 230, 0.94);
  box-shadow: 0 24px 34px rgba(41, 34, 25, 0.26);
  color: #22201d;
  line-height: 1.45;
  padding: 1.25rem 1.45rem 1.35rem;
  backdrop-filter: blur(5px);
}

.replica-popover.is-open {
  display: block;
}

.replica-popover h2 {
  margin: 0 2rem 0.8rem 0;
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  font-weight: 900;
}

.replica-popover p,
.replica-popover li,
.replica-popover a {
  font-family: var(--font-avant);
  font-size: clamp(0.66rem, 0.76vw, 0.82rem);
  line-height: 1.55;
}

.replica-popover p {
  margin: 0 0 0.75rem;
}

.replica-popover ul {
  margin: 0;
  padding-left: 1rem;
}

.replica-popover a {
  display: inline-block;
  margin-top: 0.8rem;
  border-bottom: 1px solid currentColor;
  color: #21496a;
  font-weight: 900;
}

.resume-popover {
  left: 45%;
  top: 23%;
  width: 35%;
}

.replica-popover .card-close {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  padding: 0;
  font-size: 1.45rem;
  line-height: 1;
}

@media (max-width: 1180px) {
  .replica-shell {
    display: block;
  }

  .replica-stage {
    width: 1180px;
    min-width: 1180px;
  }
}

body.split-page {
  min-height: 100vh;
  overflow: auto;
  background: #d8d3c6;
}

body.split-page.board-bg-pending,
body.split-page.board-bg-loaded {
  background: #fff;
}

body.split-page.works-transitioning {
  overflow: hidden;
}

.works-link-transition {
  position: fixed;
  z-index: 12000;
  inset: 0;
  background: #f2f2f4;
  pointer-events: none;
  transform: translateY(-100%);
  opacity: 0;
}

body.split-page.works-transitioning .works-link-transition {
  opacity: 1;
  animation: works-link-transition-drop 460ms cubic-bezier(0.76, 0, 0.24, 1) both;
}

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

.works-detail {
  --works-detail-gutter: clamp(1rem, 2vw, 2rem);
  position: fixed;
  inset: 0;
  z-index: 13000;
  display: grid;
  place-items: center;
  padding: var(--works-detail-gutter);
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.works-detail[hidden] {
  display: none;
}

.works-detail.is-open {
  opacity: 1;
  pointer-events: auto;
}

.works-detail__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 16fr) minmax(0, 6fr);
  width: min(
    1540px,
    calc(100vw - var(--works-detail-gutter) * 2),
    calc((100vh - var(--works-detail-gutter) * 2) * 22 / 9)
  );
  aspect-ratio: 22 / 9;
  min-height: 0;
  border-radius: clamp(18px, 1.6vw, 26px);
  background: #ffffff;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: scale(0.82);
  transform-origin: 50% 50%;
  overflow: hidden;
  transition:
    opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.64s cubic-bezier(0.16, 1, 0.3, 1);
}

.works-detail.is-open .works-detail__card {
  opacity: 1;
  transform: scale(1);
}

.works-detail__gallery {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  min-height: 400px;
  padding: 1.5rem;
  background: #ffffff;
}

.works-detail__image-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 1.5rem 3rem;
  user-select: none;
}

.works-detail__image-viewport {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  transition:
    opacity 300ms ease,
    transform 300ms ease;
}

.works-detail__image-viewport svg {
  width: min(100%, 20rem);
  height: min(100%, 20rem);
}

.works-detail__image {
  display: block;
  width: min(100%, 54rem);
  max-width: 100%;
  height: auto;
  max-height: min(100%, 38rem);
  object-fit: contain;
}

.works-detail__image--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(31, 41, 55, 0.56);
  font-size: 0.95rem;
  font-weight: 600;
}

.works-detail__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.12);
  color: rgba(75, 85, 99, 0.82);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.works-detail__nav svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.works-detail__nav:hover,
.works-detail__nav:focus-visible {
  background: rgba(0, 0, 0, 0.18);
  color: rgba(17, 24, 39, 0.95);
}

.works-detail__nav:disabled,
.works-detail__panel-action:disabled {
  cursor: default;
  opacity: 0.35;
}

.works-detail__nav--prev {
  left: clamp(1rem, 1.6vw, 1.5rem);
}

.works-detail__nav--next {
  right: clamp(1rem, 1.6vw, 1.5rem);
}

.works-detail__thumbs-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.8rem;
  align-items: stretch;
  gap: 0.45rem;
  width: 100%;
  min-width: 0;
}

.works-detail__thumbs-wrap {
  min-width: 0;
  width: 100%;
  overflow-x: auto;
  padding: 1.05rem 0 1.1rem 0.35rem;
  flex: 0 0 auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.works-detail__thumbs-wrap::-webkit-scrollbar {
  display: none;
}

.works-detail__thumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-width: max-content;
  margin: 0 auto;
  padding-bottom: 0.15rem;
}

.works-detail__thumbs-scrollrail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 1.05rem 0 1.1rem;
  border-radius: 0.5rem;
  background: #f9fafb;
}

.works-detail__thumbs-scrollthumb {
  width: 0.48rem;
  height: 1.55rem;
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.32);
}

.works-detail__thumbs-scrollarrow {
  width: 0;
  height: 0;
  border-left: 0.34rem solid transparent;
  border-right: 0.34rem solid transparent;
}

.works-detail__thumbs-scrollarrow--up {
  border-bottom: 0.45rem solid rgba(31, 41, 55, 0.52);
}

.works-detail__thumbs-scrollarrow--down {
  border-top: 0.45rem solid rgba(31, 41, 55, 0.52);
}

.thumb-item {
  display: inline-flex;
  flex: 0 0 3.55rem;
  width: 3.55rem;
  height: 3.55rem;
  align-items: center;
  justify-content: center;
  padding: 0.18rem;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  background: #f9fafb;
  cursor: pointer;
  overflow: hidden;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.thumb-item.is-active {
  border-color: #dc2626;
  box-shadow: 0 0 0 2px rgba(254, 226, 226, 0.9);
}

.thumb-item__inner {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  transform: scale(1.08);
}

.thumb-item__inner svg {
  width: 110%;
  height: 110%;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0.28rem;
  background: #ffffff;
}

.works-detail__panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.55rem 1.65rem 1.5rem;
  background: #005d3b;
  color: #f2f2f4;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  transition: background-color 500ms ease;
}

.works-detail__panel-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.05rem;
  margin-bottom: 1.25rem;
  user-select: none;
}

.works-detail__panel-action {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(242, 242, 244, 0.76);
  cursor: pointer;
  transition: color 180ms ease;
}

.works-detail__panel-action svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.works-detail__panel-action:hover,
.works-detail__panel-action:focus-visible {
  color: #f2f2f4;
}

.works-detail__content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  gap: 1rem;
  overflow: hidden;
}

.works-detail__kicker {
  margin: 0;
  color: rgba(242, 242, 244, 0.92);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.works-detail__editorial-title {
  max-width: 8.5ch;
  margin: 0;
  font-size: clamp(2.05rem, 2.4vw, 3rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.045em;
  color: #f2f2f4;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  white-space: pre-line;
}

.works-detail__rule {
  width: 100%;
  height: 1px;
  background: rgba(242, 242, 244, 0.68);
}

.works-detail__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 1.5rem;
}

.works-detail__fact {
  min-width: 0;
}

.works-detail__fact-label {
  margin: 0 0 0.35rem;
  color: rgba(242, 242, 244, 0.96);
  font-size: 0.83rem;
  font-weight: 500;
  line-height: 1.2;
}

.works-detail__fact-value {
  margin: 0;
  color: #f2f2f4;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: 0.02em;
}

.works-detail__story-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  min-height: 0;
  max-height: clamp(14rem, 36vh, 20.5rem);
  overflow: hidden;
}

.works-detail__story-body {
  flex: 0 0 auto;
  min-height: 0;
  max-height: inherit;
  padding-right: 1.1rem;
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.works-detail__story-body::-webkit-scrollbar {
  display: none;
}

.works-detail__story-body p {
  margin: 0;
  color: rgba(242, 242, 244, 0.96);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.34;
  overflow-wrap: anywhere;
}

.works-detail__story-body p + p {
  margin-top: 1.55rem;
}

.works-detail__report-scrollbar {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 0.48rem;
  border-radius: 999px;
  background: rgba(242, 242, 244, 0.15);
  pointer-events: auto;
  cursor: pointer;
  transition: opacity 180ms ease;
}

.works-detail__report-scrollbar.is-hidden {
  opacity: 0;
}

.works-detail__report-scroll-thumb {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  min-height: 2.25rem;
  border-radius: 999px;
  background: rgba(242, 242, 244, 0.86);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
  cursor: grab;
}

body.works-detail-scroll-dragging,
body.works-detail-scroll-dragging * {
  cursor: grabbing !important;
  user-select: none;
}

.works-detail-toast {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  z-index: 13100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transform: translateX(-50%);
  pointer-events: none;
}

.works-detail-toast__item {
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
  opacity: 0;
  transform: translateY(0.5rem);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.works-detail-toast__item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.img-zoom {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-zoom:hover {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .works-detail {
    padding: 1rem 0.8rem;
    overflow-y: auto;
  }

  .works-detail__card {
    grid-template-columns: minmax(0, 1fr);
    width: min(92vw, 42rem);
    max-height: calc(100dvh - 2rem);
    aspect-ratio: auto;
    overflow-y: auto;
  }

  .works-detail__gallery {
    min-height: 21rem;
    padding: 1.2rem;
  }

  .works-detail__image-stage {
    min-height: 18rem;
    padding: 1.6rem 2.8rem;
  }

  .works-detail__image {
    width: 100%;
    max-height: 14rem;
  }

  .works-detail__thumbs-wrap {
    padding: 0.9rem 0 0.7rem;
  }

  .works-detail__panel {
    padding: 1rem 1.2rem 1.2rem;
  }

  .works-detail__content {
    gap: 0.95rem;
  }

  .works-detail__editorial-title {
    max-width: none;
    font-size: clamp(1.9rem, 7vw, 3.1rem);
  }

  .works-detail__facts {
    grid-template-columns: 1fr;
    gap: 0.95rem;
  }

  .works-detail__story-body {
    max-height: 10.5rem;
  }

  .works-detail__nav {
    width: 2.5rem;
    height: 2.5rem;
  }

  .works-detail__panel-actions {
    margin-bottom: 0.5rem;
  }
}

@keyframes works-link-transition-drop {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

body.preloader-active {
  overflow: hidden;
}

.asset-replica.preloader-active .layer {
  opacity: 0 !important;
  animation: none !important;
  pointer-events: none;
}

.asset-replica.preloader-active .split-popover,
.asset-replica.preloader-active .split-modal-backdrop {
  display: none !important;
}

.asset-replica.board-bg-loaded:not(.opening-active):not(.opening-finished) .layer {
  opacity: 0 !important;
  animation: none !important;
  pointer-events: none;
}

.asset-replica.board-bg-loaded:not(.opening-active):not(.opening-finished) .split-popover,
.asset-replica.board-bg-loaded:not(.opening-active):not(.opening-finished) .split-modal-backdrop {
  display: none !important;
}

.bottega-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background: transparent;
  color: #000;
  pointer-events: auto;
}

.bottega-preloader.is-revealing {
  pointer-events: none;
}

.bottega-preloader__wrapper {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.bottega-preloader__logo-wrap {
  text-align: center;
  transform: translateZ(0);
  will-change: transform;
}

.bottega-preloader__line {
  overflow: hidden;
}

.bottega-preloader__line--subtitle {
  margin-top: 0.9rem;
}

.bottega-preloader__percent-wrap {
  position: absolute;
  left: 30px;
  bottom: 30px;
  overflow: hidden;
  min-width: 6ch;
  padding-top: 12px;
}

.bottega-preloader__logo {
  color: #000;
  font-family: "DAWN Helvetica Neue LT Std", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(4rem, 11.5vw, 11rem);
  font-style: normal;
  font-weight: 600;
  font-synthesis: none;
  line-height: 0.82;
  letter-spacing: 0;
  transform: translateY(108%);
  animation: bottega-mask-in 1350ms cubic-bezier(0.2, 0.72, 0.18, 1) 180ms forwards;
}

.bottega-preloader__subtitle {
  color: #000;
  font-family: "DAWN Helvetica Neue LT Std", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1.6rem, 4.6vw, 4.4rem);
  font-style: normal;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1;
  letter-spacing: 0;
  transform: translateY(110%);
  animation: bottega-mask-in 920ms cubic-bezier(0.2, 0.72, 0.18, 1) 0.5s forwards;
}

.bottega-preloader__percent {
  color: #000;
  font-family: "DAWN Helvetica Neue LT Std", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1.8rem, 2.4vw, 2.25rem);
  font-style: normal;
  font-weight: 700;
  font-synthesis: none;
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  transform: translateY(110%);
  animation: bottega-mask-in 720ms cubic-bezier(0.16, 1, 0.3, 1) 260ms forwards;
}

.bottega-preloader.is-exiting .bottega-preloader__logo,
.bottega-preloader.is-exiting .bottega-preloader__subtitle {
  animation: bottega-mask-out 580ms cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.bottega-preloader.is-exiting .bottega-preloader__percent {
  animation: bottega-percent-mask-out 580ms cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.split-shell {
  min-width: 100vw;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.split-stage {
  position: relative;
  flex: 0 0 auto;
  width: 100vw;
  height: 100vh;
  min-width: 1280px;
  overflow: hidden;
  filter: drop-shadow(0 26px 38px rgba(28, 24, 18, 0.22));
}

.asset-replica.board-bg-pending .split-stage,
.asset-replica.board-bg-loaded .split-stage {
  background: #fff;
}

.split-bg {
  --board-bg-start-clip: inset(calc(50% - 6.2vmin));
  --board-bg-mask-from-clip: inset(
    calc(50% + 6.2vmin) calc(50% - 6.2vmin) calc(50% - 6.2vmin) calc(50% - 6.2vmin)
  );
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  user-select: none;
  -webkit-user-drag: none;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: clip-path;
}

.asset-replica.board-bg-pending .split-bg {
  opacity: 1;
  clip-path: var(--board-bg-mask-from-clip);
  animation: board-bg-square-mask-in 760ms cubic-bezier(0.2, 0.72, 0.18, 1) 0.82s both;
}

.asset-replica.board-bg-loaded .split-bg {
  animation: board-bg-in 900ms cubic-bezier(0.72, 0, 0.16, 1) both;
}

.split-sidebar {
  position: absolute;
  z-index: 10;
  left: var(--sidebar-left);
  top: var(--sidebar-top);
  width: var(--sidebar-width);
  height: var(--sidebar-height);
  color: #202020;
  font-family: var(--font-avant);
  font-feature-settings: "zero" 1;
  font-variant-numeric: slashed-zero tabular-nums;
  letter-spacing: 0;
}

.split-sidebar > * {
  display: block;
}

.archive-head {
  position: relative;
  padding-bottom: var(--archive-head-pad-bottom);
}

.archive-head::after {
  position: absolute;
  bottom: var(--archive-head-line-y);
  left: 0;
  width: 100%;
  height: var(--archive-line-weight);
  background: var(--archive-line-color);
  content: "";
}

.archive-logo {
  position: relative;
  top: var(--archive-logo-y);
  display: block;
  font-size: clamp(0.86rem, 1.02vw, 1.14rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.archive-head p {
  position: relative;
  top: var(--archive-tagline-y);
  margin: 0.6rem 0 0;
  font-size: clamp(0.62rem, 0.74vw, 0.84rem);
  font-weight: 400;
  line-height: 1.1;
  white-space: nowrap;
}

.archive-block {
  position: relative;
  margin-top: var(--archive-block-gap);
  padding-bottom: var(--archive-block-pad-bottom);
}

.archive-view::after {
  position: absolute;
  bottom: var(--archive-view-line-y);
  left: 0;
  width: 100%;
  height: var(--archive-line-weight);
  background: var(--archive-line-color);
  content: "";
}

.archive-block h2 {
  position: relative;
  margin: 0 0 0.78rem;
  font-size: clamp(0.72rem, 0.86vw, 0.98rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

.archive-view p,
.archive-interface p {
  position: relative;
  margin: 0.56rem 0 0;
  font-size: clamp(0.6rem, 0.72vw, 0.82rem);
  font-weight: 400;
  line-height: 1.18;
  white-space: nowrap;
}

.archive-view p span {
  display: inline-block;
  width: auto;
  height: auto;
  margin-right: 0.42rem;
  background: transparent;
  color: #111;
  font-size: 0.8em;
  line-height: 1;
  vertical-align: 0.02rem;
}

.archive-view h2 {
  top: var(--archive-view-title-y);
}

.archive-view p {
  top: var(--archive-view-status-y);
}

.archive-legend {
  position: relative;
  padding-top: 0.42rem;
  border-bottom: 0;
}

.archive-legend h2 {
  top: var(--archive-legend-title-y);
}

.archive-legend::before,
.archive-legend::after {
  position: absolute;
  top: var(--archive-legend-title-y);
  width: 0.48rem;
  height: 0.48rem;
  background: var(--archive-line-color);
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  content: "";
}

.archive-legend::before {
  left: -0.62rem;
  -webkit-mask-image: var(--archive-corner-left-mask);
  mask-image: var(--archive-corner-left-mask);
}

.archive-legend::after {
  right: 0;
  -webkit-mask-image: var(--archive-corner-right-mask);
  mask-image: var(--archive-corner-right-mask);
}

.archive-legend a,
.archive-legend button,
.archive-legend > span {
  position: relative;
  top: var(--archive-legend-list-y);
  display: grid;
  width: 100%;
  grid-template-columns: 1.35rem minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.58rem;
  background-image: repeating-linear-gradient(
    to right,
    var(--archive-line-color) 0 1.8px,
    transparent 1.8px 3.6px
  );
  background-position: calc(1.35rem + 0.58rem) bottom;
  background-size: calc(100% - 1.93rem) 1px;
  background-repeat: no-repeat;
  padding: 0.28rem 0 0.24rem;
  color: #202020;
  font-size: clamp(0.6rem, 0.72vw, 0.82rem);
  font-weight: 400;
  line-height: 1.1;
  text-align: left;
}

.archive-legend a:hover,
.archive-legend button:hover,
.archive-legend button:focus-visible {
  color: #000;
  transform: translateX(0.08rem);
}

.archive-legend b {
  position: relative;
  justify-self: start;
  font-family: var(--font-avant);
  font-feature-settings: "zero" 1;
  font-variant-numeric: slashed-zero tabular-nums;
  font-weight: 700;
}

.archive-legend b::after {
  position: absolute;
  right: 0;
  bottom: -0.24rem;
  left: 0;
  height: 1px;
  background-image: repeating-linear-gradient(
    to right,
    var(--archive-line-color) 0 1.8px,
    transparent 1.8px 3.6px
  );
  background-size: 3.6px 1px;
  background-repeat: repeat-x;
  content: "";
}

.archive-legend em {
  font-style: normal;
  font-weight: 400;
  text-align: right;
}

.archive-interface {
  position: relative;
  margin-top: calc(var(--archive-block-gap) + var(--archive-interface-gap));
  padding-top: 0.42rem;
  padding-bottom: var(--archive-interface-pad-bottom);
  border-bottom: 0;
}

.archive-interface h2 {
  top: var(--archive-interface-title-y);
}

.archive-interface p:first-of-type {
  top: var(--archive-interface-hover-y);
}

.archive-interface p:nth-of-type(2) {
  top: var(--archive-interface-click-y);
}

.archive-interface::before,
.archive-interface::after {
  position: absolute;
  top: var(--archive-interface-title-y);
  width: 0.48rem;
  height: 0.48rem;
  background: var(--archive-line-color);
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  content: "";
}

.archive-interface::before {
  left: -0.62rem;
  -webkit-mask-image: var(--archive-corner-left-mask);
  mask-image: var(--archive-corner-left-mask);
}

.archive-interface::after {
  right: 0;
  -webkit-mask-image: var(--archive-corner-right-mask);
  mask-image: var(--archive-corner-right-mask);
}

.archive-statement {
  margin: var(--archive-statement-gap) 0 0;
  position: relative;
  padding-top: var(--archive-statement-pad-top);
  color: #303030;
  font-family: var(--font-display);
  font-size: var(--archive-statement-font-size);
  font-weight: 700;
  line-height: var(--archive-statement-line-height);
  letter-spacing: 0;
  text-transform: uppercase;
}

.archive-statement::before {
  position: absolute;
  top: var(--archive-statement-line-y);
  left: 0;
  width: 100%;
  height: var(--archive-line-weight);
  background: var(--archive-line-color);
  content: "";
}

.archive-statement span {
  position: relative;
  top: var(--archive-statement-text-y);
  display: block;
  width: var(--archive-statement-width);
  transform: scaleX(var(--archive-statement-scale-x));
  transform-origin: left center;
  white-space: nowrap;
}

.archive-statement .statement-mark {
  display: inline-block;
  font-style: normal;
  letter-spacing: 0;
}

.archive-statement .statement-space {
  display: inline-block;
  width: 0.67ch;
  font-style: normal;
}

.archive-statement .statement-mark-dot {
  margin-left: -0.1em;
}

.archive-statement .statement-mark-amp {
  margin-left: 0.04em;
}

.archive-contact {
  position: absolute;
  right: 0;
  bottom: var(--archive-contact-bottom);
  left: 0;
}

.archive-contact-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: var(--archive-contact-gap);
  transform: scale(var(--archive-contact-scale));
  transform-origin: left bottom;
}

.archive-contact p {
  margin: 0;
  display: grid;
  justify-items: start;
  row-gap: 0.32rem;
  position: relative;
  top: max(0rem, calc(var(--archive-contact-cooperate-y) * -1));
  font-size: var(--archive-contact-font-size);
  font-weight: 400;
  line-height: 1.35;
}

.archive-contact-heading {
  display: inline-grid;
  justify-items: start;
  row-gap: 0.32rem;
}

.archive-contact b {
  display: inline-block;
  font-weight: 700;
}

.archive-contact-title {
  position: relative;
  top: var(--archive-contact-title-y);
}

.archive-contact-divider {
  display: block;
  width: 100%;
  height: var(--archive-line-weight);
  background: var(--archive-line-color);
  position: relative;
  top: var(--archive-contact-divider-y);
}

.archive-contact-copy {
  display: block;
  position: relative;
}

.archive-contact-copy--discover {
  top: var(--archive-contact-discover-y);
}

.archive-contact-copy--cooperate {
  top: var(--archive-contact-cooperate-y);
}

.archive-step {
  transform-origin: left center;
  will-change: opacity, filter, transform;
}

.asset-replica.preloader-active .archive-step,
.asset-replica.board-bg-pending .archive-step,
.asset-replica.board-bg-loaded:not(.opening-active):not(.opening-finished) .archive-step {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(1rem) scale(0.985);
}

.archive-qr-group {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--archive-contact-qr-size);
  gap: 0.32rem;
  align-items: end;
}

.archive-qr {
  display: block;
  width: var(--archive-contact-qr-size);
  aspect-ratio: 1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.archive-qr--wechat {
  background-image: url("assets/visuals/contact-qr.png");
}

.archive-qr--xiaohongshu {
  background-image: url("assets/visuals/xiaohongshu-qr.png");
}

.asset-replica .receipt-layer.is-note-pulsing img {
  animation: receipt-note-pulse 820ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.layer {
  position: absolute;
  z-index: 4;
  display: block;
  border: 0;
  background: transparent;
  padding: 0;
  color: #202020;
  text-align: left;
  filter: drop-shadow(0 18px 16px rgba(30, 24, 18, 0.2));
  transform-origin: top center;
}

.layer:hover,
.layer:focus-visible,
.layer.is-legend-activated {
  animation: object-swing 680ms ease;
  outline: none;
}

.layer:focus-visible {
  outline: 2px solid rgba(255, 196, 0, 0.85);
  outline-offset: 4px;
}

.layer img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.about-layer {
  left: 23.5%;
  top: 1.7%;
  width: 9.4%;
}

.works-layer {
  left: 44.2%;
  top: 2.6%;
  width: 24.6%;
}

.resume-layer {
  left: 73.7%;
  top: 2.5%;
  width: 16.5%;
}

.skills-layer {
  left: 30%;
  top: 48%;
  width: 10.7%;
}

.contact-layer {
  left: 71.7%;
  top: 55.6%;
  width: 13.5%;
}

.receipt-layer {
  left: 88.8%;
  top: 46.2%;
  width: 8%;
}

.tag-text,
.works-text,
.resume-text,
.badge-text,
.contact-text,
.receipt-text,
.work-list {
  display: none;
  position: absolute;
  pointer-events: none;
}

.tag-text {
  top: 45.2%;
  left: 54.5%;
  display: grid;
  width: 25%;
  gap: 0.26rem;
}

.tag-text b,
.tag-text strong {
  font-size: clamp(0.68rem, 0.96vw, 1rem);
  font-weight: 900;
}

.tag-text b,
.works-text b,
.resume-text b,
.badge-text b,
.contact-text b {
  font-family: var(--font-avant);
  font-feature-settings: "zero" 1;
  font-variant-numeric: slashed-zero tabular-nums;
  font-weight: 900;
}

.tag-text em {
  font-size: clamp(0.54rem, 0.75vw, 0.82rem);
  font-style: normal;
  font-weight: 800;
}

.tag-text i {
  width: 1.1rem;
  height: 1px;
  margin: 0.35rem 0 0.24rem;
  background: currentColor;
}

.tag-text small {
  font-family: var(--font-avant);
  font-size: clamp(0.38rem, 0.48vw, 0.54rem);
  line-height: 1.42;
}

.tag-text span {
  margin-top: 0.4rem;
  font-size: 1rem;
}

.works-text {
  top: 21.2%;
  left: 21.2%;
  display: grid;
  width: 51%;
  gap: 0.42rem;
}

.works-text b {
  font-size: clamp(0.9rem, 1.25vw, 1.35rem);
  font-weight: 900;
}

.works-text strong {
  font-size: clamp(1.1rem, 1.45vw, 1.72rem);
  font-weight: 900;
  line-height: 0.92;
  white-space: nowrap;
}

.works-text em {
  font-size: clamp(0.72rem, 0.95vw, 1rem);
  font-style: normal;
  font-weight: 900;
}

.works-text i {
  width: 1.25rem;
  height: 1px;
  background: currentColor;
}

.works-text small {
  font-family: var(--font-avant);
  font-size: clamp(0.42rem, 0.5vw, 0.56rem);
  line-height: 1.45;
}

.work-list {
  left: 21.5%;
  right: 24.5%;
  top: 54.4%;
  bottom: auto;
  display: grid;
  gap: 0.32rem;
}

.work-list > span {
  display: grid;
  min-height: 2rem;
  grid-template-columns: 2rem 1fr;
  align-content: center;
  border: 1px solid rgba(38, 34, 29, 0.16);
  border-radius: 0.54rem;
  background: rgba(250, 247, 241, 0.62);
  padding: 0.26rem 0.5rem;
  box-shadow: 0 8px 14px rgba(40, 32, 24, 0.08);
  overflow: hidden;
}

.work-list b {
  grid-row: span 2;
  color: #111;
  font-size: clamp(0.5rem, 0.64vw, 0.72rem);
}

.work-list strong {
  font-size: clamp(0.52rem, 0.66vw, 0.76rem);
  font-weight: 900;
}

.work-list em {
  color: #3e3932;
  font-size: clamp(0.44rem, 0.56vw, 0.64rem);
  font-style: normal;
}

.resume-text {
  top: 31.2%;
  left: 36.5%;
  display: grid;
  width: 33%;
  gap: 0.32rem;
}

.resume-text b {
  font-size: clamp(0.68rem, 0.9vw, 1rem);
  font-weight: 900;
}

.resume-text strong {
  font-size: clamp(0.88rem, 1.18vw, 1.36rem);
  font-weight: 900;
  line-height: 0.92;
}

.resume-text em {
  font-size: clamp(0.46rem, 0.58vw, 0.68rem);
  font-style: normal;
  font-weight: 800;
}

.resume-text i {
  width: 1.2rem;
  height: 1px;
  margin: 0.18rem 0;
  background: currentColor;
}

.resume-text small {
  margin-top: 0.3rem;
  font-family: var(--font-avant);
  font-size: clamp(0.34rem, 0.42vw, 0.52rem);
  line-height: 1.55;
}

.resume-text > span:not(.mini-barcode) {
  margin-top: 0.32rem;
  font-size: clamp(0.38rem, 0.5vw, 0.6rem);
  font-weight: 900;
}

.resume-text .mini-barcode {
  width: 100%;
  height: 0.62rem;
  margin-top: -0.2rem;
}

.badge-text {
  inset: 39.8% 23% auto 23%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.28rem;
  color: #f4ecdc;
  text-align: center;
}

.badge-text b,
.badge-text strong,
.badge-text em,
.badge-text i {
  width: 100%;
}

.badge-text b {
  color: #d7d1c5;
  font-size: clamp(0.72rem, 0.98vw, 1rem);
}

.badge-text strong {
  font-size: clamp(1.12rem, 1.58vw, 1.75rem);
  font-weight: 900;
  line-height: 0.9;
}

.badge-text em {
  font-size: clamp(0.56rem, 0.75vw, 0.84rem);
  font-style: normal;
  font-weight: 800;
}

.badge-text span {
  border: 1px solid var(--yellow);
  border-radius: 999px;
  color: var(--yellow);
  padding: 0.12rem 0.35rem;
  font-size: clamp(0.38rem, 0.52vw, 0.62rem);
  font-weight: 900;
}

.badge-text i {
  margin-top: 0.2rem;
  color: var(--yellow);
  font-style: normal;
}

.contact-text {
  top: 36%;
  left: 25.8%;
  display: grid;
  width: 36%;
  gap: 0.28rem;
}

.contact-text b {
  font-size: clamp(0.62rem, 0.82vw, 0.95rem);
  font-weight: 900;
}

.contact-text strong {
  font-size: clamp(0.82rem, 1.08vw, 1.3rem);
  font-weight: 900;
  line-height: 0.92;
}

.contact-text em {
  font-size: clamp(0.46rem, 0.58vw, 0.68rem);
  font-style: normal;
  font-weight: 800;
}

.contact-text small {
  margin-top: 0.55rem;
  font-family: var(--font-avant);
  font-size: clamp(0.34rem, 0.42vw, 0.52rem);
  line-height: 1.55;
}

.contact-text span {
  justify-self: end;
  font-size: clamp(1rem, 1.25vw, 1.4rem);
}

.receipt-text {
  top: 34.5%;
  left: 25%;
  display: grid;
  width: 53%;
  gap: 0.52rem;
  font-family: var(--font-avant);
}

.receipt-text b {
  font-size: clamp(0.46rem, 0.62vw, 0.72rem);
}

.receipt-text small,
.receipt-text em {
  font-size: clamp(0.36rem, 0.48vw, 0.58rem);
  font-style: normal;
  line-height: 1.45;
}

.split-modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: rgba(20, 18, 15, 0.36);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(5px);
  transition: opacity 220ms ease;
}

.split-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.split-modal-backdrop[hidden] {
  display: none;
}

.split-popover {
  position: absolute;
  z-index: 21;
  left: 50%;
  top: 50%;
  display: grid;
  width: min(78vw, calc(82vh * 16 / 9), 1180px);
  aspect-ratio: 16 / 9;
  overflow: auto;
  border: 1px solid rgba(70, 64, 55, 0.24);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.56)),
    rgba(246, 240, 230, 0.94);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.66),
    0 30px 58px rgba(28, 23, 17, 0.38);
  color: #22201d;
  align-content: start;
  gap: clamp(0.9rem, 1.4vw, 1.35rem);
  line-height: 1.45;
  opacity: 0;
  padding: clamp(1.4rem, 2.4vw, 2.8rem);
  pointer-events: none;
  visibility: hidden;
  backdrop-filter: blur(5px);
  transform: translate(-50%, -50%) scale(0.94);
  transition:
    opacity 220ms ease,
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.split-popover.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.asset-replica.modal-open .split-stage {
  overflow: visible;
}

.asset-replica.modal-open .split-modal-backdrop {
  position: fixed;
  inset: 0;
}

.asset-replica.contact-modal-open .split-modal-backdrop {
  background: rgba(28, 25, 20, 0.42);
  backdrop-filter: blur(8px) saturate(0.74);
}

.split-popover[data-detail="about"] {
  --edge-proximity: 72;
  --cursor-angle: 45deg;
  --edge-sensitivity: 30;
  --color-sensitivity: 35;
  --border-radius: 16px;
  --glow-padding: 34px;
  --cone-spread: 26;
  --fill-opacity: 0.015;
  --glow-color: hsl(40deg 80% 80% / 100%);
  --glow-color-60: hsl(40deg 80% 80% / 60%);
  --glow-color-50: hsl(40deg 80% 80% / 50%);
  --glow-color-40: hsl(40deg 80% 80% / 40%);
  --glow-color-30: hsl(40deg 80% 80% / 30%);
  --glow-color-20: hsl(40deg 80% 80% / 20%);
  --glow-color-10: hsl(40deg 80% 80% / 10%);
  --gradient-one: radial-gradient(at 80% 55%, #c084fc 0, transparent 50%);
  --gradient-two: radial-gradient(at 69% 34%, #f472b6 0, transparent 50%);
  --gradient-three: radial-gradient(at 8% 6%, #38bdf8 0, transparent 50%);
  --gradient-four: radial-gradient(at 41% 38%, #c084fc 0, transparent 50%);
  --gradient-five: radial-gradient(at 86% 85%, #f472b6 0, transparent 50%);
  --gradient-six: radial-gradient(at 82% 18%, #38bdf8 0, transparent 50%);
  --gradient-seven: radial-gradient(at 51% 4%, #f472b6 0, transparent 50%);
  --gradient-base: linear-gradient(#c084fc 0 100%);

  position: fixed;
  top: 50%;
  width: min(560px, calc(82vh * 2 / 3), calc(100vw - 48px));
  aspect-ratio: 2 / 3;
  border: 0;
  border-radius: var(--border-radius);
  background: transparent;
  box-shadow:
    0 0 16px rgba(56, 189, 248, 0.1),
    0 0 24px rgba(244, 114, 182, 0.08),
    0 30px 58px rgba(28, 23, 17, 0.38);
  isolation: isolate;
  overflow: visible;
  padding: 0;
  animation: about-glow-sweep 5.5s linear infinite;
}

.about-glow-card::before,
.about-glow-card::after,
.about-glow-card > .edge-light {
  content: "";
  position: absolute;
  border-radius: inherit;
  opacity: 1;
  pointer-events: none;
  transition: opacity 250ms ease-out;
}

.about-glow-card:hover {
  animation: none;
}

.about-glow-card::before {
  inset: -1px;
  z-index: 0;
  border: 0;
  padding: 1px;
  background:
    var(--gradient-one),
    var(--gradient-two),
    var(--gradient-three),
    var(--gradient-four),
    var(--gradient-five),
    var(--gradient-six),
    var(--gradient-seven),
    var(--gradient-base);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: calc((var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
}

.about-glow-card::after {
  display: none;
}

.about-glow-card > .edge-light {
  inset: calc(var(--glow-padding) * -1);
  z-index: 0;
  mask-image:
    conic-gradient(
      from var(--cursor-angle) at center,
      black 2.5%,
      transparent 10%,
      transparent 90%,
      black 97.5%
    );
  mix-blend-mode: plus-lighter;
  opacity: calc((var(--edge-proximity) - var(--edge-sensitivity)) / (100 - var(--edge-sensitivity)));
}

.about-glow-card > .edge-light::before {
  content: "";
  position: absolute;
  inset: var(--glow-padding);
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px var(--glow-color),
    inset 0 0 1px 0 var(--glow-color-60),
    inset 0 0 3px 0 var(--glow-color-50),
    inset 0 0 6px 0 var(--glow-color-40),
    inset 0 0 15px 0 var(--glow-color-30),
    inset 0 0 25px 2px var(--glow-color-20),
    inset 0 0 50px 2px var(--glow-color-10),
    0 0 1px 0 var(--glow-color-60),
    0 0 3px 0 var(--glow-color-50),
    0 0 6px 0 var(--glow-color-40),
    0 0 15px 0 var(--glow-color-30),
    0 0 25px 2px var(--glow-color-20),
    0 0 50px 2px var(--glow-color-10);
}

.about-card-image {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.about-reveal-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  border-radius: inherit;
  color: #fff;
  pointer-events: none;
}

.about-reveal-copy::before,
.about-reveal-copy::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 0;
  pointer-events: none;
}

.about-reveal-copy::before {
  display: none;
}

.about-reveal-copy::after {
  display: none;
}

.about-reveal-copy__top {
  position: absolute;
  top: 5.15%;
  left: 7.25%;
  z-index: 1;
  width: 85.2%;
}

.split-popover[data-detail="about"] .about-reveal-title {
  display: block;
  width: fit-content;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  font-family: "DAWN Helvetica Neue LT Std", "方正可变悠黑 简 Regular", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(0.78rem, 1vw, 0.98rem);
  font-style: normal;
  font-weight: 400;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  line-height: 1.08;
  letter-spacing: 0;
}

.about-reveal-rule {
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 4.3%;
  background: #f5f5f2;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition:
    opacity 520ms ease,
    transform 860ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 160ms;
}

.about-reveal-copy.is-revealing .about-reveal-rule {
  opacity: 1;
  transform: scaleX(1);
}

.split-popover[data-detail="about"] .about-reveal-cn {
  display: grid;
  gap: clamp(0.38rem, 0.9vw, 0.62rem);
  margin: 5.25% 0 0;
  color: #fff;
  font-family: "方正可变悠黑 简", "方正可变悠黑 简 Regular", "FZVariable-YouHeiS", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(0.78rem, 0.98vw, 0.96rem);
  font-weight: 300;
  font-synthesis: none;
  font-variation-settings: "wght" 300;
  -webkit-font-smoothing: antialiased;
  line-height: 1.12;
  letter-spacing: 0;
}

.about-reveal-line {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 0;
  margin-left: 0;
  background: transparent;
  white-space: nowrap;
}

.split-popover[data-detail="about"] .about-reveal-en {
  position: absolute;
  z-index: 1;
  left: 7.25%;
  bottom: 3.2%;
  width: 85.2%;
  margin: 0;
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.95);
  font-family: "Helvetica Neue LT Std", "HelveticaNeueLT Std", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(0.72rem, 0.96vw, 0.9rem);
  font-weight: 300;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  line-height: 1.47;
  letter-spacing: 0;
  text-align: right;
}

.about-reveal-en-line {
  display: block;
  white-space: nowrap;
}

.about-reveal-copy [data-scroll-reveal] {
  transform-origin: 0% 50%;
  transform: rotate(3deg);
  transition: transform 980ms linear;
}

.about-reveal-copy.is-revealing [data-scroll-reveal] {
  transform: rotate(0deg);
}

.split-popover[data-detail="about"] .about-reveal-copy .word {
  display: inline-block;
  opacity: 0;
  filter: blur(9px);
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  transform: translateY(0.38em) rotate(2deg);
  transition:
    opacity 620ms linear,
    filter 760ms ease,
    transform 780ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--word-delay, 0ms);
  will-change: opacity, filter, transform;
}

.split-popover[data-detail="about"] .about-reveal-en .word {
  transition:
    opacity 420ms linear,
    filter 520ms ease,
    transform 540ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--word-delay, 0ms);
}

.split-popover[data-detail="about"] .about-reveal-copy.is-revealing .word {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) rotate(0deg);
}

@property --cursor-angle {
  syntax: "<angle>";
  inherits: true;
  initial-value: 45deg;
}

@keyframes about-glow-sweep {
  from {
    --cursor-angle: 0deg;
  }

  to {
    --cursor-angle: 360deg;
  }
}

.split-popover[data-detail="about"] .card-close {
  z-index: 4;
  border: 0;
  background: transparent;
  color: #fff;
}

.split-popover[data-detail="skills"] {
  overflow: hidden;
  background: #100d16;
  color: #f4efe5;
  padding: 0;
}

.split-popover.skills-gallery-popover .skills-gallery-title {
  position: absolute;
  top: clamp(3.2rem, 7.2vw, 4.7rem);
  left: 50%;
  z-index: 3;
  margin: 0;
  color: #fff;
  font-size: clamp(1rem, 1.45vw, 1.5rem);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0;
  line-height: 1;
  pointer-events: none;
  transform: translateX(-50%);
  white-space: nowrap;
}

.split-popover.skills-gallery-popover .skills-gallery-title .skills-gallery-title__en {
  font-family: "Helvetica Neue LT Std", "HelveticaNeueLT Std", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: inherit;
  font-weight: 300;
  line-height: inherit;
}

.split-popover.skills-gallery-popover .skills-gallery-title .skills-gallery-title__cn {
  font-family: "方正可变悠黑 简", "方正可变悠黑 简 Regular", "FZVariable-YouHeiS", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: inherit;
  font-weight: 300;
  font-variation-settings: "wght" 300;
  line-height: inherit;
}

.skills-gallery-popover .card-close {
  z-index: 4;
  border: 0;
  background: transparent;
  color: #fff;
}

.circular-gallery {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: grab;
}

.circular-gallery:active {
  cursor: grabbing;
}

.circular-gallery:focus-visible {
  outline: 2px solid rgba(255, 196, 0, 0.86);
  outline-offset: -6px;
}

.circular-gallery canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.circular-gallery-fallback {
  position: absolute;
  inset: auto 2.2rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  color: rgba(244, 239, 229, 0.72);
  font-family: var(--font-avant);
  font-size: 0.72rem;
  pointer-events: none;
}

.circular-gallery-fallback span {
  border: 1px solid rgba(255, 196, 0, 0.45);
  border-radius: 999px;
  padding: 0.34rem 0.58rem;
}

.circular-gallery.is-ready .circular-gallery-fallback {
  display: none;
}

.circular-gallery-label {
  position: absolute;
  z-index: 2;
  color: #f4efe5;
  font-family: "Figtree", var(--font-avant);
  font-size: clamp(0.74rem, 0.95vw, 1.08rem);
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.42);
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
}

.split-popover h2 {
  margin: 0 3rem 0 0;
  font-size: clamp(1.35rem, 2vw, 2.4rem);
  font-weight: 900;
  line-height: 0.98;
}

.contact-popover {
  position: fixed;
  top: 50vh;
  width: min(calc(100vw - 3rem), 50rem);
  height: min(68vh, 33rem);
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  gap: clamp(1rem, 1.45vw, 1.55rem);
  padding: clamp(2.4rem, 2.45vw, 3.15rem);
}

.contact-popover__content {
  display: flex;
  height: 100%;
  min-height: 0;
  align-items: center;
  justify-content: center;
  padding-right: clamp(2.7rem, 3.2vw, 3.6rem);
}

.split-popover.contact-popover .card-close {
  top: clamp(1.38rem, 1.55vw, 1.7rem);
  right: clamp(1.38rem, 1.55vw, 1.7rem);
  width: 2.55rem;
  height: 2.55rem;
  border-color: rgba(34, 32, 28, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: #33312d;
  font-family: Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 300;
  box-shadow: 0 1px 2px rgba(30, 26, 20, 0.04);
}

.split-popover.contact-popover .card-close:hover {
  background: rgba(255, 255, 255, 0.94);
}

.contact-accordion {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  gap: clamp(0.55rem, 0.85vw, 1rem);
  width: 100%;
  min-width: 0;
  height: min(58vh, 450px);
  padding: 0;
}

.contact-accordion__item {
  --stamp-scale: 1;
  --stamp-shift-y: 0%;
  position: relative;
  flex: 0 0 clamp(3.3rem, 4.1vw, 3.75rem);
  overflow: hidden;
  border: 0;
  border-radius: 4px;
  background: #e8dcc4;
  color: #3f3526;
  cursor: pointer;
  isolation: isolate;
  padding: 0;
  box-shadow:
    0 20px 0 #ece0c7,
    0 29px 18px rgba(54, 43, 27, 0.18);
  transition:
    flex-basis 700ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 300ms ease,
    transform 300ms ease;
}

.contact-accordion__item.is-active {
  flex-basis: min(24vw, 400px);
}

.contact-accordion__item:hover,
.contact-accordion__item:focus-visible {
  filter: brightness(1.04);
}

.contact-accordion__item:focus-visible {
  outline: 2px solid rgba(24, 24, 22, 0.78);
  outline-offset: 3px;
}

.contact-accordion__item img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateY(var(--stamp-shift-y)) scale(var(--stamp-scale));
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-accordion__item.is-active img {
  object-fit: contain;
}

.contact-accordion__item[aria-label="Phone"] {
  --stamp-scale: 1.006;
  --stamp-shift-y: 0.24%;
}

.contact-accordion__item[aria-label="City"] {
  --stamp-scale: 1.035;
  --stamp-shift-y: 0.76%;
}

.contact-accordion__item[aria-label="WeChat"] {
  --stamp-scale: 0.946;
  --stamp-shift-y: 1%;
}

.contact-accordion__item[aria-label="小红书"] {
  --stamp-scale: 1.105;
  --stamp-shift-y: 1.3%;
}

.contact-accordion__item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 48%, rgba(239, 227, 202, 0.62) 100%);
  pointer-events: none;
}

.contact-accordion__item span {
  position: absolute;
  left: 50%;
  bottom: calc(clamp(1.3rem, 2.3vw, 1.75rem) + 5px);
  z-index: 2;
  color: #3f3526;
  font-family: "Helvetica Neue LT Std 55 Roman", "Helvetica Neue LT Std", "HelveticaNeueLT Std", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(0.78rem, 0.95vw, 1.1rem);
  font-weight: 400;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-shadow:
    0 1px 0 rgba(255, 250, 238, 0.96),
    0 0 9px rgba(255, 248, 232, 0.9);
  opacity: 1;
  transform: translateX(-50%) rotate(90deg);
  transform-origin: center;
  white-space: nowrap;
  transition:
    bottom 300ms ease,
    opacity 220ms ease,
    transform 300ms ease;
}

.contact-accordion__item.is-active span {
  bottom: calc(1.5rem - 25px);
  opacity: 1;
  transform: translateX(-50%) rotate(0deg);
}

.split-popover h2 span,
.split-popover p,
.split-popover li,
.split-popover a {
  font-family: var(--font-avant);
  font-size: clamp(0.62rem, 0.72vw, 0.82rem);
  line-height: 1.55;
}

.split-popover p {
  max-width: 62ch;
  margin: 0 0 0.35rem;
}

.split-popover ul {
  margin: 0;
  padding-left: 1rem;
}

.split-popover a {
  display: inline-block;
  margin-top: 0.35rem;
  border-bottom: 1px solid currentColor;
  color: #21496a;
  font-weight: 900;
}

.resume-popover {
  left: 50%;
  top: 50%;
  width: min(82vw, calc(82vh * 16 / 9), 1280px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #fff;
  padding: 0;
}

.resume-popover__image {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: contain;
}

.split-popover .card-close {
  position: absolute;
  z-index: 2;
  top: clamp(1rem, 1.55vw, 1.45rem);
  right: clamp(1rem, 1.55vw, 1.45rem);
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid rgba(34, 32, 28, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.54);
  padding: 0;
  font-size: 1.45rem;
  line-height: 1;
}

.split-popover.skills-gallery-popover .card-close {
  border: 0;
  background: transparent;
  color: #fff;
}

.mini-skill-grid {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(34, 32, 28, 0.2);
  border-radius: 6px;
  grid-template-columns: repeat(2, 1fr);
}

.mini-skill-grid article {
  min-height: 5rem;
  border-right: 1px solid rgba(34, 32, 28, 0.2);
  border-bottom: 1px solid rgba(34, 32, 28, 0.2);
  padding: 0.75rem;
}

.mini-skill-grid article:nth-child(2n) {
  border-right: 0;
}

.mini-skill-grid article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.mini-skill-grid strong {
  display: block;
  font-weight: 900;
}

.mini-skill-grid p {
  margin: 0.35rem 0 0;
}

.left-tuner {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10000;
  width: min(23rem, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border: 1px solid rgba(20, 20, 20, 0.16);
  border-radius: 8px;
  background: rgba(250, 250, 248, 0.95);
  box-shadow: 0 18px 38px rgba(20, 18, 14, 0.18);
  color: #202020;
  font-family: var(--font-avant);
  padding: 0.85rem;
  backdrop-filter: blur(10px);
}

.left-tuner[hidden] {
  display: none;
}

.left-tuner__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.left-tuner__head strong {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.left-tuner__actions {
  display: flex;
  gap: 0.35rem;
}

.left-tuner button {
  border: 1px solid rgba(20, 20, 20, 0.16);
  border-radius: 6px;
  background: #fff;
  padding: 0.34rem 0.48rem;
  font-size: 0.68rem;
  font-weight: 700;
}

.left-tuner__grid {
  display: grid;
  gap: 0.6rem;
}

.left-tuner__row {
  display: grid;
  grid-template-columns: 7.3rem 1fr 3.1rem 3rem;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
}

.left-tuner input[type="range"] {
  width: 100%;
}

.left-tuner__row button {
  padding: 0.28rem 0.34rem;
  font-size: 0.62rem;
}

.left-tuner output {
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.left-tuner textarea {
  width: 100%;
  min-height: 7.4rem;
  margin-top: 0.75rem;
  border: 1px solid rgba(20, 20, 20, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.76);
  color: #202020;
  font: 0.68rem/1.4 Consolas, "Courier New", monospace;
  resize: vertical;
  padding: 0.6rem;
}

.graphic-only .tag-text,
.graphic-only .works-text,
.graphic-only .resume-text,
.graphic-only .badge-text,
.graphic-only .contact-text,
.graphic-only .receipt-text,
.graphic-only .work-list {
  display: none !important;
}

@media (max-width: 1600px) {
  .split-sidebar {
    --sidebar-left: 3.55%;
    --sidebar-top: 7.2%;
    --sidebar-width: 14.9%;
    --sidebar-height: 86.2%;
    --archive-statement-font-size: 2.53rem;
    --archive-statement-line-height: 0.85;
    --archive-contact-bottom: 1.2%;
    --archive-contact-qr-size: 3.45rem;
    --archive-contact-gap: 0.95rem;
    --archive-contact-font-size: 0.58rem;
  }

  .split-logo {
    font-size: clamp(1.3rem, 1.75vw, 1.55rem);
  }

  .split-role {
    font-size: clamp(0.62rem, 0.76vw, 0.78rem);
  }

  .split-nav a,
  .split-nav button {
    font-size: clamp(0.78rem, 0.98vw, 1rem);
  }

  .split-status p {
    font-size: clamp(0.58rem, 0.72vw, 0.74rem);
  }

  .split-status small {
    font-size: 0.46rem;
  }

  .barcode {
    width: 68%;
  }

  .about-layer {
    left: 23.5%;
  }

  .skills-layer {
    left: 29.6%;
  }

  .works-layer {
    left: 44.2%;
    width: 25.6%;
  }

  .resume-layer {
    left: 73.7%;
    width: 16.5%;
  }

  .contact-layer {
    left: 71.4%;
    width: 14.6%;
  }

  .receipt-layer {
    left: 88.8%;
    width: 8.3%;
  }
}

@media (max-width: 1180px) {
  .split-shell {
    display: block;
  }

  .split-stage {
    width: 1280px;
    min-width: 1280px;
    height: 600px;
  }
}

@media (max-width: 900px) {
  .contact-popover {
    width: min(calc(100vw - 2rem), 42rem);
    height: auto;
    min-height: 20rem;
    aspect-ratio: auto;
    overflow: auto;
    padding: clamp(1.7rem, 6vw, 2.2rem);
  }

  .contact-popover__content {
    display: flex;
    padding-right: 0;
  }

  .contact-accordion {
    justify-content: flex-start;
    height: 17rem;
    overflow-x: auto;
    padding: 0.15rem 0.2rem 0.65rem;
    scroll-snap-type: x proximity;
  }

  .contact-accordion__item {
    flex-basis: 3.2rem;
    min-width: 3.2rem;
    scroll-snap-align: center;
  }

  .contact-accordion__item.is-active {
    flex-basis: 13.5rem;
    min-width: 13.5rem;
  }
}

.asset-replica .split-shell {
  align-items: flex-start;
  justify-content: center;
}

.asset-replica .split-stage {
  width: min(100vw, calc(100vh * 2560 / 1181));
  height: auto;
  min-width: 0;
  aspect-ratio: 2560 / 1181;
  perspective: 800px;
}

.asset-replica .split-bg {
  object-fit: fill;
}

.asset-replica .layer {
  filter: none;
  transform-origin: var(--hang-x, 50%) var(--hang-y, 8%);
  transition: transform 300ms ease-out;
  will-change: transform;
}

.asset-replica .layer.is-tilting {
  z-index: 9;
  transition: transform 90ms linear;
}

.asset-replica .layer img {
  position: relative;
  z-index: 1;
  opacity: 1;
  backface-visibility: hidden;
  filter:
    drop-shadow(0 10px 8px rgba(36, 28, 18, 0.14))
    drop-shadow(0 1px 1px rgba(30, 24, 18, 0.16));
  transform-origin: var(--hang-x, 50%) var(--hang-y, 8%);
}

.asset-replica .about-layer {
  --hang-x: 44%;
  --hang-y: 7%;
  --peg-x: 44%;
  --peg-y: 7.2%;
  --peg-size: 4.2%;
  left: calc(22.75% - 82px);
  top: calc(-4.85% - 10px);
  width: calc(22.58% * 1.1);
  animation: key-drop 720ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.asset-replica .works-layer {
  --hang-x: 54%;
  --hang-y: 7.2%;
  --peg-x: 54%;
  --peg-y: 7.2%;
  --peg-size: 3.1%;
  left: 38.14%;
  top: -2.66%;
  width: calc(39.34% * 0.95);
  animation: folder-settle 860ms cubic-bezier(0.18, 0.84, 0.2, 1) 80ms both;
}

.asset-replica .resume-layer {
  --hang-x: 49%;
  --hang-y: 7%;
  --peg-x: 49%;
  --peg-y: 7.1%;
  --peg-size: 4%;
  left: 71.01%;
  top: -0.22%;
  width: 21.05%;
  animation: badge-drop 760ms cubic-bezier(0.2, 0.8, 0.2, 1) 140ms both;
}

.asset-replica .skills-layer {
  --hang-x: 52%;
  --hang-y: 7.4%;
  --peg-x: 52%;
  --peg-y: 7.4%;
  --peg-size: 4.5%;
  left: 25.35%;
  top: 43.6%;
  width: 19.65%;
  animation: badge-swing-in 780ms cubic-bezier(0.2, 0.8, 0.2, 1) 190ms both;
}

.asset-replica .contact-layer {
  --hang-x: 47.5%;
  --hang-y: 6.4%;
  --peg-x: 47.5%;
  --peg-y: 6.6%;
  --peg-size: 3.7%;
  aspect-ratio: 1;
  left: calc(67% + 3px);
  top: 50.72%;
  width: 22.08%;
  animation: envelope-rise 780ms cubic-bezier(0.2, 0.8, 0.2, 1) 230ms both;
}

.asset-replica .contact-layer img {
  height: 100%;
  object-fit: contain;
}

.asset-replica .receipt-layer {
  --hang-x: 50%;
  --hang-y: 6.6%;
  --peg-x: 50%;
  --peg-y: 6.8%;
  --peg-size: 4.6%;
  --peg-cover-opacity: 1;
  left: 84.02%;
  top: 46.5%;
  width: 15.55%;
  animation: receipt-hang 800ms cubic-bezier(0.2, 0.8, 0.2, 1) 280ms both;
}

@keyframes key-drop {
  from {
    opacity: 0;
    transform: translateY(-2.4%) rotate(-2deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

@keyframes folder-settle {
  from {
    opacity: 0;
    transform: translateY(-1.6%) scale(0.992);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes badge-drop {
  from {
    opacity: 0;
    transform: translateY(-2%) rotate(1.2deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

@keyframes badge-swing-in {
  0% {
    opacity: 0;
    transform: translateY(-1.8%) rotate(-2deg);
  }
  65% {
    opacity: 1;
    transform: translateY(0) rotate(0.7deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

@keyframes key-swing {
  0%, 100% { transform: rotate(0); }
  35% { transform: rotate(1.8deg); }
  70% { transform: rotate(-1.2deg); }
}

@keyframes folder-hover {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.35%); }
}

@keyframes badge-tug {
  0%, 100% { transform: translateY(0) rotate(0); }
  45% { transform: translateY(-0.45%) rotate(-0.7deg); }
}

@keyframes badge-swing {
  0%, 100% { transform: rotate(0); }
  40% { transform: rotate(-1.4deg); }
  72% { transform: rotate(0.9deg); }
}

@keyframes envelope-hover {
  0%, 100% { transform: translateY(0) rotate(0); }
  45% { transform: translateY(-0.55%) rotate(0.35deg); }
}

@keyframes receipt-flutter {
  0%, 100% { transform: rotate(0); }
  30% { transform: rotate(1.2deg); }
  62% { transform: rotate(-0.8deg); }
}

@keyframes receipt-note-pulse {
  0% {
    filter: drop-shadow(0 0 0 rgba(255, 196, 0, 0));
    transform: translateY(0) rotate(0) scale(var(--legend-object-scale, 1));
  }
  34% {
    filter: drop-shadow(0 8px 12px rgba(255, 196, 0, 0.34));
    transform: translateY(-0.7%) rotate(1.2deg) scale(var(--legend-object-scale, 1));
  }
  66% {
    filter: drop-shadow(0 4px 8px rgba(255, 196, 0, 0.18));
    transform: translateY(0.15%) rotate(-0.7deg) scale(var(--legend-object-scale, 1));
  }
  100% {
    filter: drop-shadow(0 0 0 rgba(255, 196, 0, 0));
    transform: translateY(0) rotate(0) scale(var(--legend-object-scale, 1));
  }
}

@keyframes envelope-rise {
  from {
    opacity: 0;
    transform: translateY(2%) rotate(0.5deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

@keyframes receipt-hang {
  from {
    opacity: 0;
    transform: translateY(-2%) rotate(1deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

body.opening-active {
  overflow: hidden;
}

.asset-replica.opening-active:not(.opening-finished) .layer {
  pointer-events: none;
}

.asset-replica.opening-active:not(.opening-finished) .split-popover {
  display: none !important;
}

.asset-replica.opening-active:not(.opening-finished) .archive-step {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(1rem) scale(0.985);
}

.asset-replica.opening-active .about-layer {
  animation: opening-key-in-sway 1200ms linear 320ms both;
}

.asset-replica.opening-active .archive-step-1 {
  animation: opening-sidebar-step-in 780ms cubic-bezier(0.16, 1, 0.3, 1) 320ms both;
}

.asset-replica.opening-active .works-layer {
  animation: opening-card-in-sway 1040ms linear 640ms both;
}

.asset-replica.opening-active .archive-step-2 {
  animation: opening-sidebar-step-in 780ms cubic-bezier(0.16, 1, 0.3, 1) 640ms both;
}

.asset-replica.opening-active .resume-layer {
  animation: opening-card-in-sway 1040ms linear 960ms both;
}

.asset-replica.opening-active .archive-step-3 {
  animation: opening-sidebar-step-in 780ms cubic-bezier(0.16, 1, 0.3, 1) 960ms both;
}

.asset-replica.opening-active .skills-layer {
  animation: opening-card-in-sway 1040ms linear 1280ms both;
}

.asset-replica.opening-active .archive-step-4 {
  animation: opening-sidebar-step-in 780ms cubic-bezier(0.16, 1, 0.3, 1) 1280ms both;
}

.asset-replica.opening-active .contact-layer {
  animation: opening-card-in-sway 1040ms linear 1600ms both;
}

.asset-replica.opening-active .archive-step-5 {
  animation: opening-sidebar-step-in 780ms cubic-bezier(0.16, 1, 0.3, 1) 1600ms both;
}

.asset-replica.opening-active .receipt-layer {
  animation: opening-card-in-sway 1040ms linear 1920ms both;
}

.asset-replica.opening-active .archive-step-6 {
  animation: opening-sidebar-step-in 780ms cubic-bezier(0.16, 1, 0.3, 1) 1920ms both;
}

.asset-replica.opening-finished .about-layer,
.asset-replica.opening-finished .works-layer,
.asset-replica.opening-finished .resume-layer,
.asset-replica.opening-finished .skills-layer,
.asset-replica.opening-finished .contact-layer,
.asset-replica.opening-finished .receipt-layer {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1) rotate(0);
  animation: none;
}

.asset-replica.opening-finished .layer.is-legend-activated {
  animation: object-swing 680ms ease;
}

.asset-replica.opening-finished .archive-step {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
  animation: none;
}

@keyframes opening-object-in {
  0% {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(72vh) scale(0.99);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@keyframes opening-key-in-sway {
  0% {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(64vh) scale(0.995) rotate(-2.8deg);
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  }
  34% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1) rotate(1.65deg);
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  }
  50% {
    transform: translateY(0) scale(1) rotate(-1.05deg);
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  }
  64% {
    transform: translateY(0) scale(1) rotate(0.58deg);
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  }
  77% {
    transform: translateY(0) scale(1) rotate(-0.28deg);
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  }
  89% {
    transform: translateY(0) scale(1) rotate(0.12deg);
    animation-timing-function: ease-out;
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1) rotate(0);
  }
}

@keyframes opening-card-in-sway {
  0% {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(64vh) scale(0.995) rotate(-1.35deg);
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  }
  42% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1) rotate(0.92deg);
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  }
  60% {
    transform: translateY(0) scale(1) rotate(-0.54deg);
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  }
  76% {
    transform: translateY(0) scale(1) rotate(0.24deg);
    animation-timing-function: ease-out;
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1) rotate(0);
  }
}

@keyframes opening-sidebar-step-in {
  0% {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(1rem) scale(0.985);
  }
  58% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(-0.12rem) scale(1.005);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@keyframes bottega-mask-in {
  to {
    transform: translateY(0);
  }
}

@keyframes board-bg-square-mask-in {
  from {
    clip-path: var(--board-bg-mask-from-clip);
  }

  to {
    clip-path: var(--board-bg-start-clip);
  }
}

@keyframes board-bg-in {
  0% {
    opacity: 1;
    clip-path: var(--board-bg-start-clip);
  }

  12% {
    opacity: 1;
    clip-path: var(--board-bg-start-clip);
  }

  100% {
    opacity: 1;
    clip-path: inset(0);
  }
}

@keyframes bottega-percent-mask-out {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(calc(-1 * clamp(1.76rem, 5.2vw, 5rem)));
  }
}

@keyframes bottega-mask-out {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-112%);
  }
}
