:root {
  --magenta: #b12268;
  --magenta-deep: #7e164d;
  --matcha: #86c43a;
  --matcha-soft: #dff2c4;
  --ink: #20242b;
  --muted: #6f6670;
  --line: rgba(126, 22, 77, 0.14);
  --paper: #fffdf9;
  --blush: #f7edf2;
  --white: #ffffff;
  --shadow: 0 18px 46px rgba(79, 28, 55, 0.11);
}

* {
  box-sizing: border-box;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255, 253, 249, 0.98), rgba(250, 242, 246, 0.92)),
    radial-gradient(circle at 80% 16%, rgba(134, 196, 58, 0.2), transparent 28%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

h1,
h2,
h3,
p,
a,
span,
strong,
button {
  overflow-wrap: anywhere;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 clamp(18px, 4vw, 52px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 253, 249, 0.34);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--magenta-deep);
}

.brand span {
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
}

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

.site-nav a,
.filter-row button {
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}

.site-nav a.active,
.site-nav a:hover,
.filter-row button.active,
.filter-row button:hover {
  color: var(--magenta);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--magenta);
  background: rgba(255, 255, 255, 0.76);
}

main {
  min-height: 100vh;
}

.page {
  display: none;
  min-height: 100vh;
  padding: 116px clamp(18px, 4vw, 52px) 48px;
}

.page.active {
  display: block;
}

.page-home {
  padding: 0;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  --mouse-x: 50%;
  --mouse-y: 50%;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 51%, rgba(255, 255, 255, 0.96) 0 23%, transparent 24%),
    radial-gradient(circle at 12% 22%, rgba(177, 34, 104, 0.2), transparent 34%),
    linear-gradient(138deg, #fffdf9 0%, #f8eaf1 44%, #ffffff 72%, #eff8e6 100%);
  box-shadow: none;
}

.hero-art .hero-orbit-one::after {
  content: "";
  position: absolute;
  inset: 42px 18%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(177, 34, 104, 0.18), transparent 64%);
  animation: heroGlow 5.6s ease-in-out infinite;
}

.hero-art::before {
  content: "";
  position: absolute;
  width: min(56vw, 760px);
  aspect-ratio: 1;
  left: -12%;
  top: 4%;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(177, 34, 104, 0.38), rgba(255, 255, 255, 0.88));
  box-shadow: inset -28px -40px 80px rgba(255, 255, 255, 0.72);
  animation: heroBreath 7s ease-in-out infinite;
}

.hero-art::after {
  content: "";
  position: absolute;
  width: min(42vw, 560px);
  aspect-ratio: 1;
  right: -8%;
  bottom: -18%;
  border-radius: 50%;
  border: 1px solid rgba(134, 196, 58, 0.34);
  background: radial-gradient(circle, rgba(134, 196, 58, 0.22), transparent 64%);
  animation: heroBreath 8s ease-in-out infinite reverse;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(126, 22, 77, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 22, 77, 0.08) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
  animation: gridDrift 26s linear infinite;
}

.hero-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(134, 196, 58, 0.24), rgba(177, 34, 104, 0.1) 18%, transparent 34%);
  transition: opacity 0.25s ease;
}

.hero-art.is-tracking .hero-grid::after {
  opacity: 1;
}

.hero-orbit {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-orbit-one {
  width: min(62vw, 760px);
  height: 170px;
  border: 1px solid rgba(177, 34, 104, 0.2);
  animation: orbitOne 12s ease-in-out infinite;
}

.hero-orbit-two {
  width: min(48vw, 560px);
  height: 120px;
  border: 1px solid rgba(134, 196, 58, 0.3);
  animation: orbitTwo 13s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: clamp(18px, 3vw, 28px);
  padding: clamp(24px, 5vw, 56px);
}

.hero-content img {
  width: clamp(172px, 23vw, 290px);
  height: clamp(172px, 23vw, 290px);
  object-fit: contain;
  filter: drop-shadow(0 20px 36px rgba(126, 22, 77, 0.12));
  animation: logoFloat 5.2s ease-in-out infinite;
}

.hero-content h1 {
  margin: 0;
  color: var(--magenta);
  font-size: clamp(30px, 5vw, 68px);
  font-weight: 850;
  line-height: 1.08;
  text-align: center;
  animation: titleFloat 5.2s ease-in-out infinite;
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 20px 36px rgba(126, 22, 77, 0.12));
  }

  50% {
    transform: translateY(-10px) scale(1.015);
    filter: drop-shadow(0 28px 44px rgba(126, 22, 77, 0.18));
  }
}

@keyframes titleFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 58px 58px, 58px 58px;
  }
}

@keyframes heroBreath {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.86;
  }

  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

@keyframes heroGlow {
  0%,
  100% {
    opacity: 0.22;
  }

  50% {
    opacity: 0.52;
  }
}

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

  50% {
    transform: rotate(-11deg) translateY(-8px);
  }
}

@keyframes orbitTwo {
  0%,
  100% {
    transform: rotate(18deg) translateY(0);
  }

  50% {
    transform: rotate(21deg) translateY(7px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art::before,
  .hero-art::after,
  .hero-art .hero-orbit-one::after,
  .hero-grid,
  .hero-orbit-one,
  .hero-orbit-two,
  .hero-content img,
  .hero-content h1 {
    animation: none;
  }
}

.page-shell,
.reader,
.about-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  min-width: 0;
}

.page-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

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

h2 {
  margin: 0;
  color: var(--magenta-deep);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.04;
}

.page-title-row p:last-child,
.reader-head p:last-child,
.about-shell p:last-child {
  max-width: 600px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.service-card button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  font-weight: 800;
  background: var(--magenta);
  box-shadow: 0 10px 24px rgba(177, 34, 104, 0.18);
  cursor: pointer;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-row button {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.article-layout {
  display: grid;
  gap: 12px;
}

.article-card,
.link-card,
.service-card,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 34px rgba(79, 28, 55, 0.08);
}

.empty-state {
  padding: 28px;
  color: var(--muted);
  font-weight: 900;
}

.article-card {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
}

.article-media {
  position: relative;
  display: grid;
  place-items: center;
  width: 156px;
  height: 124px;
  min-height: 124px;
  margin: 0;
  align-self: center;
  overflow: hidden;
  color: rgba(126, 22, 77, 0.78);
  font-size: 13px;
  font-weight: 900;
  background:
    linear-gradient(135deg, rgba(177, 34, 104, 0.16), rgba(134, 196, 58, 0.16)),
    radial-gradient(circle at 70% 30%, rgba(134, 196, 58, 0.38), transparent 28%),
    var(--blush);
}

.article-media.no-media {
  min-height: 124px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(247, 237, 242, 0.78)),
    radial-gradient(circle at 80% 20%, rgba(134, 196, 58, 0.18), transparent 32%);
}

.article-media.has-asset {
  background: #10141a;
}

.article-media.has-asset img,
.article-media.has-asset video {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

.article-media.has-asset span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  background: rgba(32, 36, 43, 0.72);
}

.article-body {
  display: grid;
  align-content: center;
  padding: 20px 22px;
}

.meta-line,
.article-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.meta-line span {
  color: var(--magenta);
  font-weight: 900;
}

.article-body h3,
.link-card h3,
.service-card h3 {
  margin: 10px 0 8px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.28;
}

.article-body p,
.link-card span,
.service-card p,
.reader-content p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.article-foot {
  margin-top: 14px;
}

.article-foot a,
.link-card a,
.back-link,
.link-note a {
  color: var(--magenta);
  font-weight: 900;
}

.reader {
  max-width: 840px;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
}

.reader-head {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.reader-content {
  padding-top: 28px;
}

.reader-content > * + * {
  margin-top: 24px;
}

.embed-block {
  display: grid;
  place-items: center;
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--magenta);
  font-weight: 900;
  background:
    linear-gradient(135deg, rgba(177, 34, 104, 0.12), rgba(255, 255, 255, 0.72)),
    radial-gradient(circle at 78% 22%, rgba(134, 196, 58, 0.24), transparent 30%);
}

.embed-media {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #10141a;
}

.reader-content img.embed-media {
  height: auto;
  max-height: none;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.72);
}

.reader-content video.embed-media {
  max-height: 560px;
  object-fit: contain;
}

.video-block {
  min-height: 220px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(32, 36, 43, 0.92), rgba(126, 22, 77, 0.86)),
    radial-gradient(circle at 70% 30%, rgba(134, 196, 58, 0.3), transparent 30%);
}

blockquote {
  margin-left: 0;
  padding: 20px 24px;
  border-left: 4px solid var(--matcha);
  color: var(--magenta-deep);
  background: rgba(255, 255, 255, 0.76);
}

.link-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.link-note span {
  color: var(--muted);
}

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

.link-card,
.service-card {
  padding: 22px;
  min-width: 0;
}

.link-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(135deg, var(--magenta), var(--matcha));
}

.link-card p {
  margin: 18px 0 0;
  color: var(--matcha);
  font-weight: 900;
}

.link-card a {
  display: inline-block;
  margin-top: 20px;
}

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

.service-card > span {
  color: var(--matcha);
  font-size: 13px;
  font-weight: 900;
}

.service-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}

.service-card strong {
  color: var(--magenta-deep);
}

.service-card button {
  min-height: 38px;
  padding: 0 14px;
}

.about-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  min-height: calc(100vh - 164px);
}

.about-shell img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

@media (max-width: 1180px) {
  .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .page {
    padding-inline: clamp(18px, 3vw, 34px);
  }
}

@media (max-width: 860px) {
  .site-header {
    height: 68px;
    padding-inline: 16px;
  }

  .brand span {
    font-size: 15px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    display: none;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 253, 249, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    padding-inline: 8px;
    text-align: center;
  }

  .page {
    padding: 92px 16px 38px;
  }

  .page-home {
    padding: 0;
  }

  .hero-art {
    min-height: 100vh;
  }

  .hero-art::before {
    width: 120vw;
    left: -56%;
    top: 5%;
  }

  .hero-content img {
    width: min(58vw, 230px);
    height: min(58vw, 230px);
  }

  .page-title-row {
    display: grid;
    gap: 16px;
    margin-bottom: 22px;
  }

  .article-layout,
  .link-grid,
  .service-grid,
  .about-shell {
    grid-template-columns: 1fr;
  }

  .article-card {
    grid-template-columns: 132px minmax(0, 1fr);
  }

  .article-media {
    width: 132px;
    height: 112px;
    min-height: 112px;
  }

  .link-note,
  .service-card div {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-shell {
    align-content: center;
    min-height: auto;
  }

  .about-shell img {
    max-width: 240px;
  }
}

@media (max-width: 640px) {
  h2 {
    font-size: clamp(30px, 10vw, 42px);
  }

  .page-title-row p:last-child,
  .reader-head p:last-child,
  .about-shell p:last-child {
    font-size: 15px;
  }

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

  .filter-row button {
    width: 100%;
    padding-inline: 8px;
  }

  .article-body h3,
  .link-card h3,
  .service-card h3 {
    font-size: 20px;
  }

  .article-card {
    grid-template-columns: 1fr;
  }

  .article-media {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 0;
    align-self: stretch;
  }

  .article-foot,
  .meta-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .link-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .link-card,
  .service-card {
    padding: 18px;
  }
}

@media (max-width: 520px) {
  .brand img {
    width: 36px;
    height: 36px;
  }

  .site-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    left: 12px;
    right: 12px;
  }

  .hero-content h1 {
    max-width: 8em;
  }

  .article-body,
  .link-card,
  .service-card {
    padding: 18px;
  }

  .article-card {
    grid-template-columns: 1fr;
  }

  .article-media {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .article-media.has-asset img,
  .article-media.has-asset video {
    min-height: 0;
  }

  .embed-block {
    min-height: 210px;
  }
}

@media (max-width: 420px) {
  .site-header {
    padding-inline: 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand span {
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

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

  .page {
    padding-inline: 12px;
  }

  .hero-content img {
    width: min(64vw, 210px);
    height: min(64vw, 210px);
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .filter-row {
    grid-template-columns: 1fr;
  }

  blockquote,
  .link-note {
    padding: 16px;
  }
}

.page.page-home,
.page.page-home.active {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin-top: 0;
  padding: 0 !important;
}

.page-home .hero-art {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
}

.page-home .hero-content {
  padding-top: calc(clamp(24px, 5vw, 56px) + 76px);
}

@media (max-width: 860px) {
  .page.page-home,
  .page.page-home.active {
    margin-top: 0;
  }

  .page-home .hero-art {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .page-home .hero-content {
    padding-top: calc(clamp(24px, 5vw, 56px) + 68px);
  }
}
