body.home-page {
  background:
    radial-gradient(circle at 82% 6%, rgba(255, 210, 120, 0.4), transparent 20%),
    radial-gradient(circle at 16% 10%, rgba(173, 120, 255, 0.26), transparent 24%),
    radial-gradient(circle at 48% 78%, rgba(255, 214, 130, 0.12), transparent 30%),
    linear-gradient(180deg, #fdf6ea 0%, #faf4ff 34%, #f3f4fb 100%);
}

body.home-page .page-shell {
  max-width: 1320px;
  padding-bottom: 72px;
}

.home-layout {
  display: grid;
  gap: 26px;
}

.home-header {
  align-items: center;
  margin-bottom: 16px;
}

.home-nav a {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(23, 33, 43, 0.08);
  box-shadow: 0 14px 34px rgba(23, 33, 43, 0.06);
  backdrop-filter: blur(16px);
}

.home-hero,
.home-section,
.showcase,
.home-summary-card {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  border: 1px solid rgba(229, 232, 240, 0.72);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 28px 84px rgba(23, 33, 43, 0.08);
  backdrop-filter: blur(18px);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(520px, 1.28fr);
  gap: 16px;
  padding: 40px 42px 38px;
  align-items: center;
  min-height: 0;
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 208, 113, 0.2), transparent 22%),
    radial-gradient(circle at 24% 78%, rgba(173, 120, 255, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 250, 241, 0.68));
}

.home-hero::before,
.home-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.home-hero::before {
  width: 520px;
  height: 520px;
  right: -160px;
  top: -220px;
  background: radial-gradient(circle, rgba(255, 214, 130, 0.36), transparent 72%);
}

.home-hero::after {
  width: 420px;
  height: 420px;
  left: -100px;
  bottom: -180px;
  background: radial-gradient(circle, rgba(168, 122, 255, 0.22), transparent 72%);
}

.hero-copy,
.hero-scene,
.section-heading,
.showcase-copy {
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 6px;
}

.hero-copy h1 {
  max-width: 6.1ch;
  font-size: clamp(2.95rem, 4.7vw, 5.5rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.hero-copy h1.dual > .zh {
  color: var(--text);
}

.hero-copy h1.dual > .en {
  max-width: 14ch;
  margin-top: 14px;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: #645e78;
  font-weight: 680;
}

.hero-summary {
  max-width: 34ch;
  margin-top: 20px;
}

.hero-summary.dual > .zh {
  font-size: 1rem;
  line-height: 1.66;
}

.hero-summary.dual > .en {
  margin-top: 8px;
  max-width: 32ch;
  font-size: 0.88rem;
  line-height: 1.56;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 54px;
  padding: 12px 20px;
  border-radius: 18px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  text-decoration: none;
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, #7d47f5, #b279ff);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(125, 71, 245, 0.26);
}

.button-primary .en {
  color: rgba(255, 255, 255, 0.82);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  border-color: rgba(23, 33, 43, 0.08);
}

.button .en {
  font-size: 0.78rem;
  line-height: 1.24;
}

.hero-path {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 18px;
  color: #645e78;
}

.hero-path .zh {
  font-weight: 700;
}

.hero-path .en {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.hero-legal-link {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  width: fit-content;
  margin-top: 12px;
  color: #4e4a63;
  text-decoration: none;
}

.hero-legal-link .zh {
  font-weight: 700;
}

.hero-legal-link .en {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-legal-link:hover,
.hero-legal-link:focus-visible {
  text-decoration: none;
  color: #342e53;
}

.hero-scene {
  min-height: 620px;
}

.scene-orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(255, 205, 105, 0.22);
  box-shadow: inset 0 0 32px rgba(255, 212, 122, 0.05);
  opacity: 0.58;
}

.scene-orbit-a {
  width: 74%;
  height: 66%;
  top: 4%;
  left: 14%;
  transform: rotate(-10deg);
}

.scene-orbit-b {
  width: 54%;
  height: 50%;
  right: 2%;
  bottom: 10%;
  transform: rotate(16deg);
  border-color: rgba(163, 115, 255, 0.2);
}

.scene-glow {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(4px);
}

.scene-glow-a {
  width: 260px;
  height: 260px;
  top: 4%;
  right: 18%;
  background: radial-gradient(circle, rgba(255, 213, 122, 0.28), transparent 66%);
}

.scene-glow-b {
  width: 240px;
  height: 240px;
  left: 12%;
  bottom: 16%;
  background: radial-gradient(circle, rgba(173, 120, 255, 0.22), transparent 68%);
}

.scene-card {
  position: absolute;
  width: min(300px, 58%);
  border-radius: 34px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 34px 80px rgba(23, 33, 43, 0.16);
  backdrop-filter: blur(18px);
  transform-origin: center;
}

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

.scene-card-copy {
  padding: 12px 16px 16px;
}

.scene-card-copy h2 {
  margin: 8px 0 6px;
  font-size: 1rem;
  line-height: 1.1;
}

.scene-card-copy p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.scene-card-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(23, 33, 43, 0.07);
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scene-card-story {
  width: min(438px, 82%);
  top: 10px;
  right: 30px;
  z-index: 3;
  transform: rotate(1.4deg);
}

.scene-card-dict {
  width: min(176px, 24%);
  left: 36px;
  bottom: 158px;
  z-index: 2;
  transform: rotate(-7deg);
}

.scene-card-live {
  width: min(180px, 25%);
  right: 44px;
  bottom: 34px;
  z-index: 1;
  transform: rotate(4.4deg);
}

.scene-card-story .scene-card-copy h2 {
  font-size: 1.22rem;
}

.scene-card-story .scene-card-copy {
  position: absolute;
  inset: auto 0 0;
  padding: 54px 20px 20px;
  background: linear-gradient(180deg, rgba(15, 14, 18, 0) 0%, rgba(15, 14, 18, 0.78) 84%);
}

.scene-card-story .scene-card-tag {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.scene-card-story .scene-card-copy h2,
.scene-card-story .scene-card-copy p {
  color: #ffffff;
}

.scene-card-dict .scene-card-copy,
.scene-card-live .scene-card-copy {
  padding: 12px 14px 16px;
}

.scene-card-dict .scene-card-copy h2,
.scene-card-live .scene-card-copy h2 {
  font-size: 0.92rem;
}

.scene-card-dict .scene-card-copy p,
.scene-card-live .scene-card-copy p {
  display: none;
}

.home-section,
.showcase {
  padding: 34px;
}

.section-heading {
  display: grid;
  gap: 10px;
}

.section-heading h2,
.showcase-copy h2 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(1.8rem, 2.15vw, 2.7rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.section-heading h2.dual > .zh,
.showcase-copy h2.dual > .zh {
  color: var(--text);
}

.section-heading h2.dual > .en,
.showcase-copy h2.dual > .en {
  max-width: 16ch;
  margin-top: 9px;
  font-size: clamp(0.94rem, 1.02vw, 1.08rem);
  line-height: 1.32;
  letter-spacing: 0;
  color: var(--text-muted);
  font-weight: 700;
}

.section-heading p:last-child,
.showcase-copy p:last-of-type {
  max-width: 48ch;
}

.section-heading p.dual > .zh,
.showcase-copy p.dual > .zh {
  font-size: 0.98rem;
  line-height: 1.62;
}

.section-heading p.dual > .en,
.showcase-copy p.dual > .en {
  margin-top: 7px;
  font-size: 0.88rem;
  line-height: 1.54;
  color: var(--text-muted);
}

.pillar-grid,
.loop-grid,
.legal-grid {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

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

.pillar-card,
.loop-card,
.legal-access-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: 22px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(250, 246, 255, 0.64));
  box-shadow: 0 22px 54px rgba(23, 33, 43, 0.08);
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.pillar-card::before,
.legal-access-card::before {
  content: "";
  position: absolute;
  inset: auto -6% 60% auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  opacity: 0.32;
}

.pillar-card-story::before {
  background: radial-gradient(circle, rgba(255, 203, 107, 0.55), transparent 68%);
}

.pillar-card-dict::before {
  background: radial-gradient(circle, rgba(176, 124, 255, 0.52), transparent 68%);
}

.pillar-card-live::before {
  background: radial-gradient(circle, rgba(203, 154, 97, 0.48), transparent 68%);
}

.pillar-kicker {
  display: inline-flex;
  flex-direction: column;
  gap: 0;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 33, 43, 0.04);
}

.pillar-visual {
  position: relative;
  margin-bottom: 18px;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 20px 44px rgba(23, 33, 43, 0.12);
}

.pillar-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 1.08;
  object-fit: cover;
  object-position: center top;
}

.pillar-card h3,
.loop-card h3,
.legal-access-card h3 {
  margin: 16px 0 10px;
  font-size: 1.42rem;
  line-height: 1.04;
}

.pillar-card h3.dual > .en,
.loop-card h3.dual > .en,
.legal-access-card h3.dual > .en {
  margin-top: 6px;
  font-size: 0.76em;
  line-height: 1.3;
  color: var(--text-muted);
  font-weight: 700;
}

.pillar-card p,
.loop-card p,
.legal-access-card p {
  margin: 0;
}

.pillar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.pillar-links a {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 0;
  padding: 0;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.25;
}

.pillar-link-primary {
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(109, 61, 224, 0.96), rgba(178, 121, 255, 0.92));
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(125, 71, 245, 0.18);
}

.pillar-link-primary .en {
  color: rgba(255, 255, 255, 0.82);
}

.pillar-link-secondary {
  color: #4e4a63;
}

.pillar-link-secondary .en {
  color: var(--text-muted);
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
}

.showcase-reverse .showcase-copy {
  order: 2;
}

.showcase-reverse .showcase-media {
  order: 1;
}

.showcase-copy .eyebrow {
  margin-bottom: 10px;
}

.showcase-points {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.54;
}

.showcase-points li + li {
  margin-top: 8px;
}

.showcase-media {
  position: relative;
  min-height: 430px;
}

.showcase-frame,
.showcase-overlay {
  position: absolute;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: 0 30px 70px rgba(23, 33, 43, 0.16);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.showcase-frame {
  inset: 2% 10% 4% 0;
}

.showcase-overlay {
  width: 34%;
  right: 1%;
  bottom: 6%;
}

.showcase-frame img,
.showcase-overlay img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-story {
  background:
    radial-gradient(circle at top right, rgba(255, 214, 130, 0.22), transparent 24%),
    radial-gradient(circle at 30% 80%, rgba(173, 120, 255, 0.08), transparent 28%),
    rgba(255, 255, 255, 0.66);
}

.showcase-dict {
  background:
    radial-gradient(circle at top left, rgba(176, 124, 255, 0.24), transparent 26%),
    radial-gradient(circle at 80% 14%, rgba(255, 214, 130, 0.08), transparent 24%),
    rgba(255, 255, 255, 0.66);
}

.showcase-live {
  background:
    radial-gradient(circle at top right, rgba(203, 154, 97, 0.16), transparent 24%),
    radial-gradient(circle at 16% 10%, rgba(173, 120, 255, 0.1), transparent 26%),
    rgba(255, 255, 255, 0.68);
}

.loop-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.loop-card {
  min-height: 0;
  padding: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(247, 244, 255, 0.64));
}

.loop-card p.dual > .zh,
.legal-access-card p.dual > .zh {
  font-size: 0.98rem;
  line-height: 1.64;
}

.loop-card p.dual > .en,
.legal-access-card p.dual > .en {
  margin-top: 8px;
  font-size: 0.9rem;
  line-height: 1.56;
  color: var(--text-muted);
}

.loop-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(123, 84, 245, 0.12);
  color: #6c3de0;
  font-size: 14px;
  font-weight: 800;
}

.loop-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: start;
}

.loop-section .loop-grid {
  margin-top: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legal-access-section {
  background:
    linear-gradient(180deg, rgba(248, 250, 255, 0.82), rgba(255, 255, 255, 0.72));
}

.legal-heading h2,
.legal-heading p:last-child {
  max-width: 800px;
}

.legal-access-card {
  min-height: 0;
}

.legal-access-card .link-row {
  margin-top: 22px;
  font-weight: 700;
}

.home-summary-card {
  padding: 24px 28px;
}

.home-footer {
  margin-top: 30px;
}

.pillar-card:hover,
.pillar-card:focus-within,
.showcase-frame:hover,
.showcase-overlay:hover {
  transform: translateY(-3px);
  box-shadow: 0 32px 76px rgba(23, 33, 43, 0.14);
}

.scene-card-story {
  animation: hero-float-main 8s ease-in-out infinite;
}

.scene-card-dict {
  animation: hero-float-alt-a 10s ease-in-out infinite;
}

.scene-card-live {
  animation: hero-float-alt-b 9s ease-in-out infinite;
}

.scene-glow-a,
.scene-orbit-a {
  animation: glow-pulse 8.5s ease-in-out infinite;
}

.scene-glow-b,
.scene-orbit-b {
  animation: glow-pulse 9.5s ease-in-out infinite reverse;
}

@keyframes hero-float-main {
  0%,
  100% {
    transform: translateY(0) rotate(1.4deg);
  }
  50% {
    transform: translateY(-10px) rotate(2.1deg);
  }
}

@keyframes hero-float-alt-a {
  0%,
  100% {
    transform: translateY(0) rotate(-7deg);
  }
  50% {
    transform: translateY(-8px) rotate(-5.5deg);
  }
}

@keyframes hero-float-alt-b {
  0%,
  100% {
    transform: translateY(0) rotate(4.4deg);
  }
  50% {
    transform: translateY(-7px) rotate(5.6deg);
  }
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.48;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.03);
  }
}

@media (max-width: 1120px) {
  .home-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy h1,
  .section-heading h2,
  .showcase-copy h2 {
    max-width: none;
  }

  .hero-scene {
    min-height: 620px;
  }

  .pillar-grid,
  .legal-grid,
  .loop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .loop-section {
    grid-template-columns: 1fr;
  }

  .loop-section .loop-grid {
    margin-top: 20px;
  }
}

@media (max-width: 900px) {
  .showcase,
  .showcase-reverse {
    grid-template-columns: 1fr;
  }

  .showcase-reverse .showcase-copy,
  .showcase-reverse .showcase-media {
    order: initial;
  }
}

@media (max-width: 760px) {
  body.home-page .page-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-nav {
    width: 100%;
  }

  .home-nav a {
    flex: 1 1 150px;
  }

  .home-hero,
  .home-section,
  .showcase,
  .home-summary-card {
    padding: 24px;
    border-radius: 28px;
  }

  .hero-scene {
    min-height: 0;
    display: grid;
    gap: 16px;
  }

  .scene-orbit {
    display: none;
  }

  .scene-card {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
    animation: none;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.5rem, 10vw, 3.6rem);
  }

  .hero-copy h1.dual > .en {
    max-width: 18ch;
    font-size: 0.98rem;
  }

  .hero-summary {
    max-width: none;
  }

  .scene-glow,
  .scene-orbit {
    display: none;
  }

  .section-heading h2.dual > .en,
  .showcase-copy h2.dual > .en {
    font-size: 0.96rem;
  }

  .pillar-grid,
  .legal-grid,
  .loop-grid {
    grid-template-columns: 1fr;
  }

  .showcase-media {
    min-height: 0;
    display: grid;
    gap: 16px;
  }

  .showcase-frame,
  .showcase-overlay {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .showcase-overlay img {
    max-height: 520px;
  }

  .loop-section .loop-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scene-card-story,
  .scene-card-dict,
  .scene-card-live,
  .scene-glow-a,
  .scene-glow-b,
  .scene-orbit-a,
  .scene-orbit-b {
    animation: none;
  }

  .pillar-card,
  .showcase-frame,
  .showcase-overlay,
  .button,
  .hero-legal-link {
    transition: none;
  }
}
