@font-face {
  font-family: 'JetBrains Mono';
  src: url('assets/fonts/JetBrainsMono-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NfdcsCN16';
  src: url('assets/fonts/nfdcsCN16.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root { color-scheme: light; --bg: #f7f7f7; --ink: #191919; --muted: #747474; --line: #ccc; --accent: #4926F7; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'JetBrains Mono', monospace; font-size: 15px; line-height: 1.5; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--accent); color: white; }
h1,h2,h3,p { margin: 0; }
.site-header { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 32px; background: var(--bg); }
.site-header.is-scrolled { border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; min-height: 32px; flex-shrink: 0; }
.brand-pixel { display: block; width: 92px; height: 28px; fill: currentColor; }
@media (max-width: 540px) { .brand-pixel { width: 69px; height: 21px; } }
.nav { display: flex; gap: 34px; font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.nav a { padding: 8px 0; }
.hero { padding: 92px 32px 80px; min-height: 490px; display: flex; flex-direction: column; justify-content: space-between; gap: 60px; }
.eyebrow,.hero-kicker,.thread-index,.site-footer { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 400; }
.hero-kicker { display: flex; justify-content: space-between; gap: 24px; color: var(--muted); }
h1 { font-family: 'NfdcsCN16', 'JetBrains Mono', monospace; font-size: 64px; line-height: 1.12; font-weight: 400; max-width: 1100px; overflow-wrap: break-word; }
h1 span { display: block; color: var(--muted); }
.hero-copy .eyebrow { margin-bottom: 24px; }
.hero-actions { margin-top: 30px; }
.button { display: inline-block; font-size: 12px; font-family: 'JetBrains Mono', monospace; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.section { margin: 0 32px; padding: 60px 0; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 48px; }
.section-heading .eyebrow { color: var(--muted); }
h2 { font-family: 'NfdcsCN16', 'JetBrains Mono', monospace; font-size: 15px; font-weight: 400; }
.thread-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr) 24px; gap: 20px; border-top: 1px solid var(--line); align-items: center; align-content: center; padding: 23px 0; transition: color 150ms; }
.thread-row:last-child { border-bottom: 1px solid var(--line); }
.thread-row h3 { font-family: 'NfdcsCN16', 'JetBrains Mono', monospace; font-size: 20px; font-weight: 400; line-height: 1.3; }
.thread-row p { color: var(--muted); font-size: 13px; }
.thread-row:hover p { color: inherit; }
.thread-row::after { content: '\2197'; text-align: right; }
.thread-index { color: var(--muted); }
.about { padding-top: 72px; padding-bottom: 96px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 84px; }
.about-grid p { max-width: 640px; font-size: 26px; line-height: 1.45; }
.service-list { list-style: none; margin: 0; padding: 0; font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.service-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact { margin: 0 32px; border-top: 1px solid var(--line); padding: 48px 0 100px; }
.contact h2 { margin: 35px 0 18px; font-size: 40px; line-height: 1.2; }
.contact a { font-size: 16px; text-decoration: underline; text-underline-offset: 5px; overflow-wrap: anywhere; }
.contact .pixel-contact-title { display: flex; flex-wrap: wrap; gap: 0.55em 0.7em; font-size: 28px; }
.pixel-contact-title svg { display: block; height: 1em; fill: currentColor; flex: none; }
@media (max-width: 540px) { .contact .pixel-contact-title { font-size: 21px; } }
.site-footer { margin: 0 32px; padding: 20px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--muted); }
main.section { min-height: 70vh; }
.works-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; margin-top: 48px; }
.animation-project { min-width: 0; margin: 0; padding-bottom: 32px; border-bottom: 1px solid var(--line); container-type: inline-size; }
.works-grid .project-cover img { aspect-ratio: 16 / 9 !important; background: #000; object-fit: cover; }
.visual-projects { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
.visual-communication-projects { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; }
.visual-communication-projects .visual-project { grid-column: span 1; }
.visual-communication-projects .visual-project .project-cover { aspect-ratio: 5 / 6; overflow: hidden; }
.visual-communication-projects .visual-project .project-cover img { width: 100%; height: 100%; aspect-ratio: 5 / 6 !important; object-fit: cover; }
.visual-communication-projects .visual-project.is-landscape { grid-column: span 2; }
.visual-communication-projects .visual-project.is-landscape .project-cover { aspect-ratio: 16 / 9; }
.visual-communication-projects .visual-project.is-landscape .project-cover img { aspect-ratio: 16 / 9 !important; }
.digital-fashion-projects { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; }
.digital-fashion-projects .visual-project .project-cover { aspect-ratio: 3 / 4; overflow: hidden; }
.digital-fashion-projects .visual-project .project-cover img { width: 100%; height: 100%; aspect-ratio: 3 / 4 !important; object-fit: cover; }
.digital-fashion-video-projects { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.digital-fashion-video { grid-column: span 2; }
.visual-project .project-cover img { aspect-ratio: auto !important; background: transparent; object-fit: contain; }
.digital-fashion-video .project-cover img { aspect-ratio: 16 / 9 !important; object-fit: cover; }
.phantom-bag-film, .the-last-horizon-film { grid-column: span 1; width: auto; }
.phantom-bag-film .project-cover, .the-last-horizon-film .project-cover { aspect-ratio: 5 / 6; overflow: hidden; }
.phantom-bag-film .project-cover img, .the-last-horizon-film .project-cover img { width: 100%; height: 100%; aspect-ratio: 5 / 6 !important; object-fit: cover; }
.crosswalk-glitch-project .project-cover { aspect-ratio: 3 / 4; overflow: hidden; }
.crosswalk-glitch-project .project-cover img { width: 100%; height: 100%; aspect-ratio: 3 / 4 !important; object-fit: cover; }
.project-gallery-trigger { width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.gallery-dialog { width: min(1100px, 94vw); max-width: 94vw; max-height: 94svh; padding: 12px; border: 0; background: var(--bg); color: var(--ink); }
.gallery-dialog::backdrop { background: rgba(0, 0, 0, 0.82); }
.gallery-dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 10px; }
.gallery-dialog-bar h2, .gallery-controls { font-size: 12px; }
.gallery-close, .gallery-controls button { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.gallery-close { width: 36px; height: 36px; font-size: 26px; }
.gallery-image { display: block; width: 100%; max-height: 76svh; object-fit: contain; cursor: pointer; }
.gallery-controls { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; }
.gallery-controls button { padding: 0; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 700px) {
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
  .animation-project:not(.visual-project), .digital-fashion-video, .visual-communication-projects .visual-project.is-landscape { grid-column: span 2; }
  .phantom-bag-film, .the-last-horizon-film { grid-column: span 1; width: auto; }
}
.project-cover { display: block; position: relative; }
.project-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.project-play { position: absolute; inset: 0; margin: auto; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #f7f7f7; color: #191919; font-size: 18px; padding-left: 3px; opacity: 0.3; }
.project-cover:hover .project-play { background: var(--accent); color: white; }
.animation-project-caption { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 20px; row-gap: 6px; padding: 16px 0; }
.animation-project-caption > div, .animation-project-caption > .project-title-text { flex: 1 1 0; min-width: 0; max-width: none; }
.project-pixel-title { display: block; width: 154px; max-width: 100%; height: auto; fill: currentColor; }
.project-title-text { margin: 0; font-family: 'NfdcsCN16', 'JetBrains Mono', monospace; font-size: 24px; font-weight: 400; line-height: 1.15; letter-spacing: 0; }
.animation-project-caption span { margin-left: auto; flex: 0 0 auto; font-size: 12px; color: var(--muted); text-align: right; white-space: nowrap; }
@container (max-width: 450px) {
  .animation-project-caption span { flex-basis: 100%; margin-left: 0; text-align: left; white-space: normal; }
}
.project-client { margin-top: 10px; font-size: 11px; color: var(--muted); }
.project-subtitle { margin-top: 10px; font-size: 9px; color: var(--muted); }
.amap-project-title { width: min(100%, 276px); }
.animation-project-caption:has(.project-client) > span { line-height: 14px; }
.project-synopsis { max-width: 780px; margin-top: 8px; font-size: 8px; line-height: 1.75; color: var(--muted); }
.project-synopsis p + p { margin-top: 10px; }
.film-dialog { width: min(1280px, 94vw); max-width: 94vw; max-height: 94svh; padding: 12px; border: 0; background: var(--bg); color: var(--ink); }
.film-dialog::backdrop { background: rgba(0,0,0,0.82); }
.film-dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 10px; }
.film-dialog-bar h2 { font-size: 12px; }
.film-close { width: 36px; height: 36px; border: 0; background: transparent; color: inherit; font: inherit; font-size: 26px; cursor: pointer; }
.film-dialog video { display: block; width: 100%; max-height: 78svh; aspect-ratio: 16 / 9; background: #000; }
.film-error { font-size: 12px; padding: 12px 0; }
.film-error a { text-decoration: underline; }
body:has(.film-dialog[open]) { overflow: hidden; }
main.section h1 { margin: 40px 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px !important; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.category-pixel-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 36px; margin: 40px 0; }
.category-pixel-nav a { color: #aaa; display: inline-flex; align-items: center; padding: 12px 0; }
.category-pixel-nav a[aria-current="page"] { color: var(--ink); }
.category-pixel-nav a:hover { color: var(--accent); }
.category-pixel-nav svg { display: block; height: 14px; width: auto !important; fill: currentColor; }
.category-pixel-nav a[aria-label="AI VIDEO"] svg { width: 94px !important; }
.category-pixel-nav a[aria-label="VISUAL COMMUNICATION"] svg { width: 238px !important; }
@media (max-width: 540px) { .category-pixel-nav { gap: 12px 24px; } .category-pixel-nav svg, .category-pixel-nav a[aria-label="AI VIDEO"] svg, .category-pixel-nav a[aria-label="VISUAL COMMUNICATION"] svg { width: auto !important; height: 12px; } }
@media (max-width: 800px) { h1 { font-size: 46px; } .hero-kicker { flex-direction: column; gap: 8px; } .thread-row { grid-template-columns: 30px minmax(0,1fr) minmax(0,1fr) 18px; gap: 12px; } .about-grid { gap: 32px; } .about-grid p { font-size: 22px; } }
@media (max-width: 540px) { .site-header { padding: 18px 16px; gap: 16px; } .brand { font-size: 22px; } .nav { gap: 13px; font-size: 10px; } .hero { padding: 65px 16px 56px; min-height: 430px; gap: 45px; } h1 { font-size: 38px; } .section,.contact,.site-footer { margin-left: 16px; margin-right: 16px; } .section-heading { margin-bottom: 32px; } .section-heading .eyebrow { max-width: 150px; } .thread-row { grid-template-columns: 24px minmax(0,1fr) 18px; gap: 10px; } .thread-row h3 { font-size: 19px; } .thread-row p { grid-column: 2; font-size: 12px; } .thread-row::after { grid-column: 3; grid-row: 1 / 3; } .about-grid { grid-template-columns: 1fr; } .contact h2 { font-size: 32px; } }
.hero.installation-hero { min-height: calc(100svh - 78px); padding: 0 32px 24px; gap: 0; align-items: center; justify-content: center; }
.computer-installation { position: relative; width: min(100%, 780px, calc(100svh - 130px)); aspect-ratio: 1; }
.computer-installation img { display: block; width: 100%; height: 100%; object-fit: contain; mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent); mask-composite: intersect; }
.computer-screen { position: absolute; left: 20.6%; top: 12%; width: 58.8%; height: 41.2%; display: flex; align-items: center; justify-content: center; padding: 3%; container-type: inline-size; }
.computer-screen h1 { font-size: 6.5cqw; line-height: 1.65; font-weight: 400; max-width: none; width: 100%; text-align: center; color: #242424; }
.computer-screen h1 span { color: inherit; white-space: nowrap; }
.installation-caption { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 11px; color: var(--muted); }
.installation-caption a { color: var(--ink); }
.installation-caption a:hover { color: var(--accent); }
@media (max-width: 540px) {
  .hero.installation-hero { padding: 24px 16px 32px; min-height: calc(85svh - 62px); gap: 32px; }
  .computer-installation { width: 100%; }
  .installation-caption { font-size: 10px; align-items: flex-start; }
  .installation-caption span { max-width: 180px; }
  .installation-caption .button { font-size: 10px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
