:root {
  --bg: #F0F0F0;
  --surface: #ffffff;
  --surface-hover: #fafafa;
  --card-surface: linear-gradient(135deg, #F3F3F3 0%, #FFFFFF 100%);
  --card-surface-hover: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  --card-border: 1px solid rgba(255, 255, 255, 0.6);
  /* --card-shadow: 0 18px 46px rgba(18, 18, 18, 0.08); */
  --card-shadow-hover: 0 24px 56px rgba(18, 18, 18, 0.12);
  --card-radius: 20px;
  --text: #121212;
  --muted: #676767;
  --line: rgba(18, 18, 18, 0.1);
  --line-strong: rgba(18, 18, 18, 0.18);
  --grid-line: rgba(18, 18, 18, 0.14);
  --grid-gap: 1px;
  --grid-bg: var(--surface);
  --grid-border: var(--card-border);
  --dot-color: rgba(20, 20, 20, 0.16);
  --dot-size: 1px;
  --dot-space: 16px;
  --max-width: 1440px;
  --button-radius: 12px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --zh-title-font: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

@property --face-eye-scale {
  syntax: "<number>";
  inherits: true;
  initial-value: 1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(circle, var(--dot-color) var(--dot-size), transparent var(--dot-size));
  background-position: 0 0;
  background-size: var(--dot-space) var(--dot-space);
  font-family:
    "JetBrains Mono",
    "SFMono-Regular",
    "Menlo",
    "PingFang SC",
    "Hiragino Sans GB",
    "Noto Sans SC",
    sans-serif;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3,
h4,
h5,
h6,
strong,
b,
dt,
th {
  font-weight: 400;
}

ul {
  padding-left: 1.1rem;
}

.page-shell {
  position: relative;
}

.site-header,
.section,
.contact-section {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 30;
  display: block;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

body.is-hero-status-docked .site-header {
  --topbar-inline-padding: 16px;
  top: 4px;
  right: auto;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: min(calc(100% - 48px), var(--max-width));
  height: 64px;
  padding: 0 var(--topbar-inline-padding);
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: var(--card-radius);
  background: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
  box-shadow: 0 18px 46px rgba(18, 18, 18, 0.08);
}

.header-tools {
  display: block;
  border: 0;
  background: transparent;
}

body.is-hero-status-docked .header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
}

body.is-hero-status-docked .hero {
  z-index: auto;
  overflow: visible;
  isolation: auto;
}

body.is-hero-status-docked .hero-status-slot {
  z-index: 32;
  overflow: visible;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 16px 22px;
  background: var(--grid-bg);
  font-family: "JetBrains Mono", "SFMono-Regular", "Menlo", monospace;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 36px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.brand-mark::before {
  content: "[";
  margin-right: 5px;
  color: var(--muted);
}

.brand-mark::after {
  content: "]";
  margin-left: 5px;
  color: var(--muted);
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--grid-bg);
  padding-inline: 22px;
  overflow-x: auto;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-header .brand,
.site-header .site-nav {
  display: none;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 36px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  color: var(--muted);
}

.language-switch::before {
  content: "[";
  color: var(--muted);
}

.language-switch::after {
  content: "]";
  color: var(--muted);
}

.lang-button {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: "JetBrains Mono", "SFMono-Regular", "Menlo", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    text-decoration-color 180ms ease;
}

.lang-button:hover,
.lang-button:focus-visible {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: currentColor;
  text-underline-offset: 0.22em;
}

.lang-button.is-active {
  color: var(--text);
  font-weight: 500;
}

.lang-button.is-active::before {
  content: ">";
  margin-right: 6px;
}

.section {
  padding: 0;
  border: 0;
  background: transparent;
}

.section + .section {
  margin-top: 88px;
}

main > .section:first-child {
  margin-top: 24px;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(78vh - 92px);
  padding: 72px 28px 84px;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.hero-copy,
.project-card,
.experience-card,
.contact-card {
  border: 0;
  background: transparent;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 1120px);
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
  animation: rise-in 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-status-slot {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: var(--hero-status-slot-height, 153px);
  margin: 0 auto 44px;
}

.hero-status {
  display: grid;
  justify-items: center;
  gap: 24px;
  width: fit-content;
  margin: 0;
  transition:
    top 240ms cubic-bezier(0.22, 1, 0.36, 1),
    left 240ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.hero-face {
  --face-look-x: 0px;
  --face-look-y: 0px;
  --face-mouth-x: 0px;
  --face-compress-x: 0px;
  --face-compress-y: 0px;
  --face-eye-scale: 1;
  width: 86px;
  height: 86px;
  margin: 0;
  color: var(--text);
  filter: drop-shadow(0 18px 28px rgba(18, 18, 18, 0.12));
  transition:
    width 220ms cubic-bezier(0.22, 1, 0.36, 1),
    height 220ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 220ms ease;
}

.hero-face svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero-face path {
  fill: none;
  stroke: currentColor;
  stroke-width: 10;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-face-eye,
.hero-face-nose,
.hero-face-smile {
  transition: transform 120ms ease-out;
}

.hero-face-eye {
  transform-box: fill-box;
  transform-origin: center;
}

.hero-face-eye-left {
  transform: translate(calc(var(--face-look-x) + var(--face-compress-x)), var(--face-look-y))
    scaleY(var(--face-eye-scale));
}

.hero-face-eye-right {
  transform: translate(calc(var(--face-look-x) - var(--face-compress-x)), var(--face-look-y))
    scaleY(var(--face-eye-scale));
}

.hero-face-nose {
  transform: translate(var(--face-look-x), calc(var(--face-look-y) + var(--face-compress-y)));
}

.hero-face-smile {
  transform: translate(var(--face-mouth-x), calc(var(--face-look-y) - var(--face-compress-y)));
}

.hero-face.is-idle .hero-face-eye {
  animation: hero-face-blink 3s ease-in-out infinite;
}

.eyebrow,
.section-index,
.experience-time,
.stack-title {
  font-family: "JetBrains Mono", "SFMono-Regular", "Menlo", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--muted);
  font-size: 0.84rem;
  margin-bottom: 20px;
}

.hero .eyebrow {
  --hero-bubble-bg: #ffffff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0;
  padding: 10px 18px 11px;
  border: 0;
  border-radius: 22px;
  background: var(--hero-bubble-bg);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(18, 18, 18, 0.07);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    "PingFang SC",
    "Helvetica Neue",
    sans-serif;
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  isolation: isolate;
  transform-origin: 18% 100%;
  transition:
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 180ms ease;
}

.hero .eyebrow::before {
  content: "";
  position: absolute;
  z-index: 0;
  bottom: 0;
  left: -7px;
  width: 20px;
  height: 20px;
  background: var(--hero-bubble-bg);
  border-bottom-right-radius: 15px;
  pointer-events: none;
}

.hero .eyebrow::after {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: -10px;
  width: 10px;
  height: 20px;
  background: var(--bg);
  border-bottom-right-radius: 10px;
  pointer-events: none;
}

.hero .eyebrow:hover {
  transform: translateY(-4px) rotate(-2deg) scale(1.045);
  box-shadow: 0 18px 34px rgba(18, 18, 18, 0.12);
}

/* —— Image-tail alternative — uses bubble.png instead of pseudo-elements —— */

.hero .eyebrow.img-tail {
  --hero-bubble-image-height: 42px;
  flex: 0 0 auto;
  width: auto;
  height: var(--hero-bubble-image-height);
  aspect-ratio: 1769 / 323;
  padding: 0 24px 0 30px;
  min-height: 0;
  border-radius: 0;
  background: transparent url("./images/assets/bubble.png") no-repeat left bottom / 100% 100%;
  box-shadow: none;
  line-height: 1;
  white-space: nowrap;
}

.hero .eyebrow.img-tail::before,
.hero .eyebrow.img-tail::after {
  content: none;
}

.hero .eyebrow.img-tail:hover {
  transform: translateY(-4px) rotate(-3deg) scale(1.015);
  box-shadow: none;
}

body.is-hero-status-docked .hero .eyebrow.img-tail {
  --hero-bubble-image-height: 44px;
}

body.is-hero-status-docked .hero .eyebrow.img-tail:hover {
  transform: translateY(-2px) rotate(-2deg) scale(1.01);
}

body.is-hero-status-docked .hero-status {
  position: fixed;
  top: 4px;
  left: max(40px, calc((100vw - var(--max-width)) / 2 + 16px));
  z-index: 31;
  display: flex;
  height: 64px;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

body.is-hero-status-docked .hero-face {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 10px 18px rgba(18, 18, 18, 0.1));
}

body.is-hero-status-docked .hero .eyebrow {
  display: none;
  font-size: 0.9rem;
}

body.is-hero-status-docked .hero .eyebrow:hover {
  transform: none;
  box-shadow: none;
}

.hero h1 {
  max-width: none;
  font-size: 5rem;
  line-height: 1.1;
  letter-spacing: 0;
}

html[lang="en"] .hero h1 {
  font-size: clamp(1.5rem, 6.5vw, 4rem);
}

.hero-title-line {
  display: block;
  color: var(--text);
  white-space: nowrap;
}

.hero-text {
  max-width: 100%;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-text-line {
  display: block;
}

.hero-inline-icon {
  --hero-icon-rotation: 0deg;
  --hero-icon-scale: 1;
  --hero-icon-y: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.93em;
  height: 0.93em;
  margin: 0 0.08em;
  border: 0;
  border-radius: 0;
  background: transparent;
  vertical-align: -0.08em;
  transform-origin: center;
  transform: translateY(var(--hero-icon-y)) rotate(var(--hero-icon-rotation)) scale(var(--hero-icon-scale));
  transition:
    transform 180ms ease,
    filter 180ms ease;
  filter: drop-shadow(0 12px 20px rgba(18, 18, 18, 0.14));
}

.hero-inline-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-inline-icon-figma {
  --hero-icon-rotation: -14deg;
}

.hero-inline-icon-product {
  --hero-icon-rotation: 9deg;
}

.hero-inline-icon-developer {
  --hero-icon-rotation: 12deg;
  --hero-icon-y: 0.02em;
}

.hero-inline-icon-city {
  overflow: hidden;
  border: 1px solid rgba(18, 18, 18, 0.1);
  border-radius: 0.2em;
  background: #f7f7f5;
  --hero-icon-rotation: -8deg;
  --hero-icon-y: -0.02em;
}

.hero-inline-icon-city img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-inline-icon-figma:hover {
  --hero-icon-scale: 1.08;
  --hero-icon-y: -0.08em;
}

.hero-inline-icon-product:hover {
  --hero-icon-scale: 1.08;
  --hero-icon-y: -0.07em;
}

.hero-inline-icon-developer:hover {
  --hero-icon-scale: 1.08;
  --hero-icon-y: -0.06em;
}

.hero-inline-icon-city:hover {
  --hero-icon-scale: 1.08;
  --hero-icon-y: -0.1em;
}

.hero-inline-icon:hover {
  filter: drop-shadow(0 20px 28px rgba(18, 18, 18, 0.2));
}

.hero h1:hover .hero-inline-icon-figma {
  --hero-icon-rotation: 14deg;
}

.hero h1:hover .hero-inline-icon-product {
  --hero-icon-rotation: -9deg;
}

.hero h1:hover .hero-inline-icon-developer {
  --hero-icon-rotation: -12deg;
}

.hero h1:hover .hero-inline-icon-city {
  --hero-icon-rotation: 8deg;
}

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

.hero-actions {
  justify-content: center;
}

.hero-actions .button {
  --btn-stroke: 1px;
}

.button {
  --btn-arm: 0;
  --btn-side: 0;
  --btn-stroke: 2px;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-position:
    left top,
    left bottom,
    left top,
    right top,
    right bottom,
    right top;
  background-repeat: no-repeat;
  background-size:
    var(--btn-arm) var(--btn-stroke),
    var(--btn-arm) var(--btn-stroke),
    var(--btn-stroke) var(--btn-side),
    var(--btn-arm) var(--btn-stroke),
    var(--btn-arm) var(--btn-stroke),
    var(--btn-stroke) var(--btn-side);
  color: var(--text);
  cursor: pointer;
  font-family: "JetBrains Mono", "SFMono-Regular", "Menlo", monospace;
  font-size: 0.9rem;
  transition:
    background-size 220ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button::before {
  content: "[";
  margin-right: 6px;
  transition: opacity 180ms ease;
}

.button::after {
  content: "]";
  margin-left: 6px;
  transition: opacity 180ms ease;
}

.button:hover,
.button:focus-visible {
  --btn-arm: calc(50% + var(--btn-stroke));
  --btn-side: 100%;
  color: #101010;
  transform: translateY(-1px);
}

.button:hover::before,
.button:hover::after,
.button:focus-visible::before,
.button:focus-visible::after {
  opacity: 0;
}

.button-primary {
  background-color: #101010;
  background-image: none;
  color: #f7f7f5;
}

.button-primary::before {
  content: "> [";
  margin-right: 6px;
  opacity: 1;
}

.button-primary::after {
  content: "]";
  margin-left: 6px;
  opacity: 1;
}

.button-primary:hover,
.button-primary:focus-visible {
  background-color: #101010;
  color: #f7f7f5;
}

.button-primary:hover::before,
.button-primary:hover::after,
.button-primary:focus-visible::before,
.button-primary:focus-visible::after {
  opacity: 1;
}

.button-secondary {
  background-color: transparent;
}

.section-divider {
  border-top: 0;
}

.section-heading {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 12px;
  padding: 34px 0 24px;
  border: 0;
  border-top: 2px solid var(--text);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: none;
}

.section-heading::before {
  content: none;
}

.section-heading::after {
  content: none;
}

.section-heading:hover {
  border-color: var(--text);
  box-shadow: none;
}

.section-heading:hover::before {
  content: none;
}

.section-heading > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section-heading > * {
  position: relative;
  z-index: auto;
}

.section-index {
  color: #9b9b9b;
  font-size: clamp(2.4rem, 4vw, 3rem);
  line-height: 1;
  padding-top: 0;
}

.section-heading h2 {
  margin-top: 4px;
  font-size: clamp(2.1rem, 3.6vw, 2.8rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-description {
  max-width: 62ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.55;
}

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

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 44px;
  border: var(--card-border);
  border-radius: var(--card-radius);
  background: var(--card-surface);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.project-card:nth-child(2n) {
  border-left: var(--card-border);
}

.project-card:nth-child(n + 3) {
  border-top: var(--card-border);
}

.project-hover-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  display: block;
  width: 90px;
  height: 44px;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--cursor-x, -220px), var(--cursor-y, -220px), 0);
  transition: opacity 120ms ease;
  will-change: transform, opacity;
}

.project-hover-cursor.is-visible {
  opacity: 1;
}

.has-project-hover-cursor .project-card:hover,
.has-project-hover-cursor .project-card.is-project-cursor-active {
  cursor: none;
}

.project-hover-cursor-arrow {
  position: absolute;
  top: -2px;
  left: -2px;
  width: 24px;
  height: 27px;
  overflow: visible;
  filter: drop-shadow(0 4px 5px rgba(18, 18, 18, 0.18));
}

.project-hover-cursor-arrow path {
  fill: #8A38F5;
  stroke: #ffffff;
  stroke-linejoin: round;
  stroke-width: 4px;
}

.project-hover-cursor-label {
  position: absolute;
  top: 18px;
  left: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 28px;
  padding: 0 9px;
  border-radius: 4px;
  background: #8A38F5;
  box-shadow: 0 6px 11px rgba(138, 56, 245, 0.22);
  color: #ffffff;
  font-family:
    "JetBrains Mono",
    "SFMono-Regular",
    "Menlo",
    var(--zh-title-font);
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.project-icon-stack {
  position: relative;
  width: 122px;
  height: 84px;
  margin-bottom: 22px;
}

.project-icon {
  position: absolute;
  width: 72px;
  height: 72px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  transform-origin: center;
  transition:
    transform 180ms ease,
    filter 180ms ease,
    opacity 180ms ease;
  filter: drop-shadow(0 12px 20px rgba(18, 18, 18, 0.14));
}

.project-icon-primary {
  left: 0;
  bottom: 0;
  z-index: 2;
  transform: rotate(-15deg);
}

.project-icon-secondary {
  top: 0;
  right: 0;
  z-index: 1;
  transform: translate(-8px, 4px) rotate(15deg) scale(0.76);
}

.project-icon-stack-ribbon {
  width: 184px;
  height: 96px;
}

.project-icon-stack-ribbon .project-icon-primary {
  z-index: 3;
}

.project-icon-stack-ribbon .project-icon-secondary {
  z-index: 2;
  top: 0;
  right: -48px;
  transform: translate(16px, 0px) rotate(11deg) scale(0.82);
}

.project-icon-ribbon {
  width: 200px;
  height: auto;
  left: 2px;
  bottom: 12px;
  transform: rotate(-6deg);
  transform-origin: left center;
}

.project-icon-figma {
  opacity: 0.88;
  filter:
    grayscale(1)
    saturate(0.2)
    brightness(0.96)
    contrast(0.92)
    drop-shadow(0 12px 20px rgba(18, 18, 18, 0.14));
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: auto;
  padding-top: 24px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.project-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.project-snapshot {
  display: none;
  gap: 10px;
  margin: 22px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(18, 18, 18, 0.08);
}

.project-snapshot div {
  display: grid;
  grid-template-columns: minmax(64px, 0.22fr) minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
}

.project-snapshot dt,
.project-snapshot dd {
  margin: 0;
  line-height: 1.5;
}

.project-snapshot dt {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-snapshot dd {
  color: var(--text);
  font-size: 0.9rem;
}

.project-card h3 {
  margin-top: 18px;
  font-size: 1.7rem;
  letter-spacing: 0;
}

.project-card p,
.contact-card p {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.75;
}

.project-card p {
  flex: 1 1 auto;
}

.project-card .project-time {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
  flex: 0 0 auto;
}

.project-time-role {
  color: var(--text);
}

.project-time-role::before {
  content: "·";
  margin-right: 6px;
  color: var(--muted);
}

.project-card ul {
  margin-top: 18px;
  color: var(--text);
  line-height: 1.7;
}

.project-card li + li {
  margin-top: 10px;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(30, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(360px, auto));
  gap: 18px;
  background: transparent;
}

.experience-card {
  --experience-card-radius: 34px;
  --experience-border-color: rgba(255, 255, 255, 0.62);
  --experience-accent-rgb: 243, 243, 243;
  --experience-fill-base: #ffffff;
  --experience-fill-start-mix: 32%;
  --experience-fill-mid-mix: 18%;
  --experience-fill-end-mix: 6%;
  --experience-fill-start-mix-hover: 38%;
  --experience-fill-mid-mix-hover: 22%;
  --experience-fill-end-mix-hover: 8%;
  --experience-text-color: #151515;
  --experience-muted-color: rgba(18, 18, 18, 0.66);
  --experience-subtle-color: rgba(18, 18, 18, 0.5);
  --experience-chip-bg: rgba(255, 255, 255, 0.42);
  --experience-chip-border: rgba(255, 255, 255, 0.5);
  --experience-dot-color: rgba(18, 18, 18, 0.2);
  --experience-dot-soft-color: rgba(18, 18, 18, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 360px;
  padding: 34px;
  border: 1px solid var(--experience-border-color);
  border-radius: var(--experience-card-radius);
  overflow: hidden;
  background:
    radial-gradient(
      100% 78% at 74% 105%,
      color-mix(in srgb, rgb(var(--experience-accent-rgb)) 42%, rgba(255, 255, 255, 0.92)) 0%,
      rgba(255, 255, 255, 0) 62%
    ),
    radial-gradient(
      64% 58% at 20% -8%,
      rgba(255, 255, 255, 0.42) 0%,
      rgba(255, 255, 255, 0) 62%
    ),
    linear-gradient(
      145deg,
      color-mix(in srgb, rgb(var(--experience-accent-rgb)) var(--experience-fill-start-mix), var(--experience-fill-base)) 0%,
      color-mix(in srgb, rgb(var(--experience-accent-rgb)) var(--experience-fill-mid-mix), #ffffff) 55%,
      color-mix(in srgb, rgb(var(--experience-accent-rgb)) var(--experience-fill-end-mix), #ffffff) 100%
    ),
    color-mix(in srgb, rgb(var(--experience-accent-rgb)) 12%, #ffffff);
  box-shadow:
    0 24px 54px rgba(18, 18, 18, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset -44px -54px 86px rgba(255, 255, 255, 0.18);
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.experience-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(
      80% 64% at 76% 95%,
      rgba(255, 255, 255, 0.24) 0%,
      rgba(255, 255, 255, 0) 66%
    ),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.06) 44%,
      rgba(255, 255, 255, 0) 78%
    );
  opacity: 1;
}

.experience-card::after {
  content: none;
}

.experience-card-zhufengyang {
  --experience-accent-rgb: 39, 67, 225;
  --experience-fill-base: #080b24;
  --experience-fill-start-mix: 88%;
  --experience-fill-mid-mix: 72%;
  --experience-fill-end-mix: 44%;
  --experience-fill-start-mix-hover: 94%;
  --experience-fill-mid-mix-hover: 78%;
  --experience-fill-end-mix-hover: 50%;
  --experience-text-color: #ffffff;
  --experience-muted-color: rgba(255, 255, 255, 0.74);
  --experience-subtle-color: rgba(255, 255, 255, 0.58);
  --experience-chip-bg: rgba(255, 255, 255, 0.15);
  --experience-chip-border: rgba(255, 255, 255, 0.24);
  --experience-dot-color: rgba(255, 255, 255, 0.82);
  --experience-dot-soft-color: rgba(255, 255, 255, 0.26);
}

.experience-card-murong {
  --experience-accent-rgb: 0, 146, 101;
  --experience-fill-base: #041d16;
  --experience-fill-start-mix: 90%;
  --experience-fill-mid-mix: 76%;
  --experience-fill-end-mix: 46%;
  --experience-fill-start-mix-hover: 96%;
  --experience-fill-mid-mix-hover: 82%;
  --experience-fill-end-mix-hover: 52%;
  --experience-text-color: #ffffff;
  --experience-muted-color: rgba(255, 255, 255, 0.74);
  --experience-subtle-color: rgba(255, 255, 255, 0.58);
  --experience-chip-bg: rgba(255, 255, 255, 0.15);
  --experience-chip-border: rgba(255, 255, 255, 0.24);
  --experience-dot-color: rgba(255, 255, 255, 0.82);
  --experience-dot-soft-color: rgba(255, 255, 255, 0.26);
}

.experience-card-txlabs {
  --experience-accent-rgb: 216, 253, 73;
  --experience-fill-base: #6e8118;
  --experience-fill-start-mix: 86%;
  --experience-fill-mid-mix: 76%;
  --experience-fill-end-mix: 42%;
  --experience-fill-start-mix-hover: 92%;
  --experience-fill-mid-mix-hover: 82%;
  --experience-fill-end-mix-hover: 48%;
  --experience-text-color: #151515;
  --experience-muted-color: rgba(18, 18, 18, 0.68);
  --experience-subtle-color: rgba(18, 18, 18, 0.52);
  --experience-chip-bg: rgba(18, 18, 18, 0.08);
  --experience-chip-border: rgba(18, 18, 18, 0.12);
  --experience-dot-color: rgba(255, 255, 255, 0.86);
  --experience-dot-soft-color: rgba(18, 18, 18, 0.16);
}

.experience-card-walimai {
  --experience-accent-rgb: 249, 75, 56;
  --experience-fill-base: #2a0b07;
  --experience-fill-start-mix: 92%;
  --experience-fill-mid-mix: 78%;
  --experience-fill-end-mix: 48%;
  --experience-fill-start-mix-hover: 97%;
  --experience-fill-mid-mix-hover: 84%;
  --experience-fill-end-mix-hover: 54%;
  --experience-text-color: #ffffff;
  --experience-muted-color: rgba(255, 255, 255, 0.76);
  --experience-subtle-color: rgba(255, 255, 255, 0.6);
  --experience-chip-bg: rgba(255, 255, 255, 0.15);
  --experience-chip-border: rgba(255, 255, 255, 0.24);
  --experience-dot-color: rgba(255, 255, 255, 0.84);
  --experience-dot-soft-color: rgba(255, 255, 255, 0.26);
}

.experience-card > * {
  position: relative;
  z-index: 1;
}

.experience-card-top-wide {
  grid-column: 1 / span 10;
  grid-row: 1;
}

.experience-card-top-narrow {
  grid-column: 11 / span 10;
  grid-row: 1;
}

.experience-card-right-tall {
  grid-column: 21 / span 10;
  grid-row: 1;
}

.experience-card-bottom-wide {
  grid-column: 1 / span 18;
  grid-row: 2;
}

.experience-card-bottom-medium {
  grid-column: 19 / span 12;
  grid-row: 2;
}

.experience-card-top-narrow,
.experience-card-right-tall,
.experience-card-bottom-medium {
  border-left: 1px solid var(--experience-border-color);
}

.experience-card-bottom-wide,
.experience-card-bottom-medium {
  border-top: 1px solid var(--experience-border-color);
}

.experience-time {
  margin: 0;
  color: var(--experience-subtle-color);
  font-size: clamp(0.78rem, 1vw, 0.9rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.experience-card h3 {
  margin: 10px 0 0;
  color: var(--experience-text-color);
  font-size: clamp(1.5rem, 3vw, 1.7rem);
  line-height: 1;
  letter-spacing: 0;
  max-width: 15ch;
}

.experience-description {
  max-width: 40ch;
  margin: 0;
  color: var(--experience-muted-color);
  font-size: clamp(0.86rem, 1vw, 0.96rem);
  line-height: 1.38;
}

.experience-spacer {
  flex: 1 1 auto;
  min-height: clamp(28px, 4vw, 72px);
}

.experience-industry {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
}

.experience-industry-label {
  color: var(--experience-subtle-color);
  font-size: 0.78rem;
  line-height: 1;
}

.experience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 0;
}

.experience-tag {
  color: var(--experience-muted-color);
  font-size: 0.8rem;
  line-height: 1.35;
  white-space: nowrap;
}

.experience-projects {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  margin-top: 18px;
  color: var(--experience-subtle-color);
  font-size: 0.78rem;
  line-height: 1;
}

.experience-projects-label {
  color: currentColor;
}

.experience-project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.experience-project-link {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--experience-chip-border);
  border-radius: 999px;
  background: var(--experience-chip-bg);
  color: var(--experience-text-color);
}

.experience-card-bottom-wide h3 {
  max-width: 22ch;
}

.experience-card-bottom-wide .experience-description {
  max-width: 58ch;
}

.about-section {
  padding-bottom: 0;
}

.stack-title {
  color: var(--muted);
  font-size: 0.8rem;
}

.about-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 18px;
}

.about-info-panel {
  padding: 44px;
  border: var(--card-border);
  border-radius: var(--card-radius);
  background: var(--card-surface);
  box-shadow: var(--card-shadow);
}

.capability-showcase {
  --ability-card-overlap: clamp(28px, 4vw, 58px);
  --ability-card-radius: var(--card-radius);
  --ability-card-shadow: 0 18px 44px rgba(18, 18, 18, 0.12);
  --ability-card-shadow-hover: 0 24px 56px rgba(18, 18, 18, 0.14);
  --ability-copy-gap: clamp(16px, 1.8vw, 30px);
}

.capability-showcase > .stack-title {
  display: none;
}

.capability-list {
  display: flex;
  gap: clamp(10px, 1.1vw, 18px);
  align-items: stretch;
  isolation: isolate;
  margin-top: 0;
  padding: clamp(14px, 2.4vw, 34px) clamp(10px, 1.4vw, 20px) clamp(18px, 3vw, 40px);
}

.capability-item {
  position: relative;
  z-index: var(--ability-card-z, 1);
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 0;
  min-height: clamp(380px, 32vw, 420px);
  padding: clamp(22px, 2.2vw, 34px);
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: var(--ability-card-radius);
  background: #ffffff;
  box-shadow: var(--ability-card-shadow);
  overflow: hidden;
  transform: translate(var(--ability-card-x, 0), var(--ability-card-y, 0)) rotate(var(--ability-card-rotate, 0deg));
  transform-origin: center bottom;
  transition:
    margin-left 280ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.capability-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 60%;
  border-radius: inherit;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  background: #ffffff;
  pointer-events: none;
}

.capability-item > * {
  position: relative;
  z-index: 1;
}

.capability-item + .capability-item {
  margin-left: calc(var(--ability-card-overlap) * -1);
}

.capability-item:nth-child(1) {
  --ability-card-z: 1;
  --ability-card-x: 8px;
  --ability-card-y: 24px;
  --ability-card-rotate: -5.5deg;
}

.capability-item:nth-child(2) {
  --ability-card-z: 2;
  --ability-card-x: -6px;
  --ability-card-y: -10px;
  --ability-card-rotate: 4.5deg;
}

.capability-item:nth-child(3) {
  --ability-card-z: 3;
  --ability-card-x: -16px;
  --ability-card-y: 18px;
  --ability-card-rotate: -1deg;
}

.capability-item:nth-child(4) {
  --ability-card-z: 4;
  --ability-card-x: -26px;
  --ability-card-y: -4px;
  --ability-card-rotate: 3deg;
}

.capability-item:nth-child(5) {
  --ability-card-z: 5;
  --ability-card-x: -34px;
  --ability-card-y: 20px;
  --ability-card-rotate: -4deg;
}

.capability-list:hover .capability-item,
.capability-list:focus-within .capability-item {
  margin-left: 0;
  transform: translate(0, 0) rotate(0deg);
}

.capability-list:hover .capability-item:hover,
.capability-list:focus-within .capability-item:focus-within {
  border-color: rgba(18, 18, 18, 0.14);
  box-shadow: var(--ability-card-shadow-hover);
}

.capability-item:focus-visible {
  outline: 2px solid rgba(18, 18, 18, 0.28);
  outline-offset: 4px;
}

.capability-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(150px, 14vw, 210px);
}

.capability-illustration img {
  display: block;
  width: min(100%, 210px);
  height: auto;
}

.capability-item h3 {
  margin: var(--ability-copy-gap) 0 0;
  font-size: 1rem;
  line-height: 1.35;
}

.capability-item p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.about-fit-panel {
  padding: 32px 44px 34px;
}

.fit-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 18px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.fit-list li {
  padding: 16px 0 0;
  border-top: 1px solid rgb(18, 18, 18);
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.65;
}

.contact-section {
  padding: 0;
  border-top: 0;
}

.contact-card {
  padding: 44px;
  border: var(--card-border);
  border-radius: var(--card-radius);
  background: var(--card-surface);
  box-shadow: var(--card-shadow);
}

.contact-card h2 {
  max-width: min(100%, 980px);
  margin-top: 16px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.contact-title-line {
  display: block;
}

@media (min-width: 1081px) {
  html[lang^="zh"] .hero-text-line,
  html[lang^="zh"] .contact-title-line {
    white-space: nowrap;
  }
}

html[lang^="zh"] .eyebrow,
html[lang^="zh"] .stack-title,
html[lang^="zh"] .lang-button {
  letter-spacing: 0.04em;
  text-transform: none;
}

html[lang^="zh"] .hero h1,
html[lang^="zh"] .section-index,
html[lang^="zh"] .section-heading h2,
html[lang^="zh"] .project-card h3,
html[lang^="zh"] .experience-card h3,
html[lang^="zh"] .contact-card h2,
html[lang^="zh"] .capability-item h3 {
  font-family: var(--zh-title-font);
}

html[lang^="zh"] .section-index {
  letter-spacing: 0;
  text-transform: none;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 620ms ease,
    transform 620ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

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

.project-card:hover,
.project-card:focus-within,
.experience-card:hover,
.experience-card:focus-within,
.about-info-panel:hover,
.about-info-panel:focus-within,
.contact-card:hover,
.contact-card:focus-within {
  background: var(--card-surface-hover);
  box-shadow: var(--card-shadow-hover);
}

.project-card:hover,
.project-card:focus-within {
  background: var(--card-surface-hover);
  transform: translateY(-4px);
}

.experience-card:hover,
.experience-card:focus-within {
  border-color: rgba(255, 255, 255, 0.76);
  background:
    radial-gradient(
      100% 78% at 74% 105%,
      color-mix(in srgb, rgb(var(--experience-accent-rgb)) 48%, rgba(255, 255, 255, 0.94)) 0%,
      rgba(255, 255, 255, 0) 62%
    ),
    radial-gradient(
      64% 58% at 20% -8%,
      rgba(255, 255, 255, 0.46) 0%,
      rgba(255, 255, 255, 0) 62%
    ),
    linear-gradient(
      145deg,
      color-mix(in srgb, rgb(var(--experience-accent-rgb)) var(--experience-fill-start-mix-hover), var(--experience-fill-base)) 0%,
      color-mix(in srgb, rgb(var(--experience-accent-rgb)) var(--experience-fill-mid-mix-hover), #ffffff) 55%,
      color-mix(in srgb, rgb(var(--experience-accent-rgb)) var(--experience-fill-end-mix-hover), #ffffff) 100%
    ),
    color-mix(in srgb, rgb(var(--experience-accent-rgb)) 16%, #ffffff);
  box-shadow:
    0 30px 66px rgba(18, 18, 18, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    inset -50px -62px 94px rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.project-card:hover .project-meta span,
.project-card:focus-within .project-meta span {
  background: transparent;
}

.project-card:hover .project-icon-primary,
.project-card:focus-within .project-icon-primary {
  transform: translate(-4px, 2px) rotate(-15deg);
}

.project-card:hover .project-icon-secondary,
.project-card:focus-within .project-icon-secondary {
  transform: translate(6px, -4px) rotate(15deg) scale(1);
}

.project-card:hover .project-icon-ribbon,
.project-card:focus-within .project-icon-ribbon {
  transform: translate(-8px, -1px) rotate(-6deg);
}

.project-card:hover .project-icon-stack-ribbon .project-icon-secondary,
.project-card:focus-within .project-icon-stack-ribbon .project-icon-secondary {
  transform: translate(24px, -5px) rotate(11deg) scale(1);
}

.project-card:hover .project-icon-figma,
.project-card:focus-within .project-icon-figma {
  opacity: 1;
  filter: drop-shadow(0 12px 20px rgba(18, 18, 18, 0.14));
}

.project-card:nth-child(2),
.experience-card:nth-child(2) {
  transition-delay: 90ms;
}

.project-card:nth-child(3),
.experience-card:nth-child(3) {
  transition-delay: 180ms;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-face-blink {
  0%,
  84%,
  100% {
    --face-eye-scale: 1;
  }

  89%,
  93% {
    --face-eye-scale: 0.12;
  }
}

@media (max-width: 1080px) {
  .about-info-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-grid .project-card {
    border: var(--card-border);
  }

  .project-card + .project-card {
    border-top: var(--card-border);
  }

  .hero {
    min-height: auto;
    align-items: center;
  }

  .hero h1 {
    font-size: 5rem;
  }

  .experience-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .experience-card,
  .experience-card-top-wide,
  .experience-card-top-narrow,
  .experience-card-right-tall,
  .experience-card-bottom-wide,
  .experience-card-bottom-medium {
    grid-column: auto;
    grid-row: auto;
    border: 1px solid var(--experience-border-color);
    min-height: 280px;
  }

  .experience-card + .experience-card {
    border-top: 1px solid var(--experience-border-color);
  }

  .capability-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 0;
  }

  .capability-item,
  .capability-list:hover .capability-item,
  .capability-list:focus-within .capability-item {
    min-height: 360px;
    transform: none;
  }

  .capability-item + .capability-item {
    margin-left: 0;
  }

  .fit-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
  }
}

@media (max-width: 820px) {
  .section,
  .contact-section {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header {
    top: 14px;
    right: 14px;
    width: auto;
  }

  .header-tools {
    display: block;
    width: auto;
    border: 0;
  }

  .language-switch {
    border: 0;
  }

  .site-nav {
    display: none;
    gap: 12px;
    overflow-x: auto;
  }

  .section {
    padding: 0;
  }

  .section + .section {
    margin-top: 64px;
  }

  .section-heading {
    margin-bottom: 10px;
    padding: 28px 0 22px;
  }

  .hero {
    padding: 48px 24px 66px;
  }

  body.is-hero-status-docked .hero-status {
    top: 4px;
    left: 26px;
    height: 64px;
  }

  body.is-hero-status-docked .site-header {
    --topbar-inline-padding: 12px;
    width: calc(100% - 28px);
    height: 64px;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero-copy {
    padding: 0;
  }

  .hero-status-slot {
    min-height: var(--hero-status-slot-height, 138px);
    margin-bottom: 34px;
  }

  .project-card,
  .about-info-panel,
  .contact-card {
    padding: 24px;
  }

  .experience-card {
    min-height: 0;
    padding: 24px;
  }

  .experience-card h3 {
    max-width: 100%;
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }

  .contact-card h2 {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .header-tools {
    display: block;
  }

  .site-nav {
    display: none;
    width: 100%;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 3.1rem;
  }

  .hero {
    min-height: auto;
    padding: 40px 18px 56px;
  }

  body.is-hero-status-docked .hero-status {
    top: 4px;
    left: 24px;
    height: 62px;
  }

  body.is-hero-status-docked .site-header {
    --topbar-inline-padding: 10px;
    width: calc(100% - 28px);
    height: 62px;
  }

  .language-switch {
    gap: 12px;
  }

  body.is-hero-status-docked .hero-face {
    width: 38px;
    height: 38px;
  }

  body.is-hero-status-docked .hero .eyebrow {
    max-width: calc(100vw - 221px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-text {
    font-size: 1rem;
  }

  .lang-button {
    min-height: 40px;
  }

  .project-icon-stack {
    width: 102px;
    height: 70px;
  }

  .project-icon {
    width: 60px;
    height: 60px;
  }

  .project-icon-stack-ribbon {
    width: 158px;
    height: 84px;
  }

  .project-icon-ribbon {
    width: 136px;
    left: 1px;
    bottom: 12px;
  }

  .capability-list,
  .fit-list {
    grid-template-columns: 1fr;
  }

  .capability-item {
    min-height: 340px;
  }

  .project-snapshot div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .button {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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