/* ==========================================================
   Lin汵汵 · home page
   A moonlit wardrobe stage + four quick entrances
   ========================================================== */

.home-page {
  --page-pad: clamp(24px, 4.2vw, 68px);
  min-height: 100svh;
  overflow-x: hidden;
  color: #fff8f4;
  background: #150e1a;
}

.home-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 30%, rgba(255, 128, 171, 0.2), transparent 35%),
    radial-gradient(circle at 84% 60%, rgba(158, 128, 255, 0.14), transparent 44%),
    radial-gradient(circle at 9% 76%, rgba(255, 154, 166, 0.08), transparent 36%),
    linear-gradient(128deg, #1c101d 0%, #22132a 42%, #150d1b 100%);
}

.home-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 60% 40%, black, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, black, transparent 72%);
}

.home-bg::after {
  content: "";
  position: absolute;
  left: -15%;
  bottom: -45%;
  width: 80vw;
  height: 80vw;
  max-width: 1180px;
  max-height: 1180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 108, 163, 0.07), transparent 63%);
  filter: blur(30px);
}

.home-bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.home-bg__orb--one {
  top: 12%;
  left: 5%;
  width: 5px;
  height: 5px;
  background: #ffd3e0;
  box-shadow: 0 0 18px 4px rgba(255, 175, 203, 0.42);
}

.home-bg__orb--two {
  top: 68%;
  left: 43%;
  width: 3px;
  height: 3px;
  background: #fff5e7;
  box-shadow: 0 0 14px 3px rgba(255, 243, 228, 0.3);
}

.home-bg__orb--three {
  top: 24%;
  right: 8%;
  width: 4px;
  height: 4px;
  background: #c3b3ff;
  box-shadow: 0 0 20px 5px rgba(174, 147, 255, 0.32);
}

.home-bg__petal {
  position: absolute;
  width: 13px;
  height: 7px;
  border-radius: 100% 0 100% 0;
  background: rgba(255, 181, 202, 0.23);
  filter: blur(0.2px);
  transform: rotate(35deg);
  animation: petalFloat 16s linear infinite;
}

.home-bg__petal:nth-child(5) {
  top: 22%;
  right: 23%;
  animation-delay: -4s;
}

.home-bg__petal:nth-child(6) {
  top: 64%;
  left: 7%;
  opacity: 0.6;
  animation-delay: -11s;
}

.home-bg__petal:nth-child(7) {
  top: 78%;
  right: 34%;
  width: 8px;
  height: 5px;
  opacity: 0.5;
  animation-delay: -7s;
}

@keyframes petalFloat {
  0% { transform: translate3d(0, -16px, 0) rotate(20deg); }
  50% { transform: translate3d(15px, 30px, 0) rotate(90deg); }
  100% { transform: translate3d(-9px, 78px, 0) rotate(160deg); }
}

/* ---------------- Page frame ---------------- */

.home-page .site-header {
  animation: headerIn 0.8s var(--ease-out) 0.05s both;
}

.home-page .site-footer {
  width: min(1440px, calc(100% - var(--page-pad) * 2));
  margin-top: 4px;
}

@keyframes headerIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.home-hero {
  position: relative;
  width: min(1540px, 100%);
  min-height: calc(100svh - 90px);
  margin: 0 auto;
  padding: clamp(28px, 4.2vh, 58px) var(--page-pad) 22px;
  display: grid;
  grid-template-columns: minmax(450px, 0.92fr) minmax(500px, 1.08fr);
  align-items: center;
  gap: clamp(24px, 4vw, 76px);
}

/* Decorative vertical copy & huge ghost word */
.home-hero::before {
  content: "NYA";
  position: absolute;
  left: -0.4vw;
  bottom: 8%;
  z-index: -1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.055);
  font-family: var(--font-en);
  font-size: clamp(130px, 19vw, 330px);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.75;
  pointer-events: none;
  user-select: none;
}

.home-hero::after {
  content: "";
  position: absolute;
  top: 17%;
  right: 0;
  width: 1px;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 630px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: clamp(18px, 2.8vh, 32px);
  animation: copyIn 0.8s var(--ease-out) 0.18s both;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(255, 187, 208, 0.25);
  border-radius: 999px;
  color: #ffd2df;
  background: rgba(255, 139, 176, 0.07);
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.17em;
  white-space: nowrap;
}

.eyebrow-pill__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff98bb;
  box-shadow: 0 0 10px 2px rgba(255, 152, 187, 0.55);
}

.eyebrow-line {
  width: clamp(24px, 4vw, 60px);
  height: 1px;
  background: rgba(255, 219, 229, 0.25);
}

.eyebrow-note {
  color: rgba(255, 240, 245, 0.48);
  font-size: 10px;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.hero-title-wrap {
  position: relative;
  width: fit-content;
  animation: copyIn 0.9s var(--ease-out) 0.26s both;
}

.hero-title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  color: #fffaf7;
  font-size: clamp(65px, 7.7vw, 118px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.92;
  text-shadow: 0 18px 65px rgba(255, 121, 166, 0.15);
}

.hero-title__latin {
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: -0.055em;
}

.hero-title__cn {
  margin-left: 0.16em;
  letter-spacing: -0.08em;
  background: linear-gradient(118deg, #fff9f2 10%, #ffd3e2 46%, #ffa8c5 78%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 30px rgba(255, 127, 167, 0.2));
}

.hero-handle {
  position: absolute;
  top: 4%;
  right: -36px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(255, 178, 202, 0.4);
  border-radius: 50%;
  color: #ffb2ca;
  font-family: var(--font-serif);
  font-size: 15px;
  transform: rotate(8deg);
  animation: handleFloat 4.5s ease-in-out infinite;
}

.hero-star {
  position: absolute;
  top: -18px;
  right: 43%;
  width: 27px;
  height: 27px;
  color: #ffb5cc;
  opacity: 0.8;
  animation: starTwinkle 3.8s ease-in-out infinite;
}

@keyframes handleFloat {
  0%, 100% { transform: translateY(0) rotate(8deg); }
  50% { transform: translateY(-5px) rotate(13deg); }
}

@keyframes starTwinkle {
  0%, 100% { opacity: 0.45; transform: scale(0.85) rotate(0); }
  50% { opacity: 0.95; transform: scale(1) rotate(12deg); }
}

.hero-roman {
  margin-top: 15px;
  color: rgba(255, 238, 244, 0.43);
  font-family: var(--font-en);
  font-size: clamp(9px, 0.8vw, 11px);
  letter-spacing: 0.26em;
  white-space: nowrap;
  animation: copyIn 0.8s var(--ease-out) 0.34s both;
}

.hero-tagline {
  margin-top: clamp(15px, 2.6vh, 27px);
  color: #ffd4e0;
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.65vw, 25px);
  font-weight: 500;
  letter-spacing: 0.035em;
  line-height: 1.55;
  animation: copyIn 0.8s var(--ease-out) 0.4s both;
}

.hero-tagline em {
  color: #fff8f4;
  font-style: normal;
}

.hero-intro {
  max-width: 530px;
  margin-top: 11px;
  color: rgba(255, 243, 247, 0.58);
  font-size: clamp(12px, 0.9vw, 14px);
  line-height: 1.95;
  letter-spacing: 0.025em;
  animation: copyIn 0.8s var(--ease-out) 0.46s both;
}

.hero-intro strong {
  color: rgba(255, 243, 247, 0.82);
  font-weight: 550;
}

.hero-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 17px;
  animation: copyIn 0.8s var(--ease-out) 0.52s both;
}

.hero-trait {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  color: rgba(255, 241, 245, 0.56);
  background: rgba(255, 255, 255, 0.025);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.hero-trait::before {
  content: "✦";
  color: #ffa8c4;
  font-size: 7px;
}

/* ---------------- Four entrances ---------------- */

.feature-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: clamp(20px, 3.3vh, 34px);
  animation: copyIn 0.9s var(--ease-out) 0.6s both;
}

.feature-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 28px 31px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 9px;
  min-height: 76px;
  padding: 13px 14px 13px 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.095);
  border-radius: 15px;
  color: #fff8f4;
  background: linear-gradient(128deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  transition: transform 0.32s var(--ease-out), border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: linear-gradient(120deg, rgba(255, 135, 173, 0.17), transparent 70%);
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 159, 189, 0.28);
  background: linear-gradient(128deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card--live {
  grid-column: 1 / -1;
  border-color: rgba(255, 165, 194, 0.34);
  color: #3a1725;
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 255, 255, 0.6), transparent 28%),
    linear-gradient(128deg, #ffd9e4 0%, #ffb3cb 53%, #ff97b9 100%);
  box-shadow: 0 18px 36px -26px rgba(255, 106, 151, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.feature-card--live::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -35%;
  width: 38%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: rotate(24deg);
  animation: cardShine 7.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes cardShine {
  0%, 55% { left: -45%; opacity: 0; }
  68% { opacity: 0.75; }
  82%, 100% { left: 125%; opacity: 0; }
}

.feature-card--live:hover {
  border-color: rgba(255, 210, 226, 0.9);
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 255, 255, 0.75), transparent 30%),
    linear-gradient(128deg, #ffdce7 0%, #ffbad0 53%, #ffa0c0 100%);
}

.feature-index {
  align-self: start;
  padding-top: 2px;
  color: currentColor;
  font-family: var(--font-en);
  font-size: 8px;
  letter-spacing: 0.08em;
  opacity: 0.34;
}

.feature-card--live .feature-index {
  opacity: 0.44;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  color: #ffc0d5;
  background: rgba(255, 132, 173, 0.06);
}

.feature-card--live .feature-icon {
  border-color: rgba(72, 17, 40, 0.1);
  color: #502032;
  background: rgba(255, 255, 255, 0.25);
}

.feature-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.feature-text strong {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.feature-card--live .feature-text strong {
  font-size: 14px;
  font-weight: 750;
}

.feature-text small {
  overflow: hidden;
  color: currentColor;
  font-family: var(--font-en);
  font-size: 7.5px;
  letter-spacing: 0.12em;
  opacity: 0.42;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feature-card--live .feature-text small {
  opacity: 0.55;
}

.feature-arrow {
  justify-self: end;
  width: 15px;
  height: 15px;
  opacity: 0.38;
  transition: transform 0.28s var(--ease-out), opacity 0.2s ease;
}

.feature-card:hover .feature-arrow {
  opacity: 0.85;
  transform: translate(2px, -2px);
}

.feature-card--live .feature-arrow {
  opacity: 0.62;
}

.hero-footnote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  color: rgba(255, 242, 247, 0.37);
  font-size: 10px;
  letter-spacing: 0.04em;
  animation: copyIn 0.8s var(--ease-out) 0.7s both;
}

.hero-footnote__line {
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.hero-footnote a {
  color: rgba(255, 220, 232, 0.62);
  transition: color 0.2s ease;
}

.hero-footnote a:hover {
  color: #ffd3e1;
}

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

/* ---------------- Art stage ---------------- */

.hero-art {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 780px;
  justify-self: end;
  animation: artIn 1.15s var(--ease-out) 0.2s both;
}

@keyframes artIn {
  from { opacity: 0; transform: translateY(20px) scale(0.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 4px 0 12px;
  color: rgba(255, 244, 248, 0.37);
  font-size: 9px;
  letter-spacing: 0.15em;
}

.stage-head__left {
  display: flex;
  align-items: center;
  gap: 9px;
}

.stage-head__left::before {
  content: "";
  width: 18px;
  height: 1px;
  background: rgba(255, 165, 194, 0.5);
}

.stage-head__right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.stage-head__rule {
  width: 44px;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.art-stage {
  position: relative;
  height: clamp(435px, 61vh, 650px);
  margin-top: 2px;
  isolation: isolate;
}

.stage-moon {
  position: absolute;
  top: 7%;
  left: 50%;
  width: min(76%, 470px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 249, 241, 0.24), transparent 28%),
    radial-gradient(circle at 55% 48%, rgba(255, 191, 211, 0.18), transparent 52%),
    radial-gradient(circle at 48% 52%, rgba(154, 129, 235, 0.13), transparent 70%);
  box-shadow:
    inset 0 0 60px rgba(255, 223, 234, 0.06),
    0 0 90px rgba(255, 139, 175, 0.1);
  border: 1px solid rgba(255, 228, 237, 0.11);
  z-index: -1;
}

.stage-moon::before {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(255, 220, 233, 0.07);
  border-radius: inherit;
}

.stage-orbit {
  position: absolute;
  top: 12%;
  left: 50%;
  width: min(84%, 535px);
  aspect-ratio: 1;
  border: 1px dashed rgba(255, 196, 216, 0.14);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: -1;
  animation: orbitSpin 90s linear infinite;
}

.stage-orbit::before,
.stage-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.stage-orbit::before {
  top: 11%;
  right: 3%;
  width: 5px;
  height: 5px;
  background: #ffc1d5;
  box-shadow: 0 0 14px 3px rgba(255, 183, 208, 0.4);
}

.stage-orbit::after {
  left: 4%;
  bottom: 19%;
  width: 3px;
  height: 3px;
  background: #e0d4ff;
  box-shadow: 0 0 12px 3px rgba(205, 182, 255, 0.35);
}

@keyframes orbitSpin {
  to { transform: translateX(-50%) rotate(360deg); }
}

.stage-floor {
  position: absolute;
  left: 50%;
  bottom: 1.5%;
  z-index: 0;
  width: 75%;
  height: 13%;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(255, 169, 195, 0.2), rgba(178, 133, 255, 0.05) 44%, transparent 70%);
  filter: blur(6px);
}

.stage-floor::after {
  content: "";
  position: absolute;
  left: 17%;
  right: 17%;
  top: 42%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 223, 233, 0.24), transparent);
}

.stage-spark {
  position: absolute;
  z-index: 1;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffdbe6;
  box-shadow: 0 0 14px 3px rgba(255, 208, 224, 0.3);
  animation: sparkPulse 5s ease-in-out infinite;
}

.stage-spark--one {
  top: 24%;
  left: 5%;
  animation-delay: -1.4s;
}

.stage-spark--two {
  top: 12%;
  right: 8%;
  width: 3px;
  height: 3px;
  animation-delay: -3.1s;
}

.stage-spark--three {
  top: 60%;
  right: 2%;
  width: 4px;
  height: 4px;
  background: #e0d2ff;
  animation-delay: -2.2s;
}

@keyframes sparkPulse {
  0%, 100% { opacity: 0.25; transform: scale(0.8); }
  50% { opacity: 0.9; transform: scale(1.2); }
}

.stage-label {
  position: absolute;
  top: 30%;
  right: -3px;
  z-index: 1;
  color: rgba(255, 237, 242, 0.28);
  font-family: var(--font-en);
  font-size: 8px;
  letter-spacing: 0.3em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.stage-ghost-index {
  position: absolute;
  right: 3%;
  bottom: 7%;
  z-index: 0;
  color: rgba(255, 255, 255, 0.04);
  font-family: var(--font-en);
  font-size: clamp(90px, 11vw, 160px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
  user-select: none;
}

.stage-loader {
  position: absolute;
  top: 44%;
  left: 50%;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 11px;
  transform: translate(-50%, -50%);
  color: rgba(255, 242, 247, 0.38);
  font-family: var(--font-en);
  font-size: 8px;
  letter-spacing: 0.18em;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.stage-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.art-slides {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.art-slide {
  --slide-accent: #ffd0df;
  position: absolute;
  left: 50%;
  bottom: 1%;
  width: 54%;
  height: 96%;
  margin: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transform-origin: 50% 100%;
  transform: translateX(-50%) scale(1);
  opacity: 1;
  cursor: pointer;
  transition:
    transform 0.86s var(--ease-out),
    opacity 0.72s ease,
    filter 0.72s ease;
  will-change: transform, opacity;
}

.art-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 25px 34px rgba(5, 2, 8, 0.4));
  -webkit-user-drag: none;
  user-select: none;
  transition: filter 0.65s ease;
}

.art-slide[data-offset="0"] {
  z-index: 5;
  transform: translateX(-50%) scale(1);
  opacity: 1;
}

.art-slide[data-offset="0"] img {
  animation: centerBreath 7s ease-in-out infinite;
}

@keyframes centerBreath {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.art-slide[data-offset="-1"],
.art-slide[data-offset="1"] {
  z-index: 2;
  opacity: 0.42;
  filter: saturate(0.08) brightness(2.55) contrast(0.5) blur(0.25px);
  pointer-events: auto;
}

.art-slide[data-offset="-1"] {
  transform: translateX(calc(-50% - 61%)) scale(0.69);
  transform-origin: 100% 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.45) 17%, #000 55%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.45) 17%, #000 55%, #000 100%);
}

.art-slide[data-offset="1"] {
  transform: translateX(calc(-50% + 61%)) scale(0.69);
  transform-origin: 0 100%;
  -webkit-mask-image: linear-gradient(270deg, transparent 0%, rgba(0, 0, 0, 0.45) 17%, #000 55%, #000 100%);
  mask-image: linear-gradient(270deg, transparent 0%, rgba(0, 0, 0, 0.45) 17%, #000 55%, #000 100%);
}

.art-slide[data-offset="-1"]:hover,
.art-slide[data-offset="1"]:hover {
  opacity: 0.66;
}

.art-slide[data-offset="-1"] img,
.art-slide[data-offset="1"] img {
  filter: drop-shadow(0 15px 24px rgba(5, 2, 8, 0.18));
}

.art-slide[data-offset="-2"],
.art-slide[data-offset="2"],
.art-slide[data-offset="hidden"] {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) scale(0.44);
}

.art-slide[data-offset="hidden"] img {
  transition: none;
}

.art-slide:focus-visible {
  outline: 2px solid #ffd0df;
  outline-offset: 6px;
  border-radius: 20px;
}

.stage-click-hint {
  position: absolute;
  left: 6%;
  bottom: 11%;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 238, 244, 0.28);
  font-size: 8px;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
  pointer-events: none;
}

.stage-click-hint::before {
  content: "";
  width: 1px;
  height: 22px;
  background: currentColor;
  opacity: 0.5;
}

.slide-counter {
  position: absolute;
  left: 5%;
  top: 23%;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: rgba(255, 237, 243, 0.76);
  font-family: var(--font-en);
  font-size: clamp(22px, 2.1vw, 32px);
  line-height: 1;
}

.slide-counter small {
  color: rgba(255, 237, 243, 0.28);
  font-size: 9px;
  letter-spacing: 0.1em;
}

/* ---------------- Wardrobe information ---------------- */

.wardrobe-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 92px;
  margin-top: -2px;
  padding: 14px 7px 0 21px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wardrobe-panel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 21px;
  width: 58px;
  height: 1px;
  background: var(--wardrobe-accent, #ffc3d6);
  box-shadow: 0 0 15px rgba(255, 183, 207, 0.5);
}

.wardrobe-meta {
  min-width: 0;
  transition: opacity 0.22s ease, transform 0.4s var(--ease-out);
}

.wardrobe-meta.is-changing {
  opacity: 0;
  transform: translateY(5px);
}

.wardrobe-meta__kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 240, 246, 0.34);
  font-family: var(--font-en);
  font-size: 8px;
  letter-spacing: 0.2em;
}

.wardrobe-meta__kicker b {
  color: var(--wardrobe-accent, #ffc3d6);
  font-weight: 500;
}

.wardrobe-title-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 3px;
}

.wardrobe-title {
  color: #fff8f4;
  font-size: clamp(18px, 1.5vw, 23px);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.wardrobe-en {
  color: var(--wardrobe-accent, #ffc3d6);
  font-family: var(--font-en);
  font-size: 8px;
  font-style: italic;
  letter-spacing: 0.15em;
  opacity: 0.8;
}

.wardrobe-desc {
  max-width: 430px;
  margin-top: 3px;
  overflow: hidden;
  color: rgba(255, 242, 247, 0.44);
  font-size: 10.5px;
  line-height: 1.65;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wardrobe-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.look-dots {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 4px;
}

.look-dot {
  position: relative;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: rgba(255, 242, 247, 0.34);
  background: transparent;
  font-family: var(--font-en);
  font-size: 8px;
  letter-spacing: 0.04em;
  transition: color 0.2s ease, background 0.2s ease;
}

.look-dot::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--dot-color, #ffb0ca);
  opacity: 0;
  transform: translateX(-50%) scale(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.look-dot:hover {
  color: rgba(255, 244, 248, 0.75);
  background: rgba(255, 255, 255, 0.05);
}

.look-dot[aria-current="true"] {
  color: #fff8f4;
  background: rgba(255, 255, 255, 0.09);
}

.look-dot[aria-current="true"]::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.wardrobe-arrow {
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 249, 244, 0.68);
}

.wardrobe-arrow:hover {
  border-color: rgba(255, 173, 201, 0.35);
  color: #fff;
  background: rgba(255, 138, 174, 0.09);
}

.autoplay-toggle {
  position: relative;
  width: 34px;
  height: 34px;
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 242, 247, 0.38);
}

.autoplay-toggle[aria-pressed="true"] {
  color: #ffd0e0;
}

.autoplay-toggle[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff97b9;
  box-shadow: 0 0 8px rgba(255, 151, 185, 0.8);
}

/* ---------------- Responsive ---------------- */

@media (max-width: 1240px) {
  .home-hero {
    grid-template-columns: minmax(410px, 0.95fr) minmax(440px, 1.05fr);
    gap: 26px;
  }

  .feature-card {
    grid-template-columns: 22px 29px minmax(0, 1fr) 14px;
    min-height: 73px;
    padding-left: 10px;
    gap: 7px;
  }

  .feature-icon {
    width: 29px;
    height: 29px;
  }

  .art-stage {
    height: clamp(400px, 58vh, 560px);
  }

  .wardrobe-panel {
    gap: 12px;
    padding-left: 12px;
  }

  .wardrobe-desc {
    max-width: 320px;
  }
}

@media (max-width: 1040px) {
  .home-hero {
    min-height: auto;
    padding-top: 122px;
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .hero-copy {
    max-width: 690px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-art {
    justify-self: center;
    max-width: 720px;
  }

  .hero-title {
    font-size: clamp(72px, 12vw, 112px);
  }

  .art-stage {
    height: min(65vw, 620px);
  }

  .home-hero::before {
    top: 80px;
    bottom: auto;
  }

  .home-hero::after {
    display: none;
  }

  .feature-menu {
    max-width: none;
  }

  .stage-head {
    padding-left: 4px;
  }

  .home-page .site-footer {
    margin-top: 44px;
  }
}

@media (max-width: 760px) {
  .home-hero {
    padding: 92px 18px 10px;
    gap: 26px;
  }

  .home-hero::before {
    display: none;
  }

  .hero-eyebrow {
    flex-wrap: wrap;
    row-gap: 7px;
    margin-bottom: 20px;
  }

  .eyebrow-note {
    display: none;
  }

  .hero-title {
    font-size: clamp(58px, 17vw, 94px);
  }

  .hero-handle {
    top: 0;
    right: -26px;
    width: 26px;
    height: 26px;
    font-size: 13px;
  }

  .hero-star {
    top: -14px;
    right: 36%;
    width: 21px;
    height: 21px;
  }

  .hero-roman {
    font-size: 8px;
    letter-spacing: 0.18em;
    white-space: normal;
  }

  .hero-tagline {
    margin-top: 14px;
    font-size: 18px;
  }

  .hero-intro {
    font-size: 12.5px;
    line-height: 1.85;
  }

  .hero-traits {
    margin-top: 14px;
  }

  .feature-menu {
    gap: 8px;
    margin-top: 22px;
  }

  .feature-card {
    grid-template-columns: 24px minmax(0, 1fr) 14px;
    min-height: 70px;
    padding: 11px 12px;
    border-radius: 12px;
  }

  .feature-index {
    display: none;
  }

  .feature-icon {
    width: 27px;
    height: 27px;
    border-radius: 8px;
  }

  .feature-icon .icon {
    width: 15px;
    height: 15px;
  }

  .feature-text strong {
    font-size: 12px;
  }

  .feature-text small {
    font-size: 7px;
    letter-spacing: 0.07em;
  }

  .hero-footnote {
    margin-top: 13px;
    font-size: 9px;
  }

  .header-actions .live-pill {
    display: none;
  }

  .stage-head {
    font-size: 8px;
    letter-spacing: 0.12em;
  }

  .stage-head__rule {
    width: 20px;
  }

  .art-stage {
    height: min(120vw, 520px);
    margin-top: 0;
  }

  .stage-moon {
    top: 9%;
    width: 82%;
  }

  .stage-orbit {
    top: 13%;
    width: 91%;
  }

  .art-slide {
    width: 64%;
    height: 93%;
  }

  .art-slide[data-offset="-1"] {
    transform: translateX(calc(-50% - 57%)) scale(0.66);
  }

  .art-slide[data-offset="1"] {
    transform: translateX(calc(-50% + 57%)) scale(0.66);
  }

  .slide-counter {
    top: 22%;
    left: 3%;
    font-size: 22px;
  }

  .slide-counter small {
    font-size: 8px;
  }

  .stage-click-hint {
    left: 4%;
    bottom: 8%;
  }

  .wardrobe-panel {
    grid-template-columns: 1fr;
    gap: 11px;
    min-height: 0;
    padding: 14px 3px 0;
  }

  .wardrobe-panel::before {
    left: 3px;
  }

  .wardrobe-desc {
    max-width: 100%;
    white-space: normal;
    font-size: 10px;
  }

  .wardrobe-controls {
    justify-content: space-between;
    padding-bottom: 2px;
  }

  .look-dots {
    margin-right: auto;
  }

  .look-dot {
    width: 26px;
    height: 26px;
  }

  .wardrobe-arrow {
    width: 34px;
    height: 34px;
  }

  .autoplay-toggle {
    width: 32px;
    height: 32px;
  }

  .home-page .site-footer {
    width: calc(100% - 36px);
    margin-top: 38px;
  }
}

@media (max-height: 820px) and (min-width: 1041px) {
  .home-hero {
    padding-top: 16px;
  }

  .hero-eyebrow {
    margin-bottom: 14px;
  }

  .hero-tagline {
    margin-top: 12px;
  }

  .hero-intro {
    line-height: 1.8;
  }

  .feature-menu {
    margin-top: 18px;
  }

  .feature-card {
    min-height: 66px;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .hero-footnote {
    margin-top: 10px;
  }

  .art-stage {
    height: clamp(360px, 56vh, 510px);
  }

  .wardrobe-panel {
    min-height: 78px;
  }

  .wardrobe-desc {
    display: none;
  }

  .home-page .site-footer {
    padding-top: 12px;
    padding-bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .art-slide[data-offset="0"] img {
    animation: none;
  }

  .stage-orbit,
  .home-bg__petal,
  .feature-card--live::after {
    animation: none;
  }
}
