@font-face {
  font-family: "Alimama FangYuan";
  src: url("assets/fonts/alimama-fangyuan-vf.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-tight-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --black: #070707;
  --ink: #101010;
  --muted: #696969;
  --line: #e6e6e6;
  --surface: #f6f6f6;
  --accent: #2f6bff;
  --max-width: 1280px;
  --header-height: 80px;
  color-scheme: light;
  font-family: "Alimama FangYuan", "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: style;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #fff;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--ink);
  background: #fff;
}

body.menu-open {
  overflow: hidden;
}

body.dialog-open {
  overflow-x: clip;
  overflow-y: hidden;
}

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

button {
  padding: 0;
  border: 0;
  cursor: pointer;
}

a {
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

ul,
ol,
h1,
h2,
h3,
p {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

em {
  font-style: italic;
  font-weight: inherit;
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.page-shell {
  width: min(100%, var(--max-width));
  margin-inline: auto;
  padding-inline: 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  background: #000;
  font-size: 13px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: #fff;
  transition: background-color 300ms ease, box-shadow 300ms ease, backdrop-filter 300ms ease;
}

.site-header.is-scrolled {
  background: rgb(255 255 255 / 82%);
  box-shadow: 0 1px 18px rgb(0 0 0 / 6%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.site-header.is-motion {
  background: #d2d2ce;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site-header.is-motion.is-scrolled {
  background: rgb(210 210 206 / 88%);
  box-shadow: 0 1px 16px rgb(0 0 0 / 5%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.nav-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(100%, var(--max-width));
  min-height: var(--header-height);
  margin-inline: auto;
  padding-inline: 24px;
}

.brand,
.footer-brand {
  width: max-content;
  color: var(--black);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.brand-dot {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a,
.mobile-menu a {
  color: #111;
  font-size: 14px;
  font-weight: 480;
  line-height: 20px;
}

.nav-links a {
  position: relative;
  display: block;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgb(17 17 17 / 72%);
  transition: color 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: #e3e3e3;
  color: #000;
}

.nav-links a.is-current {
  border-color: #cfd1d4;
  color: #000;
  background: rgb(255 255 255 / 58%);
}

.mobile-menu a {
  color: rgb(17 17 17 / 64%);
  transition: color 220ms ease;
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  color: #000;
}

.mobile-menu nav a.is-current {
  color: #000;
  font-weight: 600;
}

.contact-button {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 22px 0 24px;
  border-radius: 999px;
  color: #fff;
  background: #000;
  font-size: 14px;
  font-weight: 540;
  transition: background-color 250ms ease, transform 250ms ease;
}

.contact-button:hover,
.contact-button:focus-visible {
  background: #242424;
}

/* NexStudio-inspired two-line label roll. The control stays still; only its text moves. */
.roll-label {
  position: relative;
  display: inline-grid;
  align-items: center;
  height: 1.35em;
  overflow: hidden;
  line-height: 1.35;
  vertical-align: middle;
}

.roll-label > span {
  grid-area: 1 / 1;
  white-space: nowrap;
  will-change: transform;
  transition: transform 340ms cubic-bezier(0.76, 0, 0.24, 1);
}

.roll-label > span:first-child {
  transform: translateY(0);
}

.roll-label > span:last-child {
  transform: translateY(125%);
}

:is(.nav-links a, .contact-button, .button, .mobile-menu nav a, .mobile-contact):is(:hover, :focus-visible) .roll-label > span:first-child {
  transform: translateY(-125%);
}

:is(.nav-links a, .contact-button, .button, .mobile-menu nav a, .mobile-contact):is(:hover, :focus-visible) .roll-label > span:last-child {
  transform: translateY(0);
}

.pixel-arrow {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  overflow: hidden;
}

.pixel-arrow svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-button:hover .pixel-arrow svg,
.contact-button:focus-visible .pixel-arrow svg,
.button:hover .pixel-arrow svg,
.button:focus-visible .pixel-arrow svg,
.text-link:hover .pixel-arrow svg,
.text-link:focus-visible .pixel-arrow svg {
  transform: translateX(4px);
}

.mobile-menu-button {
  display: none;
  justify-self: end;
  color: #111;
  background: transparent;
  font-size: 13px;
  font-weight: 560;
  text-transform: uppercase;
}

.mobile-menu {
  position: absolute;
  inset: 100% 0 auto;
  display: none;
  overflow: hidden;
  max-height: 0;
  padding: 0 24px;
  border-top: 1px solid transparent;
  background: rgb(255 255 255 / 96%);
  opacity: 0;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transform: translateY(-8px);
  transition: max-height 280ms ease, padding 280ms ease, opacity 220ms ease, transform 280ms ease, border-color 280ms ease;
}

.mobile-menu.is-open {
  max-height: 430px;
  padding-block: 18px 24px;
  border-color: var(--line);
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu nav {
  display: grid;
}

.mobile-menu nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-transform: uppercase;
}

.mobile-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 20px;
  border-radius: 999px;
  color: #fff !important;
  background: #000;
}

/* Shared controls */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid #000;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 540;
  letter-spacing: -0.1px;
  transition: color 250ms ease, background-color 250ms ease, border-color 250ms ease;
}

.button-dark {
  color: #fff;
  background: #000;
}

.button-dark:hover,
.button-dark:focus-visible {
  background: #242424;
}

.button-light,
.button-white {
  color: #111;
  background: #fff;
}

.button-light:hover,
.button-light:focus-visible,
.button-white:hover,
.button-white:focus-visible {
  background: #f1f1f1;
}

/* Scroll-driven hero */
.hero {
  --motion-intro-opacity: 1;
  --motion-title-opacity: 1;
  --motion-clients-opacity: 0;
  --motion-clients-y: 72px;
  --hero-hello-x: -112vw;
  --hero-suo-x: 112vw;
  --motion-exit-opacity: 0;
  --motion-hint-opacity: 0;
  position: relative;
  background: #d2d2ce;
}

.hero-scroll-story {
  position: relative;
  height: 220vh;
  height: 220svh;
  min-height: 1450px;
  background: #d2d2ce;
}

.hero-sticky {
  position: sticky;
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
  height: calc(100svh - var(--header-height));
  min-height: 540px;
  overflow: hidden;
  overflow: clip;
  color: #242424;
  background: #d2d2ce;
  isolation: isolate;
}

.hero-motion-gallery {
  position: absolute;
  inset: 0;
  z-index: 4;
  perspective: clamp(980px, 86vw, 1320px);
  perspective-origin: 50% 46%;
  transform-style: preserve-3d;
  opacity: 0;
  transition: opacity 360ms ease;
  pointer-events: none;
}

.hero.is-motion-ready .hero-motion-gallery {
  opacity: 1;
}

.hero-ribbon-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.motion-card {
  position: absolute;
  top: 50%;
  left: 50%;
  display: none;
  width: clamp(280px, 30vw, 480px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 0;
  background: #b8b8b4;
  border-radius: 18px;
  box-shadow: 0 18px 46px rgb(18 18 18 / 13%);
  opacity: 0;
  transform-origin: center;
  transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.motion-card img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hero:is(.is-auto-playing, .is-manual) .hero-ribbon-canvas {
  will-change: opacity;
}

.hero-motion-gallery.is-fallback .hero-ribbon-canvas {
  display: none;
}

.hero-motion-gallery.is-fallback .motion-card {
  display: none;
}

.hero.is-auto-playing .hero-scroll-hint {
  opacity: 0;
}

.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: var(--motion-title-opacity);
  transform: translate3d(0, var(--motion-copy-y, 0), 0);
  will-change: transform, opacity;
  pointer-events: none;
}

.hero h1 {
  position: absolute;
  inset: 0;
  color: #282828;
  font-size: clamp(72px, 8.2vw, 126px);
  font-weight: 470;
  line-height: 0.84;
  letter-spacing: -0.064em;
}

.hero-line {
  position: absolute;
  display: block;
  white-space: nowrap;
  will-change: transform, opacity;
}

.hero-line-hello {
  top: clamp(90px, 18vh, 170px);
  right: clamp(24px, 4.2vw, 72px);
  transform: translate3d(var(--hero-hello-x), 0, 0);
  text-align: right;
}

.hero-line-suo {
  top: clamp(250px, 47vh, 430px);
  left: clamp(24px, 4.2vw, 72px);
  padding-right: 0.025em;
  transform: translate3d(var(--hero-suo-x), 0, 0);
  text-align: left;
}

.hero-dot {
  display: inline !important;
  color: var(--accent);
}

.hero-intro-block {
  position: absolute;
  bottom: clamp(34px, 5.2vh, 58px);
  left: clamp(24px, 3.2vw, 54px);
  z-index: 8;
  width: min(31vw, 390px);
  opacity: var(--motion-intro-opacity);
  transform: translate3d(0, var(--motion-intro-y, 0), 0);
  will-change: transform, opacity;
}

.hero-intro {
  color: #3f3f3d;
  font-size: 14px;
  font-weight: 430;
  line-height: 1.65;
  letter-spacing: -0.018em;
}

.hero-intro-block .button {
  margin-top: 22px;
  background: #121212;
}

.hero-scroll-hint {
  position: absolute;
  bottom: clamp(30px, 4.6vh, 52px);
  left: 50%;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #494947;
  font-size: 10px;
  font-weight: 560;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: var(--motion-hint-opacity);
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-scroll-hint b {
  display: block;
  width: 1px;
  height: 30px;
  background: currentColor;
  transform-origin: top;
  animation: hero-scroll-pulse 1.8s ease-in-out infinite;
}

@keyframes hero-scroll-pulse {
  0%, 100% { transform: scaleY(.3); opacity: .35; }
  50% { transform: scaleY(1); opacity: 1; }
}

.hero-exit-wash {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: #d2d2ce;
  opacity: var(--motion-exit-opacity);
  pointer-events: none;
  will-change: opacity;
}

.clients {
  padding-top: 42px;
  background: transparent;
}

.hero-sticky > .clients {
  position: absolute;
  z-index: 7;
  right: 0;
  bottom: clamp(150px, 21svh, 210px);
  left: 0;
  margin-inline: auto;
  padding-top: 0;
  opacity: var(--motion-clients-opacity);
  transform: translate3d(0, var(--motion-clients-y), 0);
  will-change: opacity, transform;
  pointer-events: auto;
}

.clients-caption {
  color: #727272;
  font-size: 13px;
  font-weight: 480;
  line-height: 1.5;
  letter-spacing: 0.01em;
  text-align: center;
}

.client-marquee {
  position: relative;
  width: calc(100% + 48px);
  margin-left: -24px;
  overflow: hidden;
  padding-block: 34px 38px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.client-track {
  display: flex;
  width: max-content;
  animation: client-marquee 25s linear infinite;
}

.client-group {
  display: flex;
  flex: none;
  align-items: center;
  gap: 70px;
  padding-right: 70px;
}

.client-logo {
  display: grid;
  place-items: center;
  flex: none;
  width: 164px;
  height: 44px;
}

.client-logo img {
  width: auto;
  max-width: 158px;
  height: auto;
  max-height: 37px;
  opacity: 0.58;
  filter: grayscale(1) contrast(1.1);
  transition: opacity 260ms ease, filter 260ms ease, transform 260ms ease;
}

.client-logo:hover img {
  opacity: 1;
  filter: grayscale(0) contrast(1);
  transform: scale(1.035);
}

.client-logo--xiaomi img,
.client-logo--nio img,
.client-logo--geely img {
  max-height: 31px;
}

.client-logo--upc img,
.client-logo--cavc img,
.client-logo--baic img {
  max-width: 178px;
}

.client-marquee:hover .client-track {
  animation-play-state: paused;
}

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

/* About */
.about {
  margin-top: 0;
  padding-block: 104px;
  color: #fff;
  background: #000;
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 96px;
}

.about h2 {
  font-size: clamp(44px, 4.2vw, 58px);
  font-weight: 420;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.about h2 em {
  display: inline-block;
}

.about-content {
  padding-top: 4px;
}

.about-content > p {
  color: rgb(255 255 255 / 58%);
  font-size: 16px;
  line-height: 1.75;
}

.about-content > p + p {
  margin-top: 18px;
}

.about-content .about-lead {
  color: #fff;
  font-size: 20px;
  line-height: 1.6;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.about-metrics div {
  display: grid;
  gap: 16px;
}

.about-metrics strong {
  font-size: 50px;
  font-weight: 430;
  line-height: 1;
  letter-spacing: -0.045em;
}

.about-metrics span {
  color: rgb(255 255 255 / 78%);
  font-size: 13px;
}

/* Section headings */
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.5fr);
  align-items: end;
  gap: 64px;
  margin-bottom: 56px;
}

.section-heading h2 {
  font-size: clamp(44px, 4vw, 54px);
  font-weight: 420;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.section-heading > p,
.section-heading-side > p {
  color: #707070;
  font-size: 15px;
  line-height: 1.7;
}

.section-heading-dark > p {
  color: rgb(255 255 255 / 48%);
}

.section-heading-dark h2 {
  color: #fff;
}

/* Featured projects */
.work {
  padding-block: 96px;
  background: #fff;
}

.work-inner {
  width: 100%;
  max-width: none;
  padding: 96px 24px;
  border-radius: 32px;
  color: #fff;
  background: #000;
}

.work-content {
  width: min(100%, 1007px);
  margin-inline: auto;
}

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

.project-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  overflow: hidden;
  border: 1px solid #202020;
  border-radius: 20px;
  background: #0a0a0a;
  transition: border-color 300ms ease, transform 300ms ease;
}

.project-card:hover {
  border-color: #3b3b3b;
  transform: translateY(-4px);
}

.project-card header {
  min-height: 104px;
}

.project-card h3 {
  color: #fff;
  font-size: 23px;
  font-weight: 470;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  color: rgb(255 255 255 / 56%);
  font-size: 12px;
  line-height: 1.4;
}

.project-summary {
  min-height: 50px;
  margin: 20px 0 24px;
  color: rgb(255 255 255 / 62%);
  font-size: 14px;
  line-height: 1.65;
}

.project-visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  margin-top: auto;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  color: rgb(255 255 255 / 30%);
  background: #0c0c0d;
  transition: transform 420ms cubic-bezier(.2, .75, .2, 1), background-color 420ms ease;
}

.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.88) contrast(1.02);
  transform: scale(1.002);
  transition: filter 420ms ease, transform 420ms cubic-bezier(.2, .75, .2, 1);
}

.project-visual span {
  font-size: 11px;
  letter-spacing: 0.02em;
}

.project-card:hover .project-visual {
  background: #111;
  transform: translateY(-3px);
}

.project-card:hover .project-visual img {
  filter: saturate(1) contrast(1.04);
  transform: scale(1.025);
}

.work .button {
  margin-top: 48px;
}

/* More projects */
.archive {
  padding-block: 112px 128px;
  background: #fff;
}

.section-heading-side {
  display: grid;
  gap: 24px;
}

.text-link {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding-bottom: 12px;
  border-bottom: 1px solid #111;
  color: #111;
  background: transparent;
  text-align: left;
  font-size: 14px;
  font-weight: 520;
}

.text-link b {
  color: #777;
  font-size: 12px;
  font-weight: 500;
}

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

.archive-card {
  min-width: 0;
}

.archive-visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 20px;
  color: #aaa;
  background: #0c0c0d;
  transition: background-color 420ms ease, transform 420ms cubic-bezier(.2, .75, .2, 1);
}

.archive-visual span {
  font-size: 11px;
  letter-spacing: 0.02em;
}

.archive-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.88) contrast(1.02);
  transform: scale(1.002);
  transition: filter 420ms ease, transform 420ms cubic-bezier(.2, .75, .2, 1);
}

.archive-card:hover .archive-visual {
  background: #111;
  transform: translateY(-3px);
}

.archive-card:hover .archive-visual img {
  filter: saturate(1) contrast(1.04);
  transform: scale(1.025);
}

.archive-meta {
  display: flex;
  gap: 24px;
  margin-top: 22px;
  color: #777;
  font-size: 12px;
}

.archive-card h3 {
  margin-top: 12px;
  color: #111;
  font-size: 25px;
  font-weight: 450;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

/* Contact and footer */
.contact-cta {
  padding-block: 60px;
  background: #fbfbfb;
}

.contact-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 64px;
}

.contact-cta h2 {
  color: #111;
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 420;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.contact-cta .button {
  min-width: 128px;
}

.contact-dialog {
  width: min(calc(100% - 32px), 430px);
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 26px;
  overflow: visible;
  color: #111;
  background: transparent;
}

.contact-dialog::backdrop {
  background: rgb(0 0 0 / 54%);
  opacity: 0;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: opacity 220ms ease;
}

.contact-dialog-card {
  padding: 24px;
  border: 1px solid rgb(0 0 0 / 7%);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 30px 90px rgb(0 0 0 / 24%);
  opacity: 0;
  transform: translateY(18px) scale(.97);
  transition: opacity 220ms ease, transform 360ms cubic-bezier(.22, 1, .36, 1);
}

.contact-dialog.is-active::backdrop {
  opacity: 1;
}

.contact-dialog.is-active .contact-dialog-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.contact-dialog.is-closing::backdrop,
.contact-dialog.is-closing .contact-dialog-card {
  opacity: 0;
}

.contact-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.contact-dialog-header p {
  margin-bottom: 8px;
  color: #777;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.contact-dialog-header h2 {
  font-size: 25px;
  font-weight: 520;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.contact-dialog-close {
  min-width: 58px;
  min-height: 38px;
  padding-inline: 15px;
  border: 1px solid #ddd;
  border-radius: 999px;
  color: #333;
  background: #fff;
  font-size: 12px;
  transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease;
}

.contact-dialog-close:hover,
.contact-dialog-close:focus-visible {
  color: #fff;
  border-color: #111;
  background: #111;
}

.contact-dialog-qr {
  display: grid;
  place-items: center;
  margin-top: 24px;
  padding: 16px;
  border-radius: 20px;
  background: #f4f4f4;
}

.contact-dialog-qr img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
}

.contact-dialog-note {
  margin-top: 16px;
  color: #777;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

@keyframes contact-dialog-in {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes contact-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.site-footer {
  overflow: hidden;
  color: #fff;
  background: var(--black);
}

.footer-inner {
  padding-top: 48px;
  padding-bottom: 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.65fr);
  gap: 48px;
  align-items: start;
}

.footer-brand {
  color: #fff;
  font-size: 32px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(44px, 4vw, 64px);
}

.footer-nav > div {
  min-width: 0;
}

.footer-nav h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.footer-nav-links,
.footer-contact-content,
.footer-contact-meta {
  display: grid;
  justify-items: start;
}

.footer-nav-links {
  gap: 14px;
}

.footer-contact-content {
  gap: 20px;
}

.footer-contact-meta {
  gap: 12px;
}

.footer-nav a,
.footer-nav p {
  color: rgb(255 255 255 / 58%);
  font-size: 13px;
  line-height: 1.65;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #fff;
}

.footer-qr {
  width: 84px;
  height: 84px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 8px;
  background: #fff;
}

.footer-wordmark {
  margin-top: 26px;
  color: transparent;
  font-size: clamp(96px, 13vw, 178px);
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: -0.045em;
  -webkit-text-stroke: 1px rgb(255 255 255 / 13%);
  user-select: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgb(255 255 255 / 10%);
  color: rgb(255 255 255 / 62%);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* Section-aware navigation: the header belongs to the chapter beneath it. */
.site-header.is-dark-context {
  color: #fff;
  background: rgb(6 8 12 / 88%);
  box-shadow: 0 1px 0 rgb(255 255 255 / 9%);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.site-header.is-dark-context :is(.brand, .nav-links a) {
  color: rgb(255 255 255 / 72%);
}

.site-header.is-dark-context .brand,
.site-header.is-dark-context .nav-links a:is(:hover, :focus-visible) {
  color: #fff;
}

.site-header.is-dark-context .nav-links a:is(:hover, :focus-visible) {
  border-color: rgb(255 255 255 / 24%);
}

.site-header.is-dark-context .nav-links a.is-current {
  border-color: rgb(255 255 255 / 24%);
  color: #fff;
  background: rgb(255 255 255 / 10%);
}

.site-header.is-dark-context .contact-button {
  color: #111;
  background: #fff;
}

.site-header.is-dark-context .contact-button:hover,
.site-header.is-dark-context .contact-button:focus-visible {
  background: #e9efff;
}

.site-header.is-dark-context .mobile-menu-button {
  color: #fff;
}

.home-scroll-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 13px rgb(47 107 255 / 44%);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* Inner pages */
.inner-page-main {
  background: #fff;
}

.page-hero {
  padding-block: 112px 92px;
}

.page-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  align-items: end;
  gap: 80px;
}

.page-hero h1 {
  margin-top: 0;
  color: #080808;
  font-size: clamp(72px, 8.5vw, 118px);
  font-weight: 520;
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.page-hero h1 span,
.page-hero h1 em {
  display: block;
}

.page-hero h1 em {
  padding-right: 0.03em;
}

.page-hero-aside {
  display: grid;
  gap: 36px;
  padding-bottom: 4px;
}

.page-hero-aside > p {
  color: #555;
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: -0.02em;
}

.page-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.page-meta div {
  display: grid;
}

.page-meta strong {
  color: #111;
  font-size: 20px;
  font-weight: 480;
  letter-spacing: -0.035em;
}

.all-projects {
  padding-bottom: 96px;
}

.all-projects-panel {
  width: calc(100% - 48px);
  max-width: 1536px;
  margin-inline: auto;
  padding: 88px 24px 96px;
  border-radius: 32px;
  color: #fff;
  background: #000;
}

.all-projects-inner {
  width: min(100%, 1184px);
  margin-inline: auto;
}

.all-projects-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 56px;
}

.all-projects-heading h2,
.profile-copy h2,
.about-details-heading h2 {
  font-size: clamp(42px, 4vw, 56px);
  font-weight: 430;
  line-height: 1;
  letter-spacing: -0.05em;
}

.all-projects-heading p:last-child {
  max-width: 380px;
  color: rgb(255 255 255 / 50%);
  font-size: 14px;
  line-height: 1.7;
  text-align: right;
}

.project-filter {
  position: sticky;
  top: calc(var(--header-height) + 12px);
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  padding: 8px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 999px;
  background: rgb(10 10 10 / 82%);
  box-shadow: 0 14px 42px rgb(0 0 0 / 28%);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.project-filter-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.project-filter button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding-inline: 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgb(255 255 255 / 58%);
  background: transparent;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease, scale 160ms ease;
}

.project-filter button b {
  color: currentColor;
  font-size: 10px;
  font-weight: 520;
  opacity: .58;
}

.project-filter button:hover,
.project-filter button:focus-visible {
  border-color: rgb(255 255 255 / 16%);
  color: #fff;
}

.project-filter button:active {
  scale: .96;
}

.project-filter button.is-active {
  border-color: #fff;
  color: #070707;
  background: #fff;
}

.project-filter-status {
  flex: 0 0 auto;
  padding-right: 12px;
  color: rgb(255 255 255 / 42%);
  font-size: 11px;
}

.all-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.all-projects-grid .project-card[hidden] {
  display: none !important;
}

.all-projects-grid .project-card header {
  min-height: 104px;
}

.all-projects-grid .project-visual {
  flex: 0 0 auto;
  aspect-ratio: 16 / 9;
  margin: 0 0 24px;
}

.all-projects-grid .project-summary {
  margin-bottom: 0;
}

.project-placeholder-copy {
  display: grid;
  place-items: center;
  width: calc(100% - 32px);
  min-height: 62%;
  border: 1px dashed rgb(255 255 255 / 16%);
  border-radius: 12px;
  color: rgb(255 255 255 / 34%);
  text-align: center;
}

.project-placeholder-copy b {
  font-size: 12px;
  font-weight: 450;
}

.about-profile {
  padding-bottom: 96px;
}

.about-profile-panel {
  width: calc(100% - 48px);
  max-width: 1536px;
  margin-inline: auto;
  padding: 88px 24px;
  border-radius: 32px;
  color: #fff;
  background: #000;
}

.about-profile-inner {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: 96px;
  width: min(100%, 1184px);
  margin-inline: auto;
}

.profile-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 20px;
  background: #111;
}

.profile-photo[data-profile-visual="image"] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(0.78) brightness(0.86) contrast(1.06);
  transform: scale(1.01);
  transition: filter 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-photo[data-profile-visual="image"]::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(0 0 0 / 3%), rgb(0 0 0 / 20%)),
    linear-gradient(135deg, rgb(44 91 255 / 11%), transparent 48%);
  content: "";
  pointer-events: none;
}

@media (hover: hover) {
  .profile-photo[data-profile-visual="image"]:hover img {
    filter: saturate(0.9) brightness(0.91) contrast(1.04);
    transform: scale(1.02);
  }
}

.profile-photo[data-profile-visual="placeholder"] {
  isolation: isolate;
  background:
    radial-gradient(circle at 72% 24%, rgb(51 105 255 / 88%) 0 5%, rgb(24 64 205 / 42%) 18%, transparent 42%),
    radial-gradient(ellipse at 22% 76%, rgb(125 145 255 / 20%), transparent 48%),
    linear-gradient(145deg, #080808 0 46%, #11131b 46% 72%, #060606 72% 100%);
}

.profile-photo[data-profile-visual="placeholder"]::before {
  position: absolute;
  z-index: -1;
  inset: 15% -28% 7% 18%;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgb(255 255 255 / 3%),
    0 0 100px rgb(48 98 255 / 26%);
  content: "";
  transform: rotate(-24deg);
}

.profile-photo[data-profile-visual="placeholder"]::after {
  position: absolute;
  right: 26px;
  bottom: 24px;
  left: 26px;
  color: rgb(255 255 255 / 48%);
  content: "SUO / ABSTRACT PORTRAIT";
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.profile-copy {
  align-self: center;
}

.profile-copy h2 {
  margin: 0 0 32px;
}

.profile-copy > p {
  color: rgb(255 255 255 / 60%);
  font-size: 16px;
  line-height: 1.85;
}

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

.profile-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.profile-contact a {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding-top: 16px;
  border-top: 1px solid rgb(255 255 255 / 14%);
  color: #fff;
}

.profile-contact span {
  color: rgb(255 255 255 / 42%);
  font-size: 11px;
}

.profile-contact strong {
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 480;
}

.capability-list {
  display: grid;
  margin-top: 48px;
  border-top: 1px solid rgb(255 255 255 / 14%);
}

.capability-list li {
  display: grid;
  grid-template-columns: minmax(160px, 0.6fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 82px;
  border-bottom: 1px solid rgb(255 255 255 / 14%);
}

.capability-list strong {
  font-size: 16px;
  font-weight: 500;
}

.capability-list p {
  color: rgb(255 255 255 / 52%);
  font-size: 13px;
  line-height: 1.6;
}

.capability-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  perspective: 800px;
}

.capability-cloud span {
  --tag-x: 0px;
  --tag-y: 0px;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgb(255 255 255 / 17%);
  border-radius: 999px;
  color: rgb(255 255 255 / 72%);
  background: rgb(255 255 255 / 4%);
  font-size: 12px;
  transform: translate3d(var(--tag-x), var(--tag-y), 0);
  transition: color 260ms ease, border-color 260ms ease, background-color 260ms ease, transform 520ms cubic-bezier(.22,1,.36,1);
  will-change: transform;
}

.capability-cloud span:is(:hover, :focus-visible) {
  border-color: #6f98ff;
  color: #fff;
  background: rgb(47 107 255 / 18%);
}

.inner-page .contact-cta {
  color: #fff;
  background: #2f6bff;
}

.inner-page .contact-cta h2 {
  color: #fff;
}

.inner-page .contact-cta .button {
  color: #111;
  background: #fff;
}

.about-details {
  padding-block: 24px 112px;
}

.about-details-inner {
  display: grid;
  gap: 80px;
}

.about-details-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  align-items: end;
  gap: 64px;
}

.about-details-heading > p {
  color: #707070;
  font-size: 14px;
  line-height: 1.75;
}

.experience-list {
  border-top: 1px solid #111;
}

.experience-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  grid-template-rows: auto auto;
  align-items: start;
  column-gap: 56px;
  row-gap: 9px;
  min-height: 132px;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}

.experience-row > small {
  grid-column: 1;
  grid-row: 2;
  color: #777;
  font-size: 11px;
  line-height: 1.5;
}

.experience-row strong {
  grid-column: 1;
  grid-row: 1;
  font-size: 18px;
  font-weight: 500;
}

.experience-row p {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: #666;
  font-size: 13px;
  line-height: 1.65;
}

.detail-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.detail-placeholder {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fafafa;
}

.detail-placeholder h3 {
  color: #555;
  font-size: 15px;
  font-weight: 520;
}

.detail-placeholder-value {
  margin-top: 24px;
  color: #111;
  font-size: 24px;
  font-weight: 470;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.detail-placeholder p:last-child {
  margin-top: 40px;
  color: #888;
  font-size: 13px;
  line-height: 1.6;
}

/* Inner page motion language */
.inner-page .site-header {
  overflow: visible;
}

.inner-scroll-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.inner-page .all-projects-grid .project-card {
  position: relative;
  isolation: isolate;
  transform: none;
  transition: border-color 300ms ease;
}

.inner-page .all-projects-grid .project-card::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(145deg, rgb(255 255 255 / 4%), transparent 42%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
}

.inner-page .all-projects-grid .project-card > * {
  position: relative;
  z-index: 1;
}

.inner-page .all-projects-grid .project-visual,
.inner-page .all-projects-grid .project-visual img {
  transform: none;
}

.inner-page .all-projects-grid .project-visual img {
  transform: scale(1.008);
  transition: filter 440ms ease, transform 520ms cubic-bezier(.22, 1, .36, 1);
}

.inner-page .profile-contact a {
  transition: border-color 260ms ease, color 260ms ease, translate 360ms cubic-bezier(.22, 1, .36, 1);
}

.inner-page .capability-list li {
  position: relative;
  transition: background-color 260ms ease, border-color 260ms ease;
}

.inner-page .capability-list li::before {
  position: absolute;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
  opacity: 0;
  scale: .4;
  transition: opacity 260ms ease, scale 360ms cubic-bezier(.22, 1, .36, 1);
}

.inner-page .experience-row {
  position: relative;
  transition: background-color 280ms ease;
}

.inner-page .experience-row strong,
.inner-page .experience-row > small,
.inner-page .experience-row > p {
  transition: color 260ms ease;
}

.inner-page .detail-placeholder {
  position: relative;
  overflow: hidden;
  transition: border-color 280ms ease, background-color 280ms ease;
}

.inner-page .detail-placeholder::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 0%, rgb(44 105 255 / 9%), transparent 48%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
}

.inner-page .detail-placeholder > * {
  position: relative;
}

.inner-page .footer-nav a {
  position: relative;
  width: max-content;
}

.inner-page .footer-nav a::after {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  scale: 0 1;
  transform-origin: right center;
  transition: scale 360ms cubic-bezier(.22, 1, .36, 1);
}

.inner-page :is(.button, .contact-button, .project-filter button):active {
  scale: .97;
}

.inner-page .button {
  transition: color 250ms ease, background-color 250ms ease, border-color 250ms ease, scale 160ms ease;
}

.inner-page .contact-button {
  transition: background-color 250ms ease, transform 250ms ease, scale 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .inner-page .all-projects-grid .project-card:hover {
    border-color: #353535;
    transform: none;
  }

  .inner-page .all-projects-grid .project-card:hover::before {
    opacity: 1;
  }

  .inner-page .all-projects-grid .project-card:hover .project-visual {
    transform: none;
  }

  .inner-page .all-projects-grid .project-card:hover .project-visual img {
    filter: saturate(1) contrast(1.04);
    transform: scale(1.022);
  }

  .inner-page .profile-contact a:hover,
  .inner-page .profile-contact a:focus-visible {
    border-color: var(--accent);
    translate: 6px 0;
  }

  .inner-page .capability-list li:hover {
    background: rgb(255 255 255 / 3%);
  }

  .inner-page .capability-list li:hover::before {
    opacity: 1;
    scale: 1;
  }

  .inner-page .experience-row:hover {
    background: #fafafa;
  }

  .inner-page .experience-row:hover > p {
    color: #3d3d3d;
  }

  .inner-page .detail-placeholder:hover {
    border-color: #d5d5d5;
    background: #fff;
  }

  .inner-page .detail-placeholder:hover::before {
    opacity: 1;
  }

  .inner-page .footer-nav a:hover::after,
  .inner-page .footer-nav a:focus-visible::after {
    scale: 1 1;
    transform-origin: left center;
  }
}

/* Reveals */
.has-js body:not(.inner-page) .reveal-item {
  opacity: 0;
  transform: translateY(64px);
  transition: opacity 500ms ease, transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.has-js body:not(.inner-page) .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.has-js body:not(.inner-page) .project-card.reveal-item.is-visible:hover {
  transform: translateY(-4px);
}

.inner-motion-ready .inner-page .reveal-item {
  opacity: 0;
  translate: 0 22px;
  filter: none;
  transition: opacity 380ms ease var(--reveal-delay, 0ms), translate 460ms cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms);
}

.inner-motion-ready .inner-page .reveal-item.is-visible {
  opacity: 1;
  translate: 0 0;
  filter: blur(0);
}

.inner-motion-ready .inner-page .page-hero-layout > :first-child.reveal-item {
  overflow: hidden;
  opacity: 1;
  translate: 0 0;
  filter: none;
}

.inner-motion-ready .inner-page .page-hero-layout > :first-child.reveal-item h1 span,
.inner-motion-ready .inner-page .page-hero-layout > :first-child.reveal-item h1 em {
  transform: translateY(112%);
  transition: transform 760ms cubic-bezier(.22, 1, .36, 1);
}

.inner-motion-ready .inner-page .page-hero-layout > :first-child.reveal-item h1 em {
  transition-delay: 80ms;
}

.inner-motion-ready .inner-page .page-hero-layout > :first-child.reveal-item.is-visible h1 span,
.inner-motion-ready .inner-page .page-hero-layout > :first-child.reveal-item.is-visible h1 em {
  transform: translateY(0);
}

.inner-motion-ready .inner-page .page-hero-aside.reveal-item {
  --reveal-delay: 180ms;
  translate: 0 22px;
}

.inner-motion-ready .inner-page .page-hero-aside.reveal-item.is-visible {
  translate: 0 0;
}

.inner-motion-ready .inner-page .profile-photo.reveal-item {
  translate: -28px 18px;
}

.inner-motion-ready .inner-page .profile-copy.reveal-item {
  translate: 28px 18px;
}

.inner-motion-ready .inner-page :is(.profile-photo, .profile-copy).reveal-item.is-visible {
  translate: 0 0;
}

@media (hover: hover) and (pointer: fine) {
  .inner-motion-ready .inner-page .all-projects-grid .project-card.reveal-item.is-visible:hover,
  .inner-motion-ready .inner-page .detail-placeholder.reveal-item.is-visible:hover { translate: 0 0; }
}

.has-js .project-grid .project-card:nth-child(2),
.has-js .archive-grid .archive-card:nth-child(2) {
  transition-delay: 70ms;
}

.has-js .project-grid .project-card:nth-child(3),
.has-js .archive-grid .archive-card:nth-child(3) {
  transition-delay: 100ms;
}

.has-js .project-grid .project-card:nth-child(4),
.has-js .archive-grid .archive-card:nth-child(4) {
  transition-delay: 150ms;
}

/* Tablet */
@media (max-width: 1023px) {
  :root { --header-height: 76px; }

  .nav-shell { grid-template-columns: 1fr auto; min-height: var(--header-height); }
  .nav-links,
  .contact-button { display: none; }
  .mobile-menu-button,
  .mobile-menu { display: block; }

  .hero-scroll-story { height: 215vh; height: 215svh; min-height: 1320px; }
  .hero h1 { font-size: clamp(66px, 9.4vw, 96px); }
  .hero-intro-block { width: min(34vw, 340px); }

  .about-inner { gap: 52px; }
  .about-content .about-lead { font-size: 18px; }

  .work-inner { padding: 72px 40px; }
  .project-grid { gap: 24px; }
  .project-card h3 { font-size: 20px; }
  .project-meta { display: grid; gap: 6px; }

  .footer-top { grid-template-columns: 1fr 1fr; }

  .page-hero-layout { grid-template-columns: 1fr; gap: 48px; }
  .page-hero-aside { width: min(100%, 620px); }
  .about-profile-inner { gap: 56px; }
  .capability-list li { grid-template-columns: 1fr 1.5fr; padding-block: 18px; }
  .experience-row { grid-template-columns: 1fr 1fr; padding-block: 24px; }
  .experience-row strong,
  .experience-row > small,
  .experience-row p { grid-row: auto; }
  .experience-row strong { grid-column: 1; }
  .experience-row > small { grid-column: 2; }
  .experience-row p { grid-column: 1 / -1; }

  body.menu-open .site-header,
  body.menu-open .site-header.is-dark-context,
  body.menu-open .site-header.is-motion {
    color: #111;
    background: #f4f4f1;
    box-shadow: 0 1px 0 rgb(17 17 17 / 10%);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  body.menu-open .site-header :is(.brand, .mobile-menu-button) {
    color: #111;
  }

  .mobile-menu-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    min-height: 38px;
    padding-inline: 17px 15px;
    border: 1px solid rgb(17 17 17 / 18%);
    border-radius: 999px;
    background: rgb(255 255 255 / 32%);
    letter-spacing: .04em;
    text-transform: none;
    transition: color 240ms ease, background-color 240ms ease, border-color 240ms ease, transform 240ms ease;
  }

  .mobile-menu-button::before {
    content: "";
    width: 6px;
    height: 6px;
    margin-right: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgb(47 107 255 / 10%);
    transition: background-color 240ms ease, box-shadow 240ms ease;
  }

  .mobile-menu-button:active { transform: scale(.96); }

  body.menu-open .mobile-menu-button {
    border-color: #111;
    color: #fff !important;
    background: #111;
  }

  body.menu-open .mobile-menu-button::before {
    background: #fff;
    box-shadow: none;
  }

  .mobile-menu {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    height: auto;
    max-height: none;
    padding: clamp(34px, 6vh, 72px) 24px max(28px, env(safe-area-inset-bottom));
    overflow: hidden auto;
    border-top: 0;
    background:
      radial-gradient(circle at 92% 10%, rgb(47 107 255 / 13%), transparent 31%),
      linear-gradient(180deg, #f4f4f1 0%, #efefec 100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-16px);
    transition: opacity 260ms ease, transform 440ms cubic-bezier(.22, 1, .36, 1), visibility 0s linear 440ms;
  }

  .mobile-menu::after {
    content: "SUO · UI / UX DESIGNER";
    position: absolute;
    right: 24px;
    bottom: max(11px, env(safe-area-inset-bottom));
    color: rgb(17 17 17 / 34%);
    font-family: "Inter", sans-serif;
    font-size: 9px;
    font-weight: 560;
    letter-spacing: .14em;
    pointer-events: none;
  }

  .mobile-menu.is-open {
    max-height: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .mobile-menu nav {
    counter-reset: mobile-navigation;
    display: grid;
    margin-block: auto;
    border-top: 1px solid rgb(17 17 17 / 14%);
  }

  .mobile-menu nav::before {
    content: "NAVIGATION · 作品索引";
    padding-block: 0 18px;
    color: rgb(17 17 17 / 46%);
    font-family: "Inter", "Alimama FangYuan", sans-serif;
    font-size: 10px;
    font-weight: 560;
    letter-spacing: .12em;
    transform: translateY(-100%);
  }

  .mobile-menu nav a {
    counter-increment: mobile-navigation;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    min-height: clamp(80px, 13vh, 116px);
    padding: 10px 2px;
    border-bottom: 1px solid rgb(17 17 17 / 14%);
    color: #111;
    font-size: clamp(38px, 7vw, 64px);
    font-weight: 510;
    line-height: 1;
    letter-spacing: -.055em;
    text-transform: none;
    opacity: 0;
    translate: 0 22px;
    transition: color 220ms ease, opacity 420ms ease, translate 560ms cubic-bezier(.22, 1, .36, 1);
  }

  .mobile-menu nav a::before {
    content: "0" counter(mobile-navigation);
    align-self: start;
    margin-top: 9px;
    color: rgb(17 17 17 / 42%);
    font-family: "Inter", sans-serif;
    font-size: 10px;
    font-weight: 620;
    letter-spacing: .08em;
  }

  .mobile-menu nav a::after {
    content: "↗";
    color: rgb(17 17 17 / 30%);
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 420;
    letter-spacing: 0;
    transition: color 220ms ease, transform 280ms cubic-bezier(.22, 1, .36, 1);
  }

  .mobile-menu nav a.is-current { color: #111; }
  .mobile-menu nav a.is-current::before,
  .mobile-menu nav a.is-current::after { color: var(--accent); }

  .mobile-menu nav a:is(:hover, :focus-visible)::after {
    color: var(--accent);
    transform: translate(3px, -3px);
  }

  .mobile-menu .mobile-contact {
    flex: 0 0 auto;
    gap: 12px;
    min-height: 58px;
    margin-top: clamp(28px, 5vh, 48px);
    border: 1px solid #111;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 560;
    opacity: 0;
    translate: 0 22px;
    transition: opacity 420ms ease, translate 560ms cubic-bezier(.22, 1, .36, 1), background-color 220ms ease;
  }

  .mobile-menu .mobile-contact::after {
    content: "→";
    font-family: "Inter", sans-serif;
    font-size: 18px;
    transition: transform 260ms cubic-bezier(.22, 1, .36, 1);
  }

  .mobile-menu .mobile-contact:is(:hover, :focus-visible)::after {
    transform: translateX(4px);
  }

  .mobile-menu.is-open :is(nav a, .mobile-contact) {
    opacity: 1;
    translate: 0 0;
  }

  .mobile-menu.is-open nav a:nth-child(1) { transition-delay: 70ms; }
  .mobile-menu.is-open nav a:nth-child(2) { transition-delay: 115ms; }
  .mobile-menu.is-open nav a:nth-child(3) { transition-delay: 160ms; }
  .mobile-menu.is-open .mobile-contact { transition-delay: 205ms; }
}

/* Mobile */
@media (max-width: 719px) {
  :root { --header-height: 68px; }

  .page-shell,
  .nav-shell { padding-inline: 20px; }

  .brand { font-size: 24px; }
  .mobile-menu { padding-inline: 20px; }
  .mobile-menu::after { right: 20px; }
  .mobile-menu nav a {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    min-height: clamp(82px, 15vh, 110px);
    font-size: clamp(40px, 12.5vw, 56px);
  }

  .hero-scroll-story { height: 205vh; height: 205svh; min-height: 1180px; }
  .hero-sticky { min-height: 0; }
  .hero h1 { font-size: clamp(52px, 16vw, 72px); line-height: 0.84; letter-spacing: -0.055em; }
  .hero-line-hello { top: 13vh; right: 20px; }
  .hero-line-suo { top: 50vh; left: 20px; }
  .hero-motion-gallery.is-fallback .motion-card { width: clamp(230px, 72vw, 340px); }
  .hero-intro-block { top: auto; bottom: 24px; left: 20px; width: min(72vw, 300px); }
  .hero-intro { font-size: 13px; line-height: 1.6; }
  .hero-intro-block .button { min-height: 44px; margin-top: 16px; padding-inline: 18px; }
  .hero-scroll-hint { display: none; }

  .clients { padding-top: 68px; }
  .hero-sticky > .clients { bottom: clamp(72px, 12svh, 104px); padding-top: 0; }
  .clients-caption { font-size: 11px; }
  .client-marquee { width: calc(100% + 40px); margin-left: -20px; padding-block: 26px 30px; }
  .client-group { gap: 40px; padding-right: 40px; }
  .client-logo { width: 124px; height: 36px; }
  .client-logo img { max-width: 122px; max-height: 29px; }
  .client-logo--xiaomi img,
  .client-logo--nio img,
  .client-logo--geely img { max-height: 27px; }
  .client-logo--upc img,
  .client-logo--cavc img,
  .client-logo--baic img { max-width: 136px; }

  .about { padding-block: 64px; }
  .about-inner { grid-template-columns: 1fr; gap: 36px; }
  .about h2 { font-size: 42px; }
  .about-content > p { font-size: 14px; }
  .about-content .about-lead { font-size: 17px; }
  .about-metrics { gap: 20px; margin-top: 36px; }
  .about-metrics strong { font-size: 40px; }
  .about-metrics span { font-size: 10px; }

  .section-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  .section-heading h2 { font-size: 42px; }
  .section-heading > p,
  .section-heading-side > p { font-size: 14px; }

  .work { padding-block: 48px; }
  .work-inner { padding: 48px 16px; border-radius: 24px; }
  .project-grid { grid-template-columns: 1fr; gap: 18px; }
  .project-card { padding: 18px; border-radius: 16px; }
  .project-card header { min-height: auto; }
  .project-card h3 { font-size: 21px; }
  .project-summary { min-height: auto; margin: 16px 0 20px; }
  .project-visual { border-radius: 12px; }
  .work .button { width: 100%; margin-top: 32px; }

  .archive { padding-block: 72px 84px; }
  .archive-grid { grid-template-columns: 1fr; gap: 46px; }
  .archive-visual { border-radius: 16px; }
  .archive-card h3 { font-size: 22px; }

  .contact-cta { padding-block: 46px; }
  .contact-cta-inner { grid-template-columns: 1fr; gap: 30px; }
  .contact-cta h2 { font-size: 38px; }
  .contact-cta .button { justify-self: start; }
  .contact-dialog-card { padding: 18px; border-radius: 22px; }
  .contact-dialog-header { gap: 14px; }
  .contact-dialog-header h2 { font-size: 22px; }
  .contact-dialog-qr { margin-top: 20px; padding: 12px; border-radius: 16px; }
  .contact-dialog-qr img { border-radius: 10px; }

  .footer-inner { padding-top: 38px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav {
    grid-template-columns: minmax(92px, 0.72fr) minmax(0, 1.28fr);
    gap: 28px;
  }
  .footer-wordmark { margin-top: 28px; font-size: 30vw; line-height: 0.82; }
  .footer-bottom { flex-direction: column; gap: 8px; margin-top: 20px; }

  .page-hero { padding-block: 72px 64px; }
  .page-hero-layout { gap: 36px; }
  .page-hero h1 { margin-top: 0; font-size: clamp(58px, 19vw, 80px); }
  .page-hero-aside { gap: 28px; }
  .page-hero-aside > p { font-size: 15px; }
  .page-meta strong { font-size: 18px; }

  .all-projects { padding-bottom: 48px; }
  .all-projects-panel,
  .about-profile-panel { width: calc(100% - 16px); padding: 52px 12px; border-radius: 24px; }
  .all-projects-heading { display: grid; gap: 22px; margin-bottom: 38px; }
  .all-projects-heading p:last-child { text-align: left; }
  .project-filter {
    top: calc(var(--header-height) + 8px);
    display: block;
    margin-bottom: 20px;
    padding: 7px;
    overflow: hidden;
    border-radius: 18px;
  }
  .project-filter-controls {
    gap: 3px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }
  .project-filter-controls[data-scroll-start="true"][data-scroll-end="false"] {
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent 100%);
  }
  .project-filter-controls[data-scroll-start="false"][data-scroll-end="false"] {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  }
  .project-filter-controls[data-scroll-start="false"][data-scroll-end="true"] {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 100%);
  }
  .project-filter-controls::-webkit-scrollbar { display: none; }
  .project-filter button { min-height: 38px; padding-inline: 13px; }
  .project-filter-status {
    padding: 8px 8px 2px;
    color: rgb(255 255 255 / 42%);
    font-size: 10px;
  }
  .all-projects-grid { grid-template-columns: 1fr; gap: 18px; }

  .about-profile { padding-bottom: 64px; }
  .about-profile-inner { grid-template-columns: 1fr; gap: 44px; }
  .profile-photo { width: min(100%, 420px); margin-inline: auto; }
  .profile-copy h2 { margin-bottom: 24px; }
  .profile-copy > p { font-size: 14px; }
  .profile-contact { grid-template-columns: 1fr; gap: 14px; }
  .capability-list { margin-top: 38px; }
  .capability-list li { grid-template-columns: 1fr; gap: 8px; }

  .about-details { padding-block: 8px 80px; }
  .about-details-inner { gap: 54px; }
  .about-details-heading { grid-template-columns: 1fr; gap: 24px; }
  .experience-row { grid-template-columns: 1fr; gap: 10px; min-height: 0; padding-block: 24px; }
  .experience-row strong,
  .experience-row > small,
  .experience-row p { grid-column: auto; grid-row: auto; }
  .detail-placeholder-grid { grid-template-columns: 1fr; }

}

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

  .footer-nav-links a,
  .footer-contact-meta a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }
}

@media (max-width: 360px) {
  .page-shell,
  .nav-shell,
  .mobile-menu { padding-inline: 16px; }
  .hero h1 { font-size: 50px; }
  .contact-cta h2 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .client-track { animation: none; }
  .client-group[aria-hidden="true"] { display: none; }
  .client-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .has-js .reveal-item { opacity: 1; translate: 0 0; transform: none; filter: none; }
  .hero-scroll-story { height: auto; min-height: 0; }
  .hero-sticky { position: relative; top: auto; height: calc(100vh - var(--header-height)); height: calc(100svh - var(--header-height)); min-height: 620px; }
  .hero-motion-gallery { opacity: 1; }
  .hero-ribbon-canvas,
  .motion-card { will-change: auto !important; }
  .hero-copy { opacity: 1 !important; }
  .hero-line { transform: none !important; }
  .hero-intro-block { opacity: 1 !important; }
  .hero-exit-wash,
  .hero-scroll-hint { display: none; }
  .roll-label > span:first-child,
  :is(.nav-links a, .contact-button, .button, .mobile-menu nav a, .mobile-contact):is(:hover, :focus-visible) .roll-label > span:first-child { transform: none; }
  .roll-label > span:last-child { display: none; }
  .inner-scroll-progress { display: none; }
  .inner-page .all-projects-grid .project-card,
  .inner-page .all-projects-grid .project-card:hover,
  .inner-page .detail-placeholder,
  .inner-page .detail-placeholder:hover { translate: 0 0; transform: none; }
  .inner-page .all-projects-grid .project-visual img,
  .inner-page .all-projects-grid .project-card:hover .project-visual img { transform: none; }
}
