.skills {
  margin-top: 0;
  margin-left: calc(50% - 50vw);
  width: 100vw;
  background: #f8f8f8;
  padding: 100px 10vw 120px;
  color: #111;
}

.skills-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}

.skills-header p {
  color: #555;
  margin-top: 12px;
  line-height: 1.7;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.skill-card {
  background: #fff;
  border-radius: 28px;
  border: 3px solid #111;
  padding: 28px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-height: 220px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.skill-card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.skill-card h3 {
  margin: 0;
  font-size: 18px;
  transition: color 0.25s;
}

.skill-card p {
  margin: 0;
  color: #555;
  line-height: 1.6;
  transition: color 0.25s;
}

.skill-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.2);
  background: #111;
  color: #fff;
  border-color: transparent;
}

.skill-card:hover h3,
.skill-card:hover p {
  color: #fff;
}

.projects {
  margin-top: 0;
  margin-left: calc(50% - 50vw);
  width: 100vw;
  background: #070707;
  color: #f7f7f7;
  padding: 120px 8vw 140px;
}

.projects-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.projects-header p {
  color: #c8c8c8;
  margin-top: 12px;
  line-height: 1.7;
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.project-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  background: #0f0f0f;
  border-radius: 40px;
  padding: 32px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 18px 40px rgba(0, 0, 0, 0.35);
}

.project-card.reverse .project-visual {
  order: 2;
}

.project-visual {
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  perspective: 1200px;
}

.project-visual img,
.project-visual video,
.project-visual iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
  border: none;
  background: #000;
}

.project-visual--pdf iframe {
  object-fit: fill;
}

.project-visual--pdf {
  min-height: 420px;
}

.project-visual--carousel {
  position: relative;
  min-height: 400px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.carousel-track img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #111;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  display: grid;
  place-items: center;
  transition: background 0.2s, transform 0.2s;
  color: #111;
}

.carousel-btn:hover {
  background: #111;
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn--prev {
  left: 16px;
}

.carousel-btn--next {
  right: 16px;
}

.project-visual[data-corner="tl"] img {
  transform-origin: top left;
  transform: rotateX(-7deg) rotateY(7deg) scale(1.05);
}

.project-visual[data-corner="tr"] img {
  transform-origin: top right;
  transform: rotateX(-7deg) rotateY(-7deg) scale(1.05);
}

.project-visual[data-corner="bl"] img {
  transform-origin: bottom left;
  transform: rotateX(7deg) rotateY(7deg) scale(1.05);
}

.project-visual[data-corner="br"] img {
  transform-origin: bottom right;
  transform: rotateX(7deg) rotateY(-7deg) scale(1.05);
}

.contact {
  margin-left: calc(50% - 50vw);
  width: 100vw;
  padding: 110px 10vw 120px;
  background: #fff;
  color: #111;
}

.contact-header {
  text-align: center;
  margin-bottom: 48px;
}

.contact-header h2 {
  font-size: clamp(36px, 5vw, 64px);
  margin: 0 0 16px;
  font-weight: 600;
}

.contact-header h2 span {
  background: #111;
  color: #fff;
  padding: 6px 16px;
  border-radius: 16px;
}

.contact-header p {
  color: #555;
  margin: 0;
  line-height: 1.7;
}

.contact-body {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.contact-info {
  font-size: 16px;
  line-height: 1.8;
}

.contact-info p {
  margin: 0;
}

.contact-actions {
  display: flex;
  gap: 18px;
}

.contact-icon {
  width: 68px;
  height: 68px;
  border: 2px solid #111;
  border-radius: 18px;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 28px;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

.contact-icon:hover {
  transform: translateY(-4px);
  background: #111;
  color: #fff;
}

.project-visual[data-corner] img {
  filter: brightness(1.05);
}

.project-content h3 {
  margin: 0 0 16px;
  font-size: 24px;
}

.project-content p {
  margin: 0 0 16px;
  color: #d2d2d2;
  line-height: 1.7;
}

.project-content ul {
  margin: 0;
  padding-left: 18px;
  color: #c8c8c8;
  line-height: 1.6;
}

.project-content a {
  color: #78a9ff;
  text-decoration: none;
}

.project-content a:hover {
  text-decoration: underline;
}
:root {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #1b1b1f;
  background-color: #fff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 10% 20%, #f9f9ff, #ffffff 60%);
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  margin-left: calc(50% - 50vw);
  width: 100vw;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 24px 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 18px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #111;
  display: grid;
  place-items: center;
  font-size: 20px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  font-size: 16px;
}

nav a {
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  transition: color 0.2s;
}

nav a:hover {
  color: #6b4bff;
}

.lang-switch {
  display: flex;
  gap: 12px;
}

.lang-switch button {
  width: 58px;
  padding: 8px 0;
  border-radius: 24px;
  border: 1.5px solid #111;
  background: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-switch button.active {
  background: #111;
  color: #fff;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
  padding-top: 40px;
}

.hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  margin: 0 0 16px;
  letter-spacing: 2px;
}

.hero p {
  font-size: 18px;
  line-height: 1.7;
  color: #333;
  margin: 0;
}

.split-text {
  display: inline-flex;
  flex-wrap: wrap;
  column-gap: 0.15em;
  row-gap: 0;
}

.split-text--body {
  max-width: 520px;
}

.split-text--heading {
  gap: 0.12em;
}

.split-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  animation: floatLetter 0.6s forwards;
}

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

.hero-illustration {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
}

.hero-illustration svg,
.hero-illustration img {
  width: 100%;
  height: auto;
}

footer {
  margin-top: 80px;
  text-align: center;
  color: #777;
  font-size: 14px;
}

.experience {
  margin-top: 0;
  margin-left: calc(50% - 50vw);
  width: 100vw;
  background: #060606;
  border-radius: 0;
  padding: 80px 10vw 90px;
  color: #f8f8f8;
}

.experience-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.experience-header p {
  color: #cfcfcf;
  margin-top: 14px;
  line-height: 1.7;
}

.experience-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.experience-column {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.experience-card {
  background: #0f0f0f;
  border-radius: 28px;
  padding: 28px;
  display: flex;
  gap: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 18px 40px rgba(0, 0, 0, 0.35);
}

.experience-badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
  color: #000;
  display: grid;
  place-items: center;
  font-size: 24px;
}

.experience-card h3 {
  margin: 0;
  font-size: 18px;
}

.experience-card .meta {
  margin: 6px 0 10px;
  color: #b6b6b6;
  font-size: 14px;
}

.experience-card .section-title {
  margin: 12px 0 6px;
  font-weight: 600;
  color: #e6e6e6;
}

.experience-card ul {
  margin: 0;
  padding-left: 20px;
  color: #cfcfcf;
  line-height: 1.6;
}

.experience-card li + li {
  margin-top: 4px;
}

.skill-summary {
  margin-top: 0;
  margin-left: calc(50% - 50vw);
  width: 100vw;
  background: #f4f4f2;
  color: #111;
  padding: 110px 8vw 130px;
}

.skill-summary-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 60px;
}

.skill-summary-header p {
  margin: 16px 0 0;
  color: #555;
  line-height: 1.8;
}

.skill-summary-card {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border-radius: 36px;
  padding: 50px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

.skill-summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  font-size: 18px;
  line-height: 1.9;
  color: #1f1f1f;
}

.skill-summary-list li {
  position: relative;
  padding-left: 30px;
}

.skill-summary-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 26px;
  line-height: 1;
  color: #111;
}

.moments {
  margin-top: 120px;
  margin-left: calc(50% - 50vw);
  width: 100vw;
  padding: 80px 8vw 100px;
  background: #050505;
  color: #f2f2f2;
}

.moments-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.moments-header h2 {
  margin: 0 0 16px;
}

.moments-subtitle {
  text-align: center;
  margin: 0;
  color: #c1c1c1;
  font-size: 16px;
  line-height: 1.7;
}

.moments-grid {
  column-count: 4;
  column-gap: 24px;
  margin: 0 auto;
  max-width: 1200px;
}

.moment-card {
  margin: 0 0 24px;
  border-radius: 26px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s, filter 0.3s;
  break-inside: avoid;
}

.moment-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(0.8);
}

.moment-card.short {
  height: clamp(180px, 26vw, 220px);
}

.moment-card.medium {
  height: clamp(240px, 32vw, 320px);
}

.moment-card.tall {
  height: clamp(320px, 40vw, 420px);
}

.moment-card:hover {
  transform: translateY(-6px);
  filter: brightness(1.05);
}

.moment-card:hover img {
  filter: grayscale(0.2);
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero {
    text-align: left;
  }

  .moments {
    margin-top: 80px;
    margin-left: calc(50% - 50vw);
    padding: 56px 16px 80px;
  }

  .experience {
    padding: 56px 24px 70px;
  }

  .skill-summary {
    padding: 70px 24px 90px;
  }

  .skill-summary-card {
    padding: 36px;
  }

  .moments-grid {
    column-count: 2;
    column-gap: 18px;
  }

  .skills {
    padding: 70px 24px 90px;
  }

  .projects {
    padding: 80px 24px 100px;
  }

  .contact {
    padding: 80px 24px 100px;
  }
}

@media (max-width: 480px) {
  .experience-body {
    grid-template-columns: 1fr;
  }

  .moments-grid {
    column-count: 1;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .skill-summary-card {
    padding: 28px 20px;
  }

  .skill-summary-list {
    gap: 18px;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .contact-body {
    flex-direction: column;
    align-items: flex-start;
  }
}

