:root {
  color-scheme: light dark;
  --ink: #eaffff;
  --ink-soft: #b8d4d2;
  --paper: #030606;
  --paper-strong: #071010;
  --muted: #7da09d;
  --line: rgba(126, 212, 212, 0.18);
  --dark: rgba(3, 6, 6, 0.72);
  --section-shade: transparent;
  --section-shade-soft: transparent;
  --dark-2: #071010;
  --glass: rgba(5, 14, 14, 0.76);
  --blue: #7ed4d4;
  --teal: #7ed4d4;
  --accent-rgb: 126, 212, 212;
  --gold: #f7efc6;
  --coral: #ff8a62;
  --lilac: #aeb2ff;
  --clash-a: var(--teal);
  --clash-b: var(--teal);
  --clash-c: var(--teal);
  --radius: 8px;
  --max: 1180px;
  --body-bg: #030606;
  --section-text: #fff;
  --particle-color: #9ea8a8;
  --particle-pop-1: #9ea8a8;
  --particle-pop-2: #b8c0c0;
  --particle-pop-3: #7f8989;
  --particle-pop-4: #cdd2d2;
  --particle-pop-5: #6f7777;
  --particle-highlight: #eef2f2;
  --particle-alpha: 0.24;
  --particle-highlight-alpha: 0.025;
  --particle-canvas-opacity: 0.52;
  --header-bg: rgba(255, 255, 255, 0.08);
  --header-border: rgba(126, 212, 212, 0.42);
  --header-color: rgba(255, 255, 255, 0.9);
  --nav-hover-bg: rgba(255, 255, 255, 0.08);
  --hero-title-color: #fff8e7;
  --hero-copy-color: rgba(255, 248, 231, 0.82);
  --hero-subtitle-color: rgba(255, 248, 231, 0.96);
  --hero-text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
  --glass-border: rgba(234, 255, 255, 0.2);
  --glass-bg: rgba(4, 12, 12, 0.16);
  --glass-cell-bg: rgba(255, 255, 255, 0.02);
  --panel-bg: rgba(5, 14, 14, 0.42);
  --panel-border: rgba(234, 255, 255, 0.18);
  --panel-copy: rgba(255, 255, 255, 0.72);
  --panel-chip: rgba(255, 255, 255, 0.78);
  --matrix-bg: rgba(5, 14, 14, 0.24);
  --button-ghost-bg: rgba(255, 255, 255, 0.08);
  --shadow-strong: rgba(0, 0, 0, 0.34);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

:root[data-theme="light"] {
  color-scheme: light;
  --ink: #ffffff;
  --ink-soft: rgba(255, 255, 255, 0.78);
  --paper: #002fa7;
  --paper-strong: #0039c7;
  --muted: rgba(255, 255, 255, 0.64);
  --line: rgba(255, 255, 255, 0.24);
  --section-shade: transparent;
  --section-shade-soft: transparent;
  --glass: rgba(255, 255, 255, 0.18);
  --blue: #ffffff;
  --teal: #ffffff;
  --accent-rgb: 255, 255, 255;
  --gold: #ffffff;
  --coral: #ff8a9a;
  --lilac: #dfe6ff;
  --clash-a: var(--teal);
  --clash-b: var(--teal);
  --clash-c: var(--teal);
  --body-bg: #002fa7;
  --section-text: #ffffff;
  --particle-color: #ffffff;
  --particle-pop-1: #ffffff;
  --particle-pop-2: #dbe4ff;
  --particle-pop-3: #b7c8ff;
  --particle-pop-4: #f7faff;
  --particle-pop-5: #8da8ff;
  --particle-highlight: #ffffff;
  --particle-alpha: 0.24;
  --particle-highlight-alpha: 0.045;
  --particle-canvas-opacity: 0.44;
  --header-bg: rgba(255, 255, 255, 0.16);
  --header-border: rgba(255, 255, 255, 0.36);
  --header-color: #ffffff;
  --nav-hover-bg: rgba(255, 255, 255, 0.16);
  --hero-title-color: #ffffff;
  --hero-copy-color: rgba(255, 255, 255, 0.82);
  --hero-subtitle-color: rgba(255, 255, 255, 0.92);
  --hero-text-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
  --glass-border: rgba(255, 255, 255, 0.32);
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-cell-bg: rgba(255, 255, 255, 0.1);
  --panel-bg: rgba(255, 255, 255, 0.12);
  --panel-border: rgba(255, 255, 255, 0.28);
  --panel-copy: rgba(255, 255, 255, 0.78);
  --panel-chip: rgba(255, 255, 255, 0.86);
  --matrix-bg: rgba(255, 255, 255, 0.12);
  --button-ghost-bg: rgba(255, 255, 255, 0.14);
  --shadow-strong: rgba(0, 0, 0, 0.22);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --ink: #ffffff;
    --ink-soft: rgba(255, 255, 255, 0.78);
    --paper: #002fa7;
    --paper-strong: #0039c7;
    --muted: rgba(255, 255, 255, 0.64);
    --line: rgba(255, 255, 255, 0.24);
    --section-shade: transparent;
    --section-shade-soft: transparent;
    --glass: rgba(255, 255, 255, 0.18);
    --blue: #ffffff;
    --teal: #ffffff;
    --accent-rgb: 255, 255, 255;
    --gold: #ffffff;
    --coral: #ff8a9a;
    --lilac: #dfe6ff;
    --clash-a: var(--teal);
    --clash-b: var(--teal);
    --clash-c: var(--teal);
    --body-bg: #002fa7;
    --section-text: #ffffff;
    --particle-color: #ffffff;
    --particle-pop-1: #ffffff;
    --particle-pop-2: #dbe4ff;
    --particle-pop-3: #b7c8ff;
    --particle-pop-4: #f7faff;
    --particle-pop-5: #8da8ff;
    --particle-highlight: #ffffff;
    --particle-alpha: 0.24;
    --particle-highlight-alpha: 0.045;
    --particle-canvas-opacity: 0.44;
    --header-bg: rgba(255, 255, 255, 0.16);
    --header-border: rgba(255, 255, 255, 0.36);
    --header-color: #ffffff;
    --nav-hover-bg: rgba(255, 255, 255, 0.16);
    --hero-title-color: #ffffff;
    --hero-copy-color: rgba(255, 255, 255, 0.82);
    --hero-subtitle-color: rgba(255, 255, 255, 0.92);
    --hero-text-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
    --glass-border: rgba(255, 255, 255, 0.32);
    --glass-bg: rgba(255, 255, 255, 0.12);
    --glass-cell-bg: rgba(255, 255, 255, 0.1);
    --panel-bg: rgba(255, 255, 255, 0.12);
    --panel-border: rgba(255, 255, 255, 0.28);
    --panel-copy: rgba(255, 255, 255, 0.78);
    --panel-chip: rgba(255, 255, 255, 0.86);
    --matrix-bg: rgba(255, 255, 255, 0.12);
    --button-ghost-bg: rgba(255, 255, 255, 0.14);
    --shadow-strong: rgba(0, 0, 0, 0.22);
  }
}

:root,
:root[data-theme="light"],
:root:not([data-theme="dark"]) {
  color-scheme: light;
  --ink: #ffffff;
  --ink-soft: rgba(255, 255, 255, 0.82);
  --paper: #002fa7;
  --paper-strong: #0039c7;
  --muted: rgba(255, 255, 255, 0.68);
  --line: rgba(255, 255, 255, 0.25);
  --dark: rgba(0, 25, 98, 0.34);
  --section-shade: transparent;
  --section-shade-soft: transparent;
  --dark-2: #0039c7;
  --glass: rgba(255, 255, 255, 0.18);
  --blue: #ffffff;
  --teal: #ffffff;
  --accent-rgb: 255, 255, 255;
  --gold: #ffffff;
  --coral: #ff8a9a;
  --lilac: #dfe6ff;
  --clash-a: var(--teal);
  --clash-b: var(--teal);
  --clash-c: var(--teal);
  --body-bg: #002fa7;
  --section-text: #ffffff;
  --particle-color: #ffffff;
  --particle-pop-1: #ffffff;
  --particle-pop-2: #dbe4ff;
  --particle-pop-3: #b7c8ff;
  --particle-pop-4: #f7faff;
  --particle-pop-5: #8da8ff;
  --particle-highlight: #ffffff;
  --particle-alpha: 0.24;
  --particle-highlight-alpha: 0.045;
  --particle-canvas-opacity: 0.44;
  --header-bg: rgba(255, 255, 255, 0.16);
  --header-border: rgba(255, 255, 255, 0.36);
  --header-color: #ffffff;
  --nav-hover-bg: rgba(255, 255, 255, 0.16);
  --hero-title-color: #ffffff;
  --hero-copy-color: rgba(255, 255, 255, 0.84);
  --hero-subtitle-color: rgba(255, 255, 255, 0.94);
  --hero-text-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
  --glass-border: rgba(255, 255, 255, 0.34);
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-cell-bg: rgba(255, 255, 255, 0.1);
  --panel-bg: rgba(255, 255, 255, 0.12);
  --panel-border: rgba(255, 255, 255, 0.36);
  --panel-copy: rgba(255, 255, 255, 0.78);
  --panel-chip: rgba(255, 255, 255, 0.86);
  --matrix-bg: rgba(255, 255, 255, 0.12);
  --button-ghost-bg: rgba(255, 255, 255, 0.14);
  --shadow-strong: rgba(0, 0, 0, 0.22);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ink: #eaffff;
    --ink-soft: #b8d4d2;
    --paper: #030606;
    --paper-strong: #071010;
    --muted: #7da09d;
    --line: rgba(126, 212, 212, 0.18);
    --dark: rgba(3, 6, 6, 0.72);
    --section-shade: transparent;
    --section-shade-soft: transparent;
    --dark-2: #071010;
    --glass: rgba(5, 14, 14, 0.76);
    --blue: #7ed4d4;
    --teal: #7ed4d4;
    --accent-rgb: 126, 212, 212;
    --gold: #f7efc6;
    --coral: #ff8a62;
    --lilac: #aeb2ff;
    --clash-a: var(--teal);
    --clash-b: var(--teal);
    --clash-c: var(--teal);
    --body-bg: #030606;
    --section-text: #ffffff;
    --particle-color: #9ea8a8;
    --particle-pop-1: #9ea8a8;
    --particle-pop-2: #b8c0c0;
    --particle-pop-3: #7f8989;
    --particle-pop-4: #cdd2d2;
    --particle-pop-5: #6f7777;
    --particle-highlight: #eef2f2;
    --particle-alpha: 0.24;
    --particle-highlight-alpha: 0.025;
    --particle-canvas-opacity: 0.52;
    --header-bg: rgba(255, 255, 255, 0.08);
    --header-border: rgba(126, 212, 212, 0.42);
    --header-color: rgba(255, 255, 255, 0.9);
    --nav-hover-bg: rgba(255, 255, 255, 0.08);
    --hero-title-color: #fff8e7;
    --hero-copy-color: rgba(255, 248, 231, 0.82);
    --hero-subtitle-color: rgba(255, 248, 231, 0.96);
    --hero-text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
    --glass-border: rgba(234, 255, 255, 0.2);
    --glass-bg: rgba(4, 12, 12, 0.16);
    --glass-cell-bg: rgba(255, 255, 255, 0.02);
    --panel-bg: rgba(5, 14, 14, 0.42);
    --panel-border: rgba(234, 255, 255, 0.18);
    --panel-copy: rgba(255, 255, 255, 0.72);
    --panel-chip: rgba(255, 255, 255, 0.78);
    --matrix-bg: rgba(5, 14, 14, 0.24);
    --button-ghost-bg: rgba(255, 255, 255, 0.08);
    --shadow-strong: rgba(0, 0, 0, 0.34);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eaffff;
  --ink-soft: #b8d4d2;
  --paper: #030606;
  --paper-strong: #071010;
  --muted: #7da09d;
  --line: rgba(126, 212, 212, 0.18);
  --dark: rgba(3, 6, 6, 0.72);
  --section-shade: transparent;
  --section-shade-soft: transparent;
  --dark-2: #071010;
  --glass: rgba(5, 14, 14, 0.76);
  --blue: #7ed4d4;
  --teal: #7ed4d4;
  --accent-rgb: 126, 212, 212;
  --gold: #f7efc6;
  --coral: #ff8a62;
  --lilac: #aeb2ff;
  --clash-a: var(--teal);
  --clash-b: var(--teal);
  --clash-c: var(--teal);
  --body-bg: #030606;
  --section-text: #ffffff;
  --particle-color: #9ea8a8;
  --particle-pop-1: #9ea8a8;
  --particle-pop-2: #b8c0c0;
  --particle-pop-3: #7f8989;
  --particle-pop-4: #cdd2d2;
  --particle-pop-5: #6f7777;
  --particle-highlight: #eef2f2;
  --particle-alpha: 0.24;
  --particle-highlight-alpha: 0.025;
  --particle-canvas-opacity: 0.52;
  --header-bg: rgba(255, 255, 255, 0.08);
  --header-border: rgba(126, 212, 212, 0.42);
  --header-color: rgba(255, 255, 255, 0.9);
  --nav-hover-bg: rgba(255, 255, 255, 0.08);
  --hero-title-color: #fff8e7;
  --hero-copy-color: rgba(255, 248, 231, 0.82);
  --hero-subtitle-color: rgba(255, 248, 231, 0.96);
  --hero-text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
  --glass-border: rgba(234, 255, 255, 0.2);
  --glass-bg: rgba(4, 12, 12, 0.16);
  --glass-cell-bg: rgba(255, 255, 255, 0.02);
  --panel-bg: rgba(5, 14, 14, 0.42);
  --panel-border: rgba(234, 255, 255, 0.18);
  --panel-copy: rgba(255, 255, 255, 0.72);
  --panel-chip: rgba(255, 255, 255, 0.78);
  --matrix-bg: rgba(5, 14, 14, 0.24);
  --button-ghost-bg: rgba(255, 255, 255, 0.08);
  --shadow-strong: rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
  scroll-snap-type: none;
}

body {
  margin: 0;
  background: var(--body-bg);
  color: var(--ink);
  font-family: "Inter", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
  animation: page-enter 300ms ease both;
  transition: background 520ms ease, color 520ms ease, opacity 220ms ease, transform 220ms ease, filter 220ms ease;
}

body.page-leaving {
  opacity: 0;
  filter: blur(8px);
  transform: scale(0.992);
}

@keyframes page-enter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

main,
.site-header {
  position: relative;
}

main {
  z-index: 1;
}

main > section {
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

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

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

.project-page .project-media-frame {
  position: relative;
  contain: layout paint;
}

.project-page .project-media-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
}

.project-page .project-media-frame.is-ratio-fit {
  min-height: 0 !important;
  aspect-ratio: var(--media-ratio, 4 / 3);
}

.project-page .project-media-frame.is-panorama {
  grid-column: 1 / -1;
}

.page-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 100;
  width: calc(var(--scroll-progress, 0) * 100%);
  height: 2px;
  background: var(--teal);
  transform-origin: left center;
}

.site-header {
  position: fixed;
  z-index: 80;
  top: calc(14px + var(--safe-top));
  left: 50%;
  display: flex;
  width: min(calc(100% - 28px), 940px);
  height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 10px 0 18px;
  overflow: hidden;
  border: 1px solid var(--header-border);
  border-radius: 999px;
  background: var(--header-bg);
  color: var(--header-color);
  transform: translateX(-50%);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.site-header::before {
  content: none;
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.52), transparent 22%),
    radial-gradient(circle at 74% 0%, rgba(var(--accent-rgb), 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 52%);
  opacity: 0.72;
  pointer-events: none;
}

.site-header::after {
  content: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 0 34%, rgba(255, 255, 255, 0.32) 48%, transparent 61% 100%);
  mix-blend-mode: screen;
  opacity: 0.32;
  pointer-events: none;
}

.site-header[data-scrolled="true"] {
  background: var(--header-bg);
  color: var(--header-color);
  border-color: var(--header-border);
  box-shadow: none;
}

.header-controls {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  align-items: center;
}

.brand {
  position: relative;
  z-index: 1;
  font-size: 15px;
  font-weight: 800;
}

.project-page .brand {
  flex: 0 1 auto;
  max-width: min(34vw, 280px);
  overflow: hidden;
  white-space: nowrap;
}

.project-title__text {
  display: inline-block;
  min-width: max-content;
  padding-right: 18px;
  transform: translateX(0);
  will-change: transform;
}

.project-page .brand.is-overflowing .project-title__text {
  animation: project-title-scroll var(--project-title-duration, 10s) cubic-bezier(0.45, 0, 0.2, 1) infinite alternate;
}

@keyframes project-title-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(var(--project-title-shift, 0px) * -1));
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-page .brand.is-overflowing .project-title__text {
    animation: none;
  }
}

.project-back {
  position: fixed;
  z-index: 92;
  top: calc(17px + var(--safe-top));
  left: calc(18px + var(--safe-left));
  display: inline-flex;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px 0 12px;
  border: 1px solid var(--header-border);
  border-radius: 999px;
  background: var(--header-bg);
  color: var(--header-color);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  box-shadow: none;
  transition:
    transform 240ms cubic-bezier(0.18, 1, 0.22, 1),
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease;
}

.project-back span:first-child {
  display: inline-grid;
  width: 16px;
  height: 16px;
  place-items: center;
  font-size: 17px;
  line-height: 1;
  transform: translateY(-1px);
}

.project-back:hover {
  background: var(--nav-hover-bg);
  transform: translateY(-1px);
}

.project-back:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.74);
  outline-offset: 4px;
}

.main-nav {
  position: relative;
  z-index: 1;
  display: flex;
  margin-left: auto;
  gap: 6px;
  align-items: center;
}

.main-nav a {
  min-width: 48px;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  background: transparent;
  box-shadow: none;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.main-nav a:hover {
  background: var(--nav-hover-bg);
  box-shadow: none;
}

.site-header[data-scrolled="true"] .main-nav a:hover {
  background: var(--nav-hover-bg);
}

body.project-page[data-nav-surface="light"] {
  --header-bg: rgba(255, 255, 255, 0.38);
  --header-border: rgba(10, 17, 19, 0.2);
  --header-color: rgba(8, 14, 16, 0.94);
  --nav-hover-bg: rgba(8, 14, 16, 0.08);
}

body.project-page[data-nav-surface="dark"] {
  --header-bg: rgba(255, 255, 255, 0.08);
  --header-border: rgba(255, 255, 255, 0.28);
  --header-color: rgba(255, 255, 255, 0.92);
  --nav-hover-bg: rgba(255, 255, 255, 0.1);
}

body.project-page[data-nav-surface="light"] .site-header,
body.project-page[data-nav-surface="light"] .project-back {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    0 12px 36px rgba(10, 17, 19, 0.1);
}

body.project-page[data-nav-surface="dark"] .site-header,
body.project-page[data-nav-surface="dark"] .project-back {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 12px 36px rgba(0, 0, 0, 0.1);
}

.theme-toggle {
  --toggle-w: 48px;
  --toggle-h: 26px;
  --toggle-pad: 3px;
  --toggle-thumb: calc(var(--toggle-h) - var(--toggle-pad) * 2);
  --toggle-slide: calc(var(--toggle-w) - var(--toggle-thumb) - var(--toggle-pad) * 2 - 2px);
  position: relative;
  z-index: 1;
  width: var(--toggle-w);
  height: var(--toggle-h);
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.theme-toggle__track {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 8px 18px rgba(0, 0, 0, 0.12);
  transition: background 360ms ease, border-color 360ms ease, box-shadow 360ms ease;
}

.theme-toggle__thumb {
  position: absolute;
  top: 50%;
  left: var(--toggle-pad);
  width: var(--toggle-thumb);
  height: var(--toggle-thumb);
  border-radius: 50%;
  background: var(--teal);
  box-shadow:
    0 0 14px rgba(var(--accent-rgb), 0.38),
    0 6px 14px rgba(0, 0, 0, 0.18);
  transform: translateY(-50%);
  transition: transform 460ms cubic-bezier(0.18, 1, 0.22, 1), background 360ms ease, box-shadow 360ms ease;
}

.theme-toggle__sun,
.theme-toggle__moon {
  display: none;
}

.theme-toggle:hover .theme-toggle__thumb {
  transform: translateY(-50%) translateX(2px) scale(1.04);
}

.theme-toggle:active .theme-toggle__thumb {
  transform: translateY(-50%) translateX(2px) scale(0.94);
}

.theme-toggle:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.7);
  outline-offset: 4px;
}

:root[data-resolved-theme="light"] .theme-toggle__track {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 8px 18px rgba(0, 0, 0, 0.1);
}

:root[data-resolved-theme="light"] .theme-toggle__thumb {
  background: #ffffff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.24),
    0 6px 14px rgba(0, 0, 0, 0.14);
  transform: translateY(-50%) translateX(var(--toggle-slide));
}

:root[data-resolved-theme="light"] .theme-toggle:hover .theme-toggle__thumb {
  transform: translateY(-50%) translateX(var(--toggle-slide)) scale(1.04);
}

:root[data-resolved-theme="light"] .theme-toggle:active .theme-toggle__thumb {
  transform: translateY(-50%) translateX(var(--toggle-slide)) scale(0.94);
}

.language-toggle {
  position: fixed;
  z-index: 92;
  top: calc(18px + var(--safe-top));
  right: 14px;
  width: auto;
  height: 36px;
  display: inline-grid;
  grid-template-columns: auto auto auto;
  gap: 7px;
  align-items: center;
  justify-content: end;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--header-color);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  cursor: pointer;
  transition: filter 300ms ease, opacity 300ms ease, transform 300ms ease;
}

.language-toggle:hover {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 12px rgba(var(--accent-rgb), 0.28));
}

.language-toggle__option {
  position: relative;
  display: inline-flex;
  min-width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.54);
  font-size: 11px;
  font-weight: 880;
  letter-spacing: 0;
  transition: color 420ms cubic-bezier(0.18, 1, 0.22, 1), transform 420ms cubic-bezier(0.18, 1, 0.22, 1), text-shadow 420ms ease;
}

.language-toggle__option::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 1px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.3);
  transform-origin: center;
  transition: opacity 420ms ease, transform 520ms cubic-bezier(0.18, 1.25, 0.22, 1);
}

.language-toggle__slash {
  color: rgba(255, 255, 255, 0.34);
  font-size: 12px;
  font-weight: 780;
  transform: translateY(-1px);
  transition: color 300ms ease;
}

.language-toggle .language-toggle__option.is-active {
  color: #7ed4d4 !important;
  text-shadow: 0 0 16px rgba(126, 212, 212, 0.48);
  transform: translateY(-1px) scale(1.08);
}

.language-toggle .language-toggle__option.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

:root[data-resolved-theme="light"] .language-toggle__option {
  color: rgba(255, 255, 255, 0.58);
}

:root[data-resolved-theme="light"] .language-toggle__slash {
  color: rgba(255, 255, 255, 0.42);
}

:root[data-resolved-theme="light"] .language-toggle .language-toggle__option.is-active {
  color: #f8df70 !important;
  text-shadow: 0 0 14px rgba(248, 223, 112, 0.42);
}

body.project-page[data-nav-surface="light"] .language-toggle__option {
  color: rgba(8, 14, 16, 0.58);
}

body.project-page[data-nav-surface="light"] .language-toggle__slash {
  color: rgba(8, 14, 16, 0.38);
}

body.project-page[data-nav-surface="light"] .language-toggle .language-toggle__option.is-active {
  color: #002fa7 !important;
  text-shadow: 0 0 12px rgba(0, 47, 167, 0.16);
}

body.project-page[data-nav-surface="light"] .theme-toggle__track {
  border-color: rgba(8, 14, 16, 0.2);
  background: rgba(8, 14, 16, 0.055);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 8px 18px rgba(8, 14, 16, 0.08);
}

body.project-page[data-nav-surface="light"] .theme-toggle__thumb {
  box-shadow:
    0 0 0 1px rgba(8, 14, 16, 0.14),
    0 6px 14px rgba(8, 14, 16, 0.14);
}

body.project-page[data-nav-surface="dark"] .language-toggle__option {
  color: rgba(255, 255, 255, 0.58);
}

body.project-page[data-nav-surface="dark"] .language-toggle__slash {
  color: rgba(255, 255, 255, 0.38);
}

body.project-page[data-nav-surface="dark"] .language-toggle .language-toggle__option.is-active {
  color: #7ed4d4 !important;
  text-shadow: 0 0 16px rgba(126, 212, 212, 0.46);
}

:root[data-resolved-theme="light"] .hero-title {
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

:root[data-resolved-theme="light"] .hero-portrait {
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow:
    0 28px 74px rgba(0, 0, 0, 0.22),
    0 0 0 10px rgba(255, 255, 255, 0.14);
}

:root[data-resolved-theme="light"] .hero-portrait::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 44%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.1), transparent 32%);
  mix-blend-mode: normal;
}

:root[data-resolved-theme="light"] .hero-strip {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -34px 56px rgba(255, 255, 255, 0.08),
    0 28px 88px rgba(0, 0, 0, 0.16);
}

:root[data-resolved-theme="light"] .profile-next span {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

:root[data-resolved-theme="light"] .work-visual::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(243, 251, 248, 0.66) 100%);
  opacity: 0.78;
}

:root[data-resolved-theme="light"] .leadership-visual::after {
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.12), transparent 24%),
    linear-gradient(90deg, transparent 48%, rgba(0, 47, 167, 0.28) 100%);
}

:root[data-resolved-theme="dark"] .work-body h3 {
  color: #fff8e7;
}

.section-dark {
  background: var(--section-shade);
  color: var(--section-text);
}

.surface-section {
  background: var(--section-shade-soft);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  overflow: hidden;
  align-items: end;
  padding: 132px max(22px, calc((100vw - var(--max)) / 2)) 42px;
}

.personal-hero {
  grid-template-columns: minmax(0, 1.35fr) minmax(170px, 0.32fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  isolation: isolate;
  max-width: 100vw;
  background: transparent;
}

.particle-field {
  position: fixed;
  top: calc(var(--safe-top) * -1);
  right: auto;
  bottom: auto;
  left: calc(var(--safe-left) * -1);
  z-index: 0;
  width: calc(100vw + var(--safe-left) + var(--safe-right));
  height: calc(100vh + var(--safe-top) + var(--safe-bottom));
  height: calc(100dvh + var(--safe-top) + var(--safe-bottom));
  opacity: var(--particle-canvas-opacity);
  filter: blur(2.8px);
  transform: scale(1.012);
  transform-origin: center;
  pointer-events: none;
}

.hero-portrait {
  position: relative;
  z-index: 3;
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  width: min(196px, 15vw);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 30px 84px rgba(0, 0, 0, 0.36),
    0 0 0 10px rgba(255, 255, 255, 0.06);
  animation: portraitFloat 7s ease-in-out infinite alternate;
}

.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 44%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.2), transparent 32%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.04);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  transform: translateY(calc(var(--hero-offset, 0px) * 0.34)) scale(calc(1 + var(--scroll-progress, 0) * 0.06));
  transform-origin: center;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.05);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.44) 38%, rgba(0, 0, 0, 0.04) 76%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0%, transparent 44%);
}

.hero-content {
  position: relative;
  z-index: 3;
  grid-column: 1;
  grid-row: 1;
  width: min(880px, 100%);
  padding-bottom: 6vh;
  text-shadow: var(--hero-text-shadow);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--teal);
}

.hero-title {
  max-width: 880px;
  margin: 0;
  font-size: clamp(56px, 10vw, 128px);
  font-weight: 800;
  line-height: 1.02;
  color: var(--hero-title-color);
  text-shadow: 0 16px 52px rgba(0, 0, 0, 0.28);
}

.hero-subtitle {
  margin: 18px 0 0;
  color: var(--hero-subtitle-color);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.24;
}

.hero-copy {
  width: min(740px, 100%);
  margin: 28px 0 0;
  color: var(--hero-copy-color);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.72;
  text-shadow: var(--hero-text-shadow);
}

.hero-actions,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-link,
.secondary-link,
.contact-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.primary-link {
  background: var(--teal);
  color: #030606;
}

.secondary-link {
  border: 1px solid rgba(var(--accent-rgb), 0.42);
  color: var(--ink);
  background: var(--button-ghost-bg);
}

.primary-link:hover,
.secondary-link:hover,
.contact-links a:hover {
  transform: translateY(-2px);
}

.hero-strip {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: 100%;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(var(--accent-rgb), 0.045) 46%, rgba(255, 255, 255, 0.024)),
    var(--glass-bg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.44),
    inset 0 -34px 56px rgba(var(--accent-rgb), 0.055),
    inset 0 0 34px rgba(255, 255, 255, 0.035),
    0 28px 88px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(44px) saturate(215%) contrast(1.08);
  -webkit-backdrop-filter: blur(44px) saturate(215%) contrast(1.08);
}

.hero-strip::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 0;
  border-radius: calc(var(--radius) - 1px);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.4), transparent 25%),
    radial-gradient(circle at 80% 24%, rgba(var(--accent-rgb), 0.12), transparent 31%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 58%);
  pointer-events: none;
}

.hero-strip::after {
  content: "";
  position: absolute;
  inset: -30% 10% auto auto;
  z-index: 0;
  width: 48%;
  height: 72%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  filter: blur(38px);
  transform: rotate(-11deg);
  pointer-events: none;
}

.hero-strip > span {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 0 18px;
  background: var(--glass-cell-bg);
  color: var(--hero-copy-color);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  overflow-wrap: anywhere;
}

.hero-focus {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1.18fr);
  gap: 16px 32px;
  align-items: start;
  padding: 24px 28px 26px;
  border-top: 1px solid rgba(234, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(var(--accent-rgb), 0.035) 48%, rgba(255, 255, 255, 0.026)),
    var(--glass-bg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -18px 30px rgba(var(--accent-rgb), 0.035);
}

.hero-focus p {
  margin: 0;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-focus strong {
  grid-column: 1;
  display: block;
  color: var(--hero-title-color);
  font-size: clamp(20px, 2.5vw, 32px);
  line-height: 1.22;
}

.hero-focus span {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--hero-copy-color);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 600;
  line-height: 1.78;
}

@keyframes portraitFloat {
  from {
    transform: translate3d(0, 0, 0) rotate(-0.8deg);
  }

  to {
    transform: translate3d(0, -18px, 0) rotate(0.8deg);
  }
}

.intro,
.process,
.contact {
  padding: 118px max(22px, calc((100vw - var(--max)) / 2));
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.7fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: start;
}

.section-title {
  margin: 0;
  font-size: clamp(34px, 5.4vw, 72px);
  font-weight: 800;
  line-height: 1.08;
}

.section-copy {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.86;
}

.works {
  position: relative;
  min-height: 100svh;
  padding: 144px max(22px, calc((100vw - var(--max)) / 2)) 92px;
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 18px;
}

.works .section-heading {
  width: min(980px, 100%);
}

.works .section-title {
  font-size: clamp(28px, 3.7vw, 46px);
}

.work-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 14px;
}

.work-filter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 68px;
  padding: 0 22px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(var(--accent-rgb), 0.045) 52%, rgba(255, 255, 255, 0.03)),
    var(--matrix-bg);
  color: var(--ink);
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 18px 55px var(--shadow-strong);
  backdrop-filter: blur(22px) saturate(170%);
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.work-filter:hover,
.work-filter.is-active {
  border-color: rgba(var(--accent-rgb), 0.62);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(var(--accent-rgb), 0.08) 50%, rgba(255, 255, 255, 0.04)),
    var(--panel-bg);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 24px 70px var(--shadow-strong);
}

.work-filter span {
  font-size: clamp(19px, 2.2vw, 28px);
  font-weight: 850;
  letter-spacing: 0;
  text-align: left;
}

.work-filter strong {
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
}

.work-stage {
  display: grid;
  gap: 10px;
  align-items: start;
  perspective: 1400px;
  isolation: isolate;
}

.work-panel {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  height: 70px;
  min-height: 70px;
  max-height: 70px;
  margin-bottom: 0;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel-bg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -36px 70px rgba(var(--accent-rgb), 0.06),
    0 18px 60px var(--shadow-strong);
  backdrop-filter: blur(24px) saturate(170%);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  contain: layout paint;
  will-change: transform, max-height, min-height;
  transition:
    height 1120ms cubic-bezier(0.13, 0.86, 0.16, 1),
    max-height 1120ms cubic-bezier(0.13, 0.86, 0.16, 1),
    min-height 1120ms cubic-bezier(0.13, 0.86, 0.16, 1),
    grid-template-columns 1120ms cubic-bezier(0.13, 0.86, 0.16, 1),
    box-shadow 620ms ease,
    border-color 620ms ease,
    background 620ms ease;
}

.work-panel[hidden] {
  display: none;
}

.work-panel.is-active,
.work-panel:focus-within {
  z-index: 5;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  height: 432px;
  min-height: 432px;
  max-height: 432px;
  border-color: rgba(var(--accent-rgb), 0.36);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -36px 70px rgba(var(--accent-rgb), 0.06),
    0 34px 110px var(--shadow-strong);
}

.work-visual {
  position: relative;
  min-height: 70px;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  transition: min-height 1040ms cubic-bezier(0.13, 0.86, 0.16, 1);
}

.work-panel.is-active .work-visual,
.work-panel:focus-within .work-visual {
  min-height: 354px;
}

.work-visual img,
.work-visual video {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  object-fit: cover;
  object-position: 48% center;
  transform: translateZ(0) scale(1.065);
  transform-origin: center;
  backface-visibility: hidden;
  transition: transform 1450ms cubic-bezier(0.12, 0.82, 0.18, 1);
  will-change: transform;
}

.work-panel.is-active .work-visual img,
.work-panel.is-active .work-visual video,
.work-panel:focus-within .work-visual img,
.work-panel:focus-within .work-visual video {
  transform: translateZ(0) scale(1.115);
}

.work-panel.has-project-link {
  cursor: pointer;
}

:root[data-input-mode="touch"] .work-panel.has-project-link {
  cursor: default;
  touch-action: manipulation;
}

:root[data-input-mode="touch"] .work-stage {
  perspective: none;
}

:root[data-input-mode="touch"] .work-panel.is-active {
  border-color: rgba(var(--accent-rgb), 0.5);
}

.work-panel.has-project-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 6px;
}

.work-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.06), rgba(5, 5, 7, 0.58) 100%);
  opacity: 0.72;
  pointer-events: none;
  transition: opacity 320ms ease;
}

.work-panel.is-active .work-visual::after,
.work-panel:focus-within .work-visual::after {
  opacity: 1;
}

.shift-right img {
  object-position: 88% center;
}

.shift-left img {
  object-position: 12% center;
}

.leadership-card {
  background: var(--panel-bg);
}

.leadership-card .work-index {
  color: var(--teal);
}

.optimus-card {
  background: var(--panel-bg);
}

.optimus-card .work-index {
  color: #f4f4f5;
}

.optimus-visual {
  background: #f7f7f6;
}

.optimus-visual img {
  object-fit: contain;
  object-position: center;
  padding: 28px;
  filter: contrast(1.05);
  transform: translateZ(0) scale(1.025);
}

.optimus-card.is-active .optimus-visual img,
.optimus-card:focus-within .optimus-visual img {
  transform: translateZ(0) scale(1.06);
}

.leadership-visual::after {
  background:
    radial-gradient(circle at 50% 46%, rgba(var(--accent-rgb), 0.22), transparent 24%),
    linear-gradient(90deg, transparent 48%, rgba(5, 5, 7, 0.58) 100%);
}

.graphic-card .work-index {
  color: var(--teal);
}

.graphic-works-visual {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 3px;
  background:
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.18), transparent 42%),
    #050606;
  padding: 3px;
}

.graphic-works-visual img {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateZ(0) scale(1.035);
  border-radius: calc(var(--radius) - 6px);
}

.graphic-works-visual img:first-child {
  grid-row: 1 / -1;
  object-position: 50% 63%;
}

.graphic-works-visual img:nth-child(2) {
  object-position: 50% 56%;
}

.graphic-works-visual img:nth-child(3) {
  object-position: center;
}

.graphic-works-visual::after {
  background:
    radial-gradient(circle at 22% 68%, rgba(var(--accent-rgb), 0.18), transparent 26%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.04), rgba(5, 5, 7, 0.58) 100%);
}

.work-panel.is-active .graphic-works-visual img,
.work-panel:focus-within .graphic-works-visual img {
  transform: translateZ(0) scale(1.095);
}

.clean-product-visual {
  background: #e9e9e7;
}

.clean-product-visual img {
  object-fit: contain;
  object-position: center;
  padding: 18px;
  background: #e9e9e7;
  transform: translateZ(0) scale(1.015);
}

.work-panel.is-active .clean-product-visual img,
.work-panel:focus-within .clean-product-visual img {
  transform: translateZ(0) scale(1.055);
}

.smart-travel-card .work-index,
.smart-band-card .work-index,
.keycaps-card .work-index {
  color: var(--teal);
}

.smart-travel-card .work-visual::after {
  background:
    radial-gradient(circle at 60% 36%, rgba(255, 255, 255, 0.16), transparent 23%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.06), rgba(5, 5, 7, 0.62) 100%);
}

.keycaps-card .work-visual::after {
  background:
    radial-gradient(circle at 64% 58%, rgba(202, 12, 48, 0.22), transparent 26%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.04), rgba(5, 5, 7, 0.58) 100%);
}

.work-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px clamp(18px, 3vw, 38px);
  min-width: 0;
  min-height: 0;
  transition: padding 980ms cubic-bezier(0.13, 0.86, 0.16, 1);
}

.work-panel.is-active .work-body,
.work-panel:focus-within .work-body {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  align-content: stretch;
  justify-content: stretch;
  align-self: stretch;
  height: 100%;
  max-height: 100%;
  box-sizing: border-box;
  padding: clamp(22px, 3.2vw, 40px);
  overflow: hidden;
}

.work-index {
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.work-body h3 {
  margin: 2px 0 0;
  font-size: clamp(19px, 2.1vw, 28px);
  line-height: 1.08;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.work-panel.is-active .work-body h3,
.work-panel:focus-within .work-body h3 {
  margin: 12px 0 14px;
  font-size: clamp(27px, 3.6vw, 42px);
  white-space: normal;
  overflow: visible;
}

.work-body p {
  margin: 0;
  color: var(--panel-copy);
  font-size: 17px;
  line-height: 1.78;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(10px);
  transition:
    opacity 420ms ease 220ms,
    transform 620ms cubic-bezier(0.13, 0.86, 0.16, 1) 180ms,
    max-height 920ms cubic-bezier(0.13, 0.86, 0.16, 1);
}

.work-panel.is-active .work-body p,
.work-panel:focus-within .work-body p {
  position: relative;
  align-self: stretch;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  opacity: 1;
  overflow-y: hidden;
  overscroll-behavior: contain;
  padding-right: 8px;
  transform: translateY(0);
  scrollbar-width: none;
  mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 16px), transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 16px), transparent 100%);
}

.work-summary-content {
  display: block;
  will-change: transform;
}

.work-body p.is-auto-scrolling .work-summary-content {
  animation: work-summary-drift var(--summary-scroll-duration, 7s) cubic-bezier(0.46, 0, 0.2, 1) infinite;
}

@keyframes work-summary-drift {
  0%,
  13% {
    transform: translate3d(0, 0, 0);
  }

  82%,
  100% {
    transform: translate3d(0, calc(var(--summary-scroll-distance, 0px) * -1), 0);
  }
}

.work-panel.is-active .work-body p::-webkit-scrollbar,
.work-panel:focus-within .work-body p::-webkit-scrollbar {
  display: none;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(10px);
  transition:
    opacity 420ms ease 260ms,
    transform 620ms cubic-bezier(0.13, 0.86, 0.16, 1) 220ms,
    max-height 920ms cubic-bezier(0.13, 0.86, 0.16, 1),
    margin-top 620ms cubic-bezier(0.13, 0.86, 0.16, 1);
}

.work-panel.is-active .tag-row,
.work-panel:focus-within .tag-row {
  display: none;
}

.tag-row span {
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--panel-chip);
  font-size: 13px;
  font-weight: 700;
}

.project-open {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  height: 0;
  min-height: 0;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin-top: 0;
  border-radius: 999px;
  padding: 0 17px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.work-panel.is-active .project-open,
.work-panel:focus-within .project-open {
  align-self: start;
  height: 42px;
  min-height: 42px;
  margin-top: clamp(10px, 1.3vw, 16px);
  max-height: 42px;
  opacity: 1;
  pointer-events: auto;
}

.project-open:hover {
  background: var(--hero-title-color);
  transform: translateY(-2px);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline-line {
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--line);
  transform: scaleX(var(--timeline-progress, 0));
  transform-origin: left center;
}

.timeline-item {
  position: relative;
  padding-top: 58px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 0;
  width: 15px;
  height: 15px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px rgba(0, 113, 227, 0.34);
}

.timeline-item span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.timeline-item h3 {
  margin: 12px 0;
  font-size: 23px;
  color: var(--ink);
}

.timeline-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.72;
}

.profile {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 112px max(22px, calc((100vw - var(--max)) / 2)) 150px;
  background: transparent;
}

.profile-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 7vw, 108px);
  align-items: center;
}

.profile h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.1;
}

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

.credential-list {
  display: grid;
  gap: 13px;
  margin: 24px 0 0;
  padding: 0;
}

.credential-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
}

.credential-item + .credential-item {
  padding-top: 13px;
  border-top: 1px solid rgba(var(--accent-rgb), 0.18);
}

.credential-item dt {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 820;
  letter-spacing: 0.08em;
}

.credential-item dd {
  margin: 0;
  min-width: 0;
}

.credential-item strong {
  display: block;
  color: var(--ink);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.2;
}

.credential-item span {
  display: block;
  margin-top: 6px;
  color: var(--panel-copy);
  font-size: 14px;
  line-height: 1.55;
}

:root[data-lang="en"] .credential-item {
  grid-template-columns: clamp(104px, 8.6vw, 132px) minmax(0, 1fr);
  gap: clamp(16px, 2.1vw, 24px);
}

:root[data-lang="en"] .credential-item dt {
  letter-spacing: 0.045em;
  white-space: nowrap;
}

:root[data-lang="en"] .credential-item strong {
  font-size: clamp(17px, 1.45vw, 22px);
}

.profile-capability-board span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 820;
}

.profile p:not(.eyebrow) {
  margin: 24px 0 0;
  color: var(--panel-copy);
  font-size: 18px;
  line-height: 1.78;
}

.skill-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
}

.skill-matrix > div {
  min-height: 134px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--matrix-bg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 22px 70px var(--shadow-strong);
  backdrop-filter: blur(22px) saturate(170%);
}

.skill-matrix > div > span:not(.skill-icon) {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.skill-icon {
  position: absolute;
  top: 13px;
  right: 14px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  min-width: clamp(52px, 5vw, 74px);
  height: clamp(40px, 4.2vw, 56px);
  color: rgba(255, 255, 255, 0.82);
  opacity: 0.76;
  pointer-events: none;
  transform: translate3d(0, 0, 16px);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.18));
  transition:
    opacity 360ms ease,
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 360ms ease;
}

.software-mark {
  display: block;
  width: clamp(28px, 3vw, 40px);
  height: clamp(28px, 3vw, 40px);
  color: currentColor;
}

.software-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.skill-icon--solo .software-mark {
  width: clamp(42px, 4.6vw, 58px);
  height: clamp(42px, 4.6vw, 58px);
}

.skill-icon--solo .software-mark--keyshot {
  width: clamp(34px, 3.7vw, 46px);
  height: clamp(34px, 3.7vw, 46px);
}

.skill-icon--duo .software-mark {
  flex: 0 0 auto;
}

.skill-matrix strong {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 14px;
  padding-right: clamp(8px, 2vw, 24px);
  font-size: clamp(18px, 2.4vw, 27px);
  line-height: 1.16;
}

.profile p.profile-learning-label {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: none;
  margin: 78px 0 0;
  color: var(--ink);
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.profile p.profile-learning-label::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgb(var(--accent-rgb));
  box-shadow: 0 0 22px rgba(var(--accent-rgb), 0.48);
}

.resume-flow {
  margin-top: 22px;
}

.profile-capability-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 60px);
  padding: 8px 0 4px;
}

.profile-capability-board::before {
  content: none;
}

.profile-capability-board article {
  position: relative;
  min-height: 0;
  padding: 54px 0 10px;
  transition:
    color 360ms ease,
    opacity 360ms ease,
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-capability-board article::before {
  content: "0" counter(capability);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(var(--accent-rgb), 0.62);
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.16), transparent 42%),
    rgba(var(--accent-rgb), 0.08);
  color: rgb(var(--accent-rgb));
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 8px rgba(var(--accent-rgb), 0.035);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  transition:
    background 360ms ease,
    color 360ms ease,
    box-shadow 520ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-capability-board article::after {
  content: none;
}

.profile-capability-board {
  counter-reset: capability;
}

.profile-capability-board article {
  counter-increment: capability;
}

.profile-capability-board strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: clamp(18px, 2.1vw, 25px);
  line-height: 1.18;
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1), color 360ms ease;
}

.profile-capability-board p {
  margin: 10px 0 0;
  color: var(--panel-copy);
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.66;
  transition: opacity 360ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-capability-board article.is-active,
.profile-capability-board article:hover {
  transform: translateY(-6px);
}

.profile-capability-board.is-hovering article:not(.is-active) {
  opacity: 0.56;
}

.profile-capability-board article.is-active::before,
.profile-capability-board article:hover::before {
  background: rgb(var(--accent-rgb));
  color: var(--body-bg);
  box-shadow:
    0 0 0 10px rgba(var(--accent-rgb), 0.08),
    0 18px 38px rgba(var(--accent-rgb), 0.2);
  transform: translateY(-4px) scale(1.12);
}

.profile-capability-board article.is-active strong,
.profile-capability-board article.is-active p,
.profile-capability-board article:hover strong,
.profile-capability-board article:hover p {
  transform: translateY(-2px);
}

.profile-next {
  position: absolute;
  left: 50%;
  bottom: 58px;
  display: inline-grid;
  justify-items: center;
  gap: 12px;
  min-width: 190px;
  transform: translateX(-50%);
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  z-index: 3;
}

.profile-next span {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
}

.profile-next i {
  position: relative;
  width: 24px;
  height: 24px;
  border-right: 3px solid var(--teal);
  border-bottom: 3px solid var(--teal);
  transform: rotate(45deg);
  animation: arrowDrop 1.35s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  filter: drop-shadow(0 0 16px rgba(var(--accent-rgb), 0.62));
}

.profile-next::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: 50%;
  animation: arrowPulse 1.35s ease-out infinite;
  pointer-events: none;
}

.section-guide {
  position: relative;
  z-index: 4;
  display: inline-grid;
  justify-items: center;
  gap: 12px;
  min-width: 188px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: opacity 240ms ease, transform 260ms ease;
}

.section-guide span {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.56);
}

.section-guide i {
  position: relative;
  width: 24px;
  height: 24px;
  border-right: 3px solid var(--teal);
  border-bottom: 3px solid var(--teal);
  transform: rotate(45deg);
  animation: guideDrop 1.45s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  filter: drop-shadow(0 0 16px rgba(var(--accent-rgb), 0.62));
}

.section-guide::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: 50%;
  animation: arrowPulse 1.45s ease-out infinite;
  pointer-events: none;
}

.section-guide:hover {
  opacity: 0.86;
}

.works-guide {
  left: 50%;
  margin-top: 24px;
  transform: translateX(-50%);
}

.works-guide:hover {
  transform: translateX(-50%) translateY(-2px);
}

.hero-next {
  position: absolute;
  left: 50%;
  bottom: 112px;
  transform: translateX(-50%);
}

.hero-next:hover {
  transform: translateX(-50%) translateY(-2px);
}

.contact-guide {
  position: absolute;
  left: 50%;
  top: 84px;
  transform: translateX(-50%);
}

.contact-guide:hover {
  transform: translateX(-50%) translateY(2px);
}

.section-guide.is-up i {
  transform: rotate(-135deg);
  animation-name: guideRise;
}

.section-guide.is-up::after {
  top: -7px;
  bottom: auto;
}

@keyframes arrowDrop {
  0%,
  100% {
    transform: translateY(-3px) rotate(45deg);
    opacity: 0.58;
  }

  50% {
    transform: translateY(8px) rotate(45deg);
    opacity: 1;
  }
}

@keyframes guideDrop {
  0%,
  100% {
    transform: translateY(-3px) rotate(45deg);
    opacity: 0.58;
  }

  50% {
    transform: translateY(8px) rotate(45deg);
    opacity: 1;
  }
}

@keyframes guideRise {
  0%,
  100% {
    transform: translateY(3px) rotate(-135deg);
    opacity: 0.58;
  }

  50% {
    transform: translateY(-8px) rotate(-135deg);
    opacity: 1;
  }
}

@keyframes arrowPulse {
  0% {
    transform: translateX(-50%) scale(0.52);
    opacity: 0.62;
  }

  100% {
    transform: translateX(-50%) scale(1.12);
    opacity: 0;
  }
}

.contact {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 132px max(22px, calc((100vw - var(--max)) / 2)) 120px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 200px);
  gap: clamp(34px, 8vw, 120px);
  align-items: center;
  width: 100%;
}

.contact-copy {
  width: min(760px, 100%);
}

.contact-copy h2 {
  margin: 0;
  font-size: clamp(58px, 9vw, 118px);
  line-height: 1.06;
  color: var(--hero-title-color);
}

.contact-copy p:not(.section-kicker) {
  width: min(680px, 100%);
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.78;
}

.contact-methods {
  display: grid;
  width: min(680px, 100%);
  margin-top: 54px;
  border-top: 1px solid rgba(var(--accent-rgb), 0.34);
}

.contact-method {
  display: grid;
  grid-template-columns: minmax(72px, 0.22fr) minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.26);
}

.contact-method span {
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.contact-method strong {
  color: var(--ink);
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.wechat-portrait {
  justify-self: end;
  margin: 0;
}

.wechat-portrait img {
  width: min(176px, 15vw);
  min-width: 124px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(234, 255, 255, 0.22);
  border-radius: 50%;
  box-shadow:
    0 32px 100px rgba(0, 0, 0, 0.38),
    0 0 0 12px rgba(126, 212, 212, 0.055);
}

.wechat-portrait figcaption {
  margin-top: 16px;
  color: rgba(234, 255, 255, 0.54);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 780ms ease, transform 780ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.work-panel.reveal {
  opacity: 1;
  transform: none;
  transition:
    max-height 1120ms cubic-bezier(0.13, 0.86, 0.16, 1),
    min-height 1120ms cubic-bezier(0.13, 0.86, 0.16, 1),
    grid-template-columns 1120ms cubic-bezier(0.13, 0.86, 0.16, 1),
    box-shadow 620ms ease,
    border-color 620ms ease,
    background 620ms ease;
  transition-delay: 0ms !important;
}

.work-panel.reveal.is-visible {
  transform: none;
}

/* Kinetic art direction: let the dot field, type and panels share one visual layer. */
.particle-field {
  filter: blur(4.2px) saturate(0.88);
  transform: scale(1.018);
  -webkit-mask-image: linear-gradient(115deg, rgba(0, 0, 0, 0.88), #000 18% 72%, rgba(0, 0, 0, 0.82));
  mask-image: linear-gradient(115deg, rgba(0, 0, 0, 0.88), #000 18% 72%, rgba(0, 0, 0, 0.82));
}

.personal-hero {
  min-height: 100svh;
  grid-template-columns: minmax(0, 1fr) minmax(130px, 220px);
  gap: clamp(20px, 4vw, 52px);
  align-items: center;
  perspective: 1200px;
}

.personal-hero::before,
.personal-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.personal-hero::before {
  content: none;
}

.personal-hero::after {
  content: none;
}

.hero-content {
  isolation: isolate;
  width: min(680px, 100%);
  padding-bottom: clamp(84px, 16vh, 150px);
  translate: calc(var(--cursor-x, 0) * 16px) calc(var(--cursor-y, 0) * 10px);
}

.hero-content::before {
  content: "PRODUCT\A DESIGN";
  position: absolute;
  z-index: -1;
  left: clamp(260px, 45vw, 520px);
  top: clamp(-112px, -10vh, -72px);
  color: transparent;
  font-size: clamp(72px, 12vw, 154px);
  font-weight: 900;
  line-height: 0.74;
  white-space: pre-line;
  opacity: 0.34;
  -webkit-text-stroke: 1.35px rgba(var(--accent-rgb), 0.92);
  text-shadow:
    0 0 32px rgba(var(--accent-rgb), 0.16),
    16px 16px 0 rgba(var(--accent-rgb), 0.08);
  transform: skewY(-7deg) translateX(calc(var(--cursor-x, 0) * -18px));
  transition:
    color 420ms ease,
    opacity 420ms ease,
    text-shadow 420ms ease,
    -webkit-text-stroke-color 420ms ease,
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.personal-hero:hover .hero-content::before {
  color: rgba(var(--accent-rgb), 0.5);
  opacity: 0.42;
  -webkit-text-stroke-color: rgba(var(--accent-rgb), 0.08);
  text-shadow:
    0 0 42px rgba(var(--accent-rgb), 0.2),
    0 18px 46px rgba(0, 0, 0, 0.18);
}

.hero-title {
  width: fit-content;
  max-width: min(740px, 100%);
  font-size: clamp(64px, 13vw, 148px);
  line-height: 0.88;
  letter-spacing: 0;
  position: relative;
  text-wrap: balance;
  -webkit-text-stroke: 1px rgba(var(--accent-rgb), 0.12);
}

.hero-title::after {
  content: "";
  position: absolute;
  left: 12%;
  right: -18%;
  bottom: 0.08em;
  height: 0.13em;
  z-index: -1;
  background: var(--clash-a);
  opacity: 0.62;
  transform: skewX(-18deg) translateX(calc(var(--cursor-x, 0) * 22px));
  mix-blend-mode: screen;
}

.hero-subtitle {
  width: min(520px, 100%);
  margin-top: 14px;
  font-size: clamp(18px, 2.3vw, 28px);
}

.hero-copy {
  width: min(480px, 100%);
  margin-top: 20px;
  padding-left: 18px;
  border-left: 2px solid rgba(var(--accent-rgb), 0.62);
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.72;
  opacity: 0.88;
}

.hero-actions {
  margin-top: 24px;
}

.primary-link,
.secondary-link,
.contact-links a,
.project-open {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 12px 34px rgba(0, 0, 0, 0.2);
}

.primary-link {
  background: color-mix(in srgb, var(--teal) 86%, white 14%);
}

.secondary-link {
  border-color: rgba(var(--accent-rgb), 0.58);
  background: rgba(255, 255, 255, 0.075);
}

.secondary-link:hover,
.project-open:hover {
  border-color: var(--clash-a);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 0 1px color-mix(in srgb, var(--clash-a) 58%, transparent),
    0 18px 48px rgba(0, 0, 0, 0.24);
}

.hero-portrait {
  z-index: 5;
  width: min(154px, 12vw);
  align-self: start;
  margin-top: clamp(176px, 25vh, 236px);
  translate: 0 -24px;
}

.hero-strip {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 36px;
  z-index: 4;
  width: min(1040px, calc(100% - 44px));
  grid-template-columns: 0.8fr 1fr 0.9fr;
  translate: -50% 0;
}

.hero-strip > span {
  min-height: 44px;
  padding: 0 14px;
  font-size: 12px;
  text-transform: uppercase;
}

.hero-focus {
  grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1.28fr);
  gap: 12px 26px;
  padding: 18px 22px 20px;
}

.hero-focus strong {
  font-size: clamp(18px, 2vw, 26px);
}

.hero-focus span {
  font-size: clamp(13px, 1.08vw, 15px);
  line-height: 1.68;
}

.profile {
  overflow: hidden;
}

.profile::before,
.works::before,
.contact::before {
  content: none;
}

.profile-shell {
  position: relative;
  isolation: isolate;
  align-items: stretch;
}

.profile-shell::before {
  content: "RESUME";
  position: absolute;
  z-index: -1;
  right: 0;
  top: clamp(380px, 52vh, 540px);
  color: transparent;
  font-size: clamp(66px, 13vw, 150px);
  font-weight: 900;
  line-height: 0.8;
  opacity: 0.18;
  -webkit-text-stroke: 1px rgba(var(--accent-rgb), 0.9);
  transform: rotate(2deg);
  transition:
    color 420ms ease,
    opacity 420ms ease,
    text-shadow 420ms ease,
    -webkit-text-stroke-color 420ms ease,
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.profile:hover .profile-shell::before {
  color: rgba(var(--accent-rgb), 0.36);
  opacity: 0.34;
  -webkit-text-stroke-color: rgba(var(--accent-rgb), 0.06);
  text-shadow: 0 0 36px rgba(var(--accent-rgb), 0.16);
  transform: rotate(0deg) translateY(-6px);
}

.profile h2 {
  max-width: 600px;
  font-size: clamp(36px, 5vw, 68px);
}

.profile p:not(.eyebrow) {
  max-width: 560px;
  font-size: clamp(15px, 1.35vw, 17px);
}

.skill-matrix {
  align-self: center;
  transform-style: preserve-3d;
}

.skill-matrix > div {
  position: relative;
  overflow: hidden;
  transition:
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 360ms ease,
    background 360ms ease,
    box-shadow 360ms ease;
}

.skill-matrix > div::before {
  content: "";
  position: absolute;
  inset: auto 16px 16px 16px;
  height: 3px;
  background: var(--clash-a);
  opacity: 0;
  transform: scaleX(0.24);
  transform-origin: left center;
  transition: opacity 300ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.skill-matrix > div:nth-child(2)::before {
  background: var(--clash-b);
}

.skill-matrix > div:nth-child(3)::before {
  background: var(--clash-c);
}

.skill-matrix > div:hover {
  border-color: rgba(var(--accent-rgb), 0.56);
  transform: translate3d(0, -8px, 24px) rotateX(2deg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 30px 88px var(--shadow-strong);
}

.skill-matrix > div:hover::before {
  opacity: 0.95;
  transform: scaleX(1);
}

.skill-matrix > div:hover .skill-icon {
  opacity: 0.96;
  transform: translate3d(-2px, -3px, 28px) scale(1.08);
  filter:
    drop-shadow(0 12px 22px rgba(0, 0, 0, 0.22))
    drop-shadow(0 0 14px rgba(var(--accent-rgb), 0.28));
}

.resume-flow {
  position: relative;
}

.timeline-item {
  padding-right: 12px;
}

.timeline-item p {
  font-size: 14px;
  line-height: 1.62;
}

.works {
  overflow: hidden;
}

.works .section-heading {
  position: relative;
  width: min(620px, 100%);
  margin-bottom: 34px;
}

.works .section-heading::after {
  content: "PLAYLIST";
  position: absolute;
  left: clamp(500px, 54vw, 760px);
  top: -6px;
  color: transparent;
  font-size: clamp(68px, 13vw, 150px);
  font-weight: 900;
  line-height: 0.8;
  opacity: 0.18;
  -webkit-text-stroke: 1px rgba(var(--accent-rgb), 0.78);
  transition:
    color 420ms ease,
    opacity 420ms ease,
    text-shadow 420ms ease,
    -webkit-text-stroke-color 420ms ease,
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.works:hover .section-heading::after {
  color: rgba(var(--accent-rgb), 0.34);
  opacity: 0.34;
  -webkit-text-stroke-color: rgba(var(--accent-rgb), 0.06);
  text-shadow: 0 0 34px rgba(var(--accent-rgb), 0.14);
  transform: translateY(-4px);
}

.works .section-title {
  font-size: clamp(34px, 4.7vw, 62px);
  max-width: 760px;
}

.work-filter {
  position: relative;
  overflow: hidden;
}

.work-filter::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  height: 3px;
  background: var(--clash-b);
  opacity: 0;
  transform: scaleX(0.18);
  transform-origin: left center;
  transition: opacity 260ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.work-filter:nth-child(2)::before {
  background: var(--clash-a);
}

.work-filter:nth-child(3)::before {
  background: var(--clash-c);
}

.work-filter:hover::before,
.work-filter.is-active::before {
  opacity: 0.9;
  transform: scaleX(1);
}

.work-stage {
  gap: 12px;
  margin-top: clamp(14px, 1.8vw, 26px);
}

.work-panel {
  background:
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.08), transparent 22%),
    var(--panel-bg);
}

.work-panel::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--teal);
  opacity: 0.5;
  transform: scaleY(0.42);
  transform-origin: center;
  transition:
    opacity 520ms ease,
    transform 900ms cubic-bezier(0.13, 0.86, 0.16, 1),
    background 420ms ease;
  pointer-events: none;
}

.work-panel:nth-of-type(3n + 1)::before {
  background: var(--clash-a);
}

.work-panel:nth-of-type(3n + 2)::before {
  background: var(--clash-b);
}

.work-panel.is-active::before,
.work-panel:focus-within::before {
  opacity: 0.9;
  transform: scaleY(1);
}

.work-index {
  color: color-mix(in srgb, var(--teal) 76%, white 24%);
}

.tag-row span {
  background: rgba(255, 255, 255, 0.04);
}

.contact {
  position: relative;
  overflow: hidden;
}

.contact::after {
  content: "CONNECT";
  position: absolute;
  right: max(22px, calc((100vw - var(--max)) / 2));
  bottom: 6vh;
  color: transparent;
  font-size: clamp(64px, 13vw, 156px);
  font-weight: 900;
  line-height: 0.78;
  opacity: 0.18;
  -webkit-text-stroke: 1px rgba(var(--accent-rgb), 0.9);
  transition:
    color 420ms ease,
    opacity 420ms ease,
    text-shadow 420ms ease,
    -webkit-text-stroke-color 420ms ease,
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.contact:hover::after {
  color: rgba(var(--accent-rgb), 0.34);
  opacity: 0.34;
  -webkit-text-stroke-color: rgba(var(--accent-rgb), 0.06);
  text-shadow: 0 0 34px rgba(var(--accent-rgb), 0.14);
  transform: translateY(-6px);
}

.hero-content::before,
.profile-shell::before,
.works .section-heading::after,
.contact::after {
  content: none;
}

.bg-type {
  position: absolute;
  z-index: 0;
  display: block;
  color: transparent;
  font-weight: 900;
  line-height: 0.74;
  letter-spacing: 0;
  -webkit-text-stroke: 1.25px rgba(var(--accent-rgb), 0.9);
  opacity: 0.34;
  text-shadow:
    0 0 32px rgba(var(--accent-rgb), 0.16),
    16px 16px 0 rgba(var(--accent-rgb), 0.08);
  cursor: default;
  pointer-events: none;
  user-select: none;
  transition:
    color 760ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 760ms cubic-bezier(0.16, 1, 0.3, 1),
    text-shadow 760ms cubic-bezier(0.16, 1, 0.3, 1),
    -webkit-text-stroke-color 760ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 760ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 840ms cubic-bezier(0.16, 1, 0.3, 1);
}

.personal-hero:has(.hero-actions a:hover, .hero-actions a:focus-visible, .hero-strip:hover, .hero-next:hover, .hero-next:focus-visible) .hero-bg-type,
.profile:has(.skill-matrix > div:hover, .skill-matrix > div:focus-within, .profile-next:hover, .profile-next:focus-visible) .profile-bg-type,
.works:has(.work-filter:hover, .work-filter:focus-visible, .work-panel:hover, .work-panel:focus-within) .works-bg-type,
.contact:has(.contact-method:hover, .contact-method:focus-within, .wechat-portrait:hover) .contact-bg-type {
  color: rgba(var(--accent-rgb), 0.86);
  opacity: 0.72;
  -webkit-text-stroke-color: rgba(var(--accent-rgb), 0.16);
  text-shadow:
    0 0 10px rgba(var(--accent-rgb), 0.62),
    0 0 32px rgba(var(--accent-rgb), 0.48),
    0 0 72px rgba(var(--accent-rgb), 0.26),
    0 18px 46px rgba(0, 0, 0, 0.24);
  filter: drop-shadow(0 0 18px rgba(var(--accent-rgb), 0.4));
}

.hero-content > :not(.bg-type),
.profile-shell > :not(.bg-type),
.works .section-heading > :not(.bg-type),
.contact-layout {
  position: relative;
  z-index: 2;
}

.hero-bg-type {
  left: clamp(220px, 25vw, 410px);
  top: clamp(210px, 29vh, 350px);
  font-size: clamp(78px, 13vw, 168px);
  opacity: 0.3;
  transform-origin: 44% 58%;
  transform: skewY(-7deg) translateX(calc(var(--cursor-x, 0) * -14px));
}

.personal-hero:has(.hero-actions a:hover, .hero-actions a:focus-visible, .hero-strip:hover, .hero-next:hover, .hero-next:focus-visible) .hero-bg-type {
  animation: heroTypeWake 2.4s ease-in-out infinite alternate;
  transform: skewY(-8deg) translateX(calc(var(--cursor-x, 0) * -14px)) translateY(-18px) rotate(-2deg) scale(1.14);
}

@keyframes heroTypeWake {
  from {
    opacity: 0.66;
  }

  to {
    opacity: 0.84;
  }
}

.profile-bg-type {
  left: 50%;
  right: auto;
  top: clamp(700px, 86vh, 920px);
  font-size: clamp(66px, 13vw, 150px);
  transform: translateX(-50%) rotate(2deg);
  transform-origin: center center;
}

.profile:has(.skill-matrix > div:hover, .skill-matrix > div:focus-within, .profile-next:hover, .profile-next:focus-visible) .profile-bg-type {
  transform: translateX(-50%) rotate(0deg) translateY(-6px);
}

.works-bg-type {
  left: clamp(500px, 54vw, 760px);
  top: -78px;
  font-size: clamp(68px, 13vw, 150px);
}

.works:has(.work-filter:hover, .work-filter:focus-visible, .work-panel:hover, .work-panel:focus-within) .works-bg-type {
  transform: translateY(-4px);
}

.contact-bg-type {
  right: max(22px, calc((100vw - var(--max)) / 2));
  bottom: -1.5vh;
  font-size: clamp(64px, 13vw, 156px);
}

.contact:has(.contact-method:hover, .contact-method:focus-within, .wechat-portrait:hover) .contact-bg-type {
  transform: translateY(-6px);
}

:root[data-resolved-theme="light"] .personal-hero::before,
:root[data-resolved-theme="light"] .hero-content::before,
:root[data-resolved-theme="light"] .profile-shell::before,
:root[data-resolved-theme="light"] .works .section-heading::after,
:root[data-resolved-theme="light"] .contact::after {
  opacity: 0.24;
  mix-blend-mode: multiply;
}

:root[data-resolved-theme="light"] .personal-hero::after {
  opacity: 0.72;
  mix-blend-mode: multiply;
}

:root[data-resolved-theme="light"] .hero-title::after {
  opacity: 0.38;
  mix-blend-mode: multiply;
}

:root[data-resolved-theme="light"] .secondary-link {
  background: rgba(255, 255, 255, 0.14);
}

:root[data-resolved-theme="light"] .primary-link,
:root[data-resolved-theme="light"] .project-open {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

:root[data-resolved-theme="light"] .primary-link:hover,
:root[data-resolved-theme="light"] .project-open:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

:root[data-resolved-theme="light"] .hero-strip,
:root[data-resolved-theme="light"] .hero-focus {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 14px 34px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

:root[data-resolved-theme="light"] .hero-strip::before {
  opacity: 0.18;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 58%);
}

:root[data-resolved-theme="light"] .hero-strip::after {
  opacity: 0;
}

:root[data-resolved-theme="light"] .hero-strip > span {
  background: rgba(255, 255, 255, 0.04);
}

:root[data-resolved-theme="light"] .hero-focus {
  border-top-color: rgba(255, 255, 255, 0.18);
}

:root[data-resolved-theme="light"] .bg-type {
  opacity: 0.32;
  mix-blend-mode: normal;
}

:root[data-resolved-theme="light"] .hero-bg-type,
:root[data-resolved-theme="light"] .profile-bg-type,
:root[data-resolved-theme="light"] .works-bg-type,
:root[data-resolved-theme="light"] .contact-bg-type {
  color: rgba(var(--accent-rgb), 0.16) !important;
  opacity: 0.5;
  -webkit-text-stroke-color: rgba(var(--accent-rgb), 0.58);
  text-shadow:
    12px 12px 0 rgba(0, 0, 0, 0.08),
    0 0 0 rgba(var(--accent-rgb), 0);
  filter: drop-shadow(0 0 0 rgba(var(--accent-rgb), 0));
}

:root[data-resolved-theme="light"] .hero-bg-type {
  color: rgba(var(--accent-rgb), 0.14) !important;
  opacity: 0.46;
  -webkit-text-stroke-color: rgba(var(--accent-rgb), 0.54);
}

:root[data-resolved-theme="light"] .profile-bg-type {
  left: 50%;
  right: auto;
  top: clamp(660px, 80vh, 860px);
  font-size: clamp(112px, 19vw, 238px);
  transform: translateX(-50%) rotate(-8deg) skewX(-7deg);
  transform-origin: center center;
}

:root[data-resolved-theme="light"] .works-bg-type {
  left: clamp(160px, 27vw, 410px);
  top: clamp(22px, 4.5vh, 58px);
  font-size: clamp(112px, 18vw, 232px);
  transform: rotate(-7deg) skewX(-8deg);
  transform-origin: left center;
}

:root[data-resolved-theme="light"] .contact-bg-type {
  right: max(10px, calc((100vw - var(--max)) / 2 - 16px));
  bottom: clamp(-28px, 0.4vh, 12px);
  font-size: clamp(110px, 18vw, 232px);
  transform: rotate(7deg) skewX(-6deg);
  transform-origin: right center;
}

:root[data-resolved-theme="light"] .personal-hero:has(.hero-actions a:hover, .hero-actions a:focus-visible, .hero-strip:hover, .hero-next:hover, .hero-next:focus-visible) .hero-bg-type,
:root[data-resolved-theme="light"] .profile:has(.skill-matrix > div:hover, .skill-matrix > div:focus-within, .profile-next:hover, .profile-next:focus-visible) .profile-bg-type,
:root[data-resolved-theme="light"] .works:has(.work-filter:hover, .work-filter:focus-visible, .work-panel:hover, .work-panel:focus-within) .works-bg-type,
:root[data-resolved-theme="light"] .contact:has(.contact-method:hover, .contact-method:focus-within, .wechat-portrait:hover) .contact-bg-type {
  color: rgb(var(--accent-rgb)) !important;
  opacity: 0.82;
  mix-blend-mode: normal;
  -webkit-text-stroke-color: rgba(var(--accent-rgb), 0);
  text-shadow:
    12px 12px 0 rgba(0, 0, 0, 0),
    0 0 18px rgba(var(--accent-rgb), 0.2);
  filter: drop-shadow(0 12px 34px rgba(0, 0, 0, 0.08));
}

:root[data-resolved-theme="light"] .profile:has(.skill-matrix > div:hover, .skill-matrix > div:focus-within, .profile-next:hover, .profile-next:focus-visible) .profile-bg-type {
  transform: translateX(-50%) rotate(-11deg) skewX(-7deg) translateY(-12px) scale(1.16);
}

:root[data-resolved-theme="light"] .works:has(.work-filter:hover, .work-filter:focus-visible, .work-panel:hover, .work-panel:focus-within) .works-bg-type {
  transform: rotate(-9deg) skewX(-8deg) translateY(2px) scale(1.12);
}

:root[data-resolved-theme="light"] .contact:has(.contact-method:hover, .contact-method:focus-within, .wechat-portrait:hover) .contact-bg-type {
  transform: rotate(10deg) skewX(-6deg) translateY(-12px) scale(1.16);
}

:root[data-resolved-theme="light"] body {
  background: #002fa7;
  color: #ffffff;
  font-weight: 500;
}

:root[data-resolved-theme="light"] body:not(.project-page) :where(p, h1, h2, h3, h4, h5, h6, span, strong, em, a, button, label, li, small) {
  color: #ffffff !important;
}

:root[data-resolved-theme="light"] body.project-page {
  background: var(--project-page-bg, #f7f4ef);
  color: #111111;
}

:root[data-resolved-theme="light"] .hero-copy,
:root[data-resolved-theme="light"] .work-body p,
:root[data-resolved-theme="light"] .timeline-item p,
:root[data-resolved-theme="light"] .profile p:not(.eyebrow),
:root[data-resolved-theme="light"] .contact-copy p:not(.section-kicker),
:root[data-resolved-theme="light"] .moku-lead,
:root[data-resolved-theme="light"] .moku-callout span,
:root[data-resolved-theme="light"] .feature-strip p,
:root[data-resolved-theme="light"] .flow-steps p,
:root[data-resolved-theme="light"] .ai-system-grid p,
:root[data-resolved-theme="light"] .bx-rule-grid p,
:root[data-resolved-theme="light"] .ergo-layer-list p,
:root[data-resolved-theme="light"] .market-spec-stack p,
:root[data-resolved-theme="light"] .market-scene-grid p,
:root[data-resolved-theme="light"] .lead-copy,
:root[data-resolved-theme="light"] .lead-body,
:root[data-resolved-theme="light"] .lead-spec-list p {
  font-weight: 540;
}

:root[data-resolved-theme="light"] .hero-strip > span,
:root[data-resolved-theme="light"] .tag-row span,
:root[data-resolved-theme="light"] .skill-matrix > div > span:not(.skill-icon),
:root[data-resolved-theme="light"] .timeline-item span,
:root[data-resolved-theme="light"] .contact-method span {
  font-weight: 820;
}

@media (max-width: 880px) {
  .hero {
    min-height: 96svh;
    padding-top: 110px;
  }

  .personal-hero {
    grid-template-columns: 1fr;
    align-items: end;
  }

  .hero-content,
  .hero-portrait {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-portrait {
    width: min(178px, 42vw);
    justify-self: end;
    order: -1;
    margin-top: 20px;
  }

  .hero-media img {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.32) 38%, rgba(0, 0, 0, 0.82) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.3), transparent 70%);
  }

  .hero-content {
    padding-bottom: 20px;
  }

  .hero-content::before {
    left: 8px;
    top: -92px;
    font-size: clamp(58px, 18vw, 104px);
    opacity: 0.2;
  }

  .hero-bg-type {
    left: 8px;
    top: -92px;
    font-size: clamp(58px, 18vw, 104px);
    opacity: 0.2;
  }

  .profile-bg-type,
  .works-bg-type,
  .contact-bg-type {
    display: none;
  }

  .hero-strip,
  .intro-grid,
  .work-panel,
  .profile-shell,
  .timeline {
    grid-template-columns: 1fr;
  }

  .work-filters {
    gap: 8px;
  }

  .work-filter {
    min-height: 58px;
    padding: 0 16px;
  }

  .hero-strip > span {
    min-height: 48px;
  }

  .hero-focus {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px;
  }

  .hero-focus strong,
  .hero-focus span {
    grid-column: auto;
    grid-row: auto;
  }

  .intro,
  .works,
  .process,
  .profile,
  .contact {
    padding-left: 20px;
    padding-right: 20px;
  }

  .work-panel {
    min-height: 0;
  }

  .section-guide {
    font-size: 14px;
  }

  .contact-guide {
    top: 104px;
  }

  .work-visual::after {
    background: linear-gradient(0deg, rgba(5, 5, 7, 0.58), transparent 50%);
  }

  .timeline-line {
    display: none;
  }

  .timeline-item {
    padding-top: 28px;
    border-top: 1px solid var(--line);
  }

  .timeline-item::before {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 126px;
  }

  .hero-title {
    font-size: 54px;
  }

  .hero-subtitle {
    font-size: 23px;
  }

  .hero-portrait {
    position: absolute;
    top: 148px;
    right: auto;
    left: clamp(210px, 64vw, 260px);
    width: 94px;
    margin-right: 0;
  }

  .hero-copy,
  .work-body p,
  .profile p:not(.eyebrow),
  .contact-copy p:not(.section-kicker) {
    font-size: 16px;
  }

  .hero-actions,
  .contact-methods {
    flex-direction: column;
  }

  .work-filters {
    grid-template-columns: 1fr;
  }

  .primary-link,
  .secondary-link {
    width: 100%;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .wechat-portrait {
    justify-self: start;
  }

  .wechat-portrait img {
    width: min(132px, 34vw);
  }

  .skill-matrix {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .profile-next i,
  .profile-next::after,
  .section-guide i,
  .section-guide::after {
    animation: none;
  }

  .profile-capability-board article::before {
    animation: none !important;
  }

  .profile-next {
    transform: translateX(-50%);
  }

  .works-guide,
  .contact-guide {
    transform: translateX(-50%);
  }
}

/* Moku project page */
.project-page {
  --project-page-bg: #f7f4ef;
  --moku-ink: #111111;
  --moku-blue: #0e2841;
  --moku-gold: #e8ca5a;
  --moku-warm: #f4eee5;
  --moku-soft: #82796e;
  background: var(--project-page-bg);
}

.moku-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 132px max(22px, calc((100vw - var(--max)) / 2)) 42px;
  background: #060606;
  color: #fff;
}

.moku-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateY(calc(var(--hero-offset, 0px) * 0.25)) scale(calc(1.03 + var(--scroll-progress, 0) * 0.04));
}

.moku-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18) 58%, rgba(0, 0, 0, 0.05)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.84), transparent 48%);
}

.moku-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.48fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  width: 100%;
}

.moku-wordmark {
  margin: 0 0 18px;
  font-family: "Bauhaus 93", "Arial Rounded MT Bold", "Noto Sans SC", sans-serif;
  font-size: clamp(78px, 15vw, 188px);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: 0;
}

.moku-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.08;
}

.moku-lead {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.76;
}

.moku-meta {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
}

.moku-meta div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.moku-meta span {
  display: block;
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.moku-meta strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
}

.moku-section {
  padding: 116px max(22px, calc((100vw - var(--max)) / 2));
}

.moku-section.warm {
  background:
    radial-gradient(circle at 82% 12%, rgba(232, 202, 90, 0.22), transparent 25%),
    linear-gradient(180deg, #fffaf2, var(--moku-warm));
  color: var(--moku-ink);
}

.moku-section.dark {
  background: #050506;
  color: #fff;
}

.moku-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: center;
}

.moku-kicker {
  margin: 0 0 18px;
  color: var(--moku-gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.moku-title {
  margin: 0;
  color: inherit;
  font-size: clamp(34px, 5.4vw, 72px);
  font-weight: 800;
  line-height: 1.08;
}

.moku-copy {
  margin: 24px 0 0;
  color: var(--moku-soft);
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.86;
}

.dark .moku-copy {
  color: rgba(255, 255, 255, 0.68);
}

.moku-product-plate {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
}

.moku-product-plate img,
.moku-scene img,
.moku-device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.moku-product-plate img {
  position: absolute;
  inset: 0;
  opacity: 0.92;
}

.moku-callout {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(310px, calc(100% - 44px));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(18px);
}

.moku-callout strong {
  display: block;
  font-size: 26px;
}

.moku-callout span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(14, 40, 65, 0.14);
}

.feature-strip div {
  min-height: 210px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.72);
}

.feature-strip span {
  color: var(--moku-blue);
  font-size: 14px;
  font-weight: 900;
}

.feature-strip h3 {
  margin: 22px 0 10px;
  font-size: 24px;
}

.feature-strip p {
  margin: 0;
  color: var(--moku-soft);
  font-size: 15px;
  line-height: 1.68;
}

.sticky-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.1fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: start;
}

.sticky-copy {
  position: sticky;
  top: 110px;
}

.moku-scenes {
  display: grid;
  gap: 18px;
}

.moku-scene {
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #171717;
}

.moku-scene img {
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.moku-scene:hover img {
  transform: scale(1.04);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 48px;
}

.flow-steps article {
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.flow-steps span {
  color: var(--moku-gold);
  font-size: 13px;
  font-weight: 900;
}

.flow-steps h3 {
  margin: 18px 0 12px;
  font-size: 24px;
}

.flow-steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 15px;
  line-height: 1.68;
}

.moku-device {
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0b0b0c;
}

.spec-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin-top: 34px;
  border-radius: var(--radius);
  background: rgba(14, 40, 65, 0.12);
}

.spec-list div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(14, 40, 65, 0.11);
}

.spec-list div:last-child {
  border-bottom: 0;
}

.spec-list span {
  color: var(--moku-soft);
  font-weight: 800;
}

.spec-list strong {
  color: var(--moku-ink);
}

.moku-next {
  display: grid;
  min-height: 58svh;
  place-items: center;
  padding: 96px 22px;
  background: #050506;
  color: #fff;
  text-align: center;
}

.moku-next h2 {
  width: min(900px, 100%);
  margin: 0 auto;
  font-size: clamp(38px, 7vw, 86px);
  line-height: 1.06;
}

.moku-next a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  border-radius: 999px;
  padding: 0 20px;
  background: #fff;
  color: #050506;
  font-weight: 900;
}

@media (max-width: 880px) {
  .moku-hero-inner,
  .moku-grid,
  .sticky-showcase,
  .feature-strip,
  .flow-steps {
    grid-template-columns: 1fr;
  }

  .moku-hero {
    padding-top: 128px;
  }

  .moku-meta {
    grid-template-columns: 1fr;
  }

  .sticky-copy {
    position: static;
  }

  .moku-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .moku-product-plate,
  .moku-scene,
  .moku-device {
    min-height: 380px;
  }
}

@media (max-width: 560px) {
  .moku-wordmark {
    font-size: 70px;
  }

  .moku-hero h1,
  .moku-title {
    font-size: 36px;
  }

  .moku-copy,
  .moku-lead {
    font-size: 16px;
  }

  .feature-strip div,
  .flow-steps article {
    min-height: auto;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* Banxing interaction project page */
.banxing-page {
  --bx-orange: #fca510;
  --bx-orange-deep: #c8470c;
  --bx-green: #2e7d32;
  --bx-cyan: #00b8d4;
  --bx-ink: #111216;
  --bx-ash: #f7f7f5;
  --bx-muted: #70747b;
  background: var(--bx-ash);
}

.bx-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 132px max(22px, calc((100vw - var(--max)) / 2)) 42px;
  background: #090a0d;
  color: #fff;
}

.bx-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.06) contrast(1.08);
  transform: translateY(calc(var(--hero-offset, 0px) * 0.24)) scale(calc(1.02 + var(--scroll-progress, 0) * 0.045));
}

.bx-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.48) 42%, rgba(0, 0, 0, 0.08)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.86), transparent 52%);
}

.bx-hero-glow {
  position: absolute;
  right: 8vw;
  bottom: 20vh;
  z-index: 1;
  width: min(34vw, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 165, 16, 0.24), transparent 68%);
  filter: blur(14px);
  pointer-events: none;
}

.bx-hero-inner {
  position: relative;
  z-index: 2;
  width: min(930px, 100%);
  padding-bottom: 12vh;
}

.bx-hero h1 {
  margin: 0;
  font-size: clamp(78px, 18vw, 228px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
}

.bx-subtitle {
  width: min(780px, 100%);
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(19px, 2.5vw, 28px);
  font-weight: 700;
  line-height: 1.52;
}

.bx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.bx-actions .primary-link {
  background: linear-gradient(135deg, var(--bx-orange), #ff6a22);
}

.bx-meta {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
}

.bx-meta span {
  min-height: 62px;
  display: grid;
  place-items: center;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.bx-section {
  padding: 116px max(22px, calc((100vw - var(--max)) / 2));
}

.bx-paper {
  background:
    radial-gradient(circle at 18% 10%, rgba(252, 165, 16, 0.12), transparent 26%),
    linear-gradient(180deg, #ffffff, #f3f3ef);
  color: var(--bx-ink);
}

.bx-dark {
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #090a0d;
  background-size: 22px 22px;
  color: #fff;
}

.bx-split {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
}

.bx-split.reverse {
  grid-template-columns: minmax(360px, 1fr) minmax(0, 0.78fr);
}

.bx-kicker {
  margin: 0 0 18px;
  color: var(--bx-orange-deep);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bx-dark .bx-kicker {
  color: var(--bx-orange);
}

.bx-title {
  margin: 0;
  color: inherit;
  font-size: clamp(34px, 5.2vw, 72px);
  font-weight: 900;
  line-height: 1.08;
}

.bx-copy {
  margin: 24px 0 0;
  color: var(--bx-muted);
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.86;
}

.bx-dark .bx-copy {
  color: rgba(255, 255, 255, 0.68);
}

.bx-image-frame {
  overflow: hidden;
  border-radius: var(--radius);
  background: #111;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.18);
}

.bx-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bx-image-frame:hover img {
  transform: scale(1.035);
}

.bx-image-frame.tall {
  min-height: 620px;
}

.bx-journey {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
}

.bx-journey article {
  min-height: 260px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.bx-journey span,
.bx-rule-grid strong {
  color: var(--bx-orange);
  font-size: 14px;
  font-weight: 900;
}

.bx-journey h3,
.bx-rule-grid h3 {
  margin: 18px 0 12px;
  font-size: 24px;
}

.bx-journey p,
.bx-rule-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 15px;
  line-height: 1.68;
}

.bx-palette {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.bx-palette span {
  position: relative;
  min-height: 96px;
  display: flex;
  align-items: end;
  border-radius: var(--radius);
  padding: 12px;
  background: var(--swatch);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.bx-palette span:nth-child(3) {
  color: #062d35;
}

.bx-sticky-copy {
  position: sticky;
  top: 110px;
}

.bx-phone-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 3vw, 26px);
  align-items: start;
}

.bx-phone-pair figure {
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}

.bx-phone-pair figure:nth-child(2) {
  margin-top: 76px;
}

.bx-phone-pair img {
  width: 100%;
  height: auto;
}

.bx-rule-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 48px;
  border-radius: var(--radius);
  background: rgba(17, 18, 22, 0.12);
}

.bx-rule-grid article {
  min-height: 230px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.72);
}

.bx-rule-grid strong {
  display: block;
  color: var(--bx-orange-deep);
  font-size: 28px;
}

.bx-rule-grid p {
  color: var(--bx-muted);
}

.bx-live-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  border-radius: 999px;
  padding: 0 20px;
  background: linear-gradient(135deg, var(--bx-orange), #ff6a22);
  color: #fff;
  font-weight: 900;
  transition: transform 180ms ease;
}

.bx-live-link:hover {
  transform: translateY(-2px);
}

.bx-next {
  display: grid;
  min-height: 58svh;
  place-items: center;
  padding: 96px 22px;
  background: var(--bx-ink);
  color: #fff;
  text-align: center;
}

.bx-next h2 {
  width: min(930px, 100%);
  margin: 0 auto;
  font-size: clamp(38px, 7vw, 86px);
  line-height: 1.06;
}

.bx-next a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  border-radius: 999px;
  padding: 0 20px;
  background: #fff;
  color: var(--bx-ink);
  font-weight: 900;
}

@media (max-width: 1080px) {
  .bx-journey,
  .bx-rule-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 880px) {
  .bx-meta,
  .bx-split,
  .bx-split.reverse,
  .bx-phone-pair {
    grid-template-columns: 1fr;
  }

  .bx-hero {
    padding-top: 128px;
  }

  .bx-hero > img {
    object-position: 58% center;
  }

  .bx-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .bx-sticky-copy {
    position: static;
  }

  .bx-phone-pair figure:nth-child(2) {
    margin-top: 0;
  }

  .bx-image-frame.tall {
    min-height: 380px;
  }
}

@media (max-width: 560px) {
  .bx-hero h1 {
    font-size: 76px;
  }

  .bx-title {
    font-size: 36px;
  }

  .bx-subtitle,
  .bx-copy {
    font-size: 16px;
  }

  .bx-actions {
    flex-direction: column;
  }

  .bx-actions .primary-link,
  .bx-actions .secondary-link {
    width: 100%;
  }

  .bx-journey,
  .bx-rule-grid,
  .bx-palette {
    grid-template-columns: 1fr;
  }

  .bx-journey article,
  .bx-rule-grid article {
    min-height: auto;
  }
}

/* AI cycling project page */
.ai-bike-page {
  --project-page-bg: var(--ai-paper);
  --ai-blue: #0137e4;
  --ai-red: #d92525;
  --ai-yellow: #e8ba31;
  --ai-ink: #07080b;
  --ai-soft: #6d737c;
  --ai-paper: #f4f5f7;
  background: var(--ai-paper);
}

.ai-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 132px max(22px, calc((100vw - var(--max)) / 2)) 42px;
  background: #050507;
  color: #fff;
}

.ai-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) contrast(1.08);
  transform: translateY(calc(var(--hero-offset, 0px) * 0.22)) scale(calc(1.02 + var(--scroll-progress, 0) * 0.045));
}

.ai-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.44) 46%, rgba(0, 0, 0, 0.08)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.84), transparent 52%);
}

.ai-hero-inner {
  position: relative;
  z-index: 1;
  width: min(940px, 100%);
  padding-bottom: 11vh;
}

.ai-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(52px, 10vw, 132px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
}

.ai-lead {
  width: min(760px, 100%);
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2.2vw, 25px);
  font-weight: 700;
  line-height: 1.64;
}

.ai-meta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
}

.ai-meta span {
  min-height: 62px;
  display: grid;
  place-items: center;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.ai-section {
  padding: 116px max(22px, calc((100vw - var(--max)) / 2));
}

.ai-paper {
  background:
    radial-gradient(circle at 86% 10%, rgba(1, 55, 228, 0.11), transparent 24%),
    linear-gradient(180deg, #fff, var(--ai-paper));
  color: var(--ai-ink);
}

.ai-dark {
  background:
    radial-gradient(circle at 78% 12%, rgba(1, 55, 228, 0.22), transparent 28%),
    linear-gradient(180deg, #050507, #0d0f15);
  color: #fff;
}

.ai-split {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
}

.ai-split.reverse {
  grid-template-columns: minmax(360px, 1fr) minmax(0, 0.78fr);
}

.ai-kicker {
  margin: 0 0 18px;
  color: var(--ai-blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-dark .ai-kicker {
  color: #8ec5ff;
}

.ai-title {
  margin: 0;
  color: inherit;
  font-size: clamp(34px, 5.2vw, 72px);
  font-weight: 900;
  line-height: 1.08;
}

.ai-copy {
  margin: 24px 0 0;
  color: var(--ai-soft);
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.86;
}

.ai-dark .ai-copy {
  color: rgba(255, 255, 255, 0.68);
}

.ai-chart-pair {
  display: grid;
  gap: 14px;
}

.ai-chart-card {
  padding: 20px;
}

.ai-chart-card figcaption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.ai-chart-card figcaption strong {
  color: var(--ai-ink);
  font-size: 18px;
  line-height: 1.35;
}

.ai-chart-card figcaption span {
  color: var(--ai-soft);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.ai-chart-legend {
  display: flex;
  gap: 14px;
  margin-bottom: 4px;
  color: var(--ai-soft);
  font-size: 12px;
  font-weight: 900;
}

.ai-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ai-chart-legend span::before {
  content: "";
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: #2d9df4;
}

.ai-chart-legend .line-key::before {
  background: var(--ai-red);
}

.ai-chart-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.ai-chart-svg .grid line {
  stroke: rgba(7, 8, 11, 0.09);
  stroke-width: 1;
}

.ai-chart-svg .bars rect {
  fill: url("#aiBarGradient");
  fill: #2d9df4;
}

.ai-chart-svg .trend-line {
  fill: none;
  stroke: var(--ai-red);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.ai-chart-svg .points circle {
  fill: var(--ai-red);
  stroke: #fff;
  stroke-width: 2;
}

.ai-chart-svg text {
  fill: var(--ai-ink);
  font-family: "Inter", "Noto Sans SC", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-anchor: middle;
}

.ai-chart-svg .line-labels text {
  fill: var(--ai-red);
  font-size: 13px;
}

.ai-chart-svg .x-labels text {
  fill: var(--ai-soft);
  font-size: 12px;
  font-weight: 800;
}

.ai-chart-pair figure,
.ai-product-frame,
.ai-detail-frame,
.ai-feature-stack figure {
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 30px 90px rgba(15, 18, 28, 0.14);
}

.ai-chart-pair figure {
  min-height: 230px;
}

.ai-chart-pair img,
.ai-product-frame img,
.ai-detail-frame img,
.ai-feature-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ai-chart-pair figure:hover img,
.ai-product-frame:hover img,
.ai-detail-frame:hover img,
.ai-feature-stack figure:hover img {
  transform: scale(1.035);
}

.ai-user-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
}

.ai-user-grid article {
  min-height: 290px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
}

.ai-user-grid span {
  color: var(--ai-yellow);
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 900;
  line-height: 1;
}

.ai-user-grid h3,
.ai-system-grid h3 {
  margin: 22px 0 12px;
  font-size: 25px;
}

.ai-user-grid p,
.ai-system-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 15px;
  line-height: 1.72;
}

.ai-product-frame {
  min-height: 540px;
}

.ai-spec-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin-top: 34px;
  border-radius: var(--radius);
  background: rgba(1, 55, 228, 0.13);
}

.ai-spec-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(1, 55, 228, 0.12);
}

.ai-spec-list div:last-child {
  border-bottom: 0;
}

.ai-spec-list span {
  color: var(--ai-soft);
  font-weight: 900;
}

.ai-spec-list strong {
  color: var(--ai-ink);
}

.ai-sticky-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.08fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}

.ai-sticky-copy {
  position: sticky;
  top: 110px;
}

.ai-feature-stack {
  display: grid;
  gap: 18px;
}

.ai-feature-stack figure {
  min-height: 520px;
  background: #d8d8d8;
}

.ai-system-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 48px;
  border-radius: var(--radius);
  background: rgba(7, 8, 11, 0.12);
}

.ai-system-grid article {
  min-height: 260px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.75);
}

.ai-system-grid span {
  color: var(--ai-blue);
  font-size: 14px;
  font-weight: 900;
}

.ai-system-grid p {
  color: var(--ai-soft);
}

.ai-detail-frame {
  min-height: 520px;
  background: #d8d8d8;
}

.ai-next {
  display: grid;
  min-height: 58svh;
  place-items: center;
  padding: 96px 22px;
  background: #050507;
  color: #fff;
  text-align: center;
}

.ai-next h2 {
  width: min(960px, 100%);
  margin: 0 auto;
  font-size: clamp(38px, 7vw, 86px);
  line-height: 1.06;
}

.ai-next a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  border-radius: 999px;
  padding: 0 20px;
  background: #fff;
  color: #050507;
  font-weight: 900;
}

@media (max-width: 1040px) {
  .ai-system-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 880px) {
  .ai-meta,
  .ai-split,
  .ai-split.reverse,
  .ai-user-grid,
  .ai-sticky-layout {
    grid-template-columns: 1fr;
  }

  .ai-hero {
    padding-top: 128px;
  }

  .ai-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .ai-sticky-copy {
    position: static;
  }

  .ai-product-frame,
  .ai-feature-stack figure,
  .ai-detail-frame {
    min-height: 380px;
  }
}

@media (max-width: 560px) {
  .ai-hero h1 {
    font-size: 48px;
  }

  .ai-title {
    font-size: 36px;
  }

  .ai-lead,
  .ai-copy {
    font-size: 16px;
  }

  .ai-system-grid {
    grid-template-columns: 1fr;
  }

  .ai-user-grid article,
  .ai-system-grid article {
    min-height: auto;
  }

  .ai-spec-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.ergonomics-page {
  --project-page-bg: var(--ergo-paper);
  --ergo-ink: #0a0b0d;
  --ergo-graphite: #2b2c2e;
  --ergo-steel: #a9abad;
  --ergo-paper: #f2f1ee;
  --ergo-red: #c75856;
  --ergo-blue: #6fb2df;
  --ergo-green: #8da66f;
  background: var(--ergo-paper);
}

.ergo-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  overflow: hidden;
  align-items: start;
  padding: 132px max(22px, calc((100vw - var(--max)) / 2)) 34px;
  color: #fff;
  background: #a9a9a9;
}

.ergo-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  animation: productFloat 9s ease-in-out infinite alternate;
}

.ergo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 7, 0.58), rgba(5, 5, 7, 0.06) 42%, rgba(5, 5, 7, 0.64)),
    linear-gradient(90deg, rgba(5, 5, 7, 0.42), transparent 54%);
}

.ergo-hero-inner {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
}

.ergo-hero h1 {
  margin: 0;
  font-size: clamp(58px, 9vw, 122px);
  line-height: 0.95;
  letter-spacing: 0;
}

.ergo-lead {
  width: min(680px, 100%);
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.74;
}

.ergo-meta {
  position: absolute;
  z-index: 2;
  right: max(22px, calc((100vw - var(--max)) / 2));
  bottom: 34px;
  display: grid;
  width: min(500px, calc(100% - 44px));
  grid-template-columns: 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px) saturate(160%);
}

.ergo-meta span {
  padding: 15px 18px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.07);
  font-size: 14px;
  font-weight: 700;
}

.ergo-section {
  padding: 116px max(22px, calc((100vw - var(--max)) / 2));
}

.ergo-paper {
  background:
    linear-gradient(180deg, #fbfaf7, var(--ergo-paper));
  color: var(--ergo-ink);
}

.ergo-dark {
  background:
    linear-gradient(180deg, #090a0d, #17181b);
  color: #fff;
}

.ergo-split,
.ergo-concept-grid,
.ergo-stack {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.ergo-split.reverse {
  grid-template-columns: minmax(340px, 1fr) minmax(0, 0.78fr);
}

.ergo-kicker {
  margin: 0 0 18px;
  color: var(--ergo-red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ergo-dark .ergo-kicker {
  color: #ff8c86;
}

.ergo-title {
  margin: 0;
  font-size: clamp(36px, 5.6vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.ergo-copy {
  margin: 24px 0 0;
  color: rgba(10, 11, 13, 0.68);
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.86;
}

.ergo-dark .ergo-copy {
  color: rgba(255, 255, 255, 0.68);
}

.ergo-evidence figure,
.ergo-airframe,
.ergo-stack figure,
.ergo-color-frame,
.ergo-gallery figure {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: var(--radius);
  background: #a9a9a9;
  box-shadow: 0 34px 90px rgba(10, 11, 13, 0.18);
}

.ergo-evidence img,
.ergo-airframe img,
.ergo-stack img,
.ergo-color-frame img,
.ergo-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ergo-evidence figure:hover img,
.ergo-airframe:hover img,
.ergo-stack figure:hover img,
.ergo-color-frame:hover img,
.ergo-gallery figure:hover img {
  transform: scale(1.035);
}

.ergo-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 14px;
  border-radius: var(--radius);
  background: rgba(10, 11, 13, 0.12);
}

.ergo-stat-grid article {
  min-height: 150px;
  padding: 20px;
  background: #fff;
}

.ergo-stat-grid strong {
  display: block;
  color: var(--ergo-red);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.ergo-stat-grid span {
  display: block;
  margin-top: 12px;
  color: rgba(10, 11, 13, 0.62);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.ergo-sticky-copy {
  position: sticky;
  top: 118px;
}

.ergo-feature-list {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.ergo-feature-list div,
.ergo-layer-list article {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.ergo-feature-list span,
.ergo-layer-list span {
  color: var(--ergo-blue);
  font-size: 13px;
  font-weight: 900;
}

.ergo-feature-list strong {
  display: block;
  margin-top: 9px;
  font-size: 20px;
}

.ergo-airframe {
  min-height: 680px;
}

.ergo-airflow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ergo-airflow span {
  position: absolute;
  left: 22%;
  width: 56%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(111, 178, 223, 0.92), transparent);
  animation: airflowMove 2.8s linear infinite;
}

.ergo-airflow span:nth-child(1) { top: 32%; animation-delay: 0s; }
.ergo-airflow span:nth-child(2) { top: 42%; animation-delay: 0.35s; }
.ergo-airflow span:nth-child(3) { top: 52%; animation-delay: 0.7s; }
.ergo-airflow span:nth-child(4) { top: 62%; animation-delay: 1.05s; }

.ergo-layer-list {
  display: grid;
  gap: 12px;
}

.ergo-layer-list article {
  border-color: rgba(10, 11, 13, 0.1);
  background: #fff;
  box-shadow: 0 18px 42px rgba(10, 11, 13, 0.06);
}

.ergo-layer-list h3 {
  margin: 9px 0 8px;
  font-size: 23px;
}

.ergo-layer-list p {
  margin: 0;
  color: rgba(10, 11, 13, 0.62);
  font-size: 15px;
  line-height: 1.68;
}

.ergo-detail-head {
  width: min(860px, 100%);
}

.ergo-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  margin-top: 46px;
}

.ergo-gallery .wide {
  grid-row: span 2;
  min-height: 760px;
}

.ergo-gallery figure:not(.wide) {
  min-height: 370px;
}

.ergo-color-frame {
  min-height: 560px;
}

.ergo-next {
  display: grid;
  min-height: 58svh;
  place-items: center;
  padding: 90px 22px;
  text-align: center;
  color: #fff;
  background: #060607;
}

.ergo-next h2 {
  width: min(900px, 100%);
  margin: 0 auto;
  font-size: clamp(38px, 7vw, 86px);
  line-height: 1.06;
}

.ergo-next a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  border-radius: 999px;
  padding: 0 20px;
  background: #fff;
  color: #050507;
  font-weight: 900;
}

@keyframes productFloat {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-12px) scale(1.012); }
}

@keyframes airflowMove {
  from { transform: translateX(-22%) scaleX(0.42); opacity: 0; }
  35% { opacity: 1; }
  to { transform: translateX(22%) scaleX(1); opacity: 0; }
}

@media (max-width: 960px) {
  .ergo-meta,
  .ergo-split,
  .ergo-split.reverse,
  .ergo-concept-grid,
  .ergo-stack,
  .ergo-gallery {
    grid-template-columns: 1fr;
  }

  .ergo-hero {
    padding-top: 126px;
    align-items: start;
  }

  .ergo-meta {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 40vh;
  }

  .ergo-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .ergo-sticky-copy {
    position: static;
  }

  .ergo-airframe,
  .ergo-evidence figure,
  .ergo-stack figure,
  .ergo-color-frame,
  .ergo-gallery .wide,
  .ergo-gallery figure:not(.wide) {
    min-height: 420px;
  }
}

@media (max-width: 620px) {
  .ergo-hero h1 {
    font-size: 48px;
  }

  .ergo-title {
    font-size: 34px;
  }

  .ergo-lead,
  .ergo-copy {
    font-size: 16px;
  }

  .ergo-stat-grid {
    grid-template-columns: 1fr;
  }

  .ergo-airframe,
  .ergo-evidence figure,
  .ergo-stack figure,
  .ergo-color-frame,
  .ergo-gallery .wide,
  .ergo-gallery figure:not(.wide) {
    min-height: 320px;
  }
}

.market-page {
  --project-page-bg: var(--market-paper);
  --market-ink: #272525;
  --market-blue: #007ebd;
  --market-indigo: #4950bc;
  --market-paper: #f5f7fb;
  --market-lilac: #dadbf1;
  --market-mint: #b6fcb8;
  --market-gold: #fcf2b5;
  background: var(--market-paper);
}

.market-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  overflow: hidden;
  align-items: start;
  padding: 132px max(22px, calc((100vw - var(--max)) / 2)) 36px;
  color: #fff;
  background: #07080c;
}

.market-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  animation: productFloat 10s ease-in-out infinite alternate;
}

.market-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 7, 0.65), rgba(5, 5, 7, 0.08) 42%, rgba(5, 5, 7, 0.72)),
    linear-gradient(90deg, rgba(5, 5, 7, 0.68), rgba(5, 5, 7, 0.1) 62%);
}

.market-hero-inner {
  position: relative;
  z-index: 1;
  width: min(940px, 100%);
}

.market-hero h1 {
  width: min(980px, 100%);
  margin: 0;
  font-size: clamp(52px, 8vw, 112px);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.market-lead {
  width: min(720px, 100%);
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.74;
}

.market-meta {
  position: absolute;
  z-index: 2;
  right: max(22px, calc((100vw - var(--max)) / 2));
  bottom: 36px;
  display: grid;
  width: min(520px, calc(100% - 44px));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(22px) saturate(160%);
}

.market-meta span {
  padding: 15px 18px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.07);
  font-size: 14px;
  font-weight: 700;
}

.market-section {
  padding: 116px max(22px, calc((100vw - var(--max)) / 2));
}

.market-paper {
  background:
    linear-gradient(180deg, #fbfcff, var(--market-paper));
  color: var(--market-ink);
}

.market-dark {
  background:
    linear-gradient(180deg, #050507, #10131b);
  color: #fff;
}

.market-kicker {
  margin: 0 0 18px;
  color: var(--market-blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.market-dark .market-kicker {
  color: #8bd7ff;
}

.market-title {
  width: min(980px, 100%);
  margin: 0;
  font-size: clamp(34px, 5.4vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.market-copy {
  margin: 24px 0 0;
  color: rgba(39, 37, 37, 0.68);
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.86;
}

.market-dark .market-copy {
  color: rgba(255, 255, 255, 0.68);
}

.market-signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 46px;
}

.market-signal-grid article {
  min-height: 210px;
  border: 1px solid rgba(39, 37, 37, 0.08);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(39, 37, 37, 0.07);
}

.market-signal-grid strong {
  display: block;
  color: var(--market-indigo);
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1;
}

.market-signal-grid span {
  display: block;
  margin-top: 18px;
  color: rgba(39, 37, 37, 0.64);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.62;
}

.market-split,
.market-split.reverse,
.market-system-grid,
.market-board-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 1fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.market-split.reverse {
  grid-template-columns: minmax(340px, 1fr) minmax(0, 0.86fr);
}

.market-pest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.market-pest-grid article,
.market-problem-list div,
.market-spec-stack article {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.market-pest-grid span,
.market-problem-list span,
.market-spec-stack span {
  color: #8bd7ff;
  font-size: 13px;
  font-weight: 900;
}

.market-pest-grid h3,
.market-problem-list h3,
.market-spec-stack h3 {
  margin: 10px 0 8px;
  font-size: 23px;
}

.market-pest-grid p,
.market-problem-list p,
.market-spec-stack p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  line-height: 1.68;
}

.market-chart-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.market-chart-card,
.market-image-frame,
.market-product-frame,
.market-board-frame,
.market-scene-grid article {
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 34px 90px rgba(39, 37, 37, 0.14);
}

.market-chart-card img,
.market-image-frame img,
.market-product-frame img,
.market-board-frame img,
.market-scene-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.market-chart-card:hover img,
.market-image-frame:hover img,
.market-product-frame:hover img,
.market-board-frame:hover img,
.market-scene-grid article:hover img {
  transform: scale(1.035);
}

.market-chart-card {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 520px;
}

.market-chart-card img {
  min-height: 0;
}

.market-chart-card figcaption {
  margin: 0;
  padding: 18px 20px 22px;
  color: rgba(39, 37, 37, 0.66);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.62;
}

.market-image-frame,
.market-product-frame {
  min-height: 560px;
}

.market-problem-list,
.market-spec-stack {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.market-problem-list div {
  border-color: rgba(255, 255, 255, 0.12);
}

.market-system-grid {
  margin-top: 46px;
}

.market-spec-stack article {
  border-color: rgba(39, 37, 37, 0.08);
  background: #fff;
  box-shadow: 0 18px 42px rgba(39, 37, 37, 0.06);
}

.market-spec-stack span {
  color: var(--market-blue);
}

.market-spec-stack p {
  color: rgba(39, 37, 37, 0.62);
}

.market-board-layout {
  grid-template-columns: minmax(300px, 0.54fr) minmax(0, 1fr);
  align-items: start;
}

.market-sticky-copy {
  position: sticky;
  top: 118px;
}

.market-board-frame {
  min-height: 760px;
}

.market-scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 46px;
}

.market-scene-grid article {
  min-height: 520px;
  display: grid;
  grid-template-rows: 240px 1fr;
}

.market-scene-grid div {
  padding: 22px;
  background: #fff;
}

.market-scene-grid span {
  color: var(--market-blue);
  font-size: 13px;
  font-weight: 900;
}

.market-scene-grid h3 {
  margin: 10px 0 10px;
  font-size: 24px;
}

.market-scene-grid p {
  margin: 0;
  color: rgba(39, 37, 37, 0.62);
  font-size: 15px;
  line-height: 1.68;
}

.market-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.market-checks span {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 10px 13px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 800;
}

.market-next {
  display: grid;
  min-height: 58svh;
  place-items: center;
  padding: 90px 22px;
  text-align: center;
  color: #fff;
  background: #050507;
}

.market-next h2 {
  width: min(980px, 100%);
  margin: 0 auto;
  font-size: clamp(36px, 7vw, 84px);
  line-height: 1.06;
}

.market-next a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  border-radius: 999px;
  padding: 0 20px;
  background: #fff;
  color: #050507;
  font-weight: 900;
}

@media (max-width: 1040px) {
  .market-signal-grid,
  .market-scene-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .market-meta,
  .market-split,
  .market-split.reverse,
  .market-system-grid,
  .market-board-layout,
  .market-chart-row,
  .market-pest-grid {
    grid-template-columns: 1fr;
  }

  .market-hero {
    padding-top: 126px;
  }

  .market-meta {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 40vh;
  }

  .market-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .market-sticky-copy {
    position: static;
  }

  .market-board-frame,
  .market-image-frame,
  .market-product-frame,
  .market-chart-card {
    min-height: 420px;
  }
}

@media (max-width: 620px) {
  .market-page,
  .market-page main,
  .market-hero {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .market-page .site-header {
    max-width: calc(100vw - 18px);
    overflow: hidden;
  }

  .market-page .main-nav {
    display: none;
  }

  .market-page .main-nav a {
    min-width: 0;
    padding-right: 4px;
    padding-left: 4px;
    font-size: 11px;
  }

  .market-hero-inner {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
  }

  .market-hero h1 {
    max-width: calc(100vw - 40px);
    font-size: 38px;
    line-height: 1.06;
    word-break: break-all;
  }

  .market-lead {
    max-width: 100%;
    word-break: break-all;
  }

  .market-title {
    font-size: 34px;
    word-break: break-all;
  }

  .market-lead,
  .market-copy {
    font-size: 16px;
  }

  .market-signal-grid,
  .market-scene-grid {
    grid-template-columns: 1fr;
  }

  .market-board-frame,
  .market-image-frame,
  .market-product-frame,
  .market-chart-card {
    min-height: 320px;
  }

  .market-scene-grid article {
    min-height: auto;
    grid-template-rows: 210px 1fr;
  }
}

.leadership-page {
  --project-page-bg: var(--lead-paper);
  --lead-ink: #101115;
  --lead-cyan: #55e7ff;
  --lead-amber: #c47a38;
  --lead-gold: #b69a62;
  --lead-paper: #f4f5f6;
  background: var(--lead-paper);
}

.lead-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  overflow: hidden;
  align-items: end;
  padding: 132px max(22px, calc((100vw - var(--max)) / 2)) 38px;
  color: #fff;
  background: #06070a;
}

.lead-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: productFloat 9s ease-in-out infinite alternate;
}

.lead-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(85, 231, 255, 0.22), transparent 22%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.14) 36%, rgba(0, 0, 0, 0.84)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.44), transparent 64%);
}

.lead-hero-inner {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
}

.lead-hero h1 {
  margin: 0;
  font-size: clamp(52px, 8vw, 112px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead-copy,
.lead-body {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.86;
}

.lead-hero .lead-copy {
  width: min(720px, 100%);
}

.lead-meta {
  position: absolute;
  z-index: 2;
  right: max(22px, calc((100vw - var(--max)) / 2));
  bottom: 38px;
  display: grid;
  width: min(520px, calc(100% - 44px));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(22px) saturate(160%);
}

.lead-meta span {
  padding: 15px 18px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.07);
  font-size: 14px;
  font-weight: 700;
}

.lead-section {
  padding: 116px max(22px, calc((100vw - var(--max)) / 2));
}

.lead-dark {
  background:
    radial-gradient(circle at 24% 20%, rgba(85, 231, 255, 0.13), transparent 26%),
    linear-gradient(180deg, #050507, #111217);
  color: #fff;
}

.lead-paper {
  background:
    linear-gradient(180deg, #fbfbfc, var(--lead-paper));
  color: var(--lead-ink);
}

.lead-section-head {
  width: min(960px, 100%);
}

.lead-kicker {
  margin: 0 0 18px;
  color: var(--lead-cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lead-paper .lead-kicker {
  color: #167c92;
}

.lead-title {
  width: min(980px, 100%);
  margin: 0;
  font-size: clamp(34px, 5.4vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.lead-paper .lead-body {
  color: rgba(16, 17, 21, 0.68);
}

.lead-gallery {
  display: grid;
  gap: 18px;
  margin-top: 46px;
}

.lead-gallery.feature {
  grid-template-columns: 1.2fr 0.8fr;
}

.lead-gallery.early {
  grid-template-columns: repeat(2, 1fr);
}

.lead-gallery figure,
.lead-image-frame {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  margin: 0;
  border-radius: var(--radius);
  background: #111217;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.24);
}

.lead-gallery.feature .wide {
  grid-row: span 2;
  min-height: 760px;
}

.lead-gallery img,
.lead-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lead-gallery figure:hover img,
.lead-image-frame:hover img {
  transform: scale(1.035);
}

.lead-split,
.lead-split.reverse {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 1fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.lead-split.reverse {
  grid-template-columns: minmax(340px, 1fr) minmax(0, 0.86fr);
}

.lead-image-frame {
  min-height: 620px;
  background: #d7d9dd;
}

.lead-spec-list {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.lead-spec-list article {
  border: 1px solid rgba(16, 17, 21, 0.1);
  border-radius: var(--radius);
  padding: 20px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(16, 17, 21, 0.06);
}

.lead-spec-list span {
  color: #167c92;
  font-size: 13px;
  font-weight: 900;
}

.lead-spec-list strong {
  display: block;
  margin-top: 9px;
  font-size: 22px;
}

.lead-spec-list p {
  margin: 8px 0 0;
  color: rgba(16, 17, 21, 0.62);
  font-size: 15px;
  line-height: 1.68;
}

.lead-next {
  display: grid;
  min-height: 58svh;
  place-items: center;
  padding: 90px 22px;
  text-align: center;
  color: #fff;
  background: #050507;
}

.lead-next h2 {
  width: min(980px, 100%);
  margin: 0 auto;
  font-size: clamp(36px, 7vw, 84px);
  line-height: 1.06;
}

.lead-next a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  border-radius: 999px;
  padding: 0 20px;
  background: #fff;
  color: #050507;
  font-weight: 900;
}

.optimus-page {
  --lead-cyan: #d8dde5;
  --lead-paper: #f2f3f4;
}

.optimus-hero {
  color: #fff;
  background: #08090b;
}

.optimus-hero > img {
  object-fit: contain;
  object-position: 62% center;
  padding: 48px 0 24px;
  background: linear-gradient(180deg, #ffffff, #f5f5f4 64%, #dcdde0);
  filter: contrast(1.05);
}

.optimus-hero::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.26) 48%, rgba(0, 0, 0, 0.08)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.62) 82%, rgba(0, 0, 0, 0.88));
}

.optimus-page .lead-kicker {
  color: #d8dde5;
}

.optimus-page .lead-paper .lead-kicker,
.optimus-page .lead-spec-list span {
  color: #565d68;
}

.optimus-page .lead-gallery figure,
.optimus-page .lead-image-frame {
  background: #f7f7f6;
}

.optimus-page .lead-gallery img,
.optimus-page .lead-image-frame img {
  object-fit: contain;
  background: #f7f7f6;
}

.optimus-feature .wide img,
.optimus-process img {
  padding: 22px;
}

.optimus-feature figure:not(.wide) img,
.optimus-page .lead-image-frame img {
  padding: 12px;
}

.optimus-print img {
  object-fit: cover;
}

.optimus-process {
  grid-template-columns: repeat(2, 1fr);
}

.graphic-page {
  --project-page-bg: var(--lead-paper);
  --lead-cyan: var(--teal);
  --lead-paper: #f4f5f2;
  --lead-ink: #111214;
  background: var(--lead-paper);
}

.graphic-hero > img {
  object-position: center 42%;
  filter: contrast(1.08) saturate(0.96);
}

.graphic-hero::after {
  background:
    radial-gradient(circle at 26% 22%, rgba(var(--accent-rgb), 0.18), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.12) 55%, rgba(0, 0, 0, 0.4)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.86), transparent 54%);
}

.graphic-gallery {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.graphic-gallery figure {
  grid-column: span 4;
  min-height: 410px;
  background:
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.1), transparent 52%),
    #f7f7f3;
}

.graphic-gallery .wide {
  grid-column: span 6;
}

.graphic-gallery img {
  object-fit: contain;
  background: #f7f7f3;
}

.graphic-gallery figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 8px 12px;
  color: #fff;
  background: rgba(5, 5, 7, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px) saturate(160%);
  font-size: 13px;
  font-weight: 850;
}

.diary-grid figure:first-child {
  grid-row: span 2;
  min-height: 620px;
}

.graphic-poster {
  background:
    radial-gradient(circle at 74% 22%, rgba(var(--accent-rgb), 0.16), transparent 24%),
    linear-gradient(180deg, #050506, #101014);
}

.graphic-poster .lead-spec-list article {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 50px rgba(0, 0, 0, 0.22);
}

.graphic-poster .lead-spec-list strong,
.graphic-poster .lead-spec-list p {
  color: rgba(255, 255, 255, 0.86);
}

.poster-frame {
  background: #000;
}

.poster-frame img {
  object-fit: contain;
  background: #000;
}

.sketch-grid figure:nth-child(3),
.sketch-grid figure:nth-child(4),
.sketch-grid figure:nth-child(7),
.sketch-grid figure:nth-child(8) {
  min-height: 360px;
}

.graphic-next {
  background:
    radial-gradient(circle at 50% 12%, rgba(var(--accent-rgb), 0.16), transparent 26%),
    #050506;
}

.smart-travel-page,
.smart-band-page,
.keycaps-page {
  --project-page-bg: var(--lead-paper);
  --lead-cyan: var(--teal);
  --lead-paper: #f4f4f1;
  --lead-ink: #111214;
}

.smart-travel-hero > img {
  object-position: center;
  filter: contrast(1.03) saturate(1.02);
}

.smart-travel-hero::after {
  background:
    radial-gradient(circle at 55% 40%, rgba(126, 212, 212, 0.16), transparent 26%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18) 56%, rgba(0, 0, 0, 0.28)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent 58%);
}

.smart-band-hero {
  background: #e8e8e6;
  color: #101115;
}

.smart-band-hero > img {
  object-fit: contain;
  padding: 7vh 5vw 3vh;
  background: #e8e8e6;
  filter: contrast(1.03);
}

.smart-band-hero::after {
  background:
    radial-gradient(circle at 66% 45%, rgba(195, 9, 38, 0.14), transparent 25%),
    linear-gradient(90deg, rgba(232, 232, 230, 0.92), rgba(232, 232, 230, 0.46) 54%, rgba(232, 232, 230, 0.8)),
    linear-gradient(0deg, rgba(232, 232, 230, 0.96), transparent 58%);
}

.smart-band-hero .lead-copy,
.smart-band-hero .lead-meta span {
  color: rgba(16, 17, 21, 0.72);
}

.smart-band-hero .lead-meta {
  border-color: rgba(16, 17, 21, 0.12);
  background: rgba(255, 255, 255, 0.36);
}

.smart-band-hero .lead-meta span {
  background: rgba(255, 255, 255, 0.34);
}

.keycaps-hero > img {
  object-position: center 48%;
  filter: saturate(1.04) contrast(1.02);
}

.keycaps-hero::after {
  background:
    radial-gradient(circle at 58% 58%, rgba(203, 12, 48, 0.2), transparent 26%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.16) 58%, rgba(0, 0, 0, 0.38)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent 56%);
}

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

.case-gallery figure {
  grid-column: span 4;
  min-height: 390px;
}

.case-gallery .wide {
  grid-column: span 8;
}

.case-gallery figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 8px 12px;
  color: #fff;
  background: rgba(5, 5, 7, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px) saturate(160%);
  font-size: 13px;
  font-weight: 850;
}

.case-gallery img {
  object-fit: cover;
}

.product-contain-frame,
.product-contain-frame img,
.band-gallery figure,
.band-gallery img {
  background: #e9e9e7;
}

.product-contain-frame img,
.band-gallery img {
  object-fit: contain;
  padding: 18px;
}

.lead-dark .lead-spec-list article {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 50px rgba(0, 0, 0, 0.2);
}

.lead-dark .lead-spec-list strong,
.lead-dark .lead-spec-list p {
  color: rgba(255, 255, 255, 0.84);
}

.travel-scene-grid figure:first-child {
  min-height: 540px;
}

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

.product-grid figure {
  min-height: 430px;
  background: #f4f4f1;
}

.product-grid img {
  object-fit: contain;
  padding: 18px;
  background: #f4f4f1;
}

.band-gallery figure {
  min-height: 440px;
}

.keycaps-gallery figure {
  background: #f6f4f5;
}

.keycaps-gallery img {
  object-position: center;
}

.keycaps-page .lead-image-frame img {
  object-position: center 58%;
}

.academy-grid figure {
  min-height: 430px;
}

.keycaps-next {
  background:
    radial-gradient(circle at 50% 18%, rgba(203, 12, 48, 0.18), transparent 28%),
    #050506;
}

@media (max-width: 900px) {
  .lead-meta,
  .lead-split,
  .lead-split.reverse,
  .lead-gallery.feature,
  .lead-gallery.early,
  .optimus-process {
    grid-template-columns: 1fr;
  }

  .lead-hero {
    align-items: start;
    padding-top: 126px;
  }

  .lead-meta {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 42vh;
  }

  .lead-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .lead-gallery.feature .wide,
  .lead-gallery figure,
  .lead-image-frame {
    min-height: 420px;
  }

  .optimus-hero > img {
    object-position: center 22%;
    padding-top: 76px;
  }

  .graphic-gallery figure,
  .graphic-gallery .wide,
  .diary-grid figure:first-child {
    grid-column: 1 / -1;
    min-height: 360px;
  }

  .case-gallery figure,
  .case-gallery .wide {
    grid-column: 1 / -1;
    min-height: 340px;
  }

  .smart-band-hero > img {
    padding-top: 118px;
  }
}

@media (max-width: 620px) {
  .leadership-page .main-nav {
    display: none;
  }

  .lead-hero h1,
  .lead-title {
    font-size: 36px;
    word-break: break-all;
  }

  .lead-copy,
  .lead-body {
    font-size: 16px;
  }

  .lead-gallery.feature .wide,
  .lead-gallery figure,
  .lead-image-frame {
    min-height: 320px;
  }
}

/* Narrow viewport stability layer: preserve the wide composition, but prevent stacked content from colliding. */
@media (max-width: 880px) {
  html,
  body {
    min-width: 320px;
    overflow-x: clip;
  }

  .hero,
  .personal-hero,
  .profile,
  .works,
  .contact {
    min-height: auto;
    padding-left: 16px;
    padding-right: 16px;
  }

  .personal-hero {
    min-height: 100svh;
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
    padding-top: 118px;
    padding-bottom: 34px;
    overflow: visible;
  }

  .hero-content,
  .hero-portrait,
  .hero-strip {
    grid-column: 1;
    grid-row: auto;
  }

  .hero-content {
    order: 0;
    width: 100%;
    padding-bottom: 0;
    translate: none;
  }

  .hero-portrait {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    order: -1;
    justify-self: start;
    align-self: start;
    width: clamp(76px, 20vw, 112px);
    margin: 0;
    translate: none;
    animation-duration: 9s;
  }

  .hero-bg-type {
    left: clamp(104px, 30vw, 170px);
    top: clamp(58px, 9vh, 96px);
    width: calc(100vw - clamp(104px, 30vw, 170px) - 18px);
    max-width: 620px;
    overflow: hidden;
    font-size: clamp(62px, 21vw, 122px);
    opacity: 0.28;
    transform: skewY(-7deg);
  }

  .particle-field {
    transform: none;
  }

  .personal-hero:has(.hero-actions a:hover, .hero-actions a:focus-visible, .hero-strip:hover, .hero-next:hover, .hero-next:focus-visible) .hero-bg-type {
    transform: skewY(-8deg) translateY(-8px) rotate(-1deg) scale(1.06);
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(50px, 17vw, 78px);
  }

  .hero-subtitle {
    width: 100%;
    margin-top: 12px;
    font-size: clamp(18px, 5.2vw, 24px);
  }

  .hero-copy {
    width: 100%;
    margin-top: 16px;
    padding-left: 14px;
    font-size: 15px;
    line-height: 1.74;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 20px;
  }

  .primary-link,
  .secondary-link,
  .contact-links a {
    min-height: 40px;
    padding: 0 16px;
    font-size: 14px;
  }

  .hero-strip {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    order: 1;
    width: 100%;
    grid-template-columns: 1fr;
    margin-top: 4px;
    translate: none;
    border-radius: 18px;
  }

  .hero-strip > span {
    min-height: 42px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero-next {
    position: relative;
    left: auto;
    bottom: auto;
    order: 2;
    justify-self: center;
    margin-top: 8px;
    transform: none;
  }

  .hero-next:hover {
    transform: translateY(-2px);
  }

  .hero-focus {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
  }

  .hero-focus strong,
  .hero-focus span {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-focus strong {
    font-size: 20px;
  }

  .hero-focus span {
    font-size: 14px;
    line-height: 1.7;
  }

  .profile {
    padding-top: 108px;
    padding-bottom: 58px;
    overflow: visible;
  }

  .profile-shell {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .profile-bg-type,
  .works-bg-type,
  .contact-bg-type {
    display: none;
  }

  .profile h2 {
    max-width: 100%;
    font-size: clamp(32px, 9vw, 48px);
  }

  .profile p:not(.eyebrow) {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.74;
  }

  .credential-list {
    gap: 10px;
    margin-top: 18px;
  }

  .credential-item {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
  }

  :root[data-lang="en"] .credential-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .credential-item + .credential-item {
    padding-top: 10px;
  }

  .credential-item dt {
    font-size: 13px;
  }

  :root[data-lang="en"] .credential-item dt {
    font-size: 12px;
    letter-spacing: 0.09em;
  }

  .credential-item strong {
    font-size: clamp(17px, 4.6vw, 21px);
  }

  .credential-item span {
    font-size: 13px;
    line-height: 1.45;
  }

  .profile p.profile-learning-label {
    gap: 12px;
    margin-top: 56px;
    font-size: clamp(16px, 4.8vw, 20px);
  }

  .skill-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .skill-matrix > div {
    min-height: 78px;
    padding: 12px;
  }

  .skill-matrix > div > span:not(.skill-icon),
  .profile-capability-board span {
    font-size: 12px;
  }

  .skill-matrix strong {
    margin-top: 8px;
    font-size: clamp(15px, 4vw, 18px);
  }

  .resume-flow {
    margin-top: 18px;
  }

  .profile-capability-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 18px;
    padding-top: 6px;
  }

  .profile-capability-board article {
    min-height: 0;
    padding: 46px 0 0;
  }

  .profile-capability-board article::before {
    top: 0;
    width: 34px;
    height: 34px;
    font-size: 11px;
  }

  .profile-capability-board article::after {
    content: none;
  }

  .profile-capability-board strong {
    margin-top: 7px;
    font-size: clamp(15px, 4vw, 18px);
  }

  .profile-capability-board p {
    margin-top: 8px;
    font-size: 12.5px;
    line-height: 1.5;
  }

  .profile-next,
  .works-guide,
  .contact-guide {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
    margin: 24px auto 0;
  }

  .profile-next:hover,
  .works-guide:hover,
  .contact-guide:hover {
    transform: translateY(-2px);
  }

  .works {
    padding-top: 132px;
    padding-bottom: 58px;
    overflow: visible;
  }

  .works .section-heading,
  .section-heading {
    width: 100%;
    margin-bottom: 24px;
  }

  .works .section-title,
  .section-title {
    max-width: 100%;
    font-size: clamp(22px, 6vw, 34px);
    line-height: 1.28;
  }

  .works .section-title {
    font-size: clamp(28px, 8vw, 42px);
  }

  .work-filters {
    position: sticky;
    top: 92px;
    z-index: 8;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 12px;
  }

  .work-filter {
    min-height: 48px;
    grid-template-columns: 1fr;
    gap: 2px;
    justify-items: center;
    padding: 8px 6px;
    border-radius: 14px;
  }

  .work-filter span {
    font-size: 14px;
    text-align: center;
  }

  .work-filter strong {
    font-size: 11px;
  }

  .work-stage {
    gap: 10px;
    margin-top: 18px;
    perspective: none;
  }

  .work-panel,
  .work-panel.is-active,
  .work-panel:focus-within {
    z-index: 1;
    grid-template-columns: 104px minmax(0, 1fr);
    height: auto;
    min-height: 126px;
    max-height: none;
    overflow: hidden;
    contain: paint;
    will-change: transform;
    transition:
      transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
      box-shadow 420ms ease,
      border-color 420ms ease,
      background 420ms ease;
  }

  .work-panel.is-active,
  .work-panel:focus-within {
    border-color: rgba(var(--accent-rgb), 0.42);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      inset 0 -30px 58px rgba(var(--accent-rgb), 0.05),
      0 18px 66px var(--shadow-strong);
  }

  .work-visual,
  .work-panel.is-active .work-visual,
  .work-panel:focus-within .work-visual {
    min-height: 126px;
  }

  .work-visual::after {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.05), rgba(5, 5, 7, 0.42) 100%);
    opacity: 0.7;
  }

  .work-visual img,
  .work-visual video,
  .work-panel.is-active .work-visual img,
  .work-panel.is-active .work-visual video,
  .work-panel:focus-within .work-visual img,
  .work-panel:focus-within .work-visual video {
    transform: translateZ(0) scale(1.04);
    transition: transform 740ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .optimus-visual img,
  .clean-product-visual img {
    padding: 10px;
  }

  .graphic-works-visual {
    gap: 2px;
    padding: 2px;
  }

  .work-body,
  .work-panel.is-active .work-body,
  .work-panel:focus-within .work-body {
    justify-content: center;
    padding: 12px 13px;
  }

  .work-index {
    font-size: 11px;
  }

  .work-body h3,
  .work-panel.is-active .work-body h3,
  .work-panel:focus-within .work-body h3 {
    margin: 4px 0 0;
    font-size: clamp(17px, 4.8vw, 22px);
    line-height: 1.12;
    white-space: normal;
    overflow: visible;
  }

  .work-body p,
  .work-panel.is-active .work-body p,
  .work-panel:focus-within .work-body p,
  .tag-row,
  .work-panel.is-active .tag-row,
  .work-panel:focus-within .tag-row {
    display: none;
  }

  .project-open,
  .work-panel.is-active .project-open,
  .work-panel:focus-within .project-open {
    height: 34px;
    min-height: 34px;
    max-height: 34px;
    margin-top: 10px;
    padding: 0 12px;
    opacity: 1;
    pointer-events: auto;
    font-size: 12px;
  }

  .contact {
    align-items: start;
    padding-top: 108px;
    padding-bottom: 58px;
    overflow: visible;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }

  .contact-copy {
    width: 100%;
  }

  .contact-copy h2 {
    font-size: clamp(38px, 13vw, 68px);
  }

  .contact-copy p:not(.section-kicker) {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.72;
  }

  .contact-methods {
    width: 100%;
    margin-top: 28px;
  }

  .contact-method {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 0;
  }

  .contact-method strong {
    font-size: clamp(18px, 6vw, 26px);
  }

  .wechat-portrait {
    justify-self: start;
  }

  .wechat-portrait img {
    width: clamp(74px, 23vw, 106px);
    min-width: 0;
  }

  .wechat-portrait figcaption {
    margin-top: 10px;
    font-size: 11px;
    text-align: left;
  }
}

@media (max-width: 430px) {
  .site-header {
    right: 72px;
    gap: 7px;
    padding: 7px;
    border-radius: 20px;
  }

  .language-toggle {
    right: 8px;
  }

  .language-toggle__option {
    font-size: 10px;
  }

  .brand {
    font-size: 12px;
    line-height: 34px;
  }

  .main-nav a {
    padding: 7px 1px;
    font-size: 11px;
  }

  .personal-hero {
    padding-top: 112px;
  }

  .hero-bg-type {
    left: 96px;
    top: 56px;
    width: calc(100vw - 122px);
    font-size: clamp(56px, 20vw, 88px);
  }

  .hero-title {
    font-size: clamp(46px, 16vw, 62px);
  }

  .hero-copy {
    padding-left: 12px;
    font-size: 14px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-link,
  .secondary-link {
    width: 100%;
  }

  .profile,
  .works,
  .contact {
    padding-left: 12px;
    padding-right: 12px;
  }

  .work-filters {
    top: 88px;
  }

  .work-filter {
    min-height: 44px;
    padding: 7px 4px;
  }

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

  .skill-matrix > div {
    min-height: 70px;
    padding: 10px;
  }

  .profile-capability-board {
    grid-template-columns: 1fr;
  }

  .work-filter span {
    font-size: 13px;
  }

  .work-panel,
  .work-panel.is-active,
  .work-panel:focus-within {
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 116px;
    border-radius: 16px;
  }

  .work-visual,
  .work-panel.is-active .work-visual,
  .work-panel:focus-within .work-visual {
    min-height: 116px;
  }

  .work-body,
  .work-panel.is-active .work-body,
  .work-panel:focus-within .work-body {
    padding: 10px 11px;
  }

  .work-body h3,
  .work-panel.is-active .work-body h3,
  .work-panel:focus-within .work-body h3 {
    font-size: 17px;
  }

  .project-open,
  .work-panel.is-active .project-open,
  .work-panel:focus-within .project-open {
    min-height: 32px;
    height: 32px;
    max-height: 32px;
    margin-top: 8px;
    padding: 0 10px;
    font-size: 11px;
  }

  .contact-method {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 820px) {
  .project-page .lead-hero,
  .moku-hero {
    min-height: auto;
    align-items: end;
    padding: 116px 16px 42px;
  }

  .lead-hero h1,
  .moku-hero h1,
  .lead-title {
    font-size: clamp(34px, 12vw, 58px);
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .lead-hero .lead-copy,
  .moku-hero .lead-copy,
  .lead-copy,
  .lead-body {
    font-size: 15px;
    line-height: 1.72;
  }

  .lead-meta,
  .moku-hero-inner,
  .lead-split,
  .lead-split.reverse,
  .lead-gallery.feature,
  .lead-gallery.early,
  .optimus-process {
    grid-template-columns: 1fr;
  }

  .lead-meta {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 24px;
  }

  .lead-section {
    padding: 64px 16px;
  }

  .lead-gallery,
  .case-gallery,
  .graphic-gallery,
  .product-grid {
    gap: 12px;
  }

  .lead-gallery.feature .wide,
  .lead-gallery figure,
  .lead-image-frame,
  .case-gallery figure,
  .case-gallery .wide,
  .graphic-gallery figure,
  .graphic-gallery .wide,
  .product-grid figure,
  .academy-grid figure,
  .band-gallery figure {
    grid-column: 1 / -1;
    min-height: 260px;
  }
}

/* Mobile navigation: compact one-line controls for touch screens. */
@media (max-width: 880px) {
  .site-header {
    top: calc(8px + var(--safe-top));
    left: 8px;
    right: 78px;
    width: auto;
    height: 44px;
    display: flex;
    grid-template-columns: none;
    align-items: center;
    gap: 5px;
    padding: 4px 6px 4px 10px;
    border-radius: 999px;
    transform: none;
  }

  .brand {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 58px;
    padding: 0 2px;
    font-size: 12px;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .main-nav {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    margin: 0;
    gap: 1px;
    padding: 0;
  }

  .main-nav a {
    flex: 1 1 0;
    min-width: 0;
    padding: 8px 2px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
  }

  .header-controls {
    flex: 0 0 auto;
    gap: 0;
  }

  .theme-toggle {
    --toggle-w: 42px;
    --toggle-h: 24px;
    --toggle-pad: 3px;
  }

  .language-toggle {
    top: calc(12px + var(--safe-top));
    right: 8px;
    height: 28px;
    gap: 3px;
  }

  .language-toggle__option {
    min-width: 22px;
    height: 24px;
    font-size: 10px;
  }

  .language-toggle__slash {
    font-size: 11px;
  }

  .personal-hero {
    padding-top: calc(96px + var(--safe-top));
  }

  .work-filters {
    top: calc(60px + var(--safe-top));
  }
}

@media (min-width: 881px) and (max-width: 1160px) {
  .site-header {
    left: 14px;
    right: 104px;
    width: auto;
    max-width: none;
    transform: none;
  }

  .brand {
    max-width: 104px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .main-nav {
    min-width: 0;
  }

  .main-nav a {
    min-width: 44px;
    padding-left: 8px;
    padding-right: 8px;
    font-size: 12.5px;
  }
}

@media (max-width: 430px) {
  .site-header {
    top: calc(8px + var(--safe-top));
    left: 6px;
    right: 66px;
    height: 40px;
    gap: 4px;
    padding: 4px 5px;
  }

  .brand {
    display: none;
  }

  .main-nav a {
    padding: 7px 1px;
    font-size: 10.5px;
  }

  .theme-toggle {
    --toggle-w: 38px;
    --toggle-h: 24px;
    --toggle-pad: 3px;
  }

  .language-toggle {
    top: calc(10px + var(--safe-top));
    right: 6px;
  }

  .language-toggle__option {
    min-width: 20px;
    font-size: 9.5px;
  }

  .personal-hero {
    padding-top: calc(88px + var(--safe-top));
  }

  .work-filters {
    top: calc(56px + var(--safe-top));
  }
}

@media (min-width: 881px) and (max-width: 1160px) {
  .project-page .site-header {
    left: calc(116px + var(--safe-left));
  }

  .project-page .brand {
    max-width: min(28vw, 230px);
  }
}

@media (max-width: 880px) {
  .project-back {
    top: calc(8px + var(--safe-top));
    left: calc(8px + var(--safe-left));
    width: 44px;
    height: 44px;
    gap: 0;
    padding: 0;
  }

  .project-back span:last-child {
    display: none;
  }

  .project-page .site-header {
    left: calc(60px + var(--safe-left));
  }

  .project-page .brand {
    max-width: 112px;
  }
}

@media (max-width: 620px) {
  .project-page .main-nav {
    display: none;
  }

  .project-page .brand {
    display: block;
    max-width: 100%;
    padding: 0 8px;
    font-size: 13px;
  }
}

@media (max-width: 430px) {
  .project-page .site-header {
    left: calc(58px + var(--safe-left));
    right: 66px;
  }

  .project-page .brand {
    display: block;
    max-width: 100%;
  }
}
