:root {
  color-scheme: light;
  --ink: #1f211d;
  --muted: #686456;
  --paper: #fffaf0;
  --paper-deep: #f6ebd8;
  --surface: rgba(255, 253, 246, 0.78);
  --line: rgba(31, 33, 29, 0.12);
  --cat: #f28a22;
  --coral: #e74735;
  --teal: #23a79a;
  --sky: #8ac7e8;
  --leaf: #b9d267;
  --shadow: 0 24px 70px rgba(69, 50, 24, 0.14);
  --soft-shadow: 0 14px 40px rgba(69, 50, 24, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(35, 167, 154, 0.12), transparent 30%),
    linear-gradient(240deg, rgba(231, 71, 53, 0.1), transparent 34%),
    var(--paper);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image: radial-gradient(rgba(31, 33, 29, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 72%);
}

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

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.hero-actions,
.emotion-toolbar,
.accessory-list {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 18px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fffdf6;
  background: var(--ink);
  border: 3px solid #7f1d18;
  border-radius: 50%;
  box-shadow:
    inset 0 -5px 0 rgba(255, 255, 255, 0.1),
    0 8px 18px rgba(127, 29, 24, 0.18);
  transform: rotate(10deg);
}

.site-nav {
  gap: clamp(14px, 2vw, 30px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.site-nav a {
  position: relative;
  padding: 7px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 1.14fr);
  align-items: center;
  gap: clamp(24px, 4vw, 70px);
  min-height: calc(100vh - 74px);
  padding: clamp(54px, 8vw, 112px) clamp(20px, 5vw, 80px) clamp(56px, 7vw, 96px);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  right: clamp(-240px, -12vw, -80px);
  bottom: clamp(-180px, -10vw, -80px);
  width: min(820px, 88vw);
  aspect-ratio: 1;
  content: "";
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 253, 246, 0.68) 0 34%, transparent 35%),
    conic-gradient(from -20deg, var(--cat), #ffbe55, var(--sky), var(--teal), var(--cat));
  border-radius: 42% 58% 48% 52%;
  opacity: 0.86;
  filter: saturate(1.05);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.closing h2 {
  margin: 0;
  font-family: "Arial Black", "PingFang SC", sans-serif;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.95;
}

.hero h1 {
  max-width: 7em;
  font-size: 9.5rem;
}

.hero-line {
  max-width: 590px;
  margin: 24px 0 10px;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.16;
}

.hero-text {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(31, 33, 29, 0.12);
}

.button.primary {
  color: #fffdf6;
  background: var(--ink);
}

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

.hero-stage {
  display: grid;
  min-height: min(620px, 64vw);
  place-items: center;
}

.hero-stage::before {
  position: absolute;
  width: min(500px, 68vw);
  aspect-ratio: 1;
  content: "";
  background: rgba(255, 253, 246, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.hero-cat {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 24px 26px rgba(67, 44, 18, 0.2));
}

.main-cat {
  width: min(430px, 64vw);
  animation: float 5.8s ease-in-out infinite;
}

.side-cat {
  position: absolute;
  width: clamp(90px, 13vw, 138px);
  padding: 10px;
  background: rgba(255, 253, 246, 0.8);
  border: 1px solid rgba(31, 33, 29, 0.12);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.side-one {
  top: 9%;
  right: 5%;
  transform: rotate(8deg);
}

.side-two {
  bottom: 8%;
  left: 4%;
  transform: rotate(-9deg);
}

.danger-tag,
.hero-note {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-weight: 950;
  box-shadow: var(--soft-shadow);
}

.danger-tag {
  top: 8%;
  left: 7%;
  padding: 9px 16px;
  color: #fffdf6;
  background: var(--coral);
  transform: rotate(-7deg);
}

.hero-note {
  right: 2%;
  bottom: 5%;
  max-width: 260px;
  padding: 13px 16px;
  background: rgba(255, 253, 246, 0.78);
  border: 1px solid var(--line);
  color: var(--ink);
}

.section {
  padding: clamp(70px, 9vw, 124px) clamp(20px, 5vw, 80px);
}

.section-band {
  padding: 32px clamp(20px, 5vw, 80px);
  border-block: 1px solid var(--line);
  background: rgba(31, 33, 29, 0.94);
  color: #fffdf6;
}

.manifesto.section-band {
  padding-block: 24px;
  background:
    linear-gradient(90deg, rgba(242, 138, 34, 0.16), transparent 28%),
    linear-gradient(270deg, rgba(35, 167, 154, 0.14), transparent 30%),
    rgba(255, 253, 246, 0.72);
  color: var(--ink);
}

.manifesto-track {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  align-items: center;
  justify-content: center;
  max-width: 1180px;
  margin: 0 auto;
}

.manifesto-track span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 900;
  text-align: center;
}

.manifesto-track span + span::before {
  position: absolute;
  left: 0;
  width: 4px;
  height: 4px;
  content: "";
  background: rgba(31, 33, 29, 0.28);
  border-radius: 50%;
}

.manifesto-track span:nth-child(1),
.manifesto-track span:nth-child(3),
.manifesto-track span:nth-child(4) {
  color: var(--ink);
}

.manifesto-track span:nth-child(3) {
  padding-inline: 20px;
  color: #fffdf6;
  background: var(--coral);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(231, 71, 53, 0.18);
}

.manifesto-track span:nth-child(3)::before,
.manifesto-track span:nth-child(4)::before {
  display: none;
}

.manifesto-track span:nth-child(4) {
  margin-left: 8px;
  padding-inline: 20px;
  background: rgba(185, 210, 103, 0.48);
  border-radius: 999px;
}

.section-heading {
  max-width: 850px;
  margin-bottom: clamp(30px, 5vw, 58px);
}

.section-heading h2,
.closing h2 {
  font-size: 5rem;
}

.section-heading p:not(.eyebrow),
.closing p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.trait,
.emotion-card,
.product-card,
.accessory-showcase {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.trait {
  min-height: 260px;
  padding: 24px;
  background: rgba(255, 253, 246, 0.72);
}

.trait:nth-child(2) {
  background: rgba(255, 237, 148, 0.54);
}

.trait:nth-child(3) {
  background: rgba(138, 199, 232, 0.38);
}

.trait:nth-child(4) {
  background: rgba(35, 167, 154, 0.22);
}

.trait span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 36px;
  place-items: center;
  color: #fffdf6;
  background: var(--ink);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 950;
}

.trait h3,
.product-card h3,
.accessory-showcase h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.22;
}

.trait p,
.product-card p,
.accessory-showcase p {
  margin: 0;
  color: var(--muted);
}

.emotions-section {
  background: linear-gradient(180deg, rgba(255, 253, 246, 0.64), rgba(246, 235, 216, 0.58));
}

.emotion-toolbar {
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter,
.accessory-chip {
  min-height: 42px;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 246, 0.78);
  color: var(--ink);
  font-weight: 900;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.filter {
  padding: 0 18px;
}

.filter:hover,
.filter.is-active,
.accessory-chip:hover,
.accessory-chip.is-active {
  color: #fffdf6;
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.emotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
  gap: 14px;
}

.emotion-card {
  display: grid;
  gap: 10px;
  min-height: 178px;
  place-items: center;
  padding: 16px 12px 14px;
  background: rgba(255, 253, 246, 0.76);
  transition: transform 180ms ease, opacity 180ms ease, box-shadow 180ms ease;
}

.emotion-card:nth-child(5n + 1) {
  background: rgba(255, 237, 148, 0.58);
}

.emotion-card:nth-child(5n + 2) {
  background: rgba(138, 199, 232, 0.4);
}

.emotion-card:nth-child(5n + 3) {
  background: rgba(231, 71, 53, 0.12);
}

.emotion-card:nth-child(5n + 4) {
  background: rgba(35, 167, 154, 0.18);
}

.emotion-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 46px rgba(69, 50, 24, 0.16);
}

.emotion-card img {
  width: 112px;
  aspect-ratio: 1;
  object-fit: contain;
}

.emotion-card strong {
  font-size: 15px;
}

.emotion-card.is-hidden {
  display: none;
}

.accessory-section {
  background:
    radial-gradient(circle at 12% 15%, rgba(138, 199, 232, 0.2), transparent 30rem),
    var(--paper);
}

.accessory-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
}

.accessory-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(130px, 230px) 1fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  overflow: hidden;
  background: rgba(255, 253, 246, 0.76);
}

.accessory-showcase::before {
  position: absolute;
  inset: auto -80px -110px auto;
  width: 260px;
  aspect-ratio: 1;
  content: "";
  background: var(--sky);
  border-radius: 50%;
  opacity: 0.45;
}

.accessory-showcase > * {
  position: relative;
  z-index: 1;
}

.accessory-showcase img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 18px 20px rgba(69, 50, 24, 0.14));
}

.accessory-showcase h3 {
  font-size: 3.8rem;
}

.accessory-list {
  flex-wrap: wrap;
  gap: 12px;
}

.accessory-chip {
  padding: 0 16px;
}

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

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 400px;
  padding: 24px;
  background: rgba(255, 253, 246, 0.72);
}

.product-card:nth-child(1) {
  background: rgba(255, 237, 148, 0.56);
}

.product-card:nth-child(2) {
  background: rgba(138, 199, 232, 0.38);
}

.product-card:nth-child(3) {
  background: rgba(35, 167, 154, 0.2);
}

.product-card img {
  width: min(210px, 68%);
  margin: 0 auto 20px;
  filter: drop-shadow(0 16px 16px rgba(69, 50, 24, 0.14));
}

.closing {
  padding-block: clamp(42px, 6vw, 78px);
}

.closing-inner {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.closing .eyebrow {
  color: var(--leaf);
}

.closing p:not(.eyebrow) {
  color: rgba(255, 253, 246, 0.72);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  padding: 24px 18px 30px;
  color: var(--muted);
  background: rgba(255, 253, 246, 0.82);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-14px) rotate(2deg);
  }
}

@media (max-width: 980px) {
  .hero h1 {
    font-size: 7rem;
  }

  .section-heading h2,
  .closing h2 {
    font-size: 4rem;
  }

  .hero,
  .accessory-layout,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-stage {
    min-height: 500px;
  }

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

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-text,
  .section-heading p:not(.eyebrow),
  .closing p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero h1 {
    font-size: 4.8rem;
  }

  .hero-line {
    font-size: 1.7rem;
  }

  .section-heading h2,
  .closing h2 {
    font-size: 2.7rem;
  }

  .accessory-showcase h3 {
    font-size: 2.8rem;
  }

  .hero-stage {
    min-height: 380px;
  }

  .hero-stage::before {
    width: min(330px, 84vw);
  }

  .side-cat {
    width: 88px;
  }

  .danger-tag {
    left: 0;
  }

  .hero-note {
    right: 0;
    bottom: 0;
    max-width: 210px;
    font-size: 13px;
  }

  .character-grid,
  .accessory-showcase,
  .closing-inner {
    grid-template-columns: 1fr;
  }

  .trait {
    min-height: 220px;
  }

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

  .manifesto-track {
    justify-content: flex-start;
  }

  .manifesto-track span {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 14px;
  }

  .manifesto-track span:nth-child(3),
  .manifesto-track span:nth-child(4) {
    padding-inline: 14px;
  }

  .manifesto-track span:nth-child(4) {
    margin-left: 0;
  }

  .accessory-showcase img,
  .closing-inner img {
    width: min(220px, 70vw);
    margin: 0 auto;
  }

  .product-card {
    min-height: auto;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 3.65rem;
  }

  .emotion-grid {
    gap: 10px;
  }

  .emotion-card {
    min-height: 158px;
    padding: 12px 8px;
  }

  .emotion-card img {
    width: 96px;
  }
}

@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;
  }
}
