* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

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

body {
  background-color: #000000;
  color: #ffffff;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: #ff9ac8;
  color: #000000;
}

.container {
  min-height: 100vh;
  position: relative;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background-color: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.4s ease,
    backdrop-filter 0.4s ease,
    -webkit-backdrop-filter 0.4s ease,
    border-color 0.4s ease,
    padding 0.4s ease;
}

.header.is-scrolled {
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.header-logo {
  flex: 1;
}

.nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}

.nav a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.nav a:hover {
  opacity: 0.7;
}

.header-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
}


.header-social {
  color: #ffffff;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
}

.header-social:hover {
  opacity: 0.7;
}

.header-social svg {
  width: 1.1rem;
  height: 1.1rem;
}

/* Main Content Styles */
.main {
  min-height: 100vh;
  padding: 2.5rem 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.title {
  font-size: 15vw;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.title-letter {
  display: inline-block;
}

.dot {
  font-size: 0.25em;
  margin-left: 1rem;
  position: relative;
  bottom: 0.25em;
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: #ffffff;
  border-radius: 50%;
}

.trail-img {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  display: block;
  width: 240px;
  height: auto;
  border-radius: 4px;
  pointer-events: none;
  will-change: transform, opacity;
  user-select: none;
}

.hero-description {
  position: absolute;
  left: 50%;
  bottom: 4.5rem;
  z-index: 1;
  transform: translateX(-50%);
  text-align: center;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.8;
  text-transform: uppercase;
  opacity: 0.9;
  pointer-events: none;
  white-space: nowrap;
}

/* Projects Styles */
.projects-section {
  min-height: 100vh;
  padding: 7rem 3rem 6rem;
  background-color: #000000;
}

.section-kicker {
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
}

.section-title {
  margin-bottom: 3rem;
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4rem 2.5rem;
}

.project-card {
  display: grid;
  gap: 1.25rem;
  color: #ffffff;
  text-decoration: none;
}

.project-card:hover .project-cover {
  cursor: none;
}

.project-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0.75rem;
  background-color: #000000;
}

.project-cover::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: inherit;
  pointer-events: none;
}

.project-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.project-info {
  display: block;
}

.project-info h3 {
  max-width: none;
  font-size: clamp(1rem, 1.55vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.12;
}

.project-info p {
  max-width: none;
  margin-top: 0.35rem;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0em;
  line-height: 1.6;
  opacity: 0.72;
}

.project-card:hover .project-cover img {
  transform: scale(1.06);
}

.cursor-follower {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  mix-blend-mode: normal;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0) scale(1);
  transition:
    width 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease;
  will-change: transform;
}

.cursor-follower::before,
.cursor-follower::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.cursor-follower::before {
  border-radius: 50%;
  background: #ffffff;
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 0.24s ease,
    transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.cursor-follower::after {
  background: url("../assets/site/cursor-pointer.svg") center / contain no-repeat;
  opacity: 0;
  transform: scale(0.72);
  transition:
    opacity 0.24s ease 0.08s,
    transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.cursor-follower.is-visible {
  opacity: 1;
}

.cursor-follower.is-project {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 0;
  mix-blend-mode: difference;
}

.cursor-follower.is-project::before {
  opacity: 0;
  transform: scale(0.86);
}

.cursor-follower.is-project::after {
  opacity: 1;
  transform: scale(1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .main {
    padding: 1.5rem;
  }
  .header {
    padding: 1rem 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1rem;
  }
  .header.is-scrolled {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
  .header-logo,
  .header-right {
    flex: initial;
  }
  .nav {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    min-width: 0;
    font-size: 0.9375rem;
    letter-spacing: 0.04em;
  }
  .header-right {
    display: none;
  }
  .title {
    font-size: 18vw;
  }
  .hero-description {
    bottom: 2.5rem;
    font-size: 0.6rem;
    white-space: normal;
    width: calc(100% - 3rem);
  }
  .projects-section {
    padding: 5rem 1.5rem 4rem;
  }
  .section-title {
    margin-bottom: 3rem;
  }
  .project-list {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .project-card {
    gap: 1.5rem;
  }
  .project-info h3 {
    max-width: 100%;
  }
}

/* ==========================================================
   Notes / 随手记 详情页
   ========================================================== */
.notes-page .header-logo a,
.notes-page .nav a {
  color: inherit;
  text-decoration: none;
}

.notes-page .header-logo a {
  letter-spacing: inherit;
}

.notes-main {
  padding: 9rem 3rem 7rem;
}

.notes-intro {
  max-width: 42rem;
  margin: 0 auto 5rem;
}

.notes-back {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 2.75rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
}

.notes-back-icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

.notes-back:hover {
  color: #ffffff;
}

.notes-back:hover .notes-back-icon {
  transform: translateX(-4px);
}

.notes-title {
  font-size: clamp(3rem, 8vw, 5.75rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.notes-subtitle {
  margin-top: 1.4rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.notes-list {
  max-width: 42rem;
  margin: 0 auto;
}

.note-article {
  padding: 4.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.note-article:first-child {
  padding-top: 0;
  border-top: none;
}

.note-article-title {
  margin-bottom: 0.85rem;
  color: #ffffff;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.note-article-meta {
  display: block;
  margin-bottom: 2.25rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.note-article-body {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.005em;
}

.note-article-body p {
  margin-bottom: 1.15em;
}

.note-article-body p:last-child {
  margin-bottom: 0;
}

.note-article-body ol {
  display: grid;
  gap: 0.55rem;
  margin: 0.3rem 0 1.15em;
  padding-left: 1.25rem;
}

.note-article-body li {
  padding-left: 0.25rem;
}

.note-article-body h3 {
  margin-top: 2.4em;
  margin-bottom: 0.85em;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.note-article-body strong {
  color: #ffffff;
  font-weight: 600;
}

.notes-footer {
  max-width: 42rem;
  margin: 4rem auto 0;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.notes-footer .notes-back {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .notes-main {
    padding: 7rem 1.5rem 4.5rem;
  }
  .notes-intro {
    margin-bottom: 3.25rem;
  }
  .notes-back {
    margin-bottom: 1.75rem;
  }
  .note-article {
    padding: 3rem 0;
  }
  .note-article-meta {
    margin-bottom: 1.5rem;
  }
  .note-article-body {
    font-size: 0.92rem;
    line-height: 1.8;
  }
}

/* ==========================================================
   设计打卡挑战 详情页 (dakafeng)
   ========================================================== */
.dakafeng-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 9rem 3rem 7rem;
}

.dakafeng-page .notes-intro,
.dakafeng-page .notes-footer {
  max-width: 1280px;
}

.dakafeng-page .notes-intro {
  margin-bottom: 4.5rem;
}

.dakafeng-grid {
  column-count: 2;
  column-gap: 1.5rem;
}

.dakafeng-item {
  position: relative;
  display: block;
  margin: 0 0 1.5rem;
  padding: 0;
  overflow: hidden;
  background-color: #0a0a0a;
  border-radius: 0.6rem;
  cursor: zoom-in;
  break-inside: avoid;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease;
}

.dakafeng-item.is-visible {
  opacity: 1;
  transform: none;
}

.dakafeng-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: inherit;
  pointer-events: none;
}

.dakafeng-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.dakafeng-item:hover {
  box-shadow: 0 18px 44px -16px rgba(0, 0, 0, 0.7);
}

.dakafeng-item:hover img {
  transform: scale(1.025);
}

@media (max-width: 768px) {
  .dakafeng-main {
    padding: 7rem 1.5rem 4.5rem;
  }
  .dakafeng-page .notes-intro {
    margin-bottom: 3rem;
  }
  .dakafeng-grid {
    column-count: 1;
    column-gap: 0;
  }
  .dakafeng-item {
    margin-bottom: 1.25rem;
  }
}

/* Lightbox */
html.is-lightbox-open,
html.is-lightbox-open body {
  overflow: hidden;
}

.dakafeng-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 5rem;
  background-color: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease;
}

.dakafeng-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.dakafeng-lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: zoom-out;
}

.dakafeng-lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0.4rem;
  box-shadow: 0 30px 80px -16px rgba(0, 0, 0, 0.8);
  user-select: none;
  -webkit-user-drag: none;
}

.dakafeng-lightbox-counter {
  position: absolute;
  bottom: -2.5rem;
  left: 50%;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.dakafeng-lightbox-btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.dakafeng-lightbox-btn svg {
  width: 1.1rem;
  height: 1.1rem;
}

.dakafeng-lightbox-btn:hover {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
}

.dakafeng-lightbox-close {
  top: 1.75rem;
  right: 1.75rem;
}

.dakafeng-lightbox-prev,
.dakafeng-lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}

.dakafeng-lightbox-prev {
  left: 1.5rem;
}

.dakafeng-lightbox-next {
  right: 1.5rem;
}

.dakafeng-lightbox-prev:hover {
  transform: translate(-3px, -50%);
}

.dakafeng-lightbox-next:hover {
  transform: translate(3px, -50%);
}

@media (max-width: 768px) {
  .dakafeng-lightbox {
    padding: 4rem 1rem 5rem;
  }
  .dakafeng-lightbox-close {
    top: 1rem;
    right: 1rem;
  }
  .dakafeng-lightbox-prev {
    left: 0.75rem;
  }
  .dakafeng-lightbox-next {
    right: 0.75rem;
  }
  .dakafeng-lightbox-counter {
    bottom: -2rem;
    font-size: 0.68rem;
  }
}

/* ==========================================================
   关于 (about) 详情页
   ========================================================== */
.about-main {
  max-width: 64rem;
  margin: 0 auto;
  padding: 9rem 3rem 7rem;
}

.about-page .notes-intro {
  max-width: none;
  margin: 0 0 5rem;
}

.about-page .notes-subtitle {
  margin-top: 0;
  margin-bottom: 1.4rem;
}

.about-page .notes-title {
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.about-intro-text {
  max-width: 38rem;
  margin-top: 1.75rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.005em;
}

.about-intro-text strong {
  color: #ffffff;
  font-weight: 500;
}

.about-intro-text em {
  color: #ffffff;
  font-style: normal;
}

/* 统一区块 */
.about-section {
  margin-bottom: 6rem;
}

.about-section-title {
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Skills */
.about-skills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.75rem 3rem;
}

.about-skill h3 {
  margin-bottom: 0.55rem;
  color: #ffffff;
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: -0.012em;
}

.about-skill p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.72;
}

/* Timeline */
.about-timeline {
  display: grid;
  gap: 0;
}

.about-timeline-item {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 2.5rem;
  padding: 2.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.about-timeline-item:first-child {
  padding-top: 0;
  border-top: none;
}

.about-timeline-meta {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-timeline-content h3 {
  margin-bottom: 0.65rem;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.012em;
}

.about-timeline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-timeline-link:hover {
  background-size: 100% 1px;
}

.about-timeline-icon {
  width: 0.95rem;
  height: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease, color 0.3s ease;
}

.about-timeline-link:hover .about-timeline-icon {
  color: #ffffff;
  transform: translate(2px, -2px);
}

.about-timeline-role {
  margin-left: 0.4rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
}

.about-timeline-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.78;
}

/* Press / 创作与反响 */
.about-press-item {
  display: grid;
  gap: 1.85rem;
}

.about-press-item + .about-press-item {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.about-press-header h3 {
  margin-bottom: 0.6rem;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.012em;
}

.about-press-tagline {
  max-width: 44rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.78;
}

.about-press-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 1.4rem 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.about-press-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.about-press-num {
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
}

.about-press-label {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-press-source {
  margin: -0.4rem 0 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.005em;
}

.about-press-source a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.about-press-source a:hover {
  color: #ffffff;
}

/* Contact —— 极简清单式 */
.about-contact {
  margin-top: 4rem;
  margin-bottom: 5rem;
  scroll-margin-top: 6rem;
}

.about-contact > .about-section-title {
  margin-bottom: 2.75rem;
}

.about-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5rem;
  align-items: end;
}

.about-contact-list {
  display: grid;
}

.about-contact-item {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.5rem 0;
  color: #ffffff;
  text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transition: opacity 0.3s ease;
}

.about-contact-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.about-contact-kind {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.about-contact-value {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.about-contact-arrow {
  width: 1rem;
  height: 1rem;
  color: rgba(255, 255, 255, 0.32);
  transition: transform 0.3s ease, color 0.3s ease;
}

.about-contact-item:hover .about-contact-kind {
  color: rgba(255, 255, 255, 0.7);
}

.about-contact-item:hover .about-contact-arrow {
  color: #ffffff;
  transform: translate(2px, -2px);
}

/* QR */
.about-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 0;
}

.about-qr-image {
  display: block;
  width: 168px;
  height: 168px;
  padding: 4px;
  background-color: #ffffff;
  border-radius: 6px;
  object-fit: contain;
}

.about-qr-placeholder {
  display: none;
  place-items: center;
  width: 200px;
  height: 200px;
  padding: 1.25rem;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 0.6rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  gap: 0.6rem;
  grid-template-rows: auto auto auto;
}

.about-qr-placeholder svg {
  width: 2.5rem;
  height: 2.5rem;
  color: rgba(255, 255, 255, 0.45);
}

.about-qr-placeholder span {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-qr-placeholder small {
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.about-qr-caption {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-footer {
  max-width: none;
  border-top-color: rgba(255, 255, 255, 0.08);
}

/* 进入动画的初始/激活态 */
.about-section,
.about-contact {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .about-section,
  .about-contact {
    opacity: 0;
    transform: translateY(20px);
    transition:
      opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .about-section.is-visible,
  .about-contact.is-visible {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 768px) {
  .about-main {
    padding: 7rem 1.5rem 4rem;
  }
  .about-page .notes-intro {
    margin-bottom: 3.5rem;
  }
  .about-intro-text {
    font-size: 0.92rem;
    line-height: 1.78;
  }
  .about-section {
    margin-bottom: 4rem;
  }
  .about-section-title {
    margin-bottom: 1.75rem;
  }
  .about-skills {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .about-timeline-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 2.25rem 0;
  }
  .about-press-item {
    gap: 1.4rem;
  }
  .about-press-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    padding-top: 1.1rem;
  }
  .about-press-num {
    font-size: 1.4rem;
  }
  .about-contact {
    margin-top: 2.5rem;
    margin-bottom: 3rem;
  }
  .about-contact > .about-section-title {
    margin-bottom: 1.75rem;
  }
  .about-contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: stretch;
  }
  .about-contact-item {
    grid-template-columns: 5rem 1fr auto;
    gap: 1rem;
    padding: 1.25rem 0;
  }
  .about-contact-value {
    font-size: 1rem;
  }
  .about-qr {
    justify-self: start;
  }
}

/* ==========================================================
   网页设计质量提升 详情页
   ========================================================== */
.quality-main {
  max-width: 74rem;
  margin: 0 auto;
  padding: 9rem 3rem 7rem;
}

.quality-page .notes-intro {
  max-width: 58rem;
  margin-right: auto;
  margin-bottom: 11.5rem;
  margin-left: 0;
}

.quality-page .notes-subtitle {
  margin-top: 0;
  margin-bottom: 1.35rem;
}

.quality-page .notes-title {
  max-width: 13em;
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.quality-lead {
  max-width: 58rem;
  margin-top: 1.75rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.005em;
}

.quality-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.quality-meta span,
.quality-style-list span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.75rem 0.75rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.quality-showcase {
  width: 100vw;
  margin: 0 calc(50% - 50vw) 6.5rem;
  overflow: hidden;
}

.quality-marquee {
  position: relative;
  padding: 0 0 0.5rem;
}

.quality-marquee__track {
  display: flex;
  width: max-content;
  gap: 1.25rem;
  padding-left: 3rem;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.quality-marquee__group {
  display: flex;
  gap: 1.25rem;
}

.quality-site-card {
  position: relative;
  display: block;
  flex: 0 0 clamp(15.5rem, 28vw, 30rem);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  color: #ffffff;
  background: transparent;
  border-radius: 0;
  text-decoration: none;
}

.quality-site-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.35s ease;
}

.quality-site-card__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.14);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.quality-site-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6.25rem;
  min-height: 2.55rem;
  padding: 0.75rem 1.1rem;
  color: #000000;
  background: #ffffff;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateY(8px);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.quality-site-card:hover img,
.quality-site-card:focus-visible img {
  filter: brightness(0.86);
}

.quality-site-card:hover .quality-site-card__overlay,
.quality-site-card:focus-visible .quality-site-card__overlay {
  opacity: 1;
}

.quality-site-card:hover .quality-site-card__button,
.quality-site-card:focus-visible .quality-site-card__button {
  transform: none;
}

.quality-site-card:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.quality-image-placeholder {
  display: grid;
  place-items: center;
  min-height: clamp(20rem, 46vw, 34rem);
  padding: 2rem;
  text-align: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 26% 20%, rgba(255, 255, 255, 0.13), transparent 28%),
    #050505;
  background-size: 44px 44px, 44px 44px, auto, auto;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 0.9rem;
}

.quality-image-placeholder span {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.4rem, 3.8vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.quality-image-placeholder small {
  display: block;
  max-width: 25rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.7;
  text-transform: uppercase;
}

.quality-image-placeholder--small {
  min-height: 16rem;
  margin-top: 1.5rem;
}

.quality-article {
  max-width: 58rem;
  margin: 0 auto;
}

.quality-section.note-article {
  padding: 5rem 0;
}

.quality-kicker {
  margin-bottom: 1.15rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.quality-grid-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: start;
}

.quality-panel {
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0.35rem;
}

.quality-panel h3 {
  margin-bottom: 1.25rem;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.quality-panel ol {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  line-height: 1.55;
}

.quality-insight-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.quality-insight-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quality-insight-card,
.quality-skill-anatomy {
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.35rem;
}

.quality-insight-card h3,
.quality-skill-anatomy h3 {
  margin: 0 0 0.65rem;
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.quality-insight-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8rem;
  line-height: 1.7;
}

.quality-negative-case {
  margin: 2.25rem 0 0;
  overflow: hidden;
  border-radius: 0.35rem;
}

.quality-negative-case img {
  display: block;
  width: 100%;
  height: auto;
}

.quality-final-image {
  margin: 1.25rem 0 0;
  overflow: hidden;
  border-radius: 0.35rem;
}

.quality-final-image img {
  display: block;
  width: 100%;
  height: auto;
}

.quality-prompt-method {
  margin-top: 0.75rem;
}

.quality-prompt-method .note-article-body h3 {
  margin-top: 0;
}

.quality-prompt-flow {
  --flow-bg: rgba(255, 255, 255, 0.035);
  --flow-border: rgba(255, 255, 255, 0.1);
  --flow-text: rgba(255, 255, 255, 0.78);
  --flow-arrow: #7f8793;
  --flow-no: #ef6a6a;
  --flow-yes: #2bd8bf;
  display: grid;
  grid-template-columns: 1fr 2.5rem 1fr 2.5rem 1fr 2.5rem 1fr 1.35fr;
  gap: 0.45rem;
  align-items: center;
  margin-top: 2.25rem;
  padding: 1.25rem;
  overflow-x: auto;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.35rem;
}

.quality-flow-node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 8rem;
  min-height: 4.8rem;
  padding: 1rem;
  color: var(--flow-text);
  background: var(--flow-bg);
  border: 1px solid var(--flow-border);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  border-radius: 0.28rem;
}

.quality-flow-node--diamond {
  width: 8rem;
  height: 8rem;
  min-width: 8rem;
  min-height: 8rem;
  margin: 0 auto;
  transform: none;
}

.quality-flow-node--diamond {
  padding: 1rem;
}

.quality-flow-node--diamond::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  color: var(--flow-text);
  content: attr(data-text);
  line-height: 1.55;
  transform: none;
  white-space: pre;
}

.quality-flow-node--success {
  color: rgba(255, 255, 255, 0.86);
  background: rgba(43, 216, 191, 0.08);
  border-color: rgba(43, 216, 191, 0.28);
}

.quality-flow-arrow {
  position: relative;
  height: 1px;
  min-width: 2rem;
  background: var(--flow-arrow);
}

.quality-flow-arrow::after {
  position: absolute;
  top: 50%;
  right: -1px;
  width: 0;
  height: 0;
  border-top: 0.35rem solid transparent;
  border-bottom: 0.35rem solid transparent;
  border-left: 0.55rem solid var(--flow-arrow);
  content: "";
  transform: translateY(-50%);
}

.quality-flow-branches {
  display: grid;
  gap: 1.2rem;
  min-width: 15rem;
}

.quality-flow-branch {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.7rem;
  align-items: center;
}

.quality-flow-branch span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  font-weight: 500;
  text-align: right;
}

.quality-flow-branch--no,
.quality-flow-branch--yes {
  position: relative;
}

.quality-flow-branch--no::before {
  position: absolute;
  left: -2.6rem;
  top: 50%;
  width: 2.4rem;
  height: 1px;
  background: var(--flow-no);
  content: "";
  transform: translateY(-50%);
}

.quality-flow-branch--no::after {
  position: absolute;
  left: -0.25rem;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 0.28rem solid transparent;
  border-bottom: 0.28rem solid transparent;
  border-left: 0.45rem solid var(--flow-no);
  content: "";
  transform: translateY(-50%);
}

.quality-flow-branch--yes::before {
  position: absolute;
  left: -2.6rem;
  top: 50%;
  width: 2.4rem;
  height: 1px;
  background: var(--flow-yes);
  content: "";
  transform: translateY(-50%);
}

.quality-flow-branch--yes::after {
  position: absolute;
  left: -0.25rem;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 0.28rem solid transparent;
  border-bottom: 0.28rem solid transparent;
  border-left: 0.45rem solid var(--flow-yes);
  content: "";
  transform: translateY(-50%);
}

.quality-chart {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.4rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.quality-chart__row {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr) 2.5rem;
  gap: 1rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quality-chart__row i {
  display: block;
  height: 0.5rem;
  background: #ffffff;
  border-radius: 999px;
}

.quality-chart__row--muted i {
  background: rgba(255, 255, 255, 0.42);
}

.quality-chart__row b {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: right;
}

.quality-style-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
}

.quality-skill-anatomy {
  margin-top: 2.25rem;
  padding: 1.25rem;
}

.quality-skill-anatomy__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.quality-skill-anatomy__grid div {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.quality-skill-anatomy__grid strong {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.quality-skill-anatomy__grid span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
  line-height: 1.7;
}

.quality-skill-snippet {
  margin-top: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.35rem;
}

.quality-skill-snippet h3 {
  margin: 0 0 0.9rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.quality-skill-snippet pre {
  max-height: 14rem;
  margin: 0;
  padding: 1rem;
  overflow: auto;
  color: rgba(255, 255, 255, 0.64);
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.3rem;
  white-space: pre-wrap;
}

.quality-skill-snippet code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.75;
}

.quality-style-gallery,
.quality-image2-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.35rem;
}

.quality-style-gallery figure,
.quality-image2-gallery figure {
  display: grid;
  place-items: center;
  margin: 0;
  padding: 2rem 1.25rem;
  background: rgba(255, 255, 255, 0.025);
}

.quality-style-gallery figure:nth-child(odd),
.quality-image2-gallery figure:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.quality-style-gallery figure:nth-child(n + 3),
.quality-image2-gallery figure:nth-child(n + 3) {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.quality-style-gallery img,
.quality-image2-gallery img {
  display: block;
  width: min(100%, 365px);
  height: auto;
}

.quality-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.quality-stats div {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.quality-stats strong {
  display: block;
  color: #ffffff;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.quality-stats span {
  display: block;
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quality-footer {
  max-width: 58rem;
}

@media (prefers-reduced-motion: no-preference) {
  .quality-showcase,
  .quality-section {
    animation: qualityFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .quality-section:nth-child(2) {
    animation-delay: 0.04s;
  }

  .quality-section:nth-child(3) {
    animation-delay: 0.08s;
  }
}

@keyframes qualityFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quality-marquee__track {
    transform: none !important;
  }
}

@media (max-width: 768px) {
  .quality-main {
    padding: 7rem 1.5rem 4.5rem;
  }
  .quality-page .notes-title {
    font-size: clamp(2.5rem, 12vw, 4.2rem);
  }
  .quality-lead {
    font-size: 0.92rem;
    line-height: 1.78;
  }
  .quality-page .notes-intro {
    margin-bottom: 5.5rem;
  }
  .quality-showcase {
    margin-bottom: 4rem;
  }
  .quality-marquee__track {
    gap: 0.85rem;
    padding-left: 1.5rem;
  }
  .quality-marquee__group {
    gap: 0.85rem;
  }
  .quality-site-card {
    flex-basis: min(72vw, 20rem);
  }
  .quality-image-placeholder {
    min-height: 18rem;
    border-radius: 0.75rem;
  }
  .quality-section.note-article {
    padding: 3.5rem 0;
  }
  .quality-grid-section {
    gap: 2rem;
  }
  .quality-insight-grid--3,
  .quality-skill-anatomy__grid {
    grid-template-columns: 1fr;
  }
  .quality-stats {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .quality-style-gallery,
  .quality-image2-gallery {
    grid-template-columns: 1fr;
  }
  .quality-style-gallery figure:nth-child(odd),
  .quality-image2-gallery figure:nth-child(odd) {
    border-right: none;
  }
  .quality-style-gallery figure + figure,
  .quality-image2-gallery figure + figure {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .quality-stats div + div {
    border-top: none;
  }
  .quality-chart__row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
  .quality-chart__row b {
    text-align: left;
  }
  .quality-prompt-flow {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.75rem;
    padding: 1rem;
  }
  .quality-flow-node {
    width: 100%;
    min-width: 0;
  }
  .quality-flow-node--diamond {
    width: 8rem;
    height: 8rem;
    min-width: 8rem;
    min-height: 8rem;
  }
  .quality-flow-arrow {
    width: 1px;
    height: 1.8rem;
    min-width: 1px;
  }
  .quality-flow-arrow::after {
    top: auto;
    right: 50%;
    bottom: -1px;
    border-top: 0.55rem solid var(--flow-arrow);
    border-right: 0.35rem solid transparent;
    border-left: 0.35rem solid transparent;
    border-bottom: 0;
    transform: translateX(50%);
  }
  .quality-flow-branches {
    width: 100%;
    min-width: 0;
  }
  .quality-flow-branch {
    grid-template-columns: 1fr;
  }
  .quality-flow-branch span {
    text-align: left;
  }
  .quality-flow-branch--no::before,
  .quality-flow-branch--no::after,
  .quality-flow-branch--yes::before,
  .quality-flow-branch--yes::after {
    display: none;
  }
}

/* ============================
   Site Footer (站点页脚 · 全站通用 · 仅承载文字掉落动画)
   ============================ */
site-footer {
  display: block;
}

.site-footer {
  background: #000;
}

.site-footer-physics {
  position: relative;
  width: 100%;
  height: clamp(360px, 50vh, 560px);
  overflow: hidden;
  background: #000;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.site-footer-physics:active {
  cursor: grabbing;
}

.site-footer-physics.is-disabled {
  display: none;
}

.site-footer-physics .word {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.88);
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  will-change: transform;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.site-footer-physics .word--bright {
  color: #0863ff;
}

@media (max-width: 768px) {
  .site-footer-physics {
    height: clamp(260px, 38vh, 380px);
  }
}
