:root {
  color-scheme: light;
  --cream: #fff9f3;
  --milk: #fffdf9;
  --lace: #f6ecdf;
  --ink: #26416d;
  --ink-soft: #5d7196;
  --blue: #7f9fd8;
  --blue-deep: #4f75ba;
  --peach: #f4a78d;
  --coral: #e96f6a;
  --mint: #8ac9b8;
  --butter: #f7d98b;
  --line: rgba(79, 117, 186, 0.2);
  --shadow: 0 24px 70px rgba(73, 96, 148, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 20px 20px, rgba(127, 159, 216, 0.16) 2px, transparent 3px) 0 0 / 34px 34px,
    linear-gradient(180deg, #fff8f8 0%, #f8fbff 42%, #fff9f3 100%);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.7), transparent 26%, transparent 74%, rgba(255, 255, 255, 0.66)),
    repeating-linear-gradient(0deg, rgba(127, 159, 216, 0.05) 0 1px, transparent 1px 18px);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.8);
  box-shadow: 0 18px 44px rgba(96, 122, 173, 0.12);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--blue-deep);
  box-shadow: inset 0 -4px 0 rgba(38, 65, 109, 0.16);
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 800;
}

nav a:hover,
nav a:focus-visible {
  color: var(--ink);
  background: rgba(127, 159, 216, 0.13);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: 48px;
  width: min(1180px, calc(100% - 32px));
  min-height: min(690px, calc(100vh - 160px));
  margin: 0 auto;
  padding: 42px 0 48px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  color: var(--ink);
  font-family: "Microsoft JhengHei", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: clamp(3rem, 6.4vw, 5.85rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.2vw, 4.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
  line-height: 1.25;
}

.hero-lead {
  max-width: 600px;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 1.12rem;
  line-height: 1.9;
}

.hero-actions,
.license-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
}

.button-primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue-deep), var(--coral));
  box-shadow: 0 14px 32px rgba(233, 111, 106, 0.23);
}

.button-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.64);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.stat {
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.stat strong,
.stat span {
  display: block;
}

.stat strong {
  margin-bottom: 6px;
  font-size: 1.06rem;
}

.stat span {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.hero-art {
  position: relative;
  margin: 0;
  align-self: end;
}

.hero-art::before {
  position: absolute;
  inset: 8% -5% 4% 9%;
  content: "";
  border: 2px dashed rgba(127, 159, 216, 0.44);
  border-radius: 42px;
  transform: rotate(3deg);
}

.hero-art img {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  margin-left: auto;
  border: 10px solid rgba(255, 255, 255, 0.76);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

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

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.62fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  color: var(--ink-soft);
  line-height: 1.9;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

.about-grid,
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.about-card,
.scene-card {
  position: relative;
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 54px rgba(96, 122, 173, 0.1);
}

.about-card::after,
.scene-card::after {
  position: absolute;
  right: 18px;
  bottom: 14px;
  color: rgba(127, 159, 216, 0.22);
  content: "✦";
  font-size: 2.2rem;
}

.about-card span {
  display: block;
  margin-bottom: 48px;
  color: var(--coral);
  font-weight: 900;
}

.about-card p,
.scene-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.identity-band {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(280px, 0.68fr);
  gap: 42px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 22px auto;
  padding: 36px;
  border: 1px solid rgba(127, 159, 216, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(127, 159, 216, 0.12), rgba(255, 255, 255, 0.7)),
    rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
}

.identity-image {
  margin: 0;
}

.identity-image img {
  width: 100%;
  max-height: 760px;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
}

.identity-copy ul {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.identity-copy li {
  position: relative;
  padding: 16px 18px 16px 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink-soft);
  font-weight: 800;
}

.identity-copy li::before {
  position: absolute;
  left: 18px;
  content: "♡";
  color: var(--coral);
}

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

.scene-card {
  min-height: 250px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 249, 243, 0.72)),
    repeating-linear-gradient(45deg, rgba(127, 159, 216, 0.08) 0 1px, transparent 1px 13px);
}

.scene-mark {
  display: inline-flex;
  margin-bottom: 52px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
}

.moments-strip {
  display: grid;
  grid-template-columns: minmax(240px, 0.46fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto;
  padding: 34px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.moments-strip .eyebrow {
  color: #b9d1ff;
}

.moments-strip h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 3.4vw, 3.3rem);
}

.moment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.moment-list span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 900;
}

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

.gallery-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 58px rgba(96, 122, 173, 0.12);
}

.gallery-item figure {
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: #eef5ff;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.gallery-item div {
  padding: 22px;
}

.gallery-item p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.license-section {
  width: min(1040px, calc(100% - 32px));
  margin: 36px auto 92px;
  padding: clamp(34px, 7vw, 72px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 242, 231, 0.82)),
    repeating-linear-gradient(90deg, rgba(79, 117, 186, 0.06) 0 1px, transparent 1px 20px);
  box-shadow: var(--shadow);
  text-align: center;
}

.license-section p:not(.eyebrow) {
  max-width: 760px;
  margin: 0 auto 28px;
  color: var(--ink-soft);
  line-height: 1.9;
}

.license-actions {
  justify-content: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 38px;
  color: var(--ink-soft);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 900;
}

.reveal {
  animation: rise-in 720ms ease both;
  animation-delay: calc(var(--delay) * 80ms);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    animation: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    border-radius: 8px;
  }

  .hero,
  .section-heading,
  .identity-band,
  .moments-strip {
    grid-template-columns: 1fr;
  }

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

  .hero-art img {
    width: 100%;
    max-height: 780px;
    object-fit: cover;
    object-position: center top;
  }

  .about-grid,
  .scene-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .moment-list {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .site-header {
    position: relative;
    display: block;
    margin-top: 10px;
  }

  nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    flex-wrap: initial;
    justify-content: flex-start;
    margin-top: 12px;
    overflow: visible;
  }

  nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    font-size: 0.86rem;
  }

  .about-grid,
  .scene-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 26px;
    width: min(100% - 24px, 1180px);
    padding-top: 24px;
    padding-bottom: 28px;
  }

  .hero-art {
    order: -1;
    width: min(100%, 310px);
    margin: 0 auto;
  }

  .hero-art img {
    max-height: 270px;
    object-fit: cover;
    object-position: center 25%;
  }

  h1 {
    font-size: clamp(2.9rem, 13vw, 3.8rem);
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.72;
  }

  .hero-stats {
    display: flex;
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 0;
  }

  .stat {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 999px;
  }

  .stat strong,
  .stat span {
    font-size: 0.94rem;
  }

  .stat strong {
    margin-bottom: 0;
  }

  .hero-actions,
  .license-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-art::before {
    inset: 4% 2% 2% 2%;
    border-radius: 24px;
  }

  .hero-art img {
    border-width: 6px;
    border-radius: 18px;
  }

  .section {
    width: min(100% - 24px, 1180px);
    padding: 58px 0;
  }

  .identity-band,
  .moments-strip,
  .license-section {
    width: min(100% - 24px, 1180px);
    padding: 22px;
  }

  .about-card,
  .scene-card {
    min-height: 205px;
  }

  .site-footer {
    display: block;
    width: min(100% - 24px, 1180px);
  }

  .site-footer a {
    display: inline-flex;
    margin-top: 12px;
  }
}
