:root {
  --bg: #15110e;
  --ink: #f4efe7;
  --muted: rgba(244, 239, 231, 0.62);
  --faint: rgba(244, 239, 231, 0.22);
  --line: rgba(255, 255, 255, 0.16);
  --panel: rgba(25, 22, 18, 0.66);
  --gold: #c8a77a;
  --sand: #eadcc7;
  --ember: #a94b33;
  font-family: "Times New Roman", "Songti SC", "STSong", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: #15110e;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  opacity: 0.14;
  mix-blend-mode: overlay;
  background-image:
    repeating-radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(104deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 7px);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 1rem;
  padding: 1.35rem clamp(1rem, 4.8vw, 5.4rem) 0;
  color: rgba(255, 250, 242, 0.88);
}

.brand,
.about-chip,
.nav-pill {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.62rem;
  width: fit-content;
  font-size: clamp(0.92rem, 1.2vw, 1.18rem);
  text-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.9);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.25rem;
  font-family: Arial, sans-serif;
  font-size: 1.75rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.86);
}

.nav-pill {
  gap: clamp(1.2rem, 2.8vw, 3rem);
  padding: 0.46rem 1.8rem 0.52rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  background: rgba(20, 17, 14, 0.34);
  box-shadow:
    0 0.6rem 2.2rem rgba(0, 0, 0, 0.28),
    inset 0 0 1.2rem rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(18px);
}

.nav-pill a {
  display: grid;
  gap: 0.04rem;
  min-width: 3.2rem;
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255, 248, 238, 0.74);
}

.nav-pill span {
  font-family: Inter, Arial, sans-serif;
  font-size: 0.46rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.36);
}

.about-chip {
  justify-self: end;
  gap: 0.42rem;
  padding: 0.48rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  background: rgba(30, 25, 21, 0.38);
  box-shadow: 0 0.8rem 2.4rem rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
}

.music-toggle {
  position: fixed;
  right: clamp(1rem, 2.2vw, 1.55rem);
  bottom: clamp(1rem, 2vw, 1.4rem);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  height: 2.35rem;
  min-width: 5.7rem;
  padding: 0 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(18, 15, 12, 0.62);
  box-shadow: 0 1rem 2.6rem rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  cursor: pointer;
  transition: border-color 220ms ease, background 220ms ease, color 220ms ease, transform 220ms ease;
}

.music-toggle:hover {
  color: rgba(255, 250, 242, 0.92);
  border-color: rgba(234, 220, 199, 0.34);
  background: rgba(28, 23, 18, 0.72);
  transform: translateY(-1px);
}

.music-toggle.is-playing {
  color: rgba(234, 220, 199, 0.95);
  border-color: rgba(200, 167, 122, 0.48);
}

.music-bars {
  display: inline-flex;
  align-items: end;
  gap: 0.13rem;
  height: 0.82rem;
}

.music-bars i {
  display: block;
  width: 0.13rem;
  height: 0.42rem;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.62;
  transform-origin: center bottom;
}

.music-bars i:nth-child(2) {
  height: 0.7rem;
}

.music-toggle.is-playing .music-bars i {
  animation: musicPulse 780ms ease-in-out infinite;
}

.music-toggle.is-playing .music-bars i:nth-child(2) {
  animation-delay: -240ms;
}

.music-toggle.is-playing .music-bars i:nth-child(3) {
  animation-delay: -420ms;
}

.music-text {
  font-family: Inter, Arial, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg,
.hero-vignette,
.terrain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  z-index: -4;
  object-fit: cover;
  object-position: center 52%;
  transform: scale(1.08);
  filter: brightness(0.66) saturate(0.82) contrast(1.06);
  animation: heroDrift 24s ease-in-out infinite alternate;
}

.terrain {
  z-index: -2;
  object-fit: cover;
  object-position: center 64%;
  opacity: 0.9;
  mix-blend-mode: normal;
  filter: brightness(0.78) contrast(1.08) saturate(1.05);
  transform: translateY(4vh) scale(1.1);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.16) 14%, #000 36%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.16) 14%, #000 36%, #000 100%);
  animation: terrainFloat 18s ease-in-out infinite alternate;
}

.hero-vignette {
  z-index: -1;
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0.02) 0 24%, rgba(0, 0, 0, 0.28) 56%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.36), transparent 30%, rgba(0, 0, 0, 0.68));
}

.hero-copy {
  align-self: center;
  justify-self: center;
  z-index: 4;
  width: min(44rem, calc(100vw - 2rem));
  padding-top: 3rem;
  text-align: center;
  text-shadow: 0 1.4rem 3.5rem rgba(0, 0, 0, 0.9);
}

.eyebrow,
.hero-en,
.kicker,
.section-heading p,
.contact-card p,
.modal-info p,
.detail-copy > p:first-child {
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.56rem;
  color: rgba(255, 255, 255, 0.34);
}

.hero h1 {
  margin: 0;
  font-size: clamp(4.2rem, 7.5vw, 8.2rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-cn {
  margin: 1rem 0 0.14rem;
  font-size: clamp(1.45rem, 2.8vw, 2.55rem);
  font-style: italic;
  color: rgba(255, 250, 242, 0.9);
}

.hero-en {
  margin: 0 0 1.4rem;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.42);
}

.founder {
  display: grid;
  gap: 0.32rem;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.68);
}

.founder span:not(:first-child) {
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(0.66rem, 0.95vw, 0.82rem);
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.52);
}

.hero-note {
  width: min(31rem, 90vw);
  margin: 0 auto;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.9;
}

.scroll-cue {
  display: grid;
  justify-items: center;
  gap: 0.58rem;
  margin-top: 2.35rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.42);
}

.scroll-cue i {
  display: block;
  position: relative;
  width: 1.05rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  top: 0.42rem;
  left: 50%;
  width: 0.22rem;
  height: 0.44rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  transform: translateX(-50%);
  animation: wheel 1.7s ease-in-out infinite;
}

.identity-card {
  position: absolute;
  top: 2.2rem;
  left: clamp(1.7rem, 12vw, 13rem);
  z-index: 5;
  transform: rotate(-4deg);
  transform-origin: 50% 0;
  animation: badgeEnter 1200ms cubic-bezier(0.2, 0.8, 0.2, 1) both, badgeSway 5.5s ease-in-out 1.2s infinite;
}

.lanyard {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 1.6rem;
  width: 2.25rem;
  height: clamp(14rem, 34vh, 22rem);
  margin: 0 auto -0.1rem;
  padding-top: 1rem;
  background: #050504;
  border-radius: 0 0 999px 999px;
  box-shadow: 0 1rem 2.6rem rgba(0, 0, 0, 0.44);
}

.lanyard span {
  display: grid;
  place-items: center;
  width: 1.05rem;
  height: 1.05rem;
}

.lanyard span::before {
  content: "≈";
  font-family: Arial, sans-serif;
  font-size: 1.25rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.86);
  transform: rotate(-16deg);
}

.badge {
  display: grid;
  gap: 0.42rem;
  width: clamp(8.8rem, 10.7vw, 11.6rem);
  min-height: clamp(12.6rem, 17vw, 17.4rem);
  padding: 0.82rem;
  color: #18120d;
  background: rgba(235, 221, 198, 0.96);
  border-radius: 0.36rem;
  box-shadow: 0 2.1rem 4rem rgba(0, 0, 0, 0.52);
}

.badge img {
  width: 100%;
  aspect-ratio: 1 / 1.02;
  object-fit: cover;
  object-position: center top;
  border-radius: 0.16rem;
  filter: grayscale(0.28) contrast(0.94);
}

.badge small,
.badge em,
.badge b {
  font-family: Inter, Arial, sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  opacity: 0.58;
}

.badge strong {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.05;
}

.badge em,
.badge b {
  font-style: normal;
  font-weight: 400;
}

.work-prologue {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.prologue-bg,
.prologue-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.prologue-bg {
  z-index: -3;
  object-fit: cover;
  transform: scale(1.06);
  filter: brightness(0.38) saturate(0.76) blur(0.2px);
}

.prologue-shade {
  z-index: -2;
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.7)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.4), transparent 38%, rgba(0, 0, 0, 0.46));
}

.prologue-copy {
  text-align: center;
  text-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.72);
}

.prologue-copy h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(2.5rem, 5vw, 5.4rem);
  font-weight: 400;
}

.prologue-copy p {
  margin: 0 0 5rem;
  color: rgba(255, 255, 255, 0.7);
}

.prologue-copy span {
  font-family: Inter, Arial, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.42);
}

.section-shell {
  padding: clamp(5rem, 9vw, 8.5rem) clamp(1rem, 5vw, 5.5rem);
}

.works {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  padding-top: clamp(5.8rem, 8vw, 8rem);
  padding-bottom: clamp(4rem, 7vw, 7rem);
}

.works-bg,
.works-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.works-bg {
  z-index: -4;
  object-fit: cover;
  filter: brightness(0.24) saturate(0.76) blur(2px);
  transform: scale(1.08);
}

.works-overlay {
  z-index: -3;
  background:
    radial-gradient(circle at 50% 38%, rgba(95, 68, 45, 0.14), rgba(0, 0, 0, 0.66) 58%, rgba(0, 0, 0, 0.86)),
    linear-gradient(180deg, rgba(21, 17, 14, 0.72), rgba(21, 17, 14, 0.88));
}

.works-panel {
  display: grid;
  justify-items: center;
  gap: 1.1rem;
  width: min(63rem, 100%);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  gap: 0.45rem;
  width: min(38rem, 100%);
  margin-bottom: 0.55rem;
  text-align: center;
}

.section-heading p,
.kicker,
.contact-card p,
.detail-copy > p:first-child {
  margin: 0;
  font-size: 0.66rem;
  color: var(--gold);
}

.section-heading h2,
.studio-copy h2,
.contact-card h2,
.detail-copy h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  font-weight: 400;
}

.studio-copy h2 {
  font-size: clamp(2rem, 3.8vw, 4rem);
  line-height: 1.15;
}

.works .section-heading h2 {
  font-size: clamp(2.1rem, 4vw, 4.1rem);
}

.section-heading span,
.studio-copy p,
.contact-card span,
.contact-card small,
.detail-copy > p:not(:first-child) {
  color: var(--muted);
  line-height: 1.9;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin: 0.2rem 0 0.8rem;
}

.filters button {
  min-width: 4rem;
  padding: 0.52rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  cursor: pointer;
}

.filters button.active {
  color: #17120e;
  background: rgba(234, 220, 199, 0.9);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.3vw, 1.2rem);
  width: min(64rem, 100%);
}

.project-card {
  display: grid;
  grid-template-rows: minmax(15rem, 1fr) auto;
  position: relative;
  padding: 0;
  min-height: unset;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0.34rem;
  color: var(--ink);
  background: #080706;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.project-card img {
  display: block;
  width: 100%;
  height: clamp(15rem, 28vw, 25rem);
  object-fit: contain;
  background: rgba(6, 5, 4, 0.82);
  filter: brightness(0.84) saturate(0.86);
  transition: filter 320ms ease;
}

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

.project-card::before {
  content: "查看大图 / View";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%) translateY(0.4rem);
  padding: 0.48rem 0.82rem;
  border-radius: 0.18rem;
  background: rgba(23, 19, 16, 0.72);
  backdrop-filter: blur(12px);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.86);
  opacity: 0;
  transition: opacity 260ms ease, transform 260ms ease;
}

.project-card:hover img {
  filter: brightness(0.94) saturate(0.9);
}

.project-card:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.project-info {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.32rem;
  min-height: 6.2rem;
  padding: 0.9rem 1rem 1rem;
  background: rgba(15, 13, 11, 0.9);
  text-align: left;
}

.project-info h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 2.25rem);
  font-weight: 400;
}

.project-info p {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.project-info span {
  width: fit-content;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.72rem;
}

.back-pill {
  display: inline-flex;
  justify-content: center;
  margin-top: 1.4rem;
  padding: 0.54rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(21, 18, 15, 0.54);
  backdrop-filter: blur(16px);
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.68);
}

.detail-scene {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(20rem, 0.75fr);
  gap: clamp(1rem, 3vw, 2.4rem);
  min-height: 100svh;
  padding: clamp(5rem, 8vw, 7rem) clamp(1rem, 5vw, 5.5rem);
  align-items: center;
  background:
    radial-gradient(circle at 26% 40%, rgba(104, 74, 49, 0.18), transparent 27rem),
    #15110e;
}

.detail-media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.32rem;
  background: #080706;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.34);
}

.detail-media img {
  display: block;
  width: 100%;
  height: min(72vh, 46rem);
  object-fit: contain;
  background: rgba(6, 5, 4, 0.82);
  filter: brightness(0.72) saturate(0.82);
}

.detail-copy {
  display: grid;
  gap: 0.85rem;
  align-self: end;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(24, 21, 18, 0.62);
  backdrop-filter: blur(20px);
}

.detail-copy span {
  font-family: Inter, Arial, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.48);
  text-transform: uppercase;
}

.detail-copy button {
  justify-self: start;
  padding: 0.62rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.18rem;
  color: #18120d;
  background: rgba(234, 220, 199, 0.9);
  cursor: pointer;
}

.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.detail-thumbs img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: contain;
  background: rgba(6, 5, 4, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  filter: brightness(0.78) saturate(0.84);
}

.studio {
  position: relative;
  display: grid;
  grid-template-columns: minmax(13rem, 0.75fr) minmax(18rem, 1.1fr);
  gap: clamp(1.2rem, 4vw, 4rem);
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.studio-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.25) saturate(0.74) blur(1.2px);
  transform: scale(1.06);
}

.studio::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 34% 46%, rgba(171, 126, 82, 0.16), transparent 26rem),
    rgba(0, 0, 0, 0.58);
}

.studio-portrait {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.32rem;
  background: #080706;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.28);
}

.studio-portrait img {
  display: block;
  width: 100%;
  height: min(70vh, 42rem);
  object-fit: contain;
  background: rgba(8, 7, 6, 0.86);
  filter: brightness(0.82) saturate(0.86);
}

.studio-copy {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2.2rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(24, 21, 18, 0.58);
  backdrop-filter: blur(20px);
}

.studio-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-top: 0.45rem;
}

.studio-stats span {
  min-height: 5.2rem;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.56);
}

.studio-stats strong {
  display: block;
  margin-bottom: 0.28rem;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 400;
}

.honors {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.honors-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.22) saturate(0.78) blur(2px);
  transform: scale(1.08);
}

.honors::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: rgba(9, 8, 7, 0.68);
}

.honors-panel {
  width: min(53rem, 100%);
  padding: clamp(1.2rem, 3vw, 2.1rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.28rem;
  background: rgba(28, 24, 20, 0.68);
  backdrop-filter: blur(22px);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.28);
}

.honor-list {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.honor-item {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.honor-year {
  font-family: Inter, Arial, sans-serif;
  color: var(--gold);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
}

.honor-item strong {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.84);
}

.contact {
  position: relative;
  min-height: 82vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.contact > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.34) saturate(0.76);
  transform: scale(1.04);
}

.contact::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.78));
}

.contact-card {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.8rem;
  width: min(31rem, calc(100vw - 2rem));
  padding: clamp(1.3rem, 4vw, 2.7rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.3rem;
  background: rgba(20, 17, 14, 0.62);
  backdrop-filter: blur(22px);
  text-align: center;
}

.contact-card a {
  justify-self: center;
  margin: 0.45rem 0;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: rgba(234, 220, 199, 0.9);
  color: #17120e;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.82rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  background: rgba(8, 7, 6, 0.9);
  backdrop-filter: blur(18px);
}

.modal.open {
  display: block;
}

.modal-inner {
  display: grid;
  position: relative;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr);
  height: 100svh;
  min-height: 0;
  padding: clamp(1rem, 3vw, 3rem);
}

.modal-media {
  display: grid;
  place-items: center;
  width: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.modal-media img {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(100vw - 6rem);
  max-height: calc(100svh - 6rem);
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.45);
}

.modal-info {
  position: absolute;
  right: clamp(1rem, 3vw, 3rem);
  bottom: clamp(1rem, 3vw, 3rem);
  width: min(22rem, calc(100vw - 2rem));
  display: grid;
  gap: 0.62rem;
  max-height: min(46vh, 24rem);
  overflow: auto;
  padding: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(25, 22, 18, 0.64);
  backdrop-filter: blur(18px);
}

.modal-info h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  font-weight: 400;
}

.modal-info span,
.modal-info p {
  color: var(--muted);
  line-height: 1.7;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.modal-tags span {
  padding: 0.35rem 0.56rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.72rem;
}

.modal-close,
.modal-arrow {
  position: fixed;
  z-index: 105;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.modal-close {
  top: 1.1rem;
  right: 1.1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-size: 1.4rem;
}

.modal-arrow {
  top: 50%;
  width: 3rem;
  height: 4rem;
  transform: translateY(-50%);
  font-size: 2.2rem;
}

.modal-prev {
  left: 1rem;
}

.modal-next {
  right: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(1.6rem);
  transition: opacity 800ms ease, transform 800ms ease;
}

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

@keyframes heroDrift {
  from { transform: scale(1.08) translate3d(-0.8%, -0.4%, 0); }
  to { transform: scale(1.14) translate3d(0.8%, 0.4%, 0); }
}

@keyframes terrainFloat {
  from { transform: translateY(4.5vh) translateX(-0.8vw) scale(1.1); }
  to { transform: translateY(1.5vh) translateX(0.9vw) scale(1.13); }
}

@keyframes wheel {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.38; }
  45% { transform: translate(-50%, 0.65rem); opacity: 0.95; }
}

@keyframes badgeEnter {
  from { transform: translateY(-65%) rotate(-7deg); opacity: 0; }
  to { transform: translateY(0) rotate(-4deg); opacity: 1; }
}

@keyframes badgeSway {
  0%, 100% { rotate: 0deg; }
  50% { rotate: 1.6deg; }
}

@keyframes musicPulse {
  0%, 100% { transform: scaleY(0.6); opacity: 0.48; }
  45% { transform: scaleY(1.15); opacity: 0.95; }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 1rem 1rem 0;
  }

  .music-toggle {
    right: 0.8rem;
    bottom: 5rem;
  }

  .nav-pill {
    position: fixed;
    left: 50%;
    bottom: 0.8rem;
    transform: translateX(-50%);
    gap: 0.3rem;
    width: min(calc(100vw - 1rem), 26rem);
    justify-content: space-between;
    padding: 0.52rem 0.75rem;
    background: rgba(13, 12, 10, 0.78);
  }

  .nav-pill a {
    min-width: auto;
    font-size: 0.72rem;
  }

  .about-chip {
    display: none;
  }

  .identity-card {
    display: none;
  }

  .hero-copy {
    padding-inline: 1rem;
  }

  .project-grid,
  .detail-scene,
  .studio,
  .modal-inner {
    grid-template-columns: 1fr;
  }

  .detail-copy {
    align-self: auto;
  }

  .studio-stats {
    grid-template-columns: 1fr;
  }

  .modal-inner {
    padding: 4.2rem 1rem 1rem;
  }

  .modal-media img {
    max-width: calc(100vw - 2rem);
    max-height: calc(100svh - 5.2rem);
  }

  .modal-info {
    align-self: auto;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 0.88rem;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 18vw, 5rem);
  }

  .hero-cn {
    font-size: 1.45rem;
  }

  .hero-note,
  .founder span:not(:first-child) {
    font-size: 0.58rem;
  }

  .section-shell,
  .detail-scene {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .project-card img {
    height: clamp(14rem, 66vw, 22rem);
  }

  .honor-item {
    grid-template-columns: 1fr;
    gap: 0.34rem;
  }
}
