:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --surface: #ffffff;
  --surface-dark: #0a0a0a;
  --surface-canvas: #040404;
  --ink: #000000;
  --ink-soft: rgba(0, 0, 0, 0.8);
  --ink-muted: rgba(0, 0, 0, 0.6);
  --line: rgba(0, 0, 0, 0.08);
  --line-soft: rgba(255, 255, 255, 0.2);
  --line-card: rgba(255, 255, 255, 0.1);
  --canvas-copy: rgba(255, 255, 255, 0.8);
  --canvas-muted: rgba(255, 255, 255, 0.4);
  --green: #76ef72;
  --green-soft: #8dff87;
  --blue-stroke: #3744d3;
  --shadow-card: 8px 10px 42px rgba(0, 0, 0, 0.16);
  --shadow-soft: 0 12px 34px rgba(0, 0, 0, 0.06);
  --shadow-node: 0 14px 28px rgba(0, 0, 0, 0.18);
  --radius-xl: 22px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --page-width: 1920px;
  --content-width: 1720px;
  --canvas-width: 1720px;
  --page-gutter: clamp(100px, 10vw, 180px);
  --explore-gutter: clamp(340px, 24vw, 560px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  padding-bottom: 0;
}

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

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

button {
  font: inherit;
}

.portfolio-page {
  width: 100%;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg);
  --hero-lower-bottom: 194px;
  --hero-focus-block-height: 90px;
}

.hero-curve {
  position: absolute;
  top: -8px;
  left: 50%;
  width: min(calc(100vw + 140px), 2046px);
  height: auto;
  max-width: none;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-shell,
.about-shell,
.feature-shell {
  width: min(calc(100% - var(--page-gutter)), var(--content-width));
  margin: 0 auto;
}

.hero-shell {
  position: relative;
  min-height: calc(100vh - 20px);
}

.hero-heading,
.hero-summary,
.hero-badge,
.hero-focus {
  position: absolute;
  z-index: 3;
}

.hero-heading {
  top: 156px;
  left: 0;
}

.hero-kicker {
  margin: 0;
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
}

.hero-name {
  margin: 6px 0 0;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  min-height: 1.2em;
}

.hero-photo-stage {
  position: absolute;
  left: 50%;
  top: 0;
  width: 950px;
  height: 100vh;
  overflow: hidden;
  transform: translateX(-50%);
}

.hero-photo {
  position: absolute;
  left: 50%;
  bottom: -54px;
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: contain;
  transform: translateX(-50%);
}

.hero-photo-fade {
  position: absolute;
  left: -240px;
  right: -240px;
  bottom: -2px;
  height: 248px;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.06) 62%,
    #ffffff 100%
  );
}

.hero-summary {
  bottom: 194px;
  right: 0;
  width: 430px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: 0.2px;
}

.hero-badge {
  left: 0;
  bottom: calc(var(--hero-lower-bottom) + var(--hero-focus-block-height) + 24px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.2px;
}

.hero-badge-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
}

.hero-focus {
  left: 0;
  bottom: var(--hero-lower-bottom);
  margin: 0;
  width: 470px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: 0;
}

.hero-nav {
  position: fixed;
  left: 50%;
  bottom: clamp(32px, 4.2vh, 58px);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  z-index: 50;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.hero-nav-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.hero-nav a {
  font-family: "Inter", "Noto Sans SC", sans-serif;
  padding: 4px 6px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.375;
  color: var(--ink);
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.hero-nav:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.28);
}

.hero-nav a:hover {
  background: rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.about-section {
  padding: 72px 0;
  background: #f7f7f7;
}

.about-section,
.feature-section,
.other-projects-section,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 960px;
}

.about-shell {
  width: min(calc(100% - var(--page-gutter)), 1310px);
  display: grid;
  grid-template-columns: 320px 980px;
  gap: 10px;
  align-items: stretch;
}

.about-profile-card {
  padding: 40px;
  border-radius: 40px;
  background: #0a0a0a;
  box-shadow: 8px 8px 50px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.about-profile-title {
  margin: 0;
  color: #ffffff;
  font-family: "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
}

.about-profile-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 44px;
}

.about-profile-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-family: "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.about-profile-em {
  color: #ffffff;
  font-weight: 600;
}

.about-profile-punct {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}

.about-profile-contact {
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.8);
  font-family: "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 2;
  white-space: nowrap;
}

.about-profile-contact p {
  margin: 0;
}

.about-profile-qr {
  width: 266px;
  height: 351px;
  margin-top: auto;
  align-self: center;
  flex-shrink: 0;
  border-radius: 20px;
  object-fit: contain;
  background: #ffffff;
}

.about-main {
  display: grid;
  gap: 10px;
}

.about-card {
  overflow: hidden;
  border-radius: 40px;
  background: #ffffff;
}

.edu-card {
  min-height: 360px;
  height: auto;
  padding: 40px;
}

.work-card {
  min-height: 856px;
  height: auto;
  padding: 40px;
}

.about-card-title {
  margin: 0;
  font-family: "Alibaba PuHuiTi", "PingFang SC", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 40px;
}

.edu-item {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
}

.edu-item.edu-item-top {
  align-items: flex-start;
}

.edu-item + .edu-item {
  margin-top: 30px;
}

.edu-logo-shell,
.work-icon-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 55px;
  height: 55px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 15px;
  background: #ffffff;
}

.edu-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.edu-content {
  position: relative;
  width: 100%;
}

.edu-content::before,
.work-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 96px;
  height: 12px;
  border-radius: 10px;
  background: rgba(140, 255, 248, 0.2);
}

.work-item:nth-child(2) .work-head::before {
  top: 12px;
}

.edu-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 80px;
}

.edu-head strong,
.work-head strong {
  font-family: "Alibaba PuHuiTi", "PingFang SC", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.edu-head span {
  font-family: "Alibaba PuHuiTi", "PingFang SC", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.work-head span,
.work-head em {
  font-family: "Alibaba PuHuiTi", "PingFang SC", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.edu-content p {
  margin: 0;
  color: var(--ink-soft);
  font-family: "Alibaba PuHuiTi", "PingFang SC", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.work-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.work-item + .work-item {
  margin-top: 30px;
}

.work-item:first-of-type {
  margin-top: 20px;
}

.work-icon {
  width: 36px;
  height: 40px;
  object-fit: contain;
}

.work-content {
  width: 100%;
}

.work-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 27px;
  flex-wrap: wrap;
}

.work-head span {
  margin-right: 68px;
}

.work-head strong,
.work-head span,
.work-head em {
  position: relative;
  z-index: 1;
}

.work-points {
  margin: 16px 0 0;
  padding-left: 22px;
  display: grid;
  gap: 12px;
}

.work-points li {
  margin: 0;
  color: var(--ink-muted);
  font-family: "Alibaba PuHuiTi", "PingFang SC", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.work-points strong {
  color: #000000;
  font-weight: 500;
}

.work-points span {
  color: rgba(0, 0, 0, 0.6);
  font-family: "Alibaba PuHuiTi", "PingFang SC", sans-serif;
  font-weight: 400;
}

.work-points span.work-points-accent {
  color: #000000;
  font-weight: 400;
}

.edu-bullets {
  margin: 8px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 4px;
  list-style: disc;
}

.edu-bullets li {
  color: rgba(0, 0, 0, 0.8);
  font-family: "Alibaba PuHuiTi", "PingFang SC", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.edu-bullets strong {
  color: #000;
  font-weight: 500;
}

.edu-bullets span {
  color: rgba(0, 0, 0, 0.6);
  font-weight: 400;
}

.work-project-item {
  list-style: disc;
}

.work-sub-details {
  margin: 6px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 4px;
  list-style: disc;
}

.work-sub-details li {
  color: rgba(0, 0, 0, 0.8);
  font-family: "Alibaba PuHuiTi", "PingFang SC", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

.work-sub-label {
  color: rgba(0, 0, 0, 0.8);
  font-weight: 500;
  font-family: "Alibaba PuHuiTi", "PingFang SC", sans-serif;
}

.work-sub-text {
  color: rgba(0, 0, 0, 0.6);
  font-weight: 400;
}

.feature-section {
  padding: 48px 0 88px;
  background: var(--bg);
}

.feature-shell {
  width: min(calc(100% - var(--explore-gutter)), var(--canvas-width));
  margin: 0 auto;
}

.feature-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  line-height: 1.5;
}

.feature-header h2 {
  margin: 0;
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
}

.feature-header-note {
  margin: 0;
  color: rgba(0, 0, 0, 0.2);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  white-space: nowrap;
}

.feature-stage {
  overflow: visible;
  padding: 34px 26px 14px;
  border-radius: 24px;
  background: var(--surface-canvas);
}

.feature-surface {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1668 / 1252;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.24) 1.5px, transparent 1.5px),
    var(--surface-canvas);
  background-size: 52px 52px;
  border-radius: 20px;
  transform: translate3d(0, 0, 0);
}

.feature-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  display: block;
}

.feature-link-path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 1.5;
  stroke-linecap: round;
}

.feature-link-label {
  fill: rgba(255, 255, 255, 0.36);
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-anchor: middle;
  letter-spacing: 0.02em;
}

@keyframes featureLinkFlow {
  to {
    stroke-dashoffset: -320;
  }
}

.feature-node {
  position: absolute;
  user-select: none;
  touch-action: none;
  z-index: 1;
}

.feature-root,
.feature-card {
  display: block;
  border-radius: 16px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  cursor: default;
}

.feature-root {
  width: clamp(240px, 22vw, 368px);
  min-height: 100px;
  padding: 18px 20px;
  border: 1px solid var(--blue-stroke);
  background: rgba(255, 255, 255, 0.1);
  cursor: grab;
}

.feature-root-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.feature-root-title {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.feature-root-avatar {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  object-fit: cover;
}

.feature-root-title p {
  margin: 0;
  color: var(--canvas-copy);
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.feature-root-title strong {
  font-weight: 700;
}

.feature-root-tag {
  padding: 2px 8px;
  border-radius: 8px;
  background: rgba(141, 255, 135, 0.1);
  color: var(--green-soft);
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.feature-root-copy {
  margin: 12px 0 0;
  color: var(--canvas-copy);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.feature-card {
  position: absolute;
  width: clamp(184px, 15.6vw, 264px);
  min-height: clamp(196px, 16.6vw, 279px);
  padding: 12px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-node);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
  cursor: grab;
}

.feature-card-kc2d {
  min-height: clamp(208px, 18vw, 304px);
}

.feature-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 32px;
}

.feature-card-head span,
.feature-card-head a {
  color: var(--canvas-copy);
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.feature-card-head em {
  padding: 2px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--canvas-muted);
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}

.feature-card-media-link {
  position: relative;
  display: block;
  margin-top: 12px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.feature-card-cover {
  width: 100%;
  height: auto;
  aspect-ratio: 320 / 241;
  border-radius: 12px;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
  transition:
    transform 220ms ease,
    filter 220ms ease,
    opacity 220ms ease;
}

.feature-card-media-hover {
  position: absolute;
  inset: auto 10px 10px auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background-color 180ms ease;
}

.feature-card-media-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.34) 100%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.feature-card-media-link:hover .feature-card-cover {
  filter: brightness(0.8) saturate(1.02);
  opacity: 0.96;
  transform: scale(1.025);
}

.feature-card-media-link:hover::before,
.feature-card-media-link:focus-visible::before {
  opacity: 1;
}

.feature-card-media-link:hover .feature-card-media-hover,
.feature-card-media-link:focus-visible .feature-card-media-hover {
  opacity: 1;
  transform: translateY(0);
}

.feature-card-copy {
  margin: 12px 0 0;
  color: var(--canvas-copy);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.feature-root.is-dragging,
.feature-card.is-dragging {
  cursor: grabbing;
}

.feature-canvas-hint {
  display: none;
}

.feature-canvas-hint-icon {
  width: 22px;
  height: 22px;
}

.other-projects-section {
  padding: 80px 0 128px;
  background: #ffffff;
}

.other-projects-shell {
  width: min(calc(100% - var(--explore-gutter)), var(--canvas-width));
  margin: 0 auto;
}

.other-projects-header {
  margin-bottom: 48px;
}

.other-projects-header h2 {
  margin: 0;
  font-family: "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
}

.other-projects-stage {
  position: static;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.other-projects-grid {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 562px) minmax(0, 564px);
  justify-content: space-between;
  gap: 48px 19px;
}

.other-project-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: none;
}

.other-project-item:focus-visible {
  outline: 2px solid rgba(118, 239, 114, 0.9);
  outline-offset: 5px;
  border-radius: 28px;
}

.other-project-cover {
  height: 330px;
  border-radius: 24px;
  overflow: hidden;
  background: #d9dde2;
}

.other-project-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.other-project-item:hover .other-project-cover img,
.other-project-item:focus-visible .other-project-cover img {
  transform: scale(1.045);
}

.other-project-meta {
  position: relative;
  min-height: 124px;
  padding: 20px;
  border-radius: 24px;
  background: #f7f7f7;
}

.other-project-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 8px;
}

.other-project-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 4px 8px;
  border-radius: 100px;
  background: #ffffff;
  color: #000000;
  font-family: "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.other-project-time {
  color: #000000;
  font-family: "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.other-project-title {
  margin: 16px 0 0;
  color: #000000;
  font-family: "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.rb-shiny-text {
  background-image: linear-gradient(
    112deg,
    rgba(0, 0, 0, 0.96) 0%,
    rgba(0, 0, 0, 0.96) 42%,
    rgba(255, 255, 255, 0.92) 50%,
    rgba(0, 0, 0, 0.96) 58%,
    rgba(0, 0, 0, 0.96) 100%
  );
  background-size: 240% 100%;
  background-position: 100% 0;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: rbShinySweep 7.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes rbShinySweep {
  0% {
    background-position: 100% 0;
  }
  30% {
    background-position: -120% 0;
  }
  100% {
    background-position: -120% 0;
  }
}

[data-rb-magnetic] {
  --rb-magnetic-x: 0px;
  --rb-magnetic-y: 0px;
  transform: translate3d(var(--rb-magnetic-x), var(--rb-magnetic-y), 0);
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms ease,
    border-color 220ms ease;
  will-change: transform;
}

[data-rb-tilt] {
  --rb-tilt-x: 0deg;
  --rb-tilt-y: 0deg;
  --rb-tilt-z: 1;
  transform: perspective(1200px) rotateX(var(--rb-tilt-x)) rotateY(var(--rb-tilt-y)) scale(var(--rb-tilt-z));
  transform-style: preserve-3d;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.rb-spotlight {
  --rb-spotlight-x: 50%;
  --rb-spotlight-y: 50%;
  overflow: hidden;
  isolation: isolate;
}

.rb-spotlight::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    220px circle at var(--rb-spotlight-x) var(--rb-spotlight-y),
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0) 72%
  );
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
  z-index: 0;
}

.rb-spotlight.is-active::before,
.rb-spotlight:hover::before {
  opacity: 1;
}

.rb-spotlight > * {
  position: relative;
  z-index: 1;
}

.site-footer {
  margin-top: 0;
  border-top: 0;
  background: #050505;
}

.project-modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 72px 24px 64px;
  background: rgba(17, 17, 17, 0.84);
  backdrop-filter: blur(10px);
  z-index: 10000;
}

.project-modal-overlay.is-open {
  display: flex;
}

.project-modal {
  position: relative;
  width: min(calc(100vw - 160px), 1344px);
  min-width: 0;
  margin: 0 auto;
  padding: 0;
}

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

.project-modal-detail {
  margin: 0;
  width: 100%;
  background: transparent;
}

.project-modal-sheet {
  margin: 0;
  width: 100%;
  border-radius: 60px;
  overflow: hidden;
  box-shadow:
    0 48px 120px rgba(0, 0, 0, 0.28),
    0 14px 40px rgba(0, 0, 0, 0.16);
}

.project-modal-sheet > section {
  content-visibility: auto;
  contain-intrinsic-size: 720px;
}

.project-modal-sheet img {
  display: block;
  width: 100%;
  height: auto;
}

.project-modal-sheet-structured {
  background: #ffffff;
  padding-bottom: 56px;
}

.project-modal-hero {
  margin: 0;
  width: 100%;
  background: #edf0f4;
}

.project-modal-hero img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.project-modal-hero-short {
  margin: 0;
  width: 100%;
  background: #edf0f4;
}

.project-modal-hero-short img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.project-modal-block,
.project-modal-block-narrow,
.project-modal-intro,
.project-modal-section {
  width: min(calc(100% - 200px), 1144px);
  margin-left: auto;
  margin-right: auto;
}

.project-modal-block-narrow {
  width: min(calc(100% - 280px), 952px);
}

.project-modal-intro {
  margin-top: 28px;
  padding: 44px 48px;
  border-radius: 24px;
  background: #f6f6f6;
}

.project-modal-intro.is-overlap {
  margin-top: -68px;
  position: relative;
  z-index: 2;
}

.project-modal-intro.is-tight {
  margin-top: 24px;
}

.project-modal-intro-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.project-modal-intro-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.project-modal-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ffffff;
  color: rgba(0, 0, 0, 0.76);
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
}

.project-modal-time {
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
}

.project-modal-heading {
  margin: 0;
  color: #000000;
  font-size: 32px;
  line-height: 1.42;
  font-weight: 500;
}

.project-modal-site-link {
  color: #1966ff;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.project-modal-paragraph,
.project-modal-paragraph p,
.project-modal-doc-copy p,
.project-modal-doc-copy ul,
.project-modal-rich-copy p,
.project-modal-split-text p,
.project-modal-split-row p {
  margin: 0;
  color: rgba(0, 0, 0, 0.68);
  font-size: 16px;
  line-height: 1.7;
  white-space: normal;
}

.project-modal-paragraph p + p {
  margin-top: 12px;
}

.project-modal-doc-copy a {
  color: #1966ff;
}

.project-modal-doc-copy ul {
  margin-top: 10px;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.project-modal-doc {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.project-modal-doc-icon {
  width: 100px;
  height: 120px;
  object-fit: contain;
}

.project-modal-section {
  margin-top: 34px;
  display: grid;
  gap: 18px;
}

.project-modal-title-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.project-modal-title-head h4,
.project-modal-blue-title {
  margin: 0;
  color: #1966ff;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 600;
}

.project-modal-title-head p {
  margin: 0;
  color: rgba(0, 0, 0, 0.4);
  font-size: 16px;
  line-height: 1.5;
}

.project-modal-dual,
.project-modal-double-image,
.project-modal-split-row,
.project-modal-split-hero {
  display: grid;
  gap: 18px;
}

.project-modal-dual,
.project-modal-double-image,
.project-modal-split-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-modal-split-hero {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
}

.project-modal-split-row.is-card {
  padding: 24px;
  border-radius: 24px;
  background: #f6f6f6;
}

.project-modal-media-wrap {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #e8edf2;
}

.project-modal-media-wrap.is-feature {
  border-radius: 20px;
}

.project-modal-media-wrap img,
.project-modal-media-wrap > video {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.project-modal-media-wrap-video {
  overflow: visible;
  background: #0a0a0a;
}

.project-modal-video-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #0a0a0a;
}

.project-modal-video-player {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  object-fit: contain;
}

.project-modal-video-controls-bar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.project-modal-video-wrap:hover .project-modal-video-controls-bar,
.project-modal-video-wrap:focus-within .project-modal-video-controls-bar {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.project-modal-video-toggle {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #111;
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
}

.project-modal-video-toggle-icon {
  position: relative;
  width: 10px;
  height: 10px;
}

.project-modal-video-toggle[data-state="playing"] .project-modal-video-toggle-icon::before,
.project-modal-video-toggle[data-state="playing"] .project-modal-video-toggle-icon::after {
  content: "";
  position: absolute;
  top: 0;
  width: 3px;
  height: 10px;
  border-radius: 1px;
  background: currentColor;
}

.project-modal-video-toggle[data-state="playing"] .project-modal-video-toggle-icon::before {
  left: 1px;
}

.project-modal-video-toggle[data-state="playing"] .project-modal-video-toggle-icon::after {
  right: 1px;
}

.project-modal-video-toggle[data-state="paused"] .project-modal-video-toggle-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 2px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
}

.project-modal-video-progress {
  --progress: 0%;
  flex: 1;
  min-width: 0;
  height: 22px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)) 0 50% / var(--progress) 4px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35)) 0 50% / 100% 4px no-repeat;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  touch-action: none;
}

.project-modal-video-progress::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: transparent;
}

.project-modal-video-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -4px;
  border-radius: 50%;
  border: 0;
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}

.project-modal-video-progress::-moz-range-track {
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.project-modal-video-progress::-moz-range-progress {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
}

.project-modal-video-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}

.project-modal-video-mute {
  flex-shrink: 0;
  padding: 4px 10px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.95);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
}

.project-modal-video-mute:hover {
  background: rgba(255, 255, 255, 0.24);
}

.project-modal-media-wrap-plain {
  background: transparent;
}

.project-modal-caption {
  margin: 0;
  padding: 10px 12px 12px;
  color: rgba(0, 0, 0, 0.62);
  font-size: 14px;
  line-height: 1.5;
  background: #ffffff;
}

.project-modal-split-text,
.project-modal-rich-copy {
  display: grid;
  gap: 12px;
  align-content: start;
}

.project-modal-close {
  position: absolute;
  top: 6px;
  right: -74px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 2px solid rgba(126, 245, 112, 0.78);
  border-radius: 50%;
  background: rgba(26, 26, 26, 0.9);
  color: #ffffff;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.project-modal-close:hover,
.project-modal-close:focus-visible {
  transform: translateY(-2px);
  border-color: #87ff78;
  background: rgba(16, 16, 16, 0.96);
}

.project-modal-close:focus-visible {
  outline: 2px solid rgba(135, 255, 120, 0.3);
  outline-offset: 4px;
}

.project-modal-close span {
  font-size: 34px;
  line-height: 1;
  transform: translateY(-2px);
}

.site-footer-shell {
  width: min(100%, 1920px);
  margin: 0 auto;
  padding: 180px clamp(36px, 15.625vw, 300px);
  display: grid;
  grid-template-columns: 480px minmax(540px, 689px);
  column-gap: clamp(40px, 7.86vw, 151px);
  align-items: flex-start;
  justify-content: space-between;
}

.site-footer-intro {
  width: 100%;
  max-width: 480px;
}

.site-footer-avatar {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  object-fit: cover;
}

.site-footer-intro h3 {
  margin: 16px 0 0;
  color: #ffffff;
  font-family: "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
}

.site-footer-intro p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-family: "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

.site-footer-contact {
  margin-top: 40px;
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 176px;
  min-height: 48px;
  padding: 10px 24px;
  border-radius: 16px;
  background: #ffffff;
  color: #000000;
  font-family: "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}

.site-footer-contact-icon {
  width: 20px;
  height: 16px;
  flex: 0 0 auto;
}

.site-footer-contact-qr {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 18px);
  width: 186px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.24),
    0 6px 14px rgba(0, 0, 0, 0.14);
  transform: translate(-50%, 14px) scale(0.94);
  opacity: 0;
  filter: blur(6px);
  pointer-events: none;
  transition:
    opacity 260ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-footer-contact-qr::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.96);
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 2px;
}

.site-footer-contact-qr img {
  width: 100%;
  border-radius: 10px;
}

.site-footer-contact:hover .site-footer-contact-qr,
.site-footer-contact:focus-visible .site-footer-contact-qr {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  filter: blur(0);
}

.site-footer-links {
  display: grid;
  grid-template-columns: 122px 151px 256px;
  column-gap: 80px;
}

.site-footer-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.site-footer-column h4 {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-family: "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.site-footer-column a {
  color: #ffffff;
  font-family: "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  opacity: 1;
  transition: opacity 160ms ease;
}

.site-footer-column a:hover {
  opacity: 0.78;
}

html.perf-reduce-effects .hero-nav,
html.perf-reduce-effects .project-modal-video-controls-bar,
html.perf-reduce-effects .case-switch-wrap.is-dark .case-switch-card,
html.perf-reduce-effects .case-switch-wrap.is-dark .case-switch-link {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.js-reveal {
  opacity: 1;
  transform: none;
  visibility: visible;
}

.feature-card:focus-visible,
.hero-nav a:focus-visible {
  outline: 2px solid rgba(118, 239, 114, 0.9);
  outline-offset: 4px;
}

@media (max-width: 1600px) {
  .hero-section {
    --hero-lower-bottom: 176px;
    --hero-focus-block-height: 80px;
  }

  .hero-shell,
  .about-shell,
  .feature-shell,
  .other-projects-shell {
    width: min(calc(100% - clamp(132px, 11vw, 220px)), 1340px);
  }

  .hero-section {
    min-height: 100vh;
  }

  .hero-shell {
    min-height: calc(100vh - 20px);
  }

  .hero-heading {
    top: 138px;
  }

  .hero-kicker {
    font-size: 26px;
  }

  .hero-name {
    font-size: 56px;
  }

  .hero-photo-stage {
    left: 50%;
    top: 0;
    width: 840px;
    height: 100vh;
    transform: translateX(-50%);
  }

  .hero-photo {
    bottom: -46px;
  }

  .hero-summary {
    bottom: 176px;
    width: 380px;
    font-size: 14px;
  }

  .hero-badge {
    font-size: 12px;
  }

  .hero-focus {
    bottom: 176px;
    width: 420px;
    font-size: 30px;
  }

  .about-shell {
    width: min(calc(100% - clamp(132px, 11vw, 220px)), 1240px);
    grid-template-columns: 304px minmax(0, 1fr);
    gap: 10px;
  }

  .about-profile-card {
    padding: 34px;
    border-radius: 34px;
  }

  .about-profile-title,
  .about-card-title {
    font-size: 19px;
    line-height: 1.45;
  }

  .about-profile-copy {
    font-size: 13px;
  }

  .about-profile-body {
    margin-top: 34px;
  }

  .about-profile-contact {
    font-size: 13px;
  }

  .about-profile-qr {
    width: 240px;
    height: 318px;
  }

  .about-card {
    border-radius: 34px;
  }

  .edu-card {
    min-height: 328px;
    height: auto;
    padding: 34px;
  }

  .work-card {
    min-height: 780px;
    height: auto;
    padding: 34px;
  }

  .edu-item,
  .work-item {
    gap: 20px;
  }

  .edu-head {
    gap: 56px;
  }

  .work-head span {
    margin-right: 48px;
  }

  .work-points {
    gap: 10px;
    padding-left: 20px;
  }

  .work-points li,
  .edu-content p,
  .work-head span,
  .work-head em,
  .edu-head span,
  .edu-head strong,
  .work-head strong {
    font-size: 13px;
  }

  .feature-shell,
  .other-projects-shell {
    width: min(calc(100% - clamp(132px, 11vw, 220px)), 1440px);
  }

  .feature-stage {
    overflow: visible;
  }

  .other-projects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 18px;
  }

  .other-project-cover {
    height: 300px;
  }

  .other-project-title {
    font-size: 16px;
  }

  .site-footer-shell {
    padding: 132px clamp(72px, 9vw, 180px);
    grid-template-columns: 440px minmax(0, 1fr);
    column-gap: clamp(32px, 5vw, 72px);
  }

  .site-footer-links {
    grid-template-columns: 120px 150px minmax(220px, 1fr);
    column-gap: 52px;
  }
}

@media (max-width: 1366px) {
  :root {
    --page-gutter: clamp(96px, 10vw, 180px);
  }

  .hero-shell {
    width: min(calc(100% - clamp(172px, 13.8vw, 280px)), 1180px);
  }

  .feature-shell,
  .other-projects-shell {
    width: min(calc(100% - clamp(104px, 10vw, 180px)), 1240px);
  }

  .hero-kicker {
    font-size: 24px;
  }

  .hero-name {
    font-size: 50px;
  }

  .hero-summary {
    width: 350px;
    font-size: 13px;
  }

  .hero-focus {
    width: 390px;
    font-size: 28px;
  }

  .about-shell {
    width: min(calc(100% - var(--page-gutter)), 1120px);
    grid-template-columns: 272px minmax(0, 1fr);
    gap: 10px;
  }

  .about-profile-card {
    padding: 30px;
    border-radius: 30px;
  }

  .about-profile-title,
  .about-card-title {
    font-size: 18px;
    line-height: 1.4;
  }

  .about-profile-copy {
    font-size: 12px;
  }

  .about-profile-body {
    margin-top: 30px;
  }

  .about-profile-contact {
    font-size: 12px;
  }

  .about-profile-qr {
    width: 216px;
    height: 286px;
  }

  .about-card {
    border-radius: 30px;
  }

  .edu-card {
    min-height: 300px;
    height: auto;
    padding: 30px;
  }

  .work-card {
    min-height: 720px;
    height: auto;
    padding: 30px;
  }

  .edu-item,
  .work-item {
    gap: 16px;
  }

  .edu-item {
    margin-top: 20px;
  }

  .work-item:first-of-type {
    margin-top: 20px;
  }

  .edu-head {
    gap: 34px;
  }

  .work-head span {
    margin-right: 28px;
  }

  .work-points {
    margin-top: 12px;
    padding-left: 18px;
    gap: 8px;
  }

  .work-points li,
  .edu-content p,
  .work-head span,
  .work-head em,
  .edu-head span,
  .edu-head strong,
  .work-head strong {
    font-size: 12px;
  }

  .other-projects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 14px;
  }

  .other-project-cover {
    height: 280px;
  }

  .other-project-meta {
    padding: 18px;
  }

  .other-project-tag,
  .other-project-time {
    font-size: 14px;
  }

  .other-project-title {
    font-size: 16px;
  }

  .site-footer-shell {
    padding: 112px var(--page-gutter);
    grid-template-columns: 392px minmax(0, 1fr);
    column-gap: 44px;
  }

  .site-footer-intro {
    max-width: 392px;
  }

  .site-footer-links {
    grid-template-columns: 112px 136px minmax(220px, 1fr);
    column-gap: 36px;
  }

  .site-footer-column h4 {
    font-size: 22px;
  }

  .site-footer-column a {
    font-size: 16px;
  }
}

@media (max-width: 1024px) {
  :root {
    --page-gutter: 40px;
  }

  .hero-section {
    min-height: auto;
    padding: 80px 0 64px;
  }

  .hero-curve {
    width: 1400px;
    top: -10px;
  }

  .hero-shell,
  .about-shell,
  .feature-shell,
  .other-projects-shell {
    width: min(calc(100% - 32px), 920px);
  }

  .hero-shell {
    min-height: auto;
    display: grid;
    gap: 16px;
  }

  .hero-heading,
  .hero-summary,
  .hero-badge,
  .hero-focus {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    transform: none;
  }

  .hero-photo-stage {
    position: relative;
    left: auto;
    top: auto;
    width: min(100%, 680px);
    height: 520px;
    margin: 0 auto;
    transform: none;
  }

  .hero-photo {
    width: 100%;
    bottom: -20px;
  }

  .hero-summary,
  .hero-focus {
    width: auto;
  }

  .hero-kicker {
    font-size: 24px;
  }

  .hero-name {
    font-size: 50px;
  }

  .hero-summary {
    font-size: 15px;
  }

  .hero-focus {
    font-size: 32px;
    line-height: 1.35;
  }

  .hero-nav {
    position: fixed;
    left: 50%;
    bottom: 26px;
    justify-self: start;
    flex-wrap: wrap;
    transform: translateX(-50%);
  }

  .about-section {
    padding: 56px 0 72px;
  }

  .about-shell {
    grid-template-columns: 1fr;
    gap: 14px;
    width: min(calc(100% - 32px), 920px);
  }

  .about-profile-card,
  .edu-card,
  .work-card {
    height: auto;
    border-radius: 28px;
    padding: 28px;
  }

  .about-profile-qr {
    margin: 24px auto 0;
    width: 220px;
    height: 290px;
  }

  .about-card-title {
    font-size: 22px;
    line-height: 1.4;
  }

  .about-profile-copy,
  .work-points li,
  .edu-content p,
  .work-head span,
  .work-head em,
  .edu-head span,
  .edu-head strong,
  .work-head strong {
    font-size: 15px;
    line-height: 1.6;
  }

  .work-head span {
    margin-right: 0;
  }

  .edu-head,
  .work-head {
    gap: 12px;
    flex-wrap: wrap;
  }

  .feature-header {
    gap: 16px;
    margin-bottom: 24px;
  }

  .feature-header h2 {
    font-size: 24px;
    line-height: 1.2;
  }

  .feature-header-note {
    font-size: 16px;
  }

  .other-projects-section {
    padding: 14px 0 72px;
  }

  .other-projects-header {
    margin-bottom: 16px;
  }

  .other-projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }

  .other-project-cover {
    height: 250px;
  }

  .other-project-title {
    font-size: 16px;
  }

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

  .site-footer-shell {
    width: min(calc(100% - 32px), 920px);
    padding: 54px 0 64px;
    grid-template-columns: 1fr;
    row-gap: 30px;
    column-gap: 0;
  }

  .site-footer-intro {
    width: 100%;
  }

  .site-footer-intro h3 {
    font-size: 24px;
  }

  .site-footer-intro p {
    font-size: 16px;
  }

  .site-footer-links {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 32px;
  }

  .site-footer-column {
    gap: 16px;
  }

  .site-footer-column h4 {
    font-size: 16px;
  }

  .site-footer-column a {
    font-size: 14px;
  }
}

@media (max-width: 720px) {
  :root {
    --page-gutter: 24px;
  }

  body {
    padding-bottom: 84px;
  }

  .hero-kicker {
    font-size: 20px;
  }

  .hero-name {
    font-size: 42px;
  }

  .hero-photo-stage {
    height: 420px;
  }

  .hero-badge {
    flex-wrap: wrap;
    width: max-content;
    max-width: 100%;
  }

  .hero-focus {
    font-size: 28px;
  }

  .hero-nav {
    position: fixed;
    left: 50%;
    bottom: 18px;
    gap: 12px;
    padding: 12px 16px;
    margin-top: 0;
    transform: translateX(-50%);
  }

  .feature-header {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 6px;
  }

  .feature-header-note {
    width: 100%;
    font-size: 16px;
    white-space: normal;
    line-height: 1.5;
  }

  .other-projects-header h2 {
    font-size: 24px;
  }

  .other-projects-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .other-project-cover {
    height: auto;
    aspect-ratio: 560 / 330;
  }

  .other-project-meta {
    min-height: auto;
    padding: 16px;
  }

  .other-project-tag,
  .other-project-time {
    font-size: 14px;
  }

  .other-project-title {
    font-size: 16px;
    margin-top: 12px;
  }

  .project-modal-overlay {
    padding: 84px 12px 28px;
  }

  .project-modal {
    width: min(calc(100vw - 24px), 980px);
  }

  .project-modal-close {
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
  }

  .project-modal-detail {
    border-radius: 28px;
    padding-bottom: 56px;
  }

  .project-modal-block,
  .project-modal-block-narrow,
  .project-modal-intro,
  .project-modal-section {
    width: min(calc(100% - 32px), 1144px);
  }

  .project-modal-intro {
    margin-top: 20px;
    padding: 20px;
  }

  .project-modal-intro.is-overlap,
  .project-modal-intro.is-tight {
    margin-top: 20px;
  }

  .project-modal-intro-top {
    margin-bottom: 12px;
  }

  .project-modal-intro-heading-row {
    display: block;
  }

  .project-modal-pill,
  .project-modal-time {
    font-size: 14px;
  }

  .project-modal-heading {
    font-size: 20px;
  }

  .project-modal-site-link {
    margin-top: 8px;
    font-size: 14px;
    white-space: normal;
  }

  .project-modal-paragraph,
  .project-modal-doc-copy p,
  .project-modal-doc-copy ul,
  .project-modal-rich-copy p,
  .project-modal-split-text p,
  .project-modal-split-row p {
    font-size: 14px;
  }

  .project-modal-doc {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .project-modal-doc-icon {
    width: 72px;
    height: 86px;
  }

  .project-modal-title-head {
    align-items: center;
  }

  .project-modal-title-head h4,
  .project-modal-blue-title {
    font-size: 18px;
  }

  .project-modal-title-head p {
    font-size: 14px;
  }

  .project-modal-section {
    margin-top: 24px;
    gap: 14px;
  }

  .project-modal-dual,
  .project-modal-double-image,
  .project-modal-split-row,
  .project-modal-split-hero,
  .project-modal-split-hero + .project-modal-split-hero,
  .project-modal-split-row.is-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .project-modal-split-row.is-card {
    padding: 18px;
    border-radius: 18px;
  }

  .project-modal-arrow {
    display: none;
  }

  .project-modal-media-wrap,
  .project-modal-media-wrap.is-feature {
    border-radius: 16px;
  }

  .site-footer-shell {
    width: min(calc(100% - 24px), 640px);
    padding: 42px 0 52px;
  }

  .site-footer-avatar {
    width: 54px;
    height: 54px;
  }

  .site-footer-intro h3 {
    font-size: 22px;
  }

  .site-footer-intro p {
    font-size: 14px;
  }

  .site-footer-contact {
    min-height: 44px;
    font-size: 16px;
    border-radius: 14px;
  }

  .site-footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
  }

  .about-profile-card,
  .edu-card,
  .work-card {
    padding: 22px;
    border-radius: 22px;
    height: auto;
  }

  .about-profile-title,
  .about-card-title {
    font-size: 22px;
    line-height: 1.3;
  }

  .about-profile-copy,
  .work-points li,
  .edu-content p,
  .work-head span,
  .work-head em,
  .edu-head span,
  .edu-head strong,
  .work-head strong {
    font-size: 13px;
    line-height: 1.6;
  }

  .about-shell {
    width: min(calc(100% - 24px), 640px);
  }

  .about-profile-qr {
    width: 210px;
    height: 278px;
  }

}

@media (max-width: 640px) {
  .feature-stage {
    padding: 16px;
  }

  .feature-surface {
    width: 100%;
    height: auto;
    display: grid;
    gap: 16px;
    padding-bottom: 72px;
    background-size: 32px 32px;
  }

  .feature-links {
    display: none;
  }

  .feature-node {
    position: relative;
    left: auto !important;
    top: auto !important;
    touch-action: auto;
  }

  .feature-root,
  .feature-card,
  .feature-card-kc2d {
    width: 100%;
    min-height: auto;
  }

  .feature-root,
  .feature-card {
    cursor: default;
  }

  .feature-card-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 320 / 241;
  }

  .feature-canvas-hint {
    left: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-link-path,
  .rb-shiny-text {
    animation: none;
  }

  [data-rb-magnetic] {
    transform: none;
    transition: none;
  }

  [data-rb-tilt] {
    transform: none;
    transition: none;
  }

  .rb-spotlight::before {
    display: none;
  }
}
