:root {
  --ink: #12233d;
  --muted: #53657e;
  --paper: #eef9ff;
  --white: #ffffff;
  --mist: #f3eeff;
  --line: rgba(61, 106, 166, 0.18);
  --teal: #168de8;
  --gold: #8a73ff;
  --coral: #b86ff0;
  --night: #182345;
  --sky-glass: #44c8ff;
  --lavender-mist: #d9ccff;
  --shadow: 0 24px 70px rgba(54, 112, 190, 0.16);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  min-width: 320px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 10%, rgba(68, 200, 255, 0.26), transparent 34%),
    radial-gradient(circle at 86% 4%, rgba(217, 204, 255, 0.36), transparent 32%),
    linear-gradient(135deg, #f4fbff 0%, #eef9ff 42%, #f3eeff 100%);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

img {
  max-width: 100%;
}

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

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 28% 20%, rgba(68, 200, 255, 0.22), transparent 34%),
    radial-gradient(circle at 78% 16%, rgba(217, 204, 255, 0.34), transparent 32%),
    linear-gradient(135deg, #f8fdff 0%, #e7f7ff 46%, #f2edff 100%);
  transition: opacity 240ms ease, visibility 240ms ease;
}

.loader-mark {
  width: 42px;
  height: 42px;
  border: 3px solid rgba(18, 35, 61, 0.14);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: loader-spin 800ms linear infinite;
}

body.is-video-loading .site-header,
body.is-video-loading main {
  opacity: 0;
  pointer-events: none;
}

body:not(.is-video-loading) .page-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes loader-spin {
  to {
    transform: rotate(360deg);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 251, 255, 0.76);
  backdrop-filter: blur(18px);
}

.header-left {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  border-radius: 8px;
  background: var(--ink);
  font-size: 13px;
}

.language-switch {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 3px;
  border: 1px solid rgba(18, 35, 61, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 24px rgba(54, 112, 190, 0.08);
}

.language-switch button {
  min-width: 34px;
  height: 30px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.language-switch button.is-active {
  color: var(--white);
  background: var(--ink);
}

.language-switch button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.site-nav a.is-active {
  color: var(--ink);
}

.hero {
  min-height: 66vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 360px);
  align-items: end;
  gap: clamp(24px, 5vw, 62px);
  padding: clamp(42px, 6vw, 82px) clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 74% 18%, rgba(68, 200, 255, 0.3), transparent 33%),
    radial-gradient(circle at 26% 12%, rgba(217, 204, 255, 0.46), transparent 36%),
    linear-gradient(135deg, #f8fdff 0%, #e7f7ff 46%, #f2edff 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(62px, 13vw, 150px);
  line-height: 0.94;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 25px);
  font-weight: 700;
}

.music-platform-intro {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--ink);
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 850;
  line-height: 1.55;
}

.music-platform-links {
  width: min(720px, 100%);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.music-platform-links a {
  display: block;
  width: clamp(132px, 17vw, 162px);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(54, 112, 190, 0.1);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.music-platform-links a:hover,
.music-platform-links a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(54, 112, 190, 0.14);
}

.music-platform-links img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.contact-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(22px, 5vw, 64px);
  padding: clamp(40px, 6vw, 72px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--night);
}

.contact-footer h2 {
  max-width: none;
  font-size: clamp(30px, 4vw, 52px);
}

.contact-footer address {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  font-style: normal;
}

.contact-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
}

.contact-footer a:hover,
.contact-footer a:focus-visible {
  border-color: rgba(191, 238, 255, 0.76);
  outline: none;
}

.hero-photo {
  margin: 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.hero-photo video {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 5px;
  background: #111c2f;
}

figcaption {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.hero-photo figcaption {
  margin-top: 6px;
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric-band div {
  display: grid;
  gap: 4px;
  padding: clamp(20px, 3.4vw, 34px);
  background: var(--white);
}

.metric-band strong {
  color: var(--teal);
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1;
}

.metric-band span {
  color: var(--muted);
  font-weight: 900;
}

.section {
  padding: clamp(66px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.section-heading,
.intro-grid,
.project-scroll-stack,
.photo-grid,
.timeline {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 30px;
}

h2 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(32px, 5vw, 62px);
  line-height: 1.08;
}

.intro-section {
  background: rgba(255, 255, 255, 0.78);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 5vw, 64px);
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 650;
}

.intro-grid p {
  margin: 0;
}

.project-section {
  padding: clamp(66px, 9vw, 118px) 0 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(68, 200, 255, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(238, 249, 255, 0.92), rgba(243, 238, 255, 0.92));
}

.project-section .section-heading {
  padding: 0 clamp(18px, 5vw, 72px);
}

.project-scroll-stack {
  width: 100%;
  max-width: none;
  display: grid;
  gap: 0;
}

.project-slide {
  display: grid;
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(86px, 150px) minmax(0, 860px);
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 5vw, 70px);
  min-height: 100svh;
  padding: clamp(72px, 9vw, 118px) clamp(18px, 7vw, 96px);
  background:
    radial-gradient(circle at 82% 20%, rgba(68, 200, 255, 0.22), transparent 34%),
    radial-gradient(circle at 18% 82%, rgba(217, 204, 255, 0.32), transparent 36%),
    rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  text-align: left;
}

.project-slide > * {
  position: relative;
  z-index: 1;
}

.project-detail-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  min-width: 132px;
  min-height: 46px;
  margin-top: clamp(18px, 3vw, 28px);
  padding: 11px 18px 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

.project-detail-trigger span {
  font-size: 18px;
  line-height: 1;
}

.project-detail-trigger:hover,
.project-detail-trigger:focus-visible {
  border-color: rgba(191, 238, 255, 0.9);
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

.project-slide.project-slide-music {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 12, 24, 0.9) 0%, rgba(5, 12, 24, 0.72) 42%, rgba(5, 12, 24, 0.34) 100%),
    linear-gradient(180deg, rgba(5, 12, 24, 0.18), rgba(5, 12, 24, 0.66)),
    url("/private/assets/projects/music-logic-pro.jpg?v=20260706") center / cover no-repeat;
}

.project-slide.project-slide-music > span {
  color: #bfeeff;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.62);
}

.project-slide.project-slide-music h3,
.project-slide.project-slide-music p {
  color: var(--white);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.72);
}

.project-slide.project-slide-music p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.9);
}

.project-slide.project-slide-ai {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 18, 18, 0.88) 0%, rgba(5, 18, 18, 0.66) 42%, rgba(5, 18, 18, 0.26) 100%),
    linear-gradient(180deg, rgba(5, 18, 18, 0.1), rgba(5, 18, 18, 0.62)),
    url("/private/assets/projects/ai-game-world.jpg?v=20260706") center / cover no-repeat;
}

.project-slide.project-slide-ai > span,
.project-slide.project-slide-math > span,
.project-slide.project-slide-sports > span,
.project-slide.project-slide-stage > span {
  color: #d9f4ff;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.62);
}

.project-slide.project-slide-ai h3,
.project-slide.project-slide-ai p,
.project-slide.project-slide-math h3,
.project-slide.project-slide-math p,
.project-slide.project-slide-sports h3,
.project-slide.project-slide-sports p,
.project-slide.project-slide-stage h3,
.project-slide.project-slide-stage p {
  color: var(--white);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.72);
}

.project-slide.project-slide-ai p,
.project-slide.project-slide-math p,
.project-slide.project-slide-sports p,
.project-slide.project-slide-stage p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.9);
}

.project-slide.project-slide-math {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 13, 28, 0.92) 0%, rgba(7, 13, 28, 0.76) 46%, rgba(7, 13, 28, 0.38) 100%),
    linear-gradient(180deg, rgba(7, 13, 28, 0.12), rgba(7, 13, 28, 0.7)),
    url("/private/assets/projects/math-paper.jpg?v=20260706") center / cover no-repeat;
}

.project-slide.project-slide-sports {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 16, 30, 0.9) 0%, rgba(5, 16, 30, 0.7) 42%, rgba(5, 16, 30, 0.28) 100%),
    linear-gradient(180deg, rgba(5, 16, 30, 0.08), rgba(5, 16, 30, 0.66)),
    url("/private/assets/projects/sports-stage.jpg?v=20260706") center / cover no-repeat;
}

.project-slide.project-slide-sports::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 0;
  width: min(58vw, 860px);
  background:
    linear-gradient(270deg, rgba(5, 16, 30, 0.56), rgba(5, 16, 30, 0.18)),
    url("/private/assets/projects/sports-ski.jpg?v=20260709") 50% 50% / cover no-repeat;
  filter: saturate(1.04) contrast(1.02);
  opacity: 0.94;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.38) 20%, rgba(0, 0, 0, 0.82) 36%, #000 52%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.38) 20%, rgba(0, 0, 0, 0.82) 36%, #000 52%, #000 100%);
}

.project-slide.project-slide-stage {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 8, 18, 0.9) 0%, rgba(8, 8, 18, 0.72) 42%, rgba(8, 8, 18, 0.24) 100%),
    linear-gradient(180deg, rgba(8, 8, 18, 0.08), rgba(8, 8, 18, 0.64)),
    url("/private/assets/projects/stage-piano.jpg?v=20260709") center / cover no-repeat;
}

.project-slide > span {
  color: var(--gold);
  font-size: clamp(56px, 9vw, 110px);
  font-weight: 900;
  line-height: 0.9;
}

.project-slide h3 {
  margin: 0;
  font-size: clamp(34px, 6vw, 74px);
  line-height: 1.02;
}

.project-slide p {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
}

.music-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 10%, rgba(68, 200, 255, 0.16), transparent 32%),
    radial-gradient(circle at 86% 18%, rgba(217, 204, 255, 0.2), transparent 34%),
    #101525;
}

.math-detail-overlay {
  background:
    radial-gradient(circle at 14% 10%, rgba(68, 200, 255, 0.12), transparent 32%),
    radial-gradient(circle at 82% 14%, rgba(217, 204, 255, 0.18), transparent 34%),
    #0c1020;
}

.ai-detail-overlay {
  background:
    radial-gradient(circle at 14% 10%, rgba(68, 200, 255, 0.14), transparent 32%),
    radial-gradient(circle at 86% 18%, rgba(217, 204, 255, 0.18), transparent 34%),
    #0d1520;
}

.music-detail-scroll {
  height: 100%;
  overflow-y: auto;
  padding: clamp(76px, 8vw, 116px) clamp(18px, 5vw, 72px) clamp(50px, 7vw, 92px);
}

.music-detail-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.detail-back {
  position: fixed;
  top: clamp(16px, 3vw, 28px);
  left: clamp(16px, 3vw, 28px);
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  cursor: pointer;
  font: inherit;
  font-size: 24px;
  font-weight: 900;
}

.detail-back:hover,
.detail-back:focus-visible {
  border-color: rgba(68, 200, 255, 0.7);
  outline: none;
}

.music-detail-header {
  display: grid;
  gap: 18px;
  max-width: 880px;
}

.music-detail-header h2 {
  color: var(--white);
}

.music-detail-header p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 750;
}

.music-release-shot {
  margin: clamp(26px, 5vw, 52px) 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #1f2435;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.music-release-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.6;
  object-fit: cover;
}

.music-player-panel {
  margin-top: clamp(18px, 4vw, 34px);
}

.music-player-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.music-player-heading h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(26px, 4vw, 42px);
}

.music-player-layout {
  display: grid;
  grid-template-columns: minmax(290px, 0.86fr) minmax(0, 1.14fr);
  gap: 14px;
  align-items: start;
}

.music-player-card,
.music-track-list {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

.music-player-card {
  position: sticky;
  top: 86px;
  padding: clamp(18px, 3vw, 26px);
}

.music-player-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 28px;
  color: var(--white);
  font-weight: 900;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff4668;
  box-shadow: 0 0 0 6px rgba(255, 70, 104, 0.16);
}

.music-player-frame {
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #0b1020;
}

.music-player-frame iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.music-player-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.music-player-actions button,
.music-player-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 900;
}

.music-player-actions button {
  color: var(--white);
  border: 0;
  background: var(--teal);
  cursor: pointer;
}

.music-player-actions a {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.music-track-list {
  padding: 8px;
}

[data-tracks] {
  display: grid;
  gap: 8px;
}

.music-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 8px;
}

.music-track:hover,
.music-track:focus-within,
.music-track.is-active {
  border-color: rgba(191, 238, 255, 0.3);
  background: rgba(255, 255, 255, 0.09);
}

.music-track-play {
  min-width: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 0;
  color: inherit;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.music-track-index {
  width: 34px;
  color: #bfeeff;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.music-track-title {
  min-width: 0;
  color: var(--white);
  overflow-wrap: anywhere;
  font-weight: 900;
}

.music-track-link {
  color: #bfeeff;
  font-size: 13px;
  font-weight: 900;
}

.music-journey {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(18px, 4vw, 34px);
}

.music-journey article {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.music-journey img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.music-journey article > div {
  padding: clamp(18px, 2.4vw, 26px);
}

.music-journey time {
  color: #bfeeff;
  font-weight: 900;
}

.music-journey h3 {
  margin-top: 10px;
  color: var(--white);
  font-size: 22px;
}

.music-journey p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 650;
}

.music-detail-summary {
  max-width: 900px;
  margin: clamp(22px, 4vw, 38px) 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 760;
}

.ai-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(280px, 0.78fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: start;
  margin-top: clamp(26px, 5vw, 52px);
}

.ai-map-card,
.ai-detail-copy {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

.ai-map-card {
  overflow: hidden;
  margin: 0;
}

.ai-map-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10.4;
  object-fit: cover;
  background: #f5f5f5;
}

.ai-map-card figcaption {
  padding: 14px 16px 16px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 900;
  text-align: center;
}

.ai-detail-copy {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 32px);
}

.ai-detail-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 720;
}

.math-detail-stage {
  display: grid;
  gap: clamp(18px, 4vw, 34px);
  margin-top: clamp(18px, 4vw, 34px);
}

.math-gallery-section {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

.math-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.math-proof-card,
.math-single-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #05070d;
}

.math-preview-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  color: inherit;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.math-preview-trigger:focus-visible {
  outline: 3px solid rgba(68, 200, 255, 0.8);
  outline-offset: -3px;
}

.math-proof-card img,
.math-single-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.math-proof-card img {
  aspect-ratio: 3 / 4;
}

.math-single-card {
  max-width: 780px;
}

.math-single-card img {
  aspect-ratio: 4 / 3;
}

.math-detail-summary {
  max-width: 1050px;
}

.image-preview-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(62px, 8vw, 92px) clamp(16px, 4vw, 48px) clamp(28px, 5vw, 48px);
  background: rgba(5, 8, 16, 0.92);
  backdrop-filter: blur(18px);
}

.image-preview-close {
  position: fixed;
  top: clamp(16px, 3vw, 28px);
  right: clamp(16px, 3vw, 28px);
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  cursor: pointer;
  font: inherit;
  font-size: 28px;
  font-weight: 900;
}

.image-preview-close:hover,
.image-preview-close:focus-visible {
  border-color: rgba(68, 200, 255, 0.7);
  outline: none;
}

.image-preview-frame {
  display: grid;
  gap: 12px;
  width: min(1180px, 100%);
  max-height: 100%;
  margin: 0;
}

.image-preview-frame img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 150px);
  object-fit: contain;
  border-radius: 8px;
  background: #05070d;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.image-preview-frame figcaption {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 900;
  text-align: center;
}

body.is-detail-open {
  overflow: hidden;
}

.timeline article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(16, 32, 51, 0.08);
}

h3 {
  margin: 12px 0 0;
  font-size: 23px;
  line-height: 1.18;
}

.timeline p {
  margin: 16px 0 0;
  color: var(--muted);
}

.photo-section {
  background:
    radial-gradient(circle at 80% 12%, rgba(68, 200, 255, 0.16), transparent 28%),
    linear-gradient(135deg, #f4fbff, #f3eeff);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}

.photo-card {
  position: relative;
  min-height: 310px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #eaf5ff;
  box-shadow: var(--shadow);
}

.photo-card.wide {
  grid-column: span 2;
}

.photo-card.tall {
  grid-row: span 2;
}

.photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
}

.photo-card.tall img {
  min-height: 636px;
}

.photo-card figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 9px 11px;
  color: var(--white);
  border-radius: 8px;
  background: rgba(11, 23, 37, 0.68);
  text-align: center;
  backdrop-filter: blur(12px);
}

.growth-section {
  background: rgba(255, 255, 255, 0.78);
}

.skills-section {
  background:
    radial-gradient(circle at 16% 20%, rgba(217, 204, 255, 0.42), transparent 32%),
    linear-gradient(135deg, rgba(236, 249, 255, 0.94), rgba(246, 241, 255, 0.94));
}

.growth-tabs,
.growth-detail-shell,
.skills-tabs,
.skills-detail-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.growth-tabs,
.skills-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.growth-tab,
.skill-tab {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(16, 32, 51, 0.08);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.growth-tab:hover,
.growth-tab:focus-visible,
.skill-tab:hover,
.skill-tab:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(68, 200, 255, 0.58);
  outline: none;
}

.growth-tab.is-active,
.skill-tab.is-active {
  color: var(--white);
  border-color: var(--night);
  background: var(--night);
}

.growth-tab span,
.growth-tab strong,
.growth-tab em,
.skill-tab span,
.skill-tab strong,
.skill-tab em {
  display: block;
}

.growth-tab span,
.skill-tab span {
  color: var(--gold);
  font-weight: 900;
}

.growth-tab strong,
.skill-tab strong {
  margin-top: 18px;
  font-size: 24px;
  line-height: 1.18;
}

.growth-tab em,
.skill-tab em {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}

.growth-tab.is-active em,
.skill-tab.is-active em {
  color: rgba(255, 255, 255, 0.7);
}

.growth-detail-shell,
.skills-detail-shell {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(232, 248, 255, 0.78), rgba(247, 242, 255, 0.92));
  box-shadow: var(--shadow);
}

.growth-panel,
.skill-panel {
  padding: clamp(24px, 4.5vw, 44px);
}

.skill-panel {
  display: block;
}

.skill-copy ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.skill-copy li::marker {
  color: var(--coral);
}

.detail-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
}

.detail-heading h3 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
}

.detail-note {
  margin: 4px 0 0;
  color: var(--teal);
  font-weight: 900;
}

.detail-list,
.practice-detail-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.detail-list article,
.practice-detail-list article,
.honor-detail-grid article {
  background: rgba(255, 255, 255, 0.78);
}

.detail-list article {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  gap: clamp(16px, 4vw, 42px);
  padding: clamp(20px, 3vw, 30px);
}

.detail-list article.detail-entry-with-media {
  grid-template-columns: minmax(140px, 190px) minmax(0, 1fr) minmax(220px, 320px);
  align-items: center;
}

.detail-list time {
  color: var(--teal);
  font-weight: 900;
}

h4 {
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
}

.detail-list p,
.practice-detail-list p {
  margin: 10px 0 0;
  color: var(--muted);
}

.detail-entry-photo {
  margin: 0;
}

.detail-entry-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(54, 112, 190, 0.16);
}

.honor-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

.honor-detail-grid article,
.practice-detail-list article {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.honor-detail-grid ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 19px;
  color: var(--muted);
}

.honor-detail-grid li::marker {
  color: var(--coral);
}

.honor-category-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}

.honor-category-tab {
  min-height: 42px;
  padding: 9px 12px;
  color: var(--muted);
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
}

.honor-category-tab.is-active {
  color: var(--white);
  background: var(--night);
  box-shadow: 0 14px 34px rgba(18, 35, 61, 0.2);
}

.honor-category-tab:focus-visible {
  outline: 3px solid rgba(68, 200, 255, 0.48);
  outline-offset: 2px;
}

.honor-category-panels {
  margin-top: 14px;
}

.honor-category-panel {
  display: grid;
  gap: 14px;
}

.honor-list-card {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.honor-list-card ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 19px;
  color: var(--muted);
}

.honor-list-card li::marker {
  color: var(--coral);
}

.certificate-page {
  min-height: 100vh;
  padding: clamp(54px, 8vw, 92px) clamp(18px, 5vw, 72px) clamp(70px, 10vw, 120px);
  scroll-snap-type: y proximity;
}

.certificate-hero,
.certificate-section {
  width: min(1220px, 100%);
  margin: 0 auto;
}

.certificate-hero {
  padding-bottom: clamp(34px, 6vw, 62px);
}

.certificate-hero h1 {
  max-width: none;
}

.certificate-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
}

.certificate-section + .certificate-section {
  margin-top: clamp(46px, 7vw, 78px);
}

.certificate-browser {
  display: grid;
  gap: clamp(26px, 4vw, 42px);
}

.certificate-tabs {
  position: sticky;
  top: 78px;
  z-index: 6;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  box-shadow: 0 18px 42px rgba(18, 35, 61, 0.08);
  backdrop-filter: blur(18px);
}

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

.certificate-category-panel.is-active {
  animation: certificate-panel-in 260ms ease;
}

@keyframes certificate-panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

.certificate-section-heading {
  margin-bottom: 20px;
}

.certificate-section-heading h2 {
  font-size: clamp(30px, 4.4vw, 54px);
}

.certificate-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 52px);
}

.certificate-grid-wide {
  grid-template-columns: 1fr;
}

.certificate-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-items: center;
  min-height: calc(100svh - 112px);
  overflow: hidden;
  margin: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 0;
  box-shadow: none;
  scroll-snap-align: center;
}

.certificate-card button {
  display: grid;
  min-height: 0;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.certificate-card img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(82svh, 900px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 54px rgba(14, 35, 70, 0.18);
}

.certificate-card figcaption {
  order: -1;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 0 14px clamp(14px, 2vw, 22px);
  color: var(--ink);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 900;
  text-align: center;
}

.honor-certificate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.honor-certificate-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 44px rgba(54, 112, 190, 0.14);
}

.honor-certificate-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.honor-certificate-card figcaption {
  padding: 12px 14px 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.honor-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.honor-photo-card {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 44px rgba(54, 112, 190, 0.14);
}

.honor-photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.honor-photo-card figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  background: rgba(18, 35, 61, 0.72);
  backdrop-filter: blur(10px);
}

.practice-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.practice-photo-card {
  position: relative;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 44px rgba(54, 112, 190, 0.14);
}

.practice-photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.practice-photo-card figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  background: rgba(18, 35, 61, 0.72);
  backdrop-filter: blur(10px);
}

.practice-detail-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 0;
  background: transparent;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.timeline article {
  min-height: 220px;
  padding: clamp(22px, 4vw, 34px);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.timeline time {
  color: var(--teal);
  font-weight: 900;
}

@media (max-width: 980px) {
  .hero,
  .intro-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .growth-tabs,
  .skills-tabs,
  .honor-category-tabs,
  .honor-detail-grid,
	  .honor-photo-grid,
	  .honor-certificate-grid,
	  .practice-photo-grid,
	  .practice-detail-list {
	    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .detail-list article {
    grid-template-columns: 1fr;
  }

  .detail-list article.detail-entry-with-media {
    grid-template-columns: 1fr;
  }

	  .project-slide {
	    grid-template-columns: 1fr;
	    min-height: 100svh;
	  }

  .music-journey {
    grid-template-columns: 1fr;
  }

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

  .math-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .music-player-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
  }

  .header-left {
    flex-wrap: wrap;
  }

  .site-nav {
    gap: 12px;
  }

	  .hero {
	    min-height: auto;
	    padding-top: 48px;
	  }

	  .music-platform-links a {
	    width: min(162px, calc(50% - 5px));
	  }

	  .metric-band {
	    grid-template-columns: repeat(2, minmax(0, 1fr));
	  }

  .photo-grid,
  .math-proof-grid,
  .contact-footer,
  .growth-tabs,
  .skills-tabs,
  .honor-category-tabs,
  .honor-detail-grid,
  .honor-photo-grid,
  .honor-certificate-grid,
  .practice-photo-grid,
  .practice-detail-list {
    grid-template-columns: 1fr;
  }

  .honor-category-tabs {
    border-radius: 8px;
  }

  .contact-footer address {
    justify-content: flex-start;
  }

  .certificate-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    border-radius: 8px;
  }

  .certificate-tabs .honor-category-tab {
    min-width: 0;
  }

	  .project-slide {
	    gap: 20px;
	    min-height: 100svh;
	    padding: 78px 24px 34px;
	  }

  .music-detail-scroll {
    padding-top: 82px;
  }

  .music-release-shot img {
    aspect-ratio: 4 / 3;
  }

	  .photo-card.wide,
	  .photo-card.tall {
	    grid-column: auto;
    grid-row: auto;
  }

  .photo-card,
  .photo-card img,
  .photo-card.tall img {
    min-height: 340px;
  }
}

@media (max-width: 460px) {
  .site-header {
    display: grid;
  }

  .header-left {
    justify-content: space-between;
    width: 100%;
  }

  .music-platform-links a {
    width: 100%;
  }

  .metric-band {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 58px;
  }

}
