@font-face {
  font-family: "PortfolioPixel";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/PixelifySans-VariableFont_wght.ttf") format("truetype");
}

@font-face {
  font-family: "Bitcount Prop Single";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/bitcount-prop-single/static/BitcountPropSingle-Light.ttf")
    format("truetype");
}

@font-face {
  font-family: "Bitcount Prop Single";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bitcount-prop-single/static/BitcountPropSingle-Regular.ttf")
    format("truetype");
}

@font-face {
  font-family: "Bitcount Prop Single";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/bitcount-prop-single/static/BitcountPropSingle-Bold.ttf")
    format("truetype");
}

@font-face {
  font-family: "Bitcount Prop Single Roman";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bitcount-prop-single/static/BitcountPropSingle_Roman-Regular.ttf")
    format("truetype");
}

@font-face {
  font-family: "Bitcount Prop Single Cursive";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bitcount-prop-single/static/BitcountPropSingle_Cursive-Regular.ttf")
    format("truetype");
}

@font-face {
  font-family: "Bitcount Grid Single";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bitcount-grid-single/BitcountGridSingle-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Bitcount Grid Single";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/bitcount-grid-single/BitcountGridSingle-Medium.ttf") format("truetype");
}

:root {
  font-synthesis: none;
  --ink: #202020;
  --muted: #575757;
  --paper: #f6f6f6;
  --dot: rgba(0, 0, 0, 0.026);
  --mint: #c8fff1;
  --pink: #ffe6f6;
  --rose: #ffe1e1;
  --yellow: #ffe5a4;
  --page-max: 1080px;
  --detail-page-max: 1080px;
  --chrome-visual-max: 1080px;
  --page-pad: 32px;
  --page-inner: var(--page-max);
  --grid-gap: 32px;
  --column-size: 276px;
  --vinyl-size: 250px;
  --pixel-title-weight: 400;
  --body-font:
    Inter, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial,
    sans-serif;
  --pixel-font:
    "PortfolioPixel", "Pixelify Sans", "Courier New", "PingFang SC",
    "Microsoft YaHei", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: auto;
  overflow-x: clip;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  font-family: var(--body-font);
  overflow-x: hidden;
  background:
    radial-gradient(circle, var(--dot) 2px, transparent 2.1px),
    var(--paper);
  background-size: 15px 15px;
}

body.home-body {
  --paper: #f6f6f6;
  --page-max: 1080px;
  --body-font:
    "PingFang SC", "Microsoft YaHei", Inter, "Helvetica Neue", Arial,
    sans-serif;
}

body:not(.home-body) {
  --pixel-font:
    "Bitcount Grid Single", "Bitcount Prop Single", "Bitcount Prop Single Roman",
    monospace;
}

@media (min-width: 600px) {
  body.home-body {
    --page-pad: 0px;
  }
}

@media (min-width: 600px) {
  html {
    overflow-x: hidden;
  }

  body {
    min-width: 320px;
    overflow-x: hidden;
  }
}

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

button {
  font: inherit;
}

.portfolio-home,
.jd-case-page,
.detail-page {
  width: var(--page-inner);
  max-width: var(--detail-page-max);
  margin-inline: auto;
  box-sizing: border-box;
  padding-inline: var(--page-pad);
}

.portfolio-home {
  max-width: var(--page-max);
}

.portfolio-home {
  min-height: 100vh;
  padding-block: 50px 132px;
}

img {
  max-width: 100%;
  height: auto;
}

.hero-header {
  display: grid;
  gap: 0;
  margin-bottom: 48px;
}

.brand-banner {
  position: relative;
  display: grid;
  width: 100%;
  height: 138px;
  place-items: center;
  margin: 0 auto;
  overflow: visible;
}

.brand-stage {
  --brand-scale: min(
    1,
    calc(min(100%, var(--page-max)) / 1080px)
  );
  --welcome-font-size: 42px;
  --welcome-line-height: 42px;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1080px;
  height: 138px;
  flex: 0 0 auto;
  transform: translate(-50%, -50%) scale(var(--brand-scale));
  transform-origin: center;
}

.brand-stage img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.welcome-type {
  position: absolute;
  left: 46.07%;
  top: 42.03%;
  color: #050505;
  font-family: var(--pixel-font);
  font-size: var(--welcome-font-size);
  font-weight: 400;
  line-height: var(--welcome-line-height);
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  font-variation-settings: "wght" 400;
  -webkit-font-smoothing: antialiased;
}

.welcome-type::after {
  display: inline-block;
  height: var(--welcome-line-height);
  width: 0.5ch;
  margin-left: 2px;
  content: "";
  animation: caret-blink 0.8s steps(1) infinite;
  border-right: 4px solid #050505;
  vertical-align: -3px;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 80px;
}

.location-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #1a1a1a;
  font-size: 24px;
  font-weight: 500;
  line-height: 24px;
}

.location-chip img {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  object-fit: contain;
  image-rendering: pixelated;
}

.action-nav {
  display: inline-flex;
  align-items: center;
  gap: 48px;
}

.action-nav > * + * {
  position: relative;
}

.action-nav > * + *::before {
  position: absolute;
  top: 50%;
  left: -25px;
  width: 1px;
  height: 24px;
  background: rgba(26, 26, 26, 0.22);
  content: "";
  transform: translateY(-50%);
}

.icon-button {
  position: relative;
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.icon-button img {
  width: 52px;
  height: 52px;
  display: block;
}

.icon-button:hover,
.icon-button:focus-visible {
  outline: none;
  transform: translateY(-3px);
}

.icon-button.is-liked img {
  filter: none;
}

.icon-button::after {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  z-index: 5;
  width: max-content;
  max-width: 160px;
  padding: 11px 18px;
  border: 0;
  border-radius: 12px;
  color: #e8e8e8;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  background: rgba(74, 74, 74, 0.98);
  content: attr(data-tooltip);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.icon-button:hover::after,
.icon-button:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

body.is-toast-showing .icon-button::after,
.icon-button.is-toast-suppressed::after {
  opacity: 0;
  transform: translate(-50%, 4px);
}

.main-grid {
  display: grid;
  width: 100%;
  max-width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 72px var(--grid-gap);
}

.profile-panel,
.works-panel,
.more-panel,
.vinyl-grid,
.more-grid {
  min-width: 0;
  max-width: 100%;
}

.profile-panel {
  grid-column: span 1;
}

.works-panel {
  grid-column: span 3;
}

.more-panel {
  grid-column: 1 / -1;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 42px;
  margin-bottom: 32px;
}

.profile-panel .section-title {
  margin-bottom: 16px;
}

.works-panel .section-title {
  margin-bottom: 36px;
}

.more-title-emphasis {
  font-weight: 500;
  font-variation-settings: "wght" 500;
}

.section-title h1,
.section-title h2 {
  margin: 0;
  font-family: var(--pixel-font);
  font-size: 42px;
  font-weight: var(--pixel-title-weight);
  line-height: 42px;
  text-transform: uppercase;
  letter-spacing: 0;
  font-variation-settings: "wght" var(--pixel-title-weight);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.title-icon {
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  image-rendering: pixelated;
}

.profile-avatar {
  display: block;
  width: 200px;
  height: 200px;
  margin: 0 auto 0;
  object-fit: contain;
}

.profile-copy {
  margin-top: 0;
}

.profile-copy h2 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 600;
  line-height: 20px;
}

.profile-copy p,
.profile-block p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
}

.profile-copy .role {
  margin-bottom: 16px;
  font-weight: 500;
  line-height: 16px;
}

.profile-copy > p:not(.role) {
  width: 192px;
  height: 44px;
}

.profile-block {
  margin-top: 36px;
}

.profile-block h3 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 600;
  line-height: 20px;
}

.education-block p {
  width: 192px;
  height: 44px;
}

.experience-block p {
  width: 276px;
  height: 16px;
  line-height: 16px;
  white-space: nowrap;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  height: 28px;
  min-height: 28px;
  padding: 0 12px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  background: var(--mint);
}

.tag-row.soft span {
  background: var(--pink);
}

.tag-row.warm span {
  background: #ffe8fb;
}

.contact-trigger {
  display: block;
  width: 244px;
  max-width: 100%;
  margin-top: 36px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.contact-trigger img {
  display: block;
  width: 100%;
  height: auto;
}

.contact-trigger:hover,
.contact-trigger:focus-visible {
  outline: none;
  transform: translateY(-3px);
}

.vinyl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px var(--grid-gap);
}

.vinyl-card {
  display: grid;
  justify-items: center;
  text-align: center;
  transition: transform 0.2s ease;
}

.vinyl-image {
  display: block;
  width: min(100%, var(--vinyl-size));
  aspect-ratio: 1;
  object-fit: contain;
  transform-origin: center;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.vinyl-card:hover,
.vinyl-card:focus-visible,
.more-card:hover,
.more-card:focus-visible {
  outline: none;
  transform: translateY(-4px);
}

.vinyl-card:hover .vinyl-image,
.vinyl-card:focus-visible .vinyl-image {
  animation: vinyl-spin 9s linear infinite;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.1));
}

.vinyl-card strong {
  display: block;
  margin-top: 24px;
  font-size: 20px;
  font-weight: 600;
  line-height: 20px;
}

.card-arrow {
  display: block;
  width: 32px;
  height: 32px;
  margin-top: 16px;
}

.more-panel {
  margin-top: 0;
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: stretch;
}

.more-card {
  display: block;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

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

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 72px;
}

.site-footer img {
  display: block;
  max-width: 100%;
  object-fit: fill;
}

.site-footer img:first-child {
  width: 264px;
  height: 36px;
}

.site-footer img:last-child {
  width: 399px;
  height: 24px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 420;
  max-width: calc(100% - 48px);
  padding: 12px 18px;
  border: 0;
  border-radius: 12px;
  color: #ececec;
  font-size: 14px;
  font-weight: 400;
  background: rgba(74, 74, 74, 0.98);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, -100%);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  place-items: center;
  padding: 18px;
}

.modal.is-open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
}

.modal-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
  width: min(400px, calc(100% - 48px));
  max-width: calc(100vw - 48px);
  background: transparent;
}

.modal-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  width: 100%;
  min-height: 437px;
  padding: 36px 36px 40px;
  border-radius: 28.767px;
  background: #fff;
  box-sizing: border-box;
}

.modal-card__header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
}

.modal-card__subtitle,
.modal-card__qr,
.modal-contact-copy {
  transform: translateY(-4px);
}

.modal-card__title-image {
  display: block;
  width: 258px;
  max-width: 100%;
  height: auto;
  image-rendering: pixelated;
}

.modal-card__subtitle {
  margin: -4px 0 0;
  color: #1a1a1a;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
}

.modal-card__qr {
  width: 230px;
  height: 230px;
  flex: 0 0 auto;
}

.modal-card__qr img {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}

.modal-contact-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  width: 100%;
}

.modal-contact-copy p {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #1a1a1a;
  font-family: "Bitcount Prop Single", "Bitcount Prop Single Roman", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 14px;
  text-transform: uppercase;
  letter-spacing: 0;
  user-select: text;
}

.modal-contact-copy span,
.modal-contact-copy a {
  color: inherit;
  font: inherit;
  text-decoration: none;
}

.modal-close {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background-color 160ms ease;
}

.modal-close:hover,
.modal-close:focus-visible {
  background: #fc0;
  transform: translateY(-2px);
}

.modal-close:active {
  transform: translateY(0);
}

.modal-close__icon {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  transform: rotate(45deg);
}

.modal-close__icon::before,
.modal-close__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  background: #000;
  transform: translate(-50%, -50%);
}

.modal-close__icon::before {
  width: 24px;
  height: 4px;
}

.modal-close__icon::after {
  width: 4px;
  height: 24px;
}

@media (max-width: 600px) {
  .modal {
    padding: 16px;
  }

  .modal-panel {
    gap: 28px;
    width: min(400px, calc(100% - 32px));
    max-width: calc(100vw - 32px);
  }

  .modal-card {
    min-height: auto;
    padding: 28px 20px 28px;
    border-radius: 24px;
  }

  .modal-card__header {
    margin-top: 10px;
  }

  .modal-card__title-image {
    width: min(258px, calc(100vw - 132px));
  }

  .modal-card__subtitle {
    font-size: 14px;
    line-height: 14px;
  }

  .modal-card__qr {
    width: min(230px, calc(100vw - 120px));
    height: min(230px, calc(100vw - 120px));
  }

  .modal-contact-copy p {
    flex-wrap: wrap;
    font-size: 12px;
    line-height: 14px;
  }
}

.detail-page {
  display: grid;
  align-content: start;
  min-height: 100vh;
  padding-top: 50px;
  padding-bottom: 100px;
}

.detail-page h1 {
  max-width: 760px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
}

.detail-page p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.figma-export-page {
  display: block;
  align-content: normal;
  min-height: 100vh;
  padding-block: 80px 100px;
}

.project-detail-shell .figma-export-page {
  padding-top: calc(var(--project-header-height) + 48px);
}

.figma-export-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.figma-export-figure {
  display: block;
  width: 100%;
  margin: 0;
}

.figma-export-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.case-rebuild-page {
  display: block;
  align-content: normal;
  min-height: 100vh;
  padding-top: 72px;
  padding-bottom: 100px;
}

.case-rebuild-page h1,
.case-rebuild-page h2,
.case-rebuild-page h3,
.case-rebuild-page p {
  margin: 0;
  max-width: 100%;
}

.case-rebuild-page img {
  display: block;
  width: 100%;
  height: auto;
}

.case-rebuild-stack {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.case-rebuild-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 72px;
  align-items: center;
  min-height: 520px;
}

.case-rebuild-kicker {
  color: #8a8a8a;
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.case-rebuild-title {
  margin-top: 72px;
  color: #171717;
  font-size: 64px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0;
}

.case-rebuild-subtitle {
  margin-top: 72px;
  color: #171717;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.25;
}

.case-rebuild-copy {
  margin-top: 24px;
  color: #8a8a8a;
  font-size: 28px;
  font-weight: 400;
  line-height: 2;
}

.case-rebuild-media {
  display: grid;
  gap: 28px;
}

.case-rebuild-media img {
  object-fit: contain;
}

.case-rebuild-section {
  display: grid;
  gap: 48px;
}

.bytedance-work {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 72px;
  align-items: center;
}

.bytedance-work + .bytedance-work {
  padding-top: 72px;
}

.bytedance-work-title {
  color: #171717;
  font-size: 54px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
}

.bytedance-work-cn {
  margin-top: 72px;
  color: #171717;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.35;
}

.bytedance-work-copy {
  margin-top: 24px;
  color: #8a8a8a;
  font-size: 26px;
  line-height: 2;
}

.widgets-page {
  color: #fff;
  background: #000;
}

.widgets-page .project-nav-button {
  color: #fff;
}

.widgets-page .case-rebuild-page {
  width: 100%;
  max-width: var(--page-max);
  background: #000;
}

.widgets-inner {
  width: var(--page-inner);
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

.widgets-title {
  color: #fff;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.2;
}

.widgets-copy {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 22px;
  line-height: 1.8;
}

.widgets-gallery {
  display: grid;
  gap: 48px;
  margin-top: 48px;
}

.widgets-gallery figure {
  margin: 0;
}

.widgets-gallery img {
  width: 100%;
}

@media (max-width: 600px) {
  .case-rebuild-stack {
    gap: 72px;
  }

  .case-rebuild-hero,
  .bytedance-work {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .case-rebuild-kicker {
    font-size: 26px;
  }

  .case-rebuild-title {
    margin-top: 40px;
    font-size: 42px;
  }

  .case-rebuild-subtitle,
  .bytedance-work-cn {
    margin-top: 40px;
    font-size: 28px;
  }

  .case-rebuild-copy,
  .bytedance-work-copy {
    margin-top: 28px;
    font-size: 17px;
    line-height: 1.8;
  }

  .bytedance-work-title {
    font-size: 36px;
  }
}

.case-body {
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

.jd-case-page {
  min-height: 100vh;
  padding-block: 50px 100px;
  color: var(--ink);
  background:
    radial-gradient(circle, var(--dot) 2px, transparent 2.1px),
    var(--paper);
  background-size: 15px 15px;
}

.project-page-header {
  display: block;
  width: 100%;
  max-width: var(--detail-page-max);
  margin: 0 0 48px;
}

.project-page-header img {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: auto;
}

.case-hero {
  max-width: 820px;
  margin-bottom: 64px;
}

.case-eyebrow {
  margin: 0 0 18px;
  color: #e1251b;
  font-family: var(--pixel-font);
  font-size: 20px;
  font-weight: 520;
  line-height: 1;
  text-transform: uppercase;
}

.case-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0;
}

.case-hero p {
  max-width: 680px;
  margin: 24px 0 0;
  color: #3f3f3f;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.8;
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 76px;
  align-items: start;
}

.case-copy {
  display: grid;
  gap: 64px;
}

.case-block {
  position: relative;
  display: grid;
  gap: 18px;
  padding-left: 76px;
}

.case-number {
  position: absolute;
  top: 0;
  left: 0;
  color: #e1251b;
  font-family: var(--pixel-font);
  font-size: 42px;
  font-weight: 520;
  line-height: 0.9;
}

.case-block h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
}

.case-block p,
.case-meta p {
  margin: 0;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
}

.case-meta {
  display: grid;
  gap: 6px;
}

.label {
  color: #151515;
  font-weight: 500;
}

.value {
  font-weight: 400;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-metrics li {
  display: grid;
  gap: 6px;
  min-height: 108px;
  align-content: center;
  padding: 18px;
  border: 2px solid #111;
  background: #fff;
  box-shadow: 5px 5px 0 #111;
}

.case-metrics strong {
  color: #e1251b;
  font-family: var(--pixel-font);
  font-size: 32px;
  font-weight: 520;
  line-height: 1;
}

.case-metrics span {
  color: #333;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.case-visuals {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 24px;
}

.case-image-block {
  display: grid;
  min-height: 220px;
  place-items: center;
  border: 2px solid rgba(0, 0, 0, 0.18);
  background:
    linear-gradient(135deg, rgba(225, 37, 27, 0.08), transparent 46%),
    #fff;
  overflow: hidden;
}

.case-image-block.tall {
  min-height: 520px;
}

.case-image-block img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.case-image-block span {
  color: rgba(0, 0, 0, 0.42);
  font-family: var(--pixel-font);
  font-size: 22px;
  font-weight: 520;
  line-height: 1;
}

.detail-scroll,
.case-section,
.library3d-section,
.home-project-section {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}

.detail-scroll {
  height: auto;
  margin-top: 0;
  overflow: visible;
  background:
    radial-gradient(circle, var(--dot) 2px, transparent 2.1px),
    var(--paper);
  background-size: 15px 15px;
}

.case-section {
  padding: 0;
  scroll-margin-top: 24px;
}

.case-section + .case-section {
  border-top: 0;
}

.case-text-shell {
  display: flex;
  flex-direction: column;
  gap: 72px;
  width: 100%;
  max-width: 100%;
}

.case-text-shell > h1 {
  margin: 0 0 -30px;
  color: #1a1a1a;
  font-size: 34px;
  font-weight: 600;
  line-height: 40px;
  letter-spacing: 0;
}

.case-info-row {
  display: grid;
  grid-template-columns: 276px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.case-index {
  color: #000;
  font-family: var(--pixel-font);
  font-size: 34px;
  font-weight: 400;
  line-height: 34px;
  text-transform: uppercase;
}

.case-info-copy {
  display: grid;
  gap: 24px;
  color: #1a1a1a;
}

.case-info-copy h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
}

.case-info-copy h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.case-info-copy p,
.case-meta p {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 28px;
}

.case-meta {
  display: grid;
  gap: 8px;
}

.case-problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.case-problem-grid div {
  display: grid;
  gap: 16px;
}

.case-problem-grid p {
  line-height: 28px;
}

.case-meta-two {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
}

.case-image-list {
  display: grid;
  gap: 0;
  margin-top: 72px;
}

.case-image-list img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  object-fit: contain;
}

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

@keyframes caret-blink {
  50% {
    opacity: 0;
  }
}

@keyframes home-marquee-scroll {
  to {
    transform: translateX(-50%);
  }
}

@keyframes home-click-wiggle {
  0%,
  22%,
  100% {
    transform: rotate(0deg);
  }

  5% {
    transform: rotate(-12deg);
  }

  11% {
    transform: rotate(12deg);
  }

  17% {
    transform: rotate(-7deg);
  }
}

@media (max-width: 600px) {
  :root {
    --grid-gap: 24px;
    --column-size: 220px;
    --vinyl-size: 220px;
  }

  .portfolio-home {
    padding-top: 92px;
  }

  .brand-banner {
    height: 110px;
  }

  .brand-stage {
    --brand-scale: min(0.797, calc((100% - (var(--page-pad) * 2)) / 1080));
  }

  .location-chip {
    font-size: 20px;
  }

  .section-title h1,
  .section-title h2 {
    font-size: 30px;
  }

  .vinyl-grid {
    gap: 44px var(--grid-gap);
  }

  .case-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 52px;
  }

  .case-image-block.tall {
    min-height: 460px;
  }

  .case-info-row {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .case-problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  :root {
    --vinyl-size: 240px;
  }

  .toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .action-nav {
    align-self: flex-end;
  }

  .main-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 76px 32px;
  }

  .profile-panel,
  .works-panel,
  .more-panel {
    grid-column: 1 / -1;
  }

  .profile-panel {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0 40px;
    align-items: start;
  }

  .profile-panel .section-title {
    grid-column: 1 / -1;
  }

  .profile-avatar {
    margin: 0;
  }

  .profile-copy,
  .profile-block,
  .contact-trigger {
    grid-column: 2;
  }

  .profile-copy {
    grid-row: 2;
  }

  .profile-block {
    margin-top: 28px;
  }

  .contact-trigger {
    max-width: 276px;
  }

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

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .case-text-shell {
    gap: 56px;
  }

  .case-info-row {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .case-index,
  .case-text-shell > h1 {
    font-size: 30px;
    line-height: 32px;
  }
}

@media (max-width: 600px) {
  :root {
    --page-pad: 24px;
    --dot: rgba(0, 0, 0, 0.026);
    --vinyl-size: 220px;
  }

  body {
    background-size: 15px 15px;
  }

  .portfolio-home {
    padding-block: 56px 84px;
  }

  .hero-header {
    gap: 34px;
    margin-bottom: 48px;
  }

  .brand-banner {
    width: 100%;
    height: 86px;
  }

  .brand-stage {
    --brand-scale: min(0.623, calc((100% - 48px) / 1080));
  }

  .location-chip {
    font-size: 17px;
  }

  .location-chip img,
  .icon-button,
  .icon-button img {
    width: 44px;
    height: 44px;
  }

  .action-nav {
    gap: 24px;
  }

  .action-nav > * + *::before {
    left: -13px;
  }

  .main-grid,
  .profile-panel,
  .vinyl-grid,
  .more-grid {
    grid-template-columns: 1fr;
  }

  .main-grid {
    gap: 66px;
  }

  .profile-panel {
    display: block;
  }

  .profile-avatar {
    width: 176px;
    height: 176px;
    margin: 0 auto;
  }

  .profile-copy > p:not(.role),
  .education-block p,
  .experience-block p {
    width: 100%;
    height: auto;
    white-space: normal;
  }

  .profile-copy,
  .profile-block,
  .contact-trigger {
    grid-column: auto;
  }

  .contact-trigger {
    max-width: 276px;
  }

  .section-title {
    margin-bottom: 28px;
  }

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

  .vinyl-grid {
    gap: 54px;
  }


  .site-footer {
    margin-top: 72px;
  }

  .site-footer img {
    height: auto;
    max-height: 42px;
  }

  .detail-page {
    padding-top: 72px;
    padding-bottom: 56px;
  }

  .detail-page p:not(.eyebrow) {
    font-size: 16px;
  }

  .case-section {
    padding: 0 0 72px;
  }

  .case-text-shell {
    gap: 46px;
  }

  .case-text-shell > h1 {
    margin-bottom: -12px;
    font-size: 26px;
    line-height: 30px;
  }

  .case-info-row,
  .case-problem-grid {
    grid-template-columns: 1fr;
  }

  .case-index {
    font-size: 26px;
    line-height: 28px;
  }

  .case-info-copy h2 {
    font-size: 18px;
  }

  .case-info-copy p,
  .case-meta p {
    font-size: 13px;
    line-height: 24px;
  }
}

.project-bottom-nav {
  display: flex;
  width: 100%;
  margin: 72px 0 0;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
  opacity: 1;
  transform: none;
}

.detail-page .project-bottom-nav {
  margin-top: 72px;
}

.jd-case-page .project-bottom-nav {
  padding-inline: 0;
}

.project-nav-prev {
  margin-right: auto;
}

.project-bottom-nav .project-nav-next {
  margin-left: auto;
}

.project-nav-button {
  appearance: none;
}

.project-bottom-nav[hidden] {
  display: none;
}

.project-nav-button {
  display: flex;
  max-width: 430px;
  align-items: center;
  gap: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #171717;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  pointer-events: auto;
  transform-origin: center;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-nav-next {
  margin-left: auto;
  text-align: right;
  flex-direction: row;
}

.project-nav-button:hover,
.project-nav-button:focus-visible {
  outline: none;
  transform: translateY(-4px);
}

.project-nav-button:active {
  transform: translateY(-2px);
}

.project-nav-button[hidden] {
  display: none;
}

.project-nav-placeholder {
  color: #c9c9c9;
  font-family: var(--body-font);
  font-size: 24px;
  font-weight: 400;
  line-height: 24px;
}

.project-nav-button.is-disabled,
.project-nav-button:disabled {
  color: #8a8a8a;
  cursor: default;
  opacity: 0.45;
}

.project-nav-button.is-disabled:hover,
.project-nav-button.is-disabled:focus-visible,
.project-nav-button:disabled:hover,
.project-nav-button:disabled:focus-visible {
  opacity: 0.45;
}

.project-nav-icon {
  position: relative;
  display: block;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  transform-origin: center;
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-nav-icon img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  transform-origin: center;
  transition:
    opacity 260ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-nav-icon-default {
  opacity: 1;
  transform: scale(1);
}

.project-nav-icon-hover {
  opacity: 0;
  transform: scale(0.9);
}

.project-nav-button:hover .project-nav-icon-default,
.project-nav-button:focus-visible .project-nav-icon-default {
  opacity: 0;
  transform: scale(1.08);
}

.project-nav-button:hover .project-nav-icon-hover,
.project-nav-button:focus-visible .project-nav-icon-hover {
  opacity: 1;
  transform: scale(1);
}

.project-nav-icon--prev .project-nav-icon-hover {
  transform: rotate(180deg) scale(0.9);
}

.project-nav-button:hover .project-nav-icon--prev .project-nav-icon-hover,
.project-nav-button:focus-visible .project-nav-icon--prev .project-nav-icon-hover {
  transform: rotate(180deg) scale(1);
}

.project-nav-button:hover .project-nav-icon,
.project-nav-button:focus-visible .project-nav-icon {
  transform: scale(1.05);
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.08));
}

.project-nav-button:active .project-nav-icon {
  transform: scale(1.02);
}

.project-nav-copy {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 4px;
}

.project-nav-copy small {
  color: #171717;
  font-family: var(--body-font);
  font-size: 24px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0;
}

.project-nav-copy strong {
  display: block;
  overflow: hidden;
  max-width: 340px;
  font-size: 24px;
  font-weight: 500;
  line-height: 24px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .project-bottom-nav {
    width: 100%;
    margin-top: 72px;
  }

  .project-nav-button {
    max-width: calc(50% - 6px);
    gap: 10px;
  }

  .project-nav-icon {
    width: 40px;
    height: 40px;
  }

  .project-nav-copy small {
    font-size: 14px;
    line-height: 16px;
  }

  .project-nav-copy strong {
    max-width: 92px;
    font-size: 14px;
    line-height: 16px;
  }

  .project-nav-placeholder {
    font-size: 14px;
    line-height: 16px;
  }
}

.home-project-section {
  padding: 0;
}

.home-project-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.home-project-title + .home-project-row,
.home-project-title + .home-project-figure,
.home-project-title + .widgets-case-showcase {
  margin-top: 72px;
}

.home-project-row + .home-project-row {
  margin-top: 72px;
}

.home-project-row + .home-project-figure,
.home-project-row + .widgets-case-showcase {
  margin-top: 48px;
}

.home-project-figure + .home-project-row,
.widgets-case-showcase + .home-project-row {
  margin-top: 72px;
}

.home-project-figure + .home-project-figure,
.home-project-figure + .widgets-case-showcase,
.widgets-case-showcase + .home-project-figure {
  margin-top: 48px;
}

.home-project-title {
  margin: 0;
  color: #1a1a1a;
  font-size: 42px;
  font-weight: 600;
  line-height: 42px;
  letter-spacing: 0;
}

.home-project-row {
  display: grid;
  grid-template-columns: 276px minmax(0, 892px);
  gap: 32px;
  align-items: start;
}

.home-project-index {
  color: #000;
  font-family: var(--pixel-font);
  font-size: 42px;
  font-weight: 400;
  line-height: 42px;
  text-transform: uppercase;
}

.home-project-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  color: #1a1a1a;
}

.home-project-copy h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 24px;
}

.home-project-meta,
.home-project-richtext {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.home-project-meta p,
.home-project-richtext p,
.home-project-goal,
.home-project-label-only,
.home-project-problem p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
}

.home-project-meta .label,
.home-project-goal .label,
.home-project-richtext .label,
.home-project-label-only {
  font-weight: 500;
}

.home-project-label-only {
  line-height: 16px;
}

.home-project-problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.home-project-problem {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.home-project-problem h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 16px;
}

.home-project-figure {
  width: 100%;
  margin: 0;
}

.home-project-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
}

.home-project-row-result {
  min-height: 182px;
}

.home-project-copy-overview {
  max-width: 599px;
}

.home-project-copy-responsibility,
.home-project-copy-result {
  max-width: 892px;
}

.app13-section {
  padding-top: 0;
}

.app13-stack {
  gap: 72px;
}

.app13-text-block {
  gap: 0;
}

.app13-work-block {
  gap: 48px;
}

.app13-figure {
  aspect-ratio: 1200 / 675;
}

.app13-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app13-figure-stack {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
}

.library3d-section {
  padding-top: 0;
}

.library3d-stack {
  gap: 72px;
}

.library3d-text-block {
  gap: 0;
}

.library3d-figure {
  background: #fff;
}

.library3d-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.library3d-figure-overview {
  aspect-ratio: 1200 / 624;
}

.library3d-figure-assets {
  aspect-ratio: 1200 / 588;
}

.library3d-figure-usage {
  aspect-ratio: 1200 / 735;
}

.myjd-case-page {
  --myjd-content-max: 1080px;
  --myjd-grid-gap: 36px;
  --myjd-block-gap: 48px;
  --myjd-section-gap: 100px;
  --myjd-accent-red: #c30000;
  --detail-page-max: var(--myjd-content-max);
  width: 100%;
  max-width: var(--myjd-content-max);
  padding-inline: 0;
  padding-top: 56px;
  padding-bottom: 100px;
  background: transparent;
}

.myjd-detail-scroll {
  background: transparent;
}

.myjd-page-header {
  max-width: var(--myjd-content-max);
  margin: 0 0 68px;
}

.myjd-page-header img {
  position: static;
  z-index: auto;
  width: calc(100% * 3345 / 3240);
  max-width: none;
  margin-left: calc(-100% * 105 / 3240);
}

.myjd-detail-section {
  display: flex;
  flex-direction: column;
  gap: var(--myjd-section-gap);
}

.myjd-project {
  display: flex;
  flex-direction: column;
  gap: var(--myjd-block-gap);
}

.myjd-project-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.myjd-project-badge {
  position: relative;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  border-radius: 7px;
  background: linear-gradient(180deg, #31db57 0%, #18b43d 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.myjd-project-badge::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 11px;
  width: 6px;
  height: 12px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(45deg);
}

.myjd-project-title,
.myjd-row-title,
.myjd-row-index,
.myjd-copy-block p {
  margin: 0;
  max-width: none;
}

.myjd-project-title {
  color: #191919;
  font-size: clamp(30px, 2.5vw, 42px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.myjd-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--myjd-grid-gap);
  width: 100%;
}

.myjd-row {
  align-items: start;
}

.myjd-row-index {
  color: #171717;
  font-family: var(--pixel-font);
  font-size: clamp(28px, 2.55vw, 42px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.myjd-row-content {
  display: grid;
  grid-column: 2 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--myjd-grid-gap);
}

.myjd-row-content--overview {
  column-gap: var(--myjd-grid-gap);
  row-gap: 16px;
  align-items: start;
}

.myjd-row-content--overview .myjd-row-title {
  grid-column: 1 / -1;
}

.myjd-row-content--stacked {
  row-gap: 16px;
  align-items: start;
}

.myjd-row-content--stacked .myjd-row-title {
  grid-column: 1 / -1;
}

.myjd-row-content--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.myjd-column {
  min-width: 0;
}

.myjd-column--lead {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.myjd-row-title {
  color: #171717;
  font-size: clamp(24px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.myjd-copy-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.myjd-copy-block--meta {
  gap: 0;
}

.myjd-copy-block--metrics {
  gap: 0;
}

.myjd-copy-block--result {
  gap: 18px;
}

.myjd-copy-block--result-metrics {
  gap: 10px;
}

.myjd-copy-block p {
  color: #252525;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.74;
  letter-spacing: -0.01em;
}

.myjd-copy-block strong {
  color: #171717;
  font-weight: 600;
}

.myjd-copy-block p.myjd-highlight,
.myjd-copy-block--metrics p.myjd-highlight {
  color: var(--myjd-accent-red);
  font-weight: 400;
}

.myjd-copy-block p .myjd-accent,
.myjd-accent {
  color: var(--myjd-accent-red);
  font-weight: inherit;
}

.myjd-grid--figure {
  align-items: start;
}

.myjd-grid-spacer {
  display: none;
}

.myjd-figure {
  grid-column: 1 / -1;
  margin: 0;
  background: transparent;
}

.myjd-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.myjd-bottom-nav {
  margin: 0;
  justify-content: flex-end;
}

.transaction-detail-nav {
  display: flex;
  width: 100%;
  margin-top: 100px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.transaction-detail-nav-button {
  display: flex;
  max-width: 430px;
  align-items: center;
  gap: 24px;
  color: #171717;
  transform-origin: center;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.transaction-detail-nav-button--prev {
  margin-right: auto;
}

.transaction-detail-nav-button--next {
  margin-left: auto;
  text-align: right;
}

.transaction-detail-nav-button:hover,
.transaction-detail-nav-button:focus-visible {
  outline: none;
  transform: translateY(-4px);
}

.transaction-detail-nav-button:active {
  transform: translateY(-2px);
}

.transaction-detail-nav-icon {
  position: relative;
  display: block;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  transform-origin: center;
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.transaction-detail-nav-icon img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  transform-origin: center;
  transition:
    opacity 260ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.transaction-detail-nav-icon-default {
  opacity: 1;
  transform: scale(1);
}

.transaction-detail-nav-icon-hover {
  opacity: 0;
  transform: scale(0.9);
}

.transaction-detail-nav-icon--prev .transaction-detail-nav-icon-hover {
  transform: rotate(180deg) scale(0.9);
}

.transaction-detail-nav-button:hover .transaction-detail-nav-icon,
.transaction-detail-nav-button:focus-visible .transaction-detail-nav-icon {
  transform: scale(1.05);
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.08));
}

.transaction-detail-nav-button:hover .transaction-detail-nav-icon-default,
.transaction-detail-nav-button:focus-visible .transaction-detail-nav-icon-default {
  opacity: 0;
  transform: scale(1.08);
}

.transaction-detail-nav-button:hover .transaction-detail-nav-icon-hover,
.transaction-detail-nav-button:focus-visible .transaction-detail-nav-icon-hover {
  opacity: 1;
  transform: scale(1);
}

.transaction-detail-nav-button:hover .transaction-detail-nav-icon--prev .transaction-detail-nav-icon-hover,
.transaction-detail-nav-button:focus-visible .transaction-detail-nav-icon--prev .transaction-detail-nav-icon-hover {
  transform: rotate(180deg) scale(1);
}

.transaction-detail-nav-button:active .transaction-detail-nav-icon {
  transform: scale(1.02);
}

.transaction-detail-nav-copy {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 4px;
}

.transaction-detail-nav-copy small,
.transaction-detail-nav-copy strong {
  color: #171717;
  font-family: var(--body-font);
  font-size: 24px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0;
}

.transaction-detail-nav-copy strong {
  display: block;
  overflow: hidden;
  max-width: 340px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .myjd-case-page {
    padding-top: 44px;
    padding-bottom: 88px;
  }

  .myjd-page-header {
    margin-bottom: 56px;
  }

  .myjd-detail-section {
    gap: 88px;
  }

  .myjd-project {
    gap: 44px;
  }

  .myjd-copy-block p {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .myjd-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .myjd-row-content {
    grid-column: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .myjd-row-content--overview .myjd-row-title,
  .myjd-row-content--stacked .myjd-row-title {
    grid-column: 1 / -1;
  }

  .myjd-column--lead {
    gap: 20px;
  }

  .myjd-figure {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .myjd-case-page {
    padding-inline: 16px;
    padding-top: 32px;
    padding-bottom: 72px;
  }

  .myjd-page-header {
    margin-bottom: 44px;
  }

  .myjd-detail-section {
    gap: 72px;
  }

  .myjd-project {
    gap: 36px;
  }

  .myjd-project-head {
    align-items: flex-start;
    gap: 12px;
  }

  .myjd-project-badge {
    width: 24px;
    height: 24px;
    border-radius: 6px;
  }

  .myjd-project-badge::before {
    top: 5px;
    left: 9px;
    width: 5px;
    height: 10px;
    border-right-width: 2px;
    border-bottom-width: 2px;
  }

  .myjd-row-content {
    grid-template-columns: 1fr;
  }

  .myjd-column--lead {
    gap: 16px;
  }

  .myjd-copy-block {
    gap: 12px;
  }

  .myjd-copy-block p {
    font-size: 15px;
    line-height: 1.8;
  }

  .myjd-bottom-nav {
    margin-top: 0;
  }

  .transaction-detail-nav {
    margin-top: 72px;
    gap: 12px;
  }

  .transaction-detail-nav-button {
    max-width: calc(50% - 6px);
    gap: 10px;
  }

  .transaction-detail-nav-icon {
    width: 40px;
    height: 40px;
  }

  .transaction-detail-nav-copy small,
  .transaction-detail-nav-copy strong {
    font-size: 14px;
    line-height: 16px;
  }

  .transaction-detail-nav-copy strong {
    max-width: 108px;
  }
}

.widgets-case-showcase {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
  background: #000;
  overflow: hidden;
}

.widgets-case-figure {
  background: #000;
}

.widgets-case-figure img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 600px) {
  .home-project-row {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .home-project-title,
  .home-project-index {
    font-size: 34px;
    line-height: 34px;
  }

}

@media (max-width: 600px) {
  .home-project-title {
    font-size: 32px;
    line-height: 34px;
  }

  .home-project-row {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .home-project-index {
    font-size: 30px;
    line-height: 30px;
  }

  .home-project-problem-grid {
    grid-template-columns: 1fr;
  }

  .myjd-two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .app13-work-block {
    gap: 32px;
  }

  .home-project-title {
    font-size: 26px;
    line-height: 30px;
  }

  .home-project-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-project-index {
    font-size: 26px;
    line-height: 28px;
  }

  .home-project-copy {
    gap: 24px;
  }

  .home-project-copy h2 {
    font-size: 20px;
    line-height: 22px;
  }

  .home-project-meta p,
  .home-project-richtext p,
  .home-project-goal,
  .home-project-label-only,
  .home-project-problem p,
  .home-project-problem h3 {
    font-size: 14px;
    line-height: 28px;
  }

  .home-project-label-only,
  .home-project-problem h3 {
    line-height: 20px;
  }
}

body.home-body .portfolio-home {
  padding-top: 50px;
  padding-bottom: 200px;
}

body.home-body .hero-header {
  position: static;
  width: 100%;
  max-width: 100%;
  padding-right: 0;
  padding-left: 0;
  margin-bottom: 48px;
  transform: none;
}

body.home-body .brand-banner,
body.home-body .hero-header .brand-banner {
  height: 138px;
}

body.home-body .brand-stage {
  --brand-scale: min(
    1,
    calc(min(100vw - (var(--page-pad) * 2), var(--page-max)) / 1200px)
  );
  height: 138px;
}

body.home-body .toolbar,
body.home-body .hero-header .toolbar {
  height: auto;
  min-height: 56px;
}

@media (min-width: 600px) {
  body.home-body {
    --grid-gap: 40px;
    --vinyl-size: 208px;
  }

  body.home-body .main-grid {
    grid-template-columns: 208px minmax(0, 1fr);
    column-gap: 72px;
    row-gap: 72px;
  }

  body.home-body .profile-panel,
  body.home-body .works-panel {
    grid-column: auto;
  }

  body.home-body .more-panel {
    grid-column: 1 / -1;
  }

  body.home-body .profile-panel .section-title {
    margin-bottom: 20px;
  }

  body.home-body .works-panel .section-title {
    margin-bottom: 40px;
  }

  body.home-body .section-title h1,
  body.home-body .section-title h2 {
    font-size: 38px;
    line-height: 38px;
  }

  body.home-body .profile-avatar {
    width: 172px;
    height: 172px;
  }

  body.home-body .profile-copy h2,
  body.home-body .profile-block h3,
  body.home-body .vinyl-card strong {
    font-size: 17px;
    line-height: 17px;
  }

  body.home-body .profile-copy p,
  body.home-body .profile-block p {
    font-size: 14px;
    line-height: 24px;
  }

  body.home-body .profile-copy .role,
  body.home-body .experience-block p {
    line-height: 14px;
  }

  body.home-body .profile-copy > p:not(.role),
  body.home-body .education-block p,
  body.home-body .experience-block p {
    width: 100%;
    height: auto;
  }

  body.home-body .experience-block p {
    white-space: normal;
  }

  body.home-body .profile-block,
  body.home-body .contact-trigger {
    margin-top: 28px;
  }

  body.home-body .tag-row {
    gap: 10px;
    margin-top: 12px;
  }

  body.home-body .tag-row span {
    height: 24px;
    min-height: 24px;
    padding: 0 10px;
    font-size: 14px;
  }

  body.home-body .contact-trigger {
    width: 204px;
  }

  body.home-body .vinyl-grid {
    gap: 44px 28px;
  }

  body.home-body .card-arrow {
    margin-top: 14px;
  }
}

/* Global page width contract.
   Backgrounds may span the viewport, but visible content lives inside one
   centered reading-width container. */
.page-section {
  width: 100%;
  padding-right: 24px;
  padding-left: 24px;
  box-sizing: border-box;
}

.page-container {
  width: var(--page-max);
  max-width: var(--page-max);
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
}

.portfolio-home,
.jd-case-page,
.detail-page,
.widgets-inner {
  width: var(--detail-page-max);
  max-width: var(--detail-page-max);
  margin-right: auto;
  margin-left: auto;
  padding-right: 0;
  padding-left: 0;
  box-sizing: border-box;
}

.portfolio-home {
  width: var(--page-max);
  max-width: var(--page-max);
}

.hero-header,
body.home-body .hero-header {
  width: var(--page-max);
  max-width: var(--page-max);
  box-sizing: border-box;
}

.widgets-page .case-rebuild-page {
  background: transparent;
}

.widgets-page .widgets-inner {
  width: 100%;
  max-width: var(--detail-page-max);
  padding-right: 0;
  padding-left: 0;
}

.case-rebuild-stack,
.bytedance-work,
.widgets-gallery,
.project-bottom-nav,
.figma-export-stack,
.home-project-stack,
.app13-work-stack,
.library3d-stack {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.case-rebuild-page img,
.figma-export-figure img,
.case-rebuild-media img,
.widgets-gallery img,
.home-project-figure img,
.app13-figure img,
.library3d-figure img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 600px) {
  :root {
    --page-inner: 100%;
  }

  body {
    min-width: 320px;
    overflow-x: hidden;
  }

  .page-container,
  .portfolio-home,
  .jd-case-page,
  .detail-page,
  .widgets-inner,
  .hero-header,
  body.home-body .hero-header {
    width: 100%;
    max-width: 100%;
  }

  .portfolio-home,
  .jd-case-page,
  .detail-page,
  .widgets-inner,
  .widgets-page .case-rebuild-page {
    padding-right: 24px;
    padding-left: 24px;
  }
}

/* MyJD-standard detail pages
   This final layer intentionally wins over older case-page styles above. */
body.myjd-case-body {
  --paper: #f6f6f6;
  color: #171717;
  font-family: var(--body-font);
  background:
    radial-gradient(circle, var(--dot) 2px, transparent 2.1px),
    var(--paper);
  background-size: 15px 15px;
}

body.myjd-case-body .myjd-case-page {
  --myjd-content-max: 1080px;
  --myjd-grid-gap: 36px;
  --myjd-block-gap: 48px;
  --myjd-section-gap: 100px;
  --myjd-accent-red: #c30000;
  --detail-page-max: var(--myjd-content-max);
  width: 100%;
  max-width: var(--myjd-content-max);
  min-height: 100vh;
  margin-inline: auto;
  padding: 0 0 100px;
  color: #171717;
  background: transparent;
}

body.myjd-case-body .myjd-detail-scroll {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  overflow: visible;
  background: transparent;
}

body.myjd-case-body .myjd-page-header {
  display: block;
  width: 100%;
  max-width: var(--myjd-content-max);
  margin: 20px 0 56px;
}

body.myjd-case-body .myjd-page-header img {
  position: static;
  z-index: auto;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  image-rendering: auto;
}

body.myjd-case-body .myjd-detail-section {
  display: flex;
  width: 100%;
  max-width: 100%;
  flex-direction: column;
  gap: var(--myjd-section-gap);
  margin: 0;
  padding: 0;
}

body.myjd-case-body .myjd-project {
  display: flex;
  flex-direction: column;
  gap: var(--myjd-block-gap);
}

body.myjd-case-body .myjd-project-head {
  display: flex;
  align-items: center;
  gap: 18px;
}

body.myjd-case-body .myjd-project-badge {
  position: relative;
  width: calc(clamp(30px, 2.5vw, 42px) * 109 / 108);
  height: clamp(30px, 2.5vw, 42px);
  flex: 0 0 auto;
  border-radius: 0;
  background: url("../detail-cases/title-question-icon.png") center / contain no-repeat;
  box-shadow: none;
  image-rendering: pixelated;
}

body.myjd-case-body .myjd-project-badge::before {
  display: none;
  content: none;
}

body.myjd-case-body .myjd-project-title,
body.myjd-case-body .myjd-row-title,
body.myjd-case-body .myjd-row-index,
body.myjd-case-body .myjd-copy-block p {
  max-width: none;
  margin: 0;
}

body.myjd-case-body .myjd-project-title {
  color: #191919;
  font-size: clamp(30px, 2.5vw, 42px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

body.myjd-case-body .myjd-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--myjd-grid-gap);
}

body.myjd-case-body .myjd-row {
  align-items: start;
}

body.myjd-case-body .myjd-row-index {
  color: #171717;
  font-family: var(--pixel-font);
  font-size: clamp(28px, 2.55vw, 42px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

body.myjd-case-body .myjd-row-content {
  display: grid;
  grid-column: 2 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--myjd-grid-gap);
}

body.myjd-case-body .myjd-row-content--overview,
body.myjd-case-body .myjd-row-content--stacked {
  row-gap: 16px;
  align-items: start;
}

body.myjd-case-body .myjd-row-content--overview .myjd-row-title,
body.myjd-case-body .myjd-row-content--stacked .myjd-row-title {
  grid-column: 1 / -1;
}

body.myjd-case-body .myjd-row-content--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.myjd-case-body .myjd-column {
  min-width: 0;
}

body.myjd-case-body .myjd-row-title {
  color: #171717;
  font-size: clamp(24px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

body.myjd-case-body .myjd-copy-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.myjd-case-body .myjd-copy-block--meta,
body.myjd-case-body .myjd-copy-block--metrics {
  gap: 0;
}

body.myjd-case-body .myjd-copy-block p {
  color: #252525;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.74;
  letter-spacing: -0.01em;
}

body.myjd-case-body .myjd-copy-block strong {
  color: #171717;
  font-weight: 600;
}

body.myjd-case-body .myjd-copy-block p.myjd-highlight,
body.myjd-case-body .myjd-copy-block--metrics p.myjd-highlight,
body.myjd-case-body .myjd-accent {
  color: var(--myjd-accent-red);
  font-weight: inherit;
}

body.myjd-case-body .myjd-grid--figure {
  align-items: start;
}

body.myjd-case-body .myjd-grid-spacer {
  display: none;
}

body.myjd-case-body .myjd-figure {
  grid-column: 1 / -1;
  margin: 0;
  background: transparent;
}

body.myjd-case-body .myjd-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

body.myjd-case-body .project-bottom-nav,
body.myjd-case-body .transaction-detail-nav {
  display: flex;
  width: 100%;
  max-width: 100%;
  margin: 100px 0 0;
  padding: 0;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  pointer-events: auto;
  opacity: 1;
  transform: none;
}

body.myjd-case-body .myjd-bottom-nav {
  margin: 0;
  justify-content: flex-end;
}

body.myjd-case-body .project-nav-button,
body.myjd-case-body .transaction-detail-nav-button {
  display: flex;
  max-width: 430px;
  align-items: center;
  gap: 24px;
  padding: 0;
  border: 0;
  color: #171717;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  transform-origin: center;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.myjd-case-body .project-nav-prev,
body.myjd-case-body .transaction-detail-nav-button--prev {
  margin-right: auto;
}

body.myjd-case-body .project-nav-next,
body.myjd-case-body .transaction-detail-nav-button--next {
  margin-left: auto;
  text-align: right;
}

body.myjd-case-body .project-nav-button:hover,
body.myjd-case-body .project-nav-button:focus-visible,
body.myjd-case-body .transaction-detail-nav-button:hover,
body.myjd-case-body .transaction-detail-nav-button:focus-visible {
  outline: none;
  transform: translateY(-4px);
}

body.myjd-case-body .project-nav-icon,
body.myjd-case-body .transaction-detail-nav-icon {
  position: relative;
  display: block;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  transform-origin: center;
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.myjd-case-body .project-nav-icon img,
body.myjd-case-body .transaction-detail-nav-icon img,
body.myjd-case-body .project-nav-button > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  transform-origin: center;
  transition:
    opacity 260ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.myjd-case-body .project-nav-icon-default,
body.myjd-case-body .transaction-detail-nav-icon-default {
  opacity: 1;
  transform: scale(1);
}

body.myjd-case-body .project-nav-icon-hover,
body.myjd-case-body .transaction-detail-nav-icon-hover {
  opacity: 0;
  transform: scale(0.9);
}

body.myjd-case-body .project-nav-icon--prev .project-nav-icon-hover,
body.myjd-case-body .transaction-detail-nav-icon--prev .transaction-detail-nav-icon-hover {
  transform: rotate(180deg) scale(0.9);
}

body.myjd-case-body .project-nav-button:hover .project-nav-icon,
body.myjd-case-body .project-nav-button:focus-visible .project-nav-icon,
body.myjd-case-body .transaction-detail-nav-button:hover .transaction-detail-nav-icon,
body.myjd-case-body .transaction-detail-nav-button:focus-visible .transaction-detail-nav-icon {
  transform: scale(1.05);
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.08));
}

body.myjd-case-body .project-nav-button:hover .project-nav-icon-default,
body.myjd-case-body .project-nav-button:focus-visible .project-nav-icon-default,
body.myjd-case-body .transaction-detail-nav-button:hover .transaction-detail-nav-icon-default,
body.myjd-case-body .transaction-detail-nav-button:focus-visible .transaction-detail-nav-icon-default {
  opacity: 0;
  transform: scale(1.08);
}

body.myjd-case-body .project-nav-button:hover .project-nav-icon-hover,
body.myjd-case-body .project-nav-button:focus-visible .project-nav-icon-hover,
body.myjd-case-body .transaction-detail-nav-button:hover .transaction-detail-nav-icon-hover,
body.myjd-case-body .transaction-detail-nav-button:focus-visible .transaction-detail-nav-icon-hover {
  opacity: 1;
  transform: scale(1);
}

body.myjd-case-body .project-nav-button:hover .project-nav-icon--prev .project-nav-icon-hover,
body.myjd-case-body .project-nav-button:focus-visible .project-nav-icon--prev .project-nav-icon-hover,
body.myjd-case-body
  .transaction-detail-nav-button:hover
  .transaction-detail-nav-icon--prev
  .transaction-detail-nav-icon-hover,
body.myjd-case-body
  .transaction-detail-nav-button:focus-visible
  .transaction-detail-nav-icon--prev
  .transaction-detail-nav-icon-hover {
  transform: rotate(180deg) scale(1);
}

body.myjd-case-body .project-nav-copy,
body.myjd-case-body .transaction-detail-nav-copy {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 4px;
}

body.myjd-case-body .project-nav-copy small,
body.myjd-case-body .project-nav-copy strong,
body.myjd-case-body .transaction-detail-nav-copy small,
body.myjd-case-body .transaction-detail-nav-copy strong,
body.myjd-case-body .project-nav-placeholder {
  color: #171717;
  font-family: var(--body-font);
  font-size: 24px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0;
}

body.myjd-case-body .project-nav-copy strong,
body.myjd-case-body .transaction-detail-nav-copy strong {
  display: block;
  overflow: hidden;
  max-width: 340px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.myjd-case-body .project-nav-placeholder {
  margin-left: auto;
  color: #c9c9c9;
  font-weight: 400;
}

body.myjd-case-body .project-nav-button.is-disabled,
body.myjd-case-body .project-nav-button:disabled {
  color: #9b9b9b;
  cursor: default;
  opacity: 1;
  pointer-events: none;
}

body.myjd-case-body .project-nav-button.is-disabled .project-nav-copy small,
body.myjd-case-body .project-nav-button:disabled .project-nav-copy small,
body.myjd-case-body
  .transaction-detail-nav-button.is-disabled
  .transaction-detail-nav-copy
  small,
body.myjd-case-body
  .transaction-detail-nav-button:disabled
  .transaction-detail-nav-copy
  small {
  color: #171717;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  opacity: 0.2;
}

body.myjd-case-body .project-nav-button.is-disabled .project-nav-icon,
body.myjd-case-body .project-nav-button:disabled .project-nav-icon,
body.myjd-case-body .transaction-detail-nav-button.is-disabled .transaction-detail-nav-icon,
body.myjd-case-body .transaction-detail-nav-button:disabled .transaction-detail-nav-icon {
  display: none;
}

body.myjd-case-body .project-nav-button.is-disabled:hover,
body.myjd-case-body .project-nav-button.is-disabled:focus-visible,
body.myjd-case-body .project-nav-button:disabled:hover,
body.myjd-case-body .project-nav-button:disabled:focus-visible,
body.myjd-case-body .transaction-detail-nav-button.is-disabled:hover,
body.myjd-case-body .transaction-detail-nav-button.is-disabled:focus-visible,
body.myjd-case-body .transaction-detail-nav-button:disabled:hover,
body.myjd-case-body .transaction-detail-nav-button:disabled:focus-visible {
  transform: none;
  filter: none;
}

@media (max-width: 600px) {
  body.myjd-case-body .myjd-case-page {
    padding-top: 44px;
    padding-bottom: 88px;
  }

  body.myjd-case-body .myjd-page-header {
    margin-bottom: 56px;
  }

  body.myjd-case-body .myjd-detail-section {
    gap: 88px;
  }

  body.myjd-case-body .myjd-project {
    gap: 44px;
  }

  body.myjd-case-body .myjd-copy-block p {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  body.myjd-case-body .myjd-case-page {
    padding-inline: 24px;
  }

  body.myjd-case-body .myjd-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body.myjd-case-body .myjd-row-content {
    grid-column: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  body.myjd-case-body .myjd-figure {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  body.myjd-case-body .myjd-case-page {
    padding-inline: 16px;
    padding-top: 32px;
    padding-bottom: 72px;
  }

  body.myjd-case-body .myjd-page-header {
    margin-bottom: 44px;
  }

  body.myjd-case-body .myjd-detail-section {
    gap: 72px;
  }

  body.myjd-case-body .myjd-project {
    gap: 36px;
  }

  body.myjd-case-body .myjd-project-head {
    align-items: flex-start;
    gap: 12px;
  }

  body.myjd-case-body .myjd-row-content {
    grid-template-columns: 1fr;
  }

  body.myjd-case-body .myjd-copy-block p {
    font-size: 15px;
    line-height: 1.8;
  }

  body.myjd-case-body .project-bottom-nav,
  body.myjd-case-body .transaction-detail-nav {
    margin-top: 72px;
    gap: 12px;
  }

  body.myjd-case-body .project-nav-button,
  body.myjd-case-body .transaction-detail-nav-button {
    max-width: calc(50% - 6px);
    gap: 10px;
  }

  body.myjd-case-body .project-nav-icon,
  body.myjd-case-body .transaction-detail-nav-icon {
    width: 40px;
    height: 40px;
  }

  body.myjd-case-body .project-nav-copy small,
  body.myjd-case-body .project-nav-copy strong,
  body.myjd-case-body .transaction-detail-nav-copy small,
  body.myjd-case-body .transaction-detail-nav-copy strong,
  body.myjd-case-body .project-nav-placeholder {
    font-size: 14px;
    line-height: 16px;
  }

  body.myjd-case-body .project-nav-copy strong,
  body.myjd-case-body .transaction-detail-nav-copy strong {
    max-width: 108px;
  }
}

/* Quark / older Chromium compatibility hardening.
   This final fallback keeps MyJD-standard detail pages away from legacy 960px
   rules even when logical properties or CSS math are parsed differently. */
body.myjd-case-body .jd-case-page.myjd-case-page {
  width: 100%;
  max-width: 1080px;
  min-width: 0;
  margin-right: auto;
  margin-left: auto;
  padding-right: 0;
  padding-left: 0;
}

body.myjd-case-body .detail-scroll.myjd-detail-scroll,
body.myjd-case-body .case-section.myjd-detail-section,
body.myjd-case-body .myjd-project,
body.myjd-case-body .myjd-grid,
body.myjd-case-body .myjd-figure,
body.myjd-case-body .myjd-figure img,
body.myjd-case-body .project-bottom-nav,
body.myjd-case-body .transaction-detail-nav {
  width: 100%;
  max-width: 100%;
}

body.myjd-case-body .project-page-header.myjd-page-header {
  width: 100%;
  max-width: 1080px;
}

body.myjd-case-body .project-page-header.myjd-page-header img {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
}

body.myjd-case-body .myjd-project-badge {
  width: 42.4px;
  height: 42px;
}

@media (min-width: 600px) {
  body.myjd-case-body .jd-case-page.myjd-case-page {
    width: 1080px;
    max-width: 1080px;
  }

  body.myjd-case-body .myjd-grid {
    grid-template-columns: 243px 243px 243px 243px;
    column-gap: 36px;
    row-gap: 36px;
  }

  body.myjd-case-body .myjd-row-content {
    grid-column: 2 / 5;
    grid-template-columns: 243px 243px 243px;
    column-gap: 36px;
    row-gap: 36px;
  }

  body.myjd-case-body .myjd-row-content--overview,
  body.myjd-case-body .myjd-row-content--stacked {
    row-gap: 16px;
  }

  body.myjd-case-body .myjd-row-content--two {
    grid-template-columns: 382.5px 382.5px;
  }

  body.myjd-case-body .myjd-figure {
    grid-column: 1 / 5;
  }
}

@media (max-width: 600px) {
  body.myjd-case-body .jd-case-page.myjd-case-page {
    width: 100%;
    max-width: 1080px;
    padding-right: 0;
    padding-left: 0;
  }
}

@media (max-width: 600px) {
  body.myjd-case-body .jd-case-page.myjd-case-page {
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (max-width: 600px) {
  body.myjd-case-body .jd-case-page.myjd-case-page {
    padding-right: 16px;
    padding-left: 16px;
  }

  body.myjd-case-body .myjd-project-badge {
    width: 30.3px;
    height: 30px;
  }
}

body.myjd-case-body .myjd-redo-page {
  max-width: 968px;
  padding-top: 0;
  padding-bottom: 84px;
}

body.myjd-case-body .myjd-redo-page .myjd-page-header {
  margin-bottom: 56px;
}

body.myjd-case-body .myjd-redo-section {
  display: flex;
  flex-direction: column;
  gap: 96px;
}

body.myjd-case-body .myjd-redo-project {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

body.myjd-case-body .myjd-redo-project-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.myjd-case-body .myjd-redo-project-badge {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  background: url("../detail-cases/title-question-icon.png") center / contain no-repeat;
  image-rendering: pixelated;
}

body.myjd-case-body .myjd-redo-project-title {
  margin: 0;
  color: #1a1a1a;
  font-size: 32px;
  font-weight: 600;
  line-height: 32px;
  letter-spacing: 0;
}

body.myjd-case-body .myjd-redo-row {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

body.myjd-case-body .myjd-redo-row-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.myjd-case-body .myjd-redo-row-index {
  display: inline-flex;
  align-items: center;
  color: #1a1a1a;
  font-family: var(--pixel-font);
  font-size: 32px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: -1px;
  transform: translateY(3px);
}

body.myjd-case-body .myjd-redo-row-title {
  margin: 0;
  color: #1a1a1a;
  font-size: 24px;
  font-weight: 600;
  line-height: 24px;
}

body.myjd-case-body .myjd-redo-card-grid {
  display: grid;
  gap: 28px;
  align-items: stretch;
}

body.myjd-case-body .myjd-redo-card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.myjd-case-body .myjd-redo-card-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.myjd-case-body .myjd-redo-card-grid--work {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}

body.myjd-case-body .myjd-redo-card-grid--work-equal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.myjd-case-body #myjd-project-03-work .myjd-redo-card-grid--work {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.myjd-case-body #myjd-project-01-work .myjd-redo-card-grid--work,
body.myjd-case-body #myjd-project-02-work .myjd-redo-card-grid--work {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.myjd-case-body #work-jd-work .myjd-redo-card-grid--work {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.myjd-case-body #work-selfmedia .myjd-redo-card-grid--work {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.myjd-case-body #more-widgets .myjd-redo-card-grid--work {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.myjd-case-body #work-vibecoding .myjd-redo-row > .myjd-redo-figure {
  margin-top: 4px;
}

body.myjd-case-body #work-vibecoding .myjd-redo-section {
  gap: 32px;
}

body.myjd-case-body #work-vibecoding .myjd-redo-project + .myjd-redo-project {
  margin-top: 0;
}

body.myjd-case-body #work-selfmedia [aria-labelledby="work-selfmedia-result"] {
  gap: 24px;
}

body.myjd-case-body #work-selfmedia [aria-labelledby="work-selfmedia-result"] > .myjd-redo-card-grid:empty {
  display: none;
}

body.myjd-case-body #more-app-13 [aria-labelledby="more-app-13-direction"] .myjd-redo-card--tint-yellow,
body.myjd-case-body #more-app-13 [aria-labelledby="more-app-13-direction"] .myjd-redo-card--tint-green {
  min-height: auto;
}

body.myjd-case-body .myjd-redo-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 18px;
  padding: 36px;
  border-radius: 24px;
  background: #ffffff;
}

body.myjd-case-body .myjd-redo-card--overview {
  min-height: auto;
}

body.myjd-case-body .myjd-redo-card--tint-yellow {
  min-height: auto;
  background: #fff6d2;
}

body.myjd-case-body .myjd-redo-card--tint-yellow .myjd-redo-copy {
  padding-bottom: 6px;
}

body.myjd-case-body .myjd-redo-card--tint-green {
  min-height: auto;
  background: #e7f8e1;
}

body.myjd-case-body .myjd-redo-card--work-left {
  min-height: auto;
}

body.myjd-case-body .myjd-redo-card--work-right {
  min-height: auto;
}

body.myjd-case-body .myjd-redo-card-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.myjd-case-body .myjd-redo-card-title-wrap img {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

body.myjd-case-body .myjd-redo-card-title {
  margin: 0;
  color: #1a1a1a;
  font-size: 20px;
  font-weight: 600;
  line-height: 20px;
}

body.myjd-case-body .myjd-redo-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.myjd-case-body .myjd-redo-copy--meta {
  gap: 4px;
}

body.myjd-case-body .myjd-redo-copy p {
  margin: 0;
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.015em;
}

body.myjd-case-body .myjd-redo-copy strong {
  font-weight: 500;
}

body.myjd-case-body .myjd-redo-figure-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

body.myjd-case-body .myjd-redo-figure {
  margin: 0;
}

body.myjd-case-body .myjd-redo-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

body.myjd-case-body .myjd-redo-bottom-nav {
  margin-top: 0;
}

body.myjd-case-body .myjd-progress-nav {
  position: fixed;
  top: 50%;
  left: calc(50% + 572px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-50%);
  z-index: 8;
}

body.myjd-case-body .myjd-progress-nav__item {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #dadada;
  color: #171717;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

body.myjd-case-body .myjd-progress-nav__item span {
  font-size: 16px;
  line-height: 16px;
  font-weight: 400;
}

body.myjd-case-body .myjd-progress-nav__item.is-active {
  background: #171717;
}

body.myjd-case-body .myjd-progress-nav__item.is-active span {
  color: #fff;
}

body.myjd-case-body .myjd-progress-nav__item:hover,
body.myjd-case-body .myjd-progress-nav__item:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

@media (max-width: 1280px) {
  body.myjd-case-body .myjd-progress-nav {
    left: auto;
    right: 24px;
  }
}

@media (max-width: 600px) {
  body.myjd-case-body .myjd-progress-nav {
    right: 12px;
    gap: 8px;
  }
}

@media (max-width: 960px) {
  body.myjd-case-body .myjd-redo-page {
    padding-top: 0;
    padding-bottom: 72px;
  }

  body.myjd-case-body .myjd-redo-section {
    gap: 80px;
  }

  body.myjd-case-body .myjd-redo-project {
    gap: 44px;
  }

  body.myjd-case-body .myjd-redo-card-grid--three,
  body.myjd-case-body .myjd-redo-card-grid--two,
  body.myjd-case-body .myjd-redo-card-grid--work {
    grid-template-columns: 1fr;
  }

  body.myjd-case-body .myjd-redo-card--overview,
  body.myjd-case-body .myjd-redo-card--tint-yellow,
  body.myjd-case-body .myjd-redo-card--tint-green,
  body.myjd-case-body .myjd-redo-card--work-left,
  body.myjd-case-body .myjd-redo-card--work-right {
    min-height: auto;
  }
}

@media (max-width: 600px) {
  body.myjd-case-body .myjd-redo-page {
    padding-top: 0;
    padding-bottom: 60px;
  }

  body.myjd-case-body .myjd-redo-page .myjd-page-header {
    margin-bottom: 40px;
  }

  body.myjd-case-body .myjd-redo-section {
    gap: 56px;
  }

  body.myjd-case-body .myjd-redo-project {
    gap: 36px;
  }

  body.myjd-case-body .myjd-redo-row {
    gap: 20px;
  }

  body.myjd-case-body .myjd-redo-row-head {
    gap: 10px;
  }

  body.myjd-case-body .myjd-redo-project-title {
    font-size: 24px;
    line-height: 28px;
  }

  body.myjd-case-body .myjd-redo-row-index {
    font-size: 20px;
    line-height: 20px;
  }

  body.myjd-case-body .myjd-redo-row-title {
    font-size: 18px;
    line-height: 22px;
  }

  body.myjd-case-body .myjd-redo-card-grid,
  body.myjd-case-body .myjd-redo-figure-stack {
    gap: 16px;
  }

  body.myjd-case-body .myjd-redo-card {
    padding: 20px;
    border-radius: 20px;
    gap: 12px;
  }

  body.myjd-case-body .myjd-redo-card-title-wrap img {
    width: 24px;
    height: 24px;
  }

  body.myjd-case-body .myjd-redo-card-title {
    font-size: 16px;
    line-height: 18px;
  }

  body.myjd-case-body .myjd-redo-copy {
    gap: 5px;
  }

body.myjd-case-body .myjd-redo-copy p {
    font-size: 12px;
    line-height: 22px;
  }
}

body.home-body {
  --paper: #f6f6f6;
  --ink: #111111;
  --muted: #545454;
  --home-max: var(--page-max);
  --body-font:
    "Bitcount Prop Single", "Bitcount Prop Single Roman", "PingFang SC",
    "Microsoft YaHei", Arial, sans-serif;
  --pixel-font:
    "Bitcount Prop Single", "Bitcount Prop Single Roman", "Bitcount Prop Single Cursive",
    "PortfolioPixel", monospace;
  background:
    radial-gradient(circle, var(--dot) 2px, transparent 2.1px),
    var(--paper);
  background-size: 15px 15px;
}

body.home-body .toast {
  top: auto;
  bottom: 28px;
}

body.home-body {
  min-width: 320px;
}

.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: block;
  pointer-events: none;
  overflow: hidden;
  background: #000;
}

html.is-home-return .site-preloader {
  display: none;
}

.site-preloader__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(var(--preloader-columns, 12), 1fr);
  grid-template-rows: repeat(var(--preloader-rows, 7), 1fr);
  gap: 0;
}

.site-preloader__loader::before {
  position: fixed;
  inset: -100vh;
  z-index: -1;
  content: "";
  background: #000;
}

.site-preloader__tile {
  display: block;
  width: calc(100% + 1px);
  height: 100vh;
  background: #000;
  transform-origin: top center;
  will-change: transform, opacity;
}

.site-preloader__loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  transform: translate(-50%, -50%);
  will-change: opacity, transform;
}

.site-preloader__blocks {
  display: flex;
  gap: 16px;
  align-items: flex-end;
}

.site-preloader__blocks span {
  display: block;
  width: 16px;
  height: 16px;
  background: #ffcc00;
  animation: preloader-block-jump 0.84s cubic-bezier(0.76, 0, 0.24, 1) infinite;
  will-change: transform;
}

.site-preloader__blocks span:nth-child(2) {
  animation-delay: 0.12s;
}

.site-preloader__blocks span:nth-child(3) {
  animation-delay: 0.24s;
}

.site-preloader__label {
  margin: 0;
  color: #fff;
  font-family: "Bitcount Grid Single", "Bitcount Prop Single", monospace;
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0;
}

[data-reveal] {
  will-change: transform, opacity;
}

@keyframes preloader-block-jump {
  0%,
  100% {
    transform: translateY(0);
  }

  35% {
    transform: translateY(-16px);
  }

  70% {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-preloader {
    display: none;
  }

  .site-preloader__blocks span {
    animation: none;
  }

  [data-reveal] {
    opacity: 1;
    filter: none;
    transform: none;
    will-change: auto;
  }
}

.home-page {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 2006px;
  margin: 0 auto;
  overflow-x: hidden;
  overflow-y: hidden;
  background: transparent;
}

.home-page__dots {
  display: none;
}

.home-banner,
.home-stripe {
  position: relative;
  z-index: 1;
}

.home-banner {
  position: relative;
  width: 100%;
  height: 80px;
  background: #000;
}

.home-banner__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.home-banner__brand img {
  display: block;
  width: auto;
  height: 80px;
  max-width: none;
  margin: auto 0;
  image-rendering: pixelated;
}

.home-stripe {
  position: relative;
  display: block;
  width: 100%;
  height: 4px;
  overflow: hidden;
}

.home-stripe::before {
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    90deg,
    #090d0c 0 8px,
    #ffcc00 8px 16px
  );
}

.home-marquee {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 35px;
  margin-top: 24px;
  overflow: hidden;
  color: #3b3b3b;
}

.home-marquee__viewport {
  width: 100%;
  height: 35px;
  overflow: hidden;
}

.home-marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 35px;
  animation: home-marquee-scroll 58s linear infinite;
  animation-delay: -8s;
  will-change: transform;
}

.home-marquee__set {
  display: flex;
  flex: 0 0 auto;
  gap: 32px;
  align-items: center;
  height: 35px;
  padding-right: 32px;
}

.home-marquee__item {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 4px;
  align-items: center;
  height: 35px;
  white-space: nowrap;
}

.home-marquee__emoji {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  color: #3b3b3b;
  font-family: "Bitcount Grid Single", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 24px;
  text-transform: capitalize;
  transform: translateY(1.5px);
}

.home-marquee__word {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 29px;
  padding: 8px;
  border: 1px solid #bebebe;
  color: #3b3b3b;
  font-family: "Bitcount Grid Single", "Bitcount Prop Single", monospace;
  font-size: 12px;
  font-weight: 400;
  line-height: 12px;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-marquee__word--corner {
  border-radius: 4px;
}

.home-marquee__word--pill {
  border-radius: 24px;
}

.home-marquee__word--round {
  border-radius: 32px;
}

.home-stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 72px;
  width: 100%;
  max-width: 1080px;
  margin-right: auto;
  margin-left: auto;
  padding-top: 18px;
  padding-bottom: 147px;
}

.home-stage__primary {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.home-hero {
  position: relative;
  width: 100%;
  max-width: 1080px;
  height: 500px;
  margin-top: 6px;
}

.home-badge-row {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  width: 182px;
  height: 100px;
}

.home-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #fff;
  font-family: "Bitcount Grid Single", "Bitcount Prop Single", monospace;
  font-size: 12px;
  font-weight: 400;
  line-height: 12px;
  text-transform: capitalize;
  background: #000;
}

.home-badge--rect,
.home-badge--pill {
  padding: 8px;
}

.home-badge--rect {
  width: 72px;
  height: 28px;
  border-radius: 4px;
}

.home-badge--circle {
  width: 36px;
  height: 36px;
  border-radius: 120px;
}

.home-badge--pill {
  width: 52px;
  height: 28px;
  border-radius: 32px;
}

.home-about-card {
  position: absolute;
  left: 80px;
  top: 0;
  width: 261px;
  height: 500px;
  margin: 0;
  border-radius: 24px;
  background: #000;
}

.home-about-card__title {
  position: absolute;
  top: 36px;
  left: 36px;
  display: flex;
  align-items: flex-start;
  gap: 59px;
  width: 189px;
}

.home-about-card__title h2 {
  width: 100px;
  margin: 0;
  color: #929292;
  font-family: "Bitcount Prop Single", "Bitcount Prop Single Roman", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  text-transform: uppercase;
}

.home-about-card__title img {
  display: block;
  width: 30px;
  height: 30px;
  image-rendering: pixelated;
}

.home-about-card__ghost {
  position: absolute;
  top: 90px;
  left: 41px;
  width: 210px;
  margin: 0;
  color: #929292;
  opacity: 0.3;
  font-family: "Bitcount Prop Single", "Bitcount Prop Single Roman", sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 28px;
  text-transform: uppercase;
}

.home-about-card__avatar {
  position: absolute;
  top: 91px;
  left: 98px;
  width: 66px;
  height: 66px;
  overflow: hidden;
  border-radius: 97.251px;
  background: #929292;
}

.home-about-card__avatar img {
  display: block;
  width: 66px;
  height: 66px;
}

.home-about-card__meta {
  position: absolute;
  top: 168px;
  left: 36px;
  display: grid;
  gap: 24px;
  width: 189px;
}

.home-about-card__item {
  display: grid;
  gap: 8px;
}

.home-about-card__item span {
  width: 8px;
  height: 8px;
  background: #929292;
}

.home-about-card__item strong,
.home-about-card__item p {
  margin: 0;
  color: #929292;
  font-size: 16px;
  line-height: 16px;
}

.home-about-card__item strong {
  font-family: "Bitcount Prop Single", "Bitcount Prop Single Roman", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

.home-about-card__item p {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

.home-about-card__contact {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 189px;
  height: 56px;
  padding: 16px 24px;
  border: 0;
  border-radius: 12px;
  background: #fc0;
  cursor: pointer;
}

.home-about-card__contact img {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.home-about-card__contact span {
  color: #000;
  font-family: "Bitcount Prop Single", "Bitcount Prop Single Roman", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 20px;
  text-transform: uppercase;
}

.home-disc-stage {
  position: absolute;
  left: 290px;
  top: 0;
  width: 500px;
  height: 500px;
  isolation: isolate;
}

.home-disc-stage__base,
.home-disc-stage__rotor,
.home-disc-stage__art {
  position: absolute;
  inset: 0;
  display: block;
  width: 500px;
  height: 500px;
}

.home-disc-stage__base {
  z-index: 0;
  object-fit: contain;
}

.home-disc-stage__art {
  object-fit: contain;
  transform-origin: 50% 50%;
}

.home-disc-stage__rotor {
  z-index: 1;
  animation: disc-rotate 90s linear infinite;
  transform-origin: 50% 50%;
}

.home-disc-stage__art--rotating {
  z-index: 1;
}

.home-disc-stage__particle-disc,
.home-disc-stage__particle-grid,
.home-disc-stage__particle-fallback,
.home-disc-stage__particle-overlays,
.home-disc-stage__particles {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 360px;
  height: 360px;
  box-sizing: border-box;
  border-radius: 50%;
  overflow: hidden;
  transform: translate(-50%, -50%);
}

.home-disc-stage__particle-disc {
  z-index: 6;
  border: 30px solid #000;
  background: transparent;
  pointer-events: none;
}

.home-disc-stage__particle-grid {
  z-index: 2;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, #eef0ef 25%, transparent 25%),
    linear-gradient(-45deg, #eef0ef 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #eef0ef 75%),
    linear-gradient(-45deg, transparent 75%, #eef0ef 75%);
  background-position:
    0 0,
    0 6px,
    6px -6px,
    -6px 0;
  background-size: 12px 12px;
  opacity: 0.36;
  pointer-events: none;
}

.home-disc-stage__particle-fallback {
  z-index: 3;
  opacity: 1;
  pointer-events: none;
}

.home-disc-stage__particle-source {
  position: absolute;
  display: block;
  width: 360px;
  height: 360px;
  max-width: none;
  left: 0;
  top: 0;
  object-fit: contain;
  image-rendering: pixelated;
}

.home-disc-stage__particles {
  z-index: 4;
  opacity: 0;
  image-rendering: pixelated;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.home-disc-stage__particle-overlays {
  z-index: 5;
  pointer-events: none;
}

.home-disc-stage__particle-overlay {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  opacity: 0;
  image-rendering: pixelated;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.45s ease;
  will-change: transform;
}

.home-disc-stage.is-particles-ready .home-disc-stage__particles {
  opacity: 1;
  pointer-events: auto;
}

.home-disc-stage.is-particles-ready .home-disc-stage__particle-overlay {
  opacity: 1;
}

.home-disc-stage.is-particles-ready .home-disc-stage__particle-fallback {
  opacity: 0;
}

.home-disc-stage.is-particles-fallback .home-disc-stage__particles {
  display: none;
}

.home-disc-stage__center-hole {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 7;
  display: block;
  width: 36px;
  height: 36px;
  border: 5px solid #000;
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.home-disc-stage__download-link {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 8;
  display: block;
  width: 36px;
  height: 36px;
  transform: translate(-50%, -50%);
}

.home-disc-stage__download {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 8;
  display: block;
  width: 36px;
  height: 36px;
  image-rendering: pixelated;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

@keyframes disc-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.home-profile-copy {
  position: absolute;
  right: 80px;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-end;
  width: 197px;
}

.home-profile-copy h1 {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-end;
  margin: 0;
  color: #000;
  font-family: "Bitcount Grid Single", "Bitcount Prop Single", monospace;
  font-size: 36px;
  font-weight: 500;
  line-height: 42px;
  text-transform: capitalize;
}

.home-profile-copy p {
  width: 197px;
  margin: 0;
  color: #000;
  font-family: "Bitcount Prop Single", "Bitcount Prop Single Roman", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -1.6px;
  text-align: right;
  text-transform: uppercase;
}

.home-click {
  position: absolute;
  left: 682.36px;
  top: 368.51px;
  z-index: 8;
  width: 170.139px;
  height: 170.847px;
  pointer-events: none;
}

.home-click__art {
  width: 100%;
  height: 100%;
  animation: home-click-wiggle 3s ease-in-out infinite;
  transform-origin: 50% 50%;
}

.home-click__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}

.home-status {
  position: absolute;
  right: 79.84px;
  top: 418px;
  width: 60.162px;
  height: 64px;
}

.home-status__folder {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: 38px;
  height: 32px;
}

.home-status__folder img {
  display: block;
  width: 38px;
  height: 32px;
  image-rendering: pixelated;
}

.home-status__dots {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 6px;
  align-items: center;
  width: 60.162px;
  height: 16px;
}

.home-status__dot {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.home-status__dot--blue {
  background: #38c0f3;
}

.home-status__dot--yellow {
  background: #ffcc00;
}

.home-status__dot--black {
  background: #090d0c;
}

.home-works {
  display: flex;
  gap: 36px;
  align-items: flex-start;
}

.home-work-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  width: 243px;
  color: inherit;
}

.home-work-card > img {
  display: block;
  width: 243px;
  height: 243px;
}

.home-work-card strong {
  width: 243px;
  color: #000;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
}

.home-work-card__action,
.home-more-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  overflow: hidden;
  border-radius: 58.537px;
  background: #000;
}

.home-work-card__action img,
.home-more-card__action img {
  display: block;
  width: 20px;
  height: 20px;
}

.home-more {
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: center;
  width: 100%;
  max-width: 1080px;
}

.home-more__heading {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  width: 330px;
  height: 42px;
}

.home-more__heading img {
  display: block;
  width: 36px;
  height: 36px;
  image-rendering: pixelated;
}

.home-more__heading h2 {
  display: flex;
  gap: 16px;
  margin: 0;
  color: #000;
  font-family: "Bitcount Prop Single", "Bitcount Prop Single Roman", sans-serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 42px;
  letter-spacing: -4.2px;
  text-transform: uppercase;
}

.home-more__grid {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  width: 100%;
  max-width: 1080px;
}

.home-more-card {
  display: flex;
  flex-direction: column;
  width: 243px;
  overflow: hidden;
  border-radius: 24px;
  color: inherit;
}

.home-more-card__art {
  width: 243px;
  height: 243px;
  overflow: hidden;
}

.home-more-card__art img {
  display: block;
  width: 243px;
  height: 243px;
}

.home-more-card__body {
  position: relative;
  width: 243px;
  height: 163px;
}

.home-more-card__copy {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: grid;
  gap: 4px;
  width: 165px;
}

.home-more-card__copy small,
.home-more-card__copy strong {
  margin: 0;
  color: #000;
}

.home-more-card__copy small {
  font-family: "Bitcount Prop Single", "Bitcount Prop Single Roman", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 20px;
  letter-spacing: -1.6px;
  text-transform: uppercase;
}

.home-more-card__copy strong {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 20px;
}

.home-more-card__body .home-more-card__action {
  position: absolute;
  left: 24px;
  top: 27px;
}

.home-more-card--bill .home-more-card__action,
.home-more-card--app .home-more-card__action,
.home-more-card--widgets .home-more-card__action {
  left: 24.5px;
}

.home-more-card--app .home-more-card__copy,
.home-more-card--widgets .home-more-card__copy {
  left: 24.5px;
}

.home-more-card--bill .home-more-card__body {
  background: #e8e7ff;
}

.home-more-card--library .home-more-card__body {
  background: #ffecb9;
}

.home-more-card--app .home-more-card__body {
  background: #ffe6e5;
}

.home-more-card--widgets .home-more-card__body {
  background: #c8ddff;
}

.home-about-card__contact,
.home-status__folder,
.home-work-card,
.home-more-card {
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.28s ease,
    box-shadow 0.28s ease,
    background-color 0.28s ease;
  will-change: transform;
}

.home-about-card__contact:hover,
.home-about-card__contact:focus-visible {
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.14);
  transform: translateY(-2px);
}

.home-about-card__contact:active {
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.14);
  transform: translateY(0);
}

.home-status__folder:hover,
.home-status__folder:focus-visible {
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.08));
  transform: translateY(-3px) rotate(-1deg);
}

.home-work-card:hover,
.home-work-card:focus-visible,
.home-more-card:hover,
.home-more-card:focus-visible {
  filter: drop-shadow(0 8px 9px rgba(0, 0, 0, 0.07));
  transform: translateY(-4px);
}

.home-work-card > img,
.home-more-card__art img {
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.34s ease;
}

.home-work-card:hover > img,
.home-work-card:focus-visible > img,
.home-more-card:hover .home-more-card__art img,
.home-more-card:focus-visible .home-more-card__art img {
  filter: saturate(1.02) contrast(1.015);
  transform: scale(1.017);
}

.home-work-card__action,
.home-more-card__action {
  transition:
    transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.26s ease;
}

.home-work-card:hover .home-work-card__action,
.home-work-card:focus-visible .home-work-card__action,
.home-more-card:hover .home-more-card__action,
.home-more-card:focus-visible .home-more-card__action {
  background: #000;
  transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .home-about-card__contact,
  .home-status__folder,
  .home-work-card,
  .home-more-card,
  .home-work-card > img,
  .home-more-card__art img,
  .home-work-card__action,
  .home-more-card__action {
    transition: none;
  }

  .home-marquee__track {
    animation: none;
    transform: translateX(0);
  }

  .home-click__art {
    animation: none;
  }
}

.home-footer {
  display: flex;
  gap: 43px;
  align-items: center;
  width: 388px;
  height: 24px;
}

.home-footer p {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 0;
  color: #000;
  font-family: "Bitcount Prop Single", "Bitcount Prop Single Roman", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  white-space: nowrap;
}

.home-footer p span:first-child {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 24px;
}

.home-footer__icon img {
  display: block;
  width: auto;
  height: 24px;
}

/* Outer frame (.home-page) is unbounded so the banner can bleed
   full-width; only .home-stage caps content at 1080px. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-width: 320px;
}

.portfolio-home,
.detail-page,
.jd-case-page,
body.myjd-case-body .jd-case-page.myjd-case-page,
body.myjd-case-body main.jd-case-page.myjd-case-page.myjd-redo-page {
  width: 100%;
  max-width: 1080px;
  margin-right: auto;
  margin-left: auto;
}

body.home-body .home-hero,
body.home-body .home-works,
body.home-body .home-more,
body.home-body .home-more__grid,
body.myjd-case-body .detail-scroll.myjd-detail-scroll,
body.myjd-case-body .myjd-redo-section,
body.myjd-case-body .myjd-redo-project,
body.myjd-case-body .myjd-redo-card-grid,
body.myjd-case-body .myjd-redo-figure-stack,
body.myjd-case-body .myjd-redo-figure,
body.myjd-case-body .project-bottom-nav,
body.myjd-case-body .transaction-detail-nav {
  width: 100%;
  max-width: 100%;
}

body.myjd-case-body .project-page-header.myjd-page-header,
body.myjd-case-body .project-page-header.myjd-page-header img,
body.myjd-case-body .myjd-redo-figure img {
  width: 100%;
  max-width: 100%;
  margin-right: 0;
  margin-left: 0;
}

body.myjd-case-body .project-page-header.myjd-page-header img {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
}

body.home-body .home-disc-stage,
body.home-body .home-disc-stage__base,
body.home-body .home-disc-stage__rotor,
body.home-body .home-disc-stage__art {
  max-width: 500px;
  max-height: 500px;
}

body.home-body .home-work-card,
body.home-body .home-work-card > img,
body.home-body .home-more-card,
body.home-body .home-more-card__art,
body.home-body .home-more-card__art img,
body.home-body .home-more-card__body {
  max-width: 243px;
}
