:root {
  --wukong-orange: #ff7a00;
  --wukong-orange-dark: #df5f00;
  --ink: #1f1f1f;
  --ink-muted: #5d5a55;
  --paper: #fffdfa;
  --cloud: #fff5e8;
  --line: rgba(31, 31, 31, 0.1);
  --line-strong: rgba(31, 31, 31, 0.18);
  --blue: #2a7fff;
  --green: #19a35b;
  --gold: #f1b900;
  --shadow: 0 24px 70px rgba(65, 42, 19, 0.12);
  --font-display: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Hiragino Sans GB", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(31, 31, 31, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(31, 31, 31, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, #fffaf3 0%, #fffdfa 42%, #f8f4ed 100%);
  background-size: 48px 48px, 48px 48px, auto;
  color: var(--ink);
  font-family: var(--font-body);
  letter-spacing: 0;
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(31, 31, 31, 0.08);
  background: rgba(255, 253, 250, 0.9);
  backdrop-filter: blur(18px);
  transition: box-shadow 220ms ease, background 220ms ease;
}

.site-header.is-elevated {
  background: rgba(255, 253, 250, 0.97);
  box-shadow: 0 12px 32px rgba(31, 31, 31, 0.08);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(255, 122, 0, 0.2);
}

.brand-mark strong {
  display: block;
  font: 900 18px/1.05 var(--font-display);
}

.brand-mark small {
  display: block;
  margin-top: 4px;
  color: var(--wukong-orange);
  font-size: 12px;
  font-weight: 900;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 800;
}

.site-nav__list a {
  position: relative;
  display: inline-flex;
  padding: 8px 0;
}

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

.site-nav__list a:hover::after,
.site-nav__list a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta,
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 900;
}

.nav-cta,
.button-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 16px 34px rgba(31, 31, 31, 0.16);
}

.nav-cta {
  padding: 0 18px;
  white-space: nowrap;
}

.button-primary,
.button-secondary {
  min-height: 52px;
  padding: 0 22px;
}

.button-primary {
  background: var(--wukong-orange);
  box-shadow: 0 18px 40px rgba(255, 122, 0, 0.28);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
}

.site-main {
  overflow: hidden;
}

.homepage-content > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.homepage-content .wp-block-group.section,
.homepage-content .wp-block-group.hero {
  margin-block-start: 0;
  margin-block-end: 0;
}

.wp-block-columns {
  margin-bottom: 0;
}

.wp-block-column > *:first-child {
  margin-top: 0;
}

.wp-block-column > *:last-child {
  margin-bottom: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.82fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(52px, 7vw, 96px) clamp(18px, 5vw, 76px) clamp(64px, 8vw, 112px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--wukong-orange);
  font: 900 12px/1.2 var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.hero .wp-block-heading,
.section h2,
.section .wp-block-heading,
.archive-hero h1,
.content-page h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(48px, 7.6vw, 96px);
  line-height: 0.98;
}

.hero .wp-block-heading {
  max-width: 760px;
  font-size: clamp(48px, 7.6vw, 96px);
  line-height: 0.98;
}

.hero__lead {
  max-width: 690px;
  margin: 28px 0 0;
  color: var(--ink-muted);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__actions .wp-block-button__link,
.wp-block-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--wukong-orange);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(255, 122, 0, 0.28);
}

.hero__actions .is-style-outline .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  box-shadow: none;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 720px;
  margin-top: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.signal-strip span {
  min-height: 62px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.82);
  color: #613000;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.45;
}

.product-frame {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.product-frame::before {
  content: "";
  position: absolute;
  inset: -20px -20px auto auto;
  width: 130px;
  height: 130px;
  border: 20px solid rgba(255, 122, 0, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.product-frame__top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 18px;
  border-bottom: 1px solid var(--line);
}

.product-frame__top img {
  border-radius: 8px;
}

.product-frame__top strong,
.product-frame__top span {
  display: block;
}

.product-frame__top strong {
  font: 900 18px/1.2 var(--font-display);
}

.product-frame__top span {
  margin-top: 4px;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.5;
}

.product-frame__body {
  display: grid;
  gap: 14px;
  padding-top: 16px;
}

.brief-card,
.recommendation-card,
.evidence-row span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.brief-card,
.recommendation-card {
  padding: 18px;
}

.brief-card span,
.recommendation-card span,
.plan-header span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--wukong-orange-dark);
  font-size: 12px;
  font-weight: 900;
}

.brief-card p,
.recommendation-card p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.7;
}

.recommendation-card h2 {
  margin: 0 0 10px;
  font: 900 clamp(24px, 3vw, 34px)/1.15 var(--font-display);
}

.route-map {
  position: relative;
  min-height: 172px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 122, 0, 0.08), rgba(42, 127, 255, 0.08)),
    linear-gradient(90deg, rgba(31, 31, 31, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(31, 31, 31, 0.06) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
  overflow: hidden;
}

.route-map::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 52%;
  height: 3px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, var(--wukong-orange) 0 16px, transparent 16px 28px);
  transform: rotate(-7deg);
}

.route-map i {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--wukong-orange);
  box-shadow: 0 8px 20px rgba(31, 31, 31, 0.18);
}

.route-map i:nth-child(1) {
  left: 12%;
  top: 60%;
}

.route-map i:nth-child(2) {
  left: 36%;
  top: 44%;
  background: var(--blue);
}

.route-map i:nth-child(3) {
  left: 62%;
  top: 50%;
  background: var(--green);
}

.route-map i:nth-child(4) {
  right: 12%;
  top: 34%;
  background: var(--gold);
}

.evidence-row {
  display: grid;
  gap: 10px;
}

.evidence-row span {
  padding: 14px 16px;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.55;
}

.section {
  padding: clamp(72px, 8vw, 128px) clamp(18px, 5vw, 76px);
}

.section__intro {
  max-width: 920px;
  margin-bottom: clamp(30px, 4.5vw, 54px);
}

.section__intro p:not(.eyebrow) {
  max-width: 780px;
  margin: 20px 0 0;
  color: var(--ink-muted);
  font-size: 18px;
  line-height: 1.8;
}

.section h2,
.section .wp-block-heading {
  font-size: clamp(34px, 5.4vw, 70px);
  line-height: 1.04;
}

.split-band {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.decision-grid,
.scenario-grid,
.capability-grid,
.trust-grid,
.post-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.decision-card,
.scenario-card,
.capability-card,
.trust-item,
.post-card,
.content-page,
.sample-plan,
.sample-aside {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 54px rgba(31, 31, 31, 0.06);
}

.decision-card,
.scenario-card,
.capability-card,
.trust-item {
  min-height: 250px;
  padding: clamp(22px, 3vw, 34px);
}

.decision-card span,
.workflow-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.decision-card h3,
.scenario-card h3,
.trust-item b,
.plan-header h3 {
  margin: 0;
  color: var(--ink);
  font: 900 clamp(22px, 2vw, 30px)/1.18 var(--font-display);
}

.decision-card p,
.scenario-card p,
.capability-card p,
.trust-item p,
.post-card p,
.content-page,
.sample-plan p,
.sample-aside p,
.workflow-list p {
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.82;
}

.decision-card > *:last-child,
.scenario-card > *:last-child,
.capability-card > *:last-child,
.trust-item > *:last-child,
.sample-plan > *:last-child,
.sample-aside > *:last-child {
  margin-bottom: 0;
}

.audience {
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.62), rgba(255, 255, 255, 0.72));
}

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

.scenario-card b,
.capability-card span,
.plan-block b,
.plan-alert b,
.sample-aside b {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--wukong-orange-dark);
  font-size: 13px;
  font-weight: 900;
}

.workflow {
  background: #1f1f1f;
  color: #fff;
}

.workflow .section h2,
.workflow h2 {
  color: #fff;
}

.workflow .section__intro p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.workflow-list article {
  min-height: 248px;
  padding: 28px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 122, 0, 0.16), transparent 13rem),
    #262626;
}

.workflow-list span {
  background: var(--wukong-orange);
  color: #fff;
}

.workflow-list strong {
  display: block;
  font: 900 22px/1.25 var(--font-display);
}

.workflow-list p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.capabilities {
  background: rgba(255, 255, 255, 0.76);
}

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

.capability-card {
  min-height: 220px;
  grid-column: span 2;
  position: relative;
  overflow: hidden;
}

.capability-card::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border: 10px solid rgba(255, 122, 0, 0.13);
  border-radius: 50%;
}

.sample-section {
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.08), rgba(42, 127, 255, 0.06));
}

.sample-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(320px, 0.34fr);
  gap: 18px;
  align-items: stretch;
}

.sample-plan {
  padding: clamp(24px, 4vw, 46px);
}

.plan-header {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.plan-header h3 {
  font-size: clamp(30px, 4vw, 52px);
}

.plan-header p {
  max-width: 680px;
  margin: 12px 0 0;
  font-size: 18px;
}

.plan-block,
.plan-alert {
  margin-top: 22px;
  padding: 20px;
  border-radius: 8px;
  background: #fffaf4;
}

.plan-block p,
.plan-alert p {
  margin: 0;
}

.plan-alert {
  border: 1px solid rgba(255, 122, 0, 0.28);
  background: rgba(255, 122, 0, 0.08);
}

.sample-aside {
  display: grid;
  align-content: space-between;
  gap: 26px;
  padding: 24px;
}

.sample-aside img {
  width: min(100%, 280px);
  margin: 0 auto;
  border-radius: 8px;
}

.trust {
  background: rgba(255, 255, 255, 0.82);
}

.trust-item {
  min-height: 230px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(18px, 5vw, 76px);
  background: var(--ink);
  color: #fff;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  border-radius: 8px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand span,
.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.archive-hero,
.content-page {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 48px);
}

.archive-hero h1,
.content-page h1 {
  font-size: clamp(40px, 6vw, 76px);
}

.post-list {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 48px) 90px;
}

.post-card a {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.post-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 6px;
}

.post-card time,
.content-page time {
  color: var(--wukong-orange);
  font-weight: 900;
}

.post-card h2 {
  margin: 10px 0 0;
  font-family: var(--font-display);
}

.content-page {
  background: rgba(255, 255, 255, 0.84);
}

.entry-content {
  margin-top: 30px;
}

.entry-content a {
  color: var(--wukong-orange-dark);
  font-weight: 800;
  text-decoration: underline;
}

.featured-image img {
  border-radius: 8px;
}

.empty-state,
.pagination {
  grid-column: 1 / -1;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease var(--reveal-delay, 0ms), transform 520ms ease var(--reveal-delay, 0ms);
}

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

@media (max-width: 1120px) {
  .hero,
  .sample-layout {
    grid-template-columns: 1fr;
  }

  .product-frame {
    max-width: 720px;
  }

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

  .workflow-list,
  .decision-grid,
  .trust-grid,
  .post-list {
    grid-template-columns: 1fr;
  }

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

  .capability-card {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
    padding: 10px 14px;
  }

  .site-nav {
    display: none;
  }

  .brand-mark img {
    width: 42px;
    height: 42px;
  }

  .brand-mark small {
    display: none;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero h1 {
    font-size: clamp(40px, 13vw, 62px);
  }

  .signal-strip,
  .scenario-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .product-frame {
    padding: 12px;
  }

  .section {
    padding-block: 62px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
