:root {
  --blue-50: #f5fbff;
  --blue-100: #dff4ff;
  --blue-200: #bce7fb;
  --blue-300: #8fd2ef;
  --blue-500: #4aa9cf;
  --pink-100: #ffe8f3;
  --pink-200: #ffc2dd;
  --pink-400: #ff7eb4;
  --ink: #243547;
  --ink-soft: #5a6b7d;
  --paper: #fffdfa;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(66, 142, 178, 0.22);
  --line: rgba(36, 53, 71, 0.12);
  --display: "Montserrat", "DIN Alternate", "Noto Sans SC", sans-serif;
  --body: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 194, 221, 0.72), transparent 25rem),
    radial-gradient(circle at 88% 4%, rgba(188, 231, 251, 0.9), transparent 26rem),
    linear-gradient(135deg, #f8fdff 0%, #e8f7ff 45%, #fff3f8 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(74, 169, 207, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 169, 207, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 72%);
}

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

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

.loading {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--blue-100);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.loading.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loading__egg {
  display: grid;
  width: 150px;
  height: 188px;
  place-items: center;
  border: 4px solid var(--ink);
  border-radius: 52% 52% 46% 46% / 60% 60% 42% 42%;
  color: var(--ink);
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(145deg, var(--white), var(--pink-100));
  box-shadow: 14px 14px 0 var(--pink-200);
  animation: hatch 1.4s ease-in-out infinite;
}

.loading p {
  position: absolute;
  margin-top: 270px;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: 0.28em;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  display: flex;
  width: min(1120px, calc(100% - 28px));
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 12px 18px;
  border: 2px solid rgba(36, 53, 71, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 40px rgba(66, 142, 178, 0.18);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 16px 16px 20px 20px;
  background: var(--pink-200);
  box-shadow: 4px 4px 0 var(--blue-300);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.05rem;
}

.brand small {
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 11px 14px;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.site-nav a:hover {
  background: var(--blue-100);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.section-panel {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 128px 0 72px;
}

.hero::before {
  position: absolute;
  top: 14%;
  right: -18%;
  z-index: -1;
  width: 64vw;
  height: 64vw;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(255, 194, 221, 0.8), transparent 64%);
  animation: floaty 8s ease-in-out infinite;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue-500);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-family: var(--display);
  font-size: clamp(4.6rem, 11vw, 9.4rem);
  line-height: 0.86;
  letter-spacing: -0.08em;
}

h1 span,
h1 em {
  display: block;
  font-style: normal;
}

h1 em {
  color: var(--pink-400);
  text-shadow: 5px 5px 0 var(--blue-200), -2px -2px 0 var(--white);
}

.hero__lead {
  max-width: 560px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.9;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 7px 7px 0 rgba(36, 53, 71, 0.16);
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  box-shadow: 3px 3px 0 rgba(36, 53, 71, 0.16);
  transform: translate(4px, 4px);
}

.button--primary {
  background: var(--pink-200);
}

.button--ghost {
  background: var(--white);
}

.hero__visual {
  position: relative;
}

.poster-card {
  overflow: hidden;
  padding: 10px;
  border: 3px solid var(--ink);
  border-radius: 42px;
  background: var(--white);
  box-shadow: 18px 18px 0 var(--blue-200), var(--shadow);
  transform: rotate(1.4deg);
}

.poster-card img {
  width: 100%;
  border-radius: 30px;
}

.hero__chip {
  position: absolute;
  display: grid;
  gap: 4px;
  padding: 14px 18px;
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 8px 8px 0 rgba(255, 126, 180, 0.28);
  backdrop-filter: blur(12px);
}

.hero__chip span {
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.hero__chip strong {
  font-family: var(--display);
  font-size: 1.2rem;
}

.hero__chip--date {
  top: -22px;
  left: -18px;
}

.hero__chip--platform {
  right: -8px;
  bottom: 22px;
}

.info-strip {
  display: grid;
  width: min(980px, calc(100% - 32px));
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 auto 76px;
}

.info-strip article {
  display: grid;
  align-content: center;
  min-height: 92px;
  padding: 18px 22px;
  border: 2px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 232, 243, 0.62), rgba(245, 251, 255, 0.86)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 40px rgba(66, 142, 178, 0.1);
}

.info-strip span {
  display: block;
  margin-bottom: 12px;
  color: var(--blue-500);
  font-size: 0.86rem;
  font-weight: 900;
}

.info-strip strong {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  line-height: 1.45;
}

.steam-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

.concept,
.system,
.story,
.character,
.gallery,
.product {
  padding: 84px 0;
}

.character.section-panel {
  width: min(1280px, calc(100% - clamp(48px, 6vw, 96px)));
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-heading h2,
.story__copy h2,
.product__card h2,
.studio-footer h2 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 5vw, 5.6rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.concept__grid {
  position: relative;
  display: grid;
  min-height: 470px;
  grid-template-columns: 1fr;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 34px;
  background: url("assets/concept-study-bg.png") 63% 18% / cover;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.concept__grid::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: transparent;
}

.concept__heading {
  max-width: 790px;
  margin-bottom: 38px;
}

.concept__heading h2 {
  font-size: clamp(2.2rem, 4.1vw, 4.35rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.concept__mark {
  display: inline-block;
  padding: 0;
  font-weight: 950;
  line-height: 0.95;
}

.concept__mark--start {
  background: transparent;
}

.concept__mark--exam {
  background: transparent;
}

.concept__days {
  color: inherit;
  text-shadow: none;
}

.product__card,
.studio-footer {
  border: 2px solid rgba(36, 53, 71, 0.13);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.timeline-card {
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: grid;
  align-content: end;
  min-height: 470px;
  padding: clamp(34px, 5vw, 56px);
  color: var(--white);
  max-width: 780px;
}

.timeline-card > * {
  position: relative;
  z-index: 1;
}

.timeline-card::after {
  position: absolute;
  left: clamp(34px, 5vw, 56px);
  bottom: clamp(26px, 4vw, 44px);
  width: min(72%, 520px);
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.62), transparent);
  content: "";
}

.timeline-card__label {
  margin-bottom: 12px;
  font-size: clamp(2.8rem, 5.6vw, 5.1rem);
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.timeline-card__count {
  display: flex;
  align-items: baseline;
  gap: 18px;
}

.timeline-card__number {
  color: var(--blue-300);
  font-family: var(--display);
  font-size: clamp(5.4rem, 10vw, 9.8rem);
  font-weight: 900;
  line-height: 0.86;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.timeline-card__unit {
  color: var(--blue-300);
  font-size: clamp(2rem, 4.2vw, 4.2rem);
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.timeline-card p {
  margin: 14px 0 10px;
  font-size: clamp(1.18rem, 2vw, 1.58rem);
  font-weight: 900;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.56);
}

.timeline-card > span {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.55vw, 1.22rem);
  font-weight: 800;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
}

.concept__hover-copy {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  align-content: center;
  justify-items: end;
  padding: clamp(34px, 5vw, 72px);
  background: rgba(255, 253, 250, 0.78);
  color: #405569;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  font-weight: 750;
  line-height: 1.95;
  opacity: 0;
  pointer-events: none;
  transform: translateX(22px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.concept__hover-copy p {
  max-width: 560px;
  width: min(52%, 560px);
  margin-bottom: 22px;
}

.concept__hover-copy p:last-child {
  margin-bottom: 0;
}

.concept__grid:hover .concept__hover-copy,
.concept__grid:focus-within .concept__hover-copy {
  opacity: 1;
  transform: translateX(0);
}

.system__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 34px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.feature-card--large {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}

.feature-card img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  background: linear-gradient(135deg, var(--blue-50), var(--pink-100));
}

.feature-card--large img {
  align-self: center;
}

.feature-card div {
  position: relative;
  padding: clamp(24px, 4vw, 44px);
}

.tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--pink-100);
  color: var(--pink-400);
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2.8vw, 2.4rem);
  line-height: 1.08;
}

.feature-card p,
.story__copy p,
.studio-footer p {
  color: var(--ink-soft);
  line-height: 1.9;
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  grid-template-areas:
    "title title"
    "visual copy";
  column-gap: clamp(34px, 5vw, 64px);
  row-gap: clamp(30px, 4vw, 48px);
  align-items: center;
}

.story__heading {
  grid-area: title;
  max-width: none;
  margin-bottom: 0;
}

.story__copy .eyebrow {
  margin-bottom: 22px;
  color: #5f7082;
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  letter-spacing: 0.22em;
}

.story__copy .story__lead {
  max-width: 680px;
  margin-bottom: 0;
  color: #233246;
  font-size: clamp(1.28rem, 1.85vw, 1.68rem);
  font-weight: 800;
  line-height: 1.85;
}

.story__lead-emphasis {
  display: inline-block;
  font-size: 1.16em;
  font-weight: 950;
  line-height: 1;
}

.story__lead-emphasis--novel {
  position: relative;
  padding: 0.04em 0.22em 0.1em;
  border: 2px solid rgba(255, 126, 180, 0.36);
  border-radius: 0.2em;
  background: linear-gradient(180deg, rgba(255, 194, 221, 0.78), rgba(255, 126, 180, 0.34));
  box-shadow: 0 0.16em 0 rgba(255, 126, 180, 0.22);
}

.story__visual {
  grid-area: visual;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 42px;
  box-shadow: -14px 14px 0 var(--pink-200), var(--shadow);
  transform: rotate(-1.5deg);
}

.story__copy {
  grid-area: copy;
  align-self: center;
}

.story-slider {
  position: relative;
  min-height: clamp(320px, 37vw, 560px);
  background: linear-gradient(135deg, var(--blue-50), var(--pink-100));
}

.story-slider__track {
  position: absolute;
  inset: 0;
}

.story-slider__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  transition: opacity 0.55s ease, transform 4.2s ease;
  transform: scale(1.03);
}

.story-slider__image.is-active {
  opacity: 1;
  transform: scale(1);
}

.story-slider__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid rgba(36, 53, 71, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  cursor: pointer;
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1;
  backdrop-filter: blur(12px);
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.story-slider__nav:hover {
  background: var(--pink-100);
  transform: translateY(-50%) scale(1.05);
}

.story-slider__nav--prev {
  left: 18px;
}

.story-slider__nav--next {
  right: 18px;
}

.story-slider__dots {
  position: absolute;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
}

.story-slider__dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(36, 53, 71, 0.28);
  cursor: pointer;
}

.story-slider__dots button.is-active {
  width: 24px;
  border-radius: 999px;
  background: var(--pink-400);
}

.story__copy .quote-box {
  position: relative;
  margin-top: clamp(28px, 4vw, 42px);
  padding: clamp(30px, 4vw, 42px) clamp(32px, 4.6vw, 54px);
  border: 2px solid rgba(74, 169, 207, 0.18);
  border-left: 8px solid rgba(255, 126, 180, 0.62);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(232, 247, 255, 0.72)),
    linear-gradient(90deg, rgba(255, 126, 180, 0.08), transparent 42%);
  box-shadow: 0 22px 64px rgba(74, 169, 207, 0.18);
  backdrop-filter: blur(16px);
}

.quote-box p {
  margin: 0;
  color: #5f7082;
  font-size: clamp(1.14rem, 1.45vw, 1.42rem);
  font-weight: 600;
  line-height: 1.72;
}

.quote-box p + p {
  margin-top: 14px;
}

.quote-word {
  display: inline-block;
  padding: 0.02em 0.16em 0.08em;
  border-radius: 0.18em;
  color: var(--ink);
  font-size: 1.22em;
  font-weight: 900;
  line-height: 1;
}

.quote-word--phoenix {
  background: rgba(243, 191, 61, 0.48);
}

.quote-word--monster {
  background: rgba(238, 78, 78, 0.38);
}

.character {
  --character-accent: var(--pink-400);
  --character-accent-strong: #ff4f96;
  --character-ink: var(--ink);
  --character-paper: rgba(255, 255, 255, 0.86);
}

.character-profile {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 2.4vw, 34px);
  border: 2px solid rgba(36, 53, 71, 0.13);
  border-radius: 34px;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 194, 221, 0.62), transparent 26rem),
    radial-gradient(circle at 86% 4%, rgba(188, 231, 251, 0.84), transparent 28rem),
    linear-gradient(rgba(74, 169, 207, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 169, 207, 0.055) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(235, 248, 255, 0.9) 54%, rgba(255, 241, 247, 0.82));
  background-size: auto, auto, 34px 34px, 34px 34px, auto;
  box-shadow: var(--shadow);
}

.character__masthead {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 8px;
  margin-bottom: clamp(22px, 2.4vw, 34px);
}

.character__masthead .eyebrow {
  margin: 0;
  color: var(--blue-500);
  font-size: clamp(4rem, 10vw, 9.4rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 0.82;
  text-shadow: 5px 5px 0 rgba(188, 231, 251, 0.86), -2px -2px 0 rgba(255, 255, 255, 0.9);
}

.character__masthead p:last-child {
  max-width: 960px;
  margin: 0;
  color: var(--character-ink);
  font-size: clamp(1.5rem, 3vw, 3.35rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-shadow: 4px 4px 0 rgba(188, 231, 251, 0.62), -1px -1px 0 rgba(255, 255, 255, 0.9);
}

.character-profile__main {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: clamp(24px, 3.4vw, 46px);
  align-items: stretch;
}

.character-stage {
  display: grid;
  grid-template-areas:
    "frame frame frame frame"
    "primary middle high future";
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.character-stage__frame {
  position: relative;
  grid-area: frame;
  min-height: clamp(560px, 49vw, 760px);
  overflow: hidden;
  border: 3px solid rgba(36, 53, 71, 0.78);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 66%, rgba(255, 194, 221, 0.42), transparent 30%),
    linear-gradient(rgba(74, 169, 207, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 169, 207, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(223, 244, 255, 0.78)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 232, 243, 0.82));
  background-size: 100% 100%, 42px 42px, 42px 42px, auto, auto;
  box-shadow: 12px 12px 0 rgba(188, 231, 251, 0.74), 0 20px 60px rgba(66, 142, 178, 0.16);
}

.character-stage__frame::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(135deg, transparent 0 42%, rgba(255, 255, 255, 0.34) 42% 46%, transparent 46%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.18));
}

.character-stage__frame::after {
  position: absolute;
  right: 22px;
  bottom: 22px;
  color: rgba(36, 53, 71, 0.08);
  content: "XIAOYU";
  font-family: var(--display);
  font-size: clamp(4.4rem, 10vw, 9.5rem);
  font-weight: 900;
  line-height: 0.8;
}

.character-stage__figure {
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 2;
  width: auto;
  max-width: none;
  height: 94%;
  object-fit: contain;
  object-position: center bottom;
  opacity: 0;
  filter: drop-shadow(0 24px 18px rgba(36, 53, 71, 0.2));
  transform: translateX(-50%) scale(0.98);
  transform-origin: center bottom;
  transition: opacity 0.22s ease, transform 0.36s ease;
}

.character-stage__figure--primary {
  height: 86%;
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.character-stage__figure--middle {
  height: 90%;
}

.character-stage__figure--high {
  height: 96%;
}

.character-stage__figure--future {
  height: 98%;
  filter: drop-shadow(0 24px 18px rgba(36, 53, 71, 0.24));
}

.character-stage__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: clamp(44px, 5vw, 64px);
  aspect-ratio: 1;
  place-items: center;
  padding: 0;
  border: 3px solid rgba(255, 79, 150, 0.78);
  border-radius: 999px;
  color: var(--character-accent-strong);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 12px 26px rgba(255, 126, 180, 0.2);
  cursor: pointer;
  font-size: clamp(2.2rem, 3.2vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.character-stage__nav:hover,
.character-stage__nav:focus-visible {
  background: rgba(255, 232, 243, 0.92);
  box-shadow: 0 8px 18px rgba(255, 126, 180, 0.28);
  outline: 0;
  transform: translateY(-50%) scale(1.06);
}

.character-stage__nav:active {
  transform: translateY(-50%) scale(0.96);
}

.character-stage__nav--prev {
  left: 24px;
}

.character-stage__nav--next {
  right: 24px;
}

.character-thumb {
  position: relative;
  min-width: 0;
  height: clamp(132px, 11vw, 178px);
  overflow: hidden;
  padding: 0;
  border: 2px solid rgba(36, 53, 71, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(rgba(74, 169, 207, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 169, 207, 0.07) 1px, transparent 1px),
    rgba(255, 255, 255, 0.82);
  background-size: 24px 24px, 24px 24px, auto;
  box-shadow: 0 14px 34px rgba(66, 142, 178, 0.12);
  cursor: pointer;
  outline: 0;
}

.character-thumb--primary {
  grid-area: primary;
}

.character-thumb--middle {
  grid-area: middle;
}

.character-thumb--high {
  grid-area: high;
}

.character-thumb--future {
  grid-area: future;
}

.character-thumb::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background: rgba(255, 126, 180, 0);
  transition: background 0.2s ease;
}

.character-thumb::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0 solid var(--character-accent-strong);
  content: "";
  transition: border-width 0.2s ease;
}

.character-thumb img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.92;
  transform: translateY(2%);
  transition: opacity 0.2s ease, transform 0.3s ease;
}

.character-thumb--primary img {
  width: 150%;
  max-width: none;
  height: 160%;
  object-position: center top;
  transform: translate(-16%, -5%);
}

.character-thumb--middle img {
  width: 150%;
  max-width: none;
  height: 162%;
  object-position: center top;
  transform: translate(-15%, -5%);
}

.character-thumb--future img {
  height: 172%;
  object-position: center 0;
}

.character-thumb--high img {
  width: 205%;
  max-width: none;
  height: 218%;
  object-position: center top;
  transform: translate(-18%, -9%);
}

.character-thumb span {
  position: absolute;
  right: 10px;
  bottom: 8px;
  z-index: 4;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--character-ink);
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(66, 142, 178, 0.14);
  text-shadow: none;
}

.character-thumb[aria-pressed="true"]::before,
.character-thumb:hover::before,
.character-thumb:focus-visible::before {
  background: rgba(255, 126, 180, 0.34);
}

.character-thumb[aria-pressed="true"]::after,
.character-thumb:hover::after,
.character-thumb:focus-visible::after {
  border-width: 4px;
}

.character-thumb:hover img,
.character-thumb:focus-visible img {
  opacity: 1;
  transform: translateY(0) scale(1.04);
}

.character-thumb--primary:hover img,
.character-thumb--primary:focus-visible img {
  transform: translate(-16%, -5%) scale(1.04);
}

.character-thumb--middle:hover img,
.character-thumb--middle:focus-visible img {
  transform: translate(-15%, -5%) scale(1.04);
}

.character-thumb--high:hover img,
.character-thumb--high:focus-visible img {
  transform: translate(-18%, -9%) scale(1.04);
}

.character-file {
  position: relative;
  min-height: 100%;
  padding: clamp(32px, 4vw, 56px);
  border: 2px solid rgba(36, 53, 71, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  color: var(--character-ink);
}

.character-file::after {
  position: absolute;
  right: 0;
  bottom: clamp(28px, 5vw, 64px);
  color: transparent;
  content: "XIAOYU";
  font-family: var(--display);
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 900;
  line-height: 0.82;
  -webkit-text-stroke: 2px rgba(74, 169, 207, 0.2);
}

.character-file__panel {
  position: absolute;
  inset: clamp(32px, 4vw, 56px);
  z-index: 1;
  display: flex;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.22s ease, transform 0.28s ease;
}

.character-file__panel--primary {
  opacity: 1;
  transform: translateY(0);
}

.character-file__label {
  margin: 0 0 8px;
  color: var(--character-accent-strong);
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.character-file__panel h3 {
  margin: 0;
  color: var(--character-ink);
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  font-weight: 900;
  line-height: 1;
}

.character-file__name {
  margin: 10px 0 30px;
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.character-file dl {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}

.character-file dl div {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  border: 2px solid rgba(36, 53, 71, 0.1);
  background: var(--character-paper);
  color: var(--character-ink);
  font-weight: 900;
}

.character-file dt,
.character-file dd {
  margin: 0;
  padding: 8px 10px;
}

.character-file dt {
  color: var(--character-accent-strong);
  font-size: 0.82rem;
}

.character-file dd {
  font-size: 0.94rem;
}

.character-file__panel > p:not(.character-file__label, .character-file__name) {
  max-width: 560px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.32vw, 1.18rem);
  font-weight: 800;
  line-height: 1.85;
}

.character-file__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.character-file__tags span {
  padding: 8px 10px;
  border: 2px solid rgba(36, 53, 71, 0.08);
  background: linear-gradient(135deg, rgba(223, 244, 255, 0.92), rgba(255, 232, 243, 0.86));
  color: var(--character-ink);
  font-size: 0.88rem;
  font-weight: 900;
}

.character-profile[data-stage] .character-stage__figure {
  opacity: 0;
  transform: translateX(-50%) scale(0.98);
}

.character-profile[data-stage="primary"] .character-stage__figure--primary,
.character-profile[data-stage="middle"] .character-stage__figure--middle,
.character-profile[data-stage="high"] .character-stage__figure--high,
.character-profile[data-stage="future"] .character-stage__figure--future {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.character-profile[data-stage] .character-file__panel {
  opacity: 0;
  transform: translateY(12px);
}

.character-profile[data-stage="primary"] .character-file__panel--primary,
.character-profile[data-stage="middle"] .character-file__panel--middle,
.character-profile[data-stage="high"] .character-file__panel--high,
.character-profile[data-stage="future"] .character-file__panel--future {
  opacity: 1;
  transform: translateY(0);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.gallery__grid figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin: 0;
  border: 2px solid var(--line);
  border-radius: 34px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.gallery__grid figure:first-child {
  grid-column: span 1;
  grid-row: span 1;
}

.gallery__grid figure:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: min(760px, 100%);
  justify-self: center;
}

.gallery__grid img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--blue-50), var(--pink-100));
  transition: transform 0.6s ease;
}

.gallery__grid figure:hover img {
  transform: scale(1.05);
}

.roadmap-cta {
  padding: 34px 0 84px;
}

.roadmap-cta__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border: 2px solid rgba(36, 53, 71, 0.13);
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 194, 221, 0.68), transparent 18rem),
    radial-gradient(circle at 88% 6%, rgba(188, 231, 251, 0.82), transparent 20rem),
    rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.roadmap-cta__copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.roadmap-cta__button {
  display: grid;
  min-width: min(360px, 100%);
  min-height: 118px;
  align-content: center;
  justify-items: center;
  padding: 18px 32px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink-200), var(--blue-100));
  box-shadow: 12px 12px 0 rgba(36, 53, 71, 0.16);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.roadmap-cta__button:hover {
  box-shadow: 5px 5px 0 rgba(36, 53, 71, 0.16);
  transform: translate(7px, 7px);
}

.roadmap-cta__button span {
  color: var(--ink-soft);
  font-weight: 900;
}

.roadmap-cta__button strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.product__card {
  padding: clamp(30px, 5vw, 58px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(223, 244, 255, 0.74)),
    var(--white);
}

.product dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 0;
}

.product dl div {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.product dt {
  margin-bottom: 8px;
  color: var(--blue-500);
  font-weight: 900;
}

.product dd {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.studio-footer {
  display: grid;
  width: min(1180px, calc(100% - 32px));
  grid-template-columns: 0.7fr 1.3fr;
  gap: 34px;
  align-items: center;
  margin: 24px auto 36px;
  padding: clamp(24px, 5vw, 56px);
  background:
    radial-gradient(circle at 16% 16%, rgba(255, 194, 221, 0.76), transparent 18rem),
    rgba(255, 255, 255, 0.72);
}

.studio-footer__logo {
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 34px;
  background: var(--white);
}

.studio-footer__logo img {
  width: 100%;
}

.studio-footer h2 {
  margin-bottom: 24px;
  font-size: clamp(2.15rem, 4.4vw, 4.95rem);
  letter-spacing: 0;
}

.studio-footer h2 span {
  display: block;
  color: var(--blue-500);
  font-family: var(--display);
  font-size: clamp(1.55rem, 3.4vw, 3.25rem);
  letter-spacing: 0;
}

.studio-footer__description {
  display: grid;
  max-width: 720px;
  gap: 20px;
}

.studio-footer__description p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.8;
}

.studio-footer__description .studio-footer__intro {
  color: var(--ink);
  font-weight: 800;
}

.studio-footer__email {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  margin-top: 28px;
  padding: 12px 16px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--blue-500);
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
  transition: transform 0.2s ease, background 0.2s ease;
}

.studio-footer__email:hover {
  background: var(--pink-100);
  transform: translateY(-2px);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes hatch {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-12px) rotate(2deg);
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-30px, 24px, 0);
  }
}

@media (max-width: 1080px) {
  .character.section-panel {
    width: min(1180px, calc(100% - 32px));
  }

  .character-profile__main {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
    gap: 26px;
  }

  .character-stage__frame {
    min-height: 580px;
  }

  .character-file {
    padding: 34px;
  }
}

@media (max-width: 860px) {
  .site-header {
    top: 10px;
    border-radius: 28px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: grid;
    width: min(280px, calc(100vw - 28px));
    padding: 14px;
    border: 2px solid var(--line);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero,
  .concept__grid,
  .feature-card--large,
  .story,
  .studio-footer {
    grid-template-columns: 1fr;
  }

  .studio-footer {
    gap: 28px;
  }

  .studio-footer h2 {
    font-size: clamp(2.1rem, 9vw, 4rem);
  }

  .studio-footer h2 span {
    font-size: clamp(1.35rem, 6.8vw, 2.8rem);
  }

  .studio-footer__description {
    max-width: none;
    gap: 16px;
  }

  .studio-footer__email {
    margin-top: 24px;
  }

  .hero {
    padding-top: 112px;
  }

  .concept__heading {
    margin-bottom: 24px;
  }

  .concept__heading h2 {
    font-size: clamp(2rem, 9vw, 3.1rem);
  }

  .concept__grid {
    min-height: auto;
    background-position: 58% 14%;
  }

  .concept__grid::before {
    background: transparent;
  }

  .timeline-card {
    min-height: 320px;
  }

  .story {
    grid-template-areas:
      "title"
      "visual"
      "copy";
    row-gap: 28px;
  }

  .story__copy .story__lead {
    font-size: clamp(1.1rem, 4.8vw, 1.36rem);
    line-height: 1.8;
  }

  .character-profile {
    padding: 18px;
    border-width: 2px;
    border-radius: 28px;
  }

  .character-profile__main {
    grid-template-columns: 1fr;
  }

  .character-stage__frame {
    min-height: min(800px, 120vw);
  }

  .character-file {
    min-height: 520px;
  }

  .info-strip,
  .system__grid,
  .gallery__grid,
  .roadmap-cta__card,
  .product dl {
    grid-template-columns: 1fr;
  }

  .feature-card--large {
    grid-column: span 1;
  }

  .gallery__grid figure:first-child {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery__grid figure:last-child:nth-child(odd) {
    grid-column: span 1;
    width: 100%;
  }

  .hero__chip {
    position: static;
    display: inline-grid;
    margin-top: 14px;
    margin-right: 8px;
  }

  .poster-card,
  .story__visual {
    transform: none;
  }

  .roadmap-cta__button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .studio-footer {
    width: min(100% - 18px, 1180px);
    padding: 20px;
  }

  .studio-footer h2 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 12vw, 3.25rem);
  }

  .studio-footer h2 span {
    font-size: clamp(1.25rem, 8vw, 2.1rem);
  }

  .studio-footer__description {
    gap: 14px;
  }

  .studio-footer__description p {
    font-size: 1rem;
    line-height: 1.75;
  }

  .studio-footer__email {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .character.section-panel {
    width: min(100% - 18px, 1180px);
  }

  .character__masthead .eyebrow {
    font-size: clamp(3rem, 17vw, 4.8rem);
  }

  .character__masthead p:last-child {
    font-size: clamp(1.4rem, 7vw, 2.2rem);
    line-height: 1.08;
  }

  .character-stage {
    grid-template-areas:
      "frame frame"
      "primary middle"
      "high future";
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .character-stage__frame {
    min-height: 620px;
    border-width: 2px;
    border-radius: 22px;
  }

  .character-stage__nav {
    width: 40px;
    font-size: 2.1rem;
    border-width: 2px;
  }

  .character-stage__nav--prev {
    left: 12px;
  }

  .character-stage__nav--next {
    right: 12px;
  }

  .character-thumb {
    height: 152px;
  }

  .character-file {
    min-height: 620px;
    padding: 22px;
  }

  .character-file__panel {
    inset: 22px;
  }

  .character-file dl {
    display: grid;
  }

  .character-file dl div {
    grid-template-columns: 74px 1fr;
  }

  .character-file::after {
    bottom: 22px;
    font-size: 4.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
