.wang-screen {
  --wang-paper: #f5f4ef;
  background:
    rgba(244, 244, 242, 0.985)
    url("./assets/ink-home/scenes/paper-texture.webp") center / 72cqw 72cqw repeat;
  color: var(--ink-deep);
}

.wang-page {
  position: relative;
  min-height: 100%;
  padding-bottom: 8cqw;
}

.wang-topbar {
  position: sticky;
  top: 0;
  z-index: 14;
  display: grid;
  grid-template-columns: 16cqw 1fr;
  align-items: end;
  height: 17.5cqw;
  padding: 11.2cqw 4.4cqw 0.9cqw;
  border-bottom: 0;
  background: rgba(250, 250, 250, 0.97);
}

.wang-icon-button {
  min-width: 0;
  height: 6.4cqw;
  padding: 0;
  border: 0;
  background: transparent;
}

.wang-icon-button {
  display: grid;
  place-items: center;
  width: 6.4cqw;
}

.wang-back img {
  width: 6.6cqw;
  height: 6.6cqw;
  object-fit: contain;
  transform: rotate(180deg);
}

.wang-browse-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 7.8cqw;
  padding: 0 5.8cqw;
  border-bottom: 0;
  background: transparent;
  font-family: var(--calligraphy);
  font-size: 3.2cqw;
  letter-spacing: 0.2cqw;
}

.wang-browse-bar strong {
  font-weight: 500;
}

.wang-section-heading button {
  display: flex;
  align-items: center;
  gap: 0.8cqw;
  padding: 0;
  border: 0;
  background: transparent;
  color: #596568;
  font-family: var(--calligraphy);
  font-size: 3cqw;
  letter-spacing: 0.14cqw;
}

.wang-section-heading button img,
.wang-culture-copy em img {
  width: 3cqw;
  height: 3cqw;
  object-fit: contain;
  opacity: 0.72;
}

.wang-hero {
  position: relative;
  height: 41.9cqw;
  overflow: hidden;
  background: var(--wang-paper);
}

.wang-hero-mountains {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 22cqw;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.72;
}

.wang-hero-roof {
  position: absolute;
  top: 0;
  right: 0;
  width: 45.7cqw;
  height: 43.5cqw;
  object-fit: contain;
  object-position: right top;
  filter: brightness(1.12) saturate(0.66);
  mix-blend-mode: multiply;
  opacity: 0.88;
}

.wang-hero-copy {
  position: absolute;
  z-index: 1;
  top: 7.2cqw;
  left: 8.7cqw;
}

.wang-hero-copy h1 {
  margin: 0;
  color: #073c3e;
  font-family: var(--calligraphy);
  font-size: 7.5cqw;
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0.55cqw;
}

.wang-hero-copy p {
  display: flex;
  align-items: center;
  gap: 1.3cqw;
  margin: 0.9cqw 0 0;
  color: #526164;
  font-family: var(--calligraphy);
  font-size: 2.9cqw;
  letter-spacing: 0.2cqw;
}

.wang-hero-copy p img {
  width: 4.1cqw;
  height: 4.1cqw;
  object-fit: contain;
}

.wang-content {
  display: grid;
  gap: 0;
  padding: 0 5.4cqw;
}

.wang-profile {
  justify-self: center;
  width: calc(100% - 1.2cqw);
  margin: 0;
}

.wang-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: 100%;
  height: 11.2cqw;
  margin-top: 2.7cqw;
  padding: 0 0.45cqw;
  border: 0.18cqw solid rgba(79, 71, 63, 0.085);
  border-radius: 2.7cqw;
  background: rgba(253, 250, 250, 0.96);
  box-shadow: 0 1.2cqw 3.2cqw rgba(69, 54, 42, 0.04);
}

.wang-tabs button {
  position: relative;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #646969;
  font-family: var(--calligraphy);
  font-size: 2.85cqw;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.wang-tabs button[aria-selected='true'] {
  color: #171d1e;
  font-weight: 700;
  -webkit-text-stroke: 0.08px currentColor;
}

.wang-tabs button[aria-selected='true']::after {
  position: absolute;
  right: 50%;
  bottom: 0.9cqw;
  width: 5.4cqw;
  height: 0.55cqw;
  border-radius: 999px;
  background: #b63d33;
  content: '';
  transform: translateX(50%);
}

.wang-tabs button:focus-visible {
  outline: 0.45cqw solid rgba(13, 85, 84, 0.28);
  outline-offset: -0.7cqw;
  border-radius: 1.5cqw;
}

.wang-tab-panel[hidden] {
  display: none;
}

.wang-tab-panel {
  margin-top: 2cqw;
}

.wang-section {
  display: grid;
  gap: 0;
}

.wang-section-heading {
  display: flex;
  align-items: center;
  height: 4.6cqw;
  padding: 0 1cqw;
}

.wang-section-heading.with-action {
  justify-content: space-between;
}

.wang-section-heading h2 {
  margin: 0;
  font-family: var(--calligraphy);
  font-size: 4.25cqw;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.28cqw;
}

.wang-culture {
  width: 100%;
  margin-top: 2.7cqw;
  margin-left: 0;
  padding: 2.15cqw 2.2cqw 2.3cqw;
  border: 0.18cqw solid rgba(79, 71, 63, 0.075);
  border-radius: 2.8cqw;
  background: #fdfafa;
  box-shadow: 0 1.6cqw 4cqw rgba(69, 54, 42, 0.045);
}

.wang-culture-heading {
  display: flex;
  align-items: center;
  gap: 0.8cqw;
  min-height: 4.3cqw;
  padding: 0 0.8cqw;
}

.wang-culture-heading h2 {
  margin: 0;
  color: #151b1c;
  font-family: var(--calligraphy);
  font-size: 3.95cqw;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.28cqw;
  -webkit-text-stroke: 0.1px currentColor;
}

.wang-culture-heading > img {
  width: 5.3cqw;
  height: 2.05cqw;
  object-fit: contain;
  opacity: 0.5;
}

.wang-culture-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.35cqw;
  margin-top: 2.6cqw;
}

.wang-culture-card {
  position: relative;
  display: block;
  height: 27cqw;
  overflow: hidden;
  padding: 3.2cqw 3.5cqw 3.5cqw;
  border: 0.18cqw solid rgba(79, 71, 63, 0.11);
  border-radius: 1.7cqw;
  background: #f7f6f4;
  box-shadow: none;
  text-align: left;
}

.wang-culture-copy {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto auto 1fr;
  height: 100%;
}

.wang-culture-copy strong {
  color: #151b1c;
  font-family: var(--calligraphy);
  font-size: 3.6cqw;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.15cqw;
  -webkit-text-stroke: 0.1px currentColor;
}

.wang-culture-copy small {
  margin-top: 1.7cqw;
  color: #4f5759;
  font-family: var(--calligraphy);
  font-size: 2.25cqw;
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: 0.02cqw;
  white-space: nowrap;
  -webkit-text-stroke: 0.04px currentColor;
}

.wang-culture-copy em {
  align-self: end;
  display: flex;
  align-items: center;
  gap: 0.45cqw;
  color: #4e5556;
  font-family: var(--calligraphy);
  font-size: 2.65cqw;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.12cqw;
}

.wang-culture-asset {
  position: absolute;
  z-index: 1;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
}

.wang-intro-asset {
  right: -7.3cqw;
  bottom: -3.2cqw;
  width: 57cqw;
  height: 38.5cqw;
  opacity: 0.5;
}

.wang-origin-asset {
  right: -5.4cqw;
  bottom: -2.6cqw;
  width: 45cqw;
  height: 29.5cqw;
  opacity: 0.82;
}

.wang-article-screen {
  --wang-paper: #fafafa;
  background:
    linear-gradient(rgba(250, 250, 250, 0.96), rgba(248, 248, 246, 0.98)),
    url("./assets/ink-home/scenes/paper-texture.webp") center / 72cqw 72cqw repeat;
  color: var(--ink-deep);
}

.wang-article-page {
  min-height: 100%;
  padding-bottom: 8cqw;
}

.wang-article-topbar {
  grid-template-columns: 8cqw minmax(0, 1fr) 8cqw;
  border-bottom: 0.18cqw solid rgba(25, 57, 57, 0.075);
}

.wang-article-topbar > strong {
  align-self: center;
  justify-self: center;
  color: #182123;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 3.65cqw;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08cqw;
}

.wang-article {
  padding: 5.4cqw 5.4cqw 10cqw;
}

.wang-article-header > span {
  display: block;
  margin-bottom: 1.8cqw;
  color: #7d8986;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 2.7cqw;
  line-height: 1;
  letter-spacing: 0.18cqw;
}

.wang-article-header h1 {
  margin: 0;
  color: #142f30;
  font-family: var(--section-title-font);
  font-size: 7cqw;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.22cqw;
}

.wang-article-header p {
  margin: 2.2cqw 0 0;
  color: #566563;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 3.2cqw;
  line-height: 1.75;
  letter-spacing: 0.02cqw;
}

.wang-article-hero,
.wang-article-media {
  margin: 4.5cqw 0 0;
}

.wang-article-hero img,
.wang-article-media img {
  display: block;
  width: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(0.96) brightness(1.02);
}

.wang-article-hero img {
  height: 48cqw;
  border-radius: 2.4cqw;
  object-position: center 52%;
}

.wang-article-media img {
  height: 42cqw;
  border-radius: 2cqw;
  object-position: center 58%;
}

.wang-article-hero figcaption,
.wang-article-media figcaption {
  margin-top: 1.4cqw;
  color: #7c8785;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 2.55cqw;
  line-height: 1.45;
  text-align: center;
}

.wang-article-body {
  display: grid;
  gap: 4.6cqw;
  margin-top: 5cqw;
}

.wang-article-body > section {
  padding-top: 4.2cqw;
  border-top: 0.18cqw solid rgba(25, 57, 57, 0.1);
}

.wang-article-body h2 {
  margin: 0 0 2cqw;
  color: #173b3c;
  font-family: var(--section-title-font);
  font-size: 4.45cqw;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.12cqw;
}

.wang-article-body p,
.wang-article-steps {
  margin: 0;
  color: #3f4e4c;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 3.25cqw;
  line-height: 1.92;
  letter-spacing: 0.015cqw;
}

.wang-article-steps {
  display: grid;
  gap: 1.8cqw;
  padding-left: 5.2cqw;
}

.wang-article-note {
  padding: 3.2cqw 3.5cqw;
  border-radius: 1.8cqw;
  background: rgba(231, 237, 233, 0.62);
  color: #566563 !important;
  font-size: 2.85cqw !important;
  line-height: 1.7 !important;
}

.wang-event-primary {
  position: relative;
  display: grid;
  grid-template-columns: 40.5cqw 1fr;
  height: 17.4cqw;
  margin-top: 0.2cqw;
  padding: 0;
  overflow: hidden;
  border: 0.22cqw solid rgba(30, 60, 60, 0.12);
  border-radius: 2.6cqw;
  background: rgba(255, 255, 255, 0.8);
  text-align: left;
}

.wang-event-primary > img:first-child {
  width: 40.5cqw;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.wang-event-copy {
  display: grid;
  align-content: center;
  gap: 0.7cqw;
  padding: 0.8cqw 5cqw 0.8cqw 3cqw;
}

.wang-event-title {
  display: flex;
  align-items: center;
  gap: 1.4cqw;
}

.wang-event-title strong {
  font-family: var(--calligraphy);
  font-size: 3.35cqw;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.12cqw;
  white-space: nowrap;
}

.wang-event-title em {
  padding: 0.7cqw 1.1cqw;
  border-radius: 0.8cqw;
  background: #0d5554;
  color: #fff;
  font-family: var(--calligraphy);
  font-size: 2.1cqw;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0.12cqw;
}

.wang-event-copy small {
  color: #6a7578;
  font-family: var(--calligraphy);
  font-size: 2.35cqw;
  letter-spacing: 0.06cqw;
  white-space: nowrap;
}

.wang-event-copy small {
  display: flex;
  align-items: center;
}

.wang-event-copy small > img {
  width: 3cqw;
  height: 3cqw;
  margin-right: 0.8cqw;
  object-fit: contain;
  opacity: 0.62;
}

.wang-event-copy b {
  margin-right: 0.4cqw;
  color: #566568;
  font-weight: 400;
}

.wang-event-chevron {
  position: absolute;
  right: 2.2cqw;
  top: 7cqw;
  width: 3cqw;
  height: 3cqw;
  object-fit: contain;
}

.wang-work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.35cqw;
}

.wang-work-card {
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 0.18cqw solid rgba(79, 71, 63, 0.11);
  border-radius: 2.1cqw;
  background: rgba(253, 250, 250, 0.96);
  box-shadow: 0 1cqw 2.8cqw rgba(69, 54, 42, 0.035);
  text-align: left;
}

.wang-work-card > img {
  width: 100%;
  height: 19cqw;
  object-fit: cover;
}

.wang-work-card > span {
  display: grid;
  gap: 0.7cqw;
  padding: 2.2cqw 2.5cqw 2.4cqw;
}

.wang-work-card strong {
  overflow: hidden;
  color: #182123;
  font-family: var(--calligraphy);
  font-size: 3.25cqw;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.08cqw;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wang-work-card small {
  color: #6a7578;
  font-family: var(--calligraphy);
  font-size: 2.45cqw;
  line-height: 1;
  letter-spacing: 0.06cqw;
}

.wang-feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 25cqw;
  column-gap: 2.38cqw;
  height: 26.15cqw;
  overflow: hidden;
  padding: 3.57cqw 4.76cqw;
  border: 0;
  border-radius: 1.9cqw;
  background: #fff;
  text-align: left;
}

.wang-feature-copy {
  display: grid;
  grid-template-rows: 1fr auto;
  min-width: 0;
  padding: 0;
}

.wang-feature-card strong,
.wang-update-card strong,
.wang-person-card strong {
  color: #191919;
  font-family: var(--calligraphy);
  font-weight: 600;
}

.wang-feature-card strong {
  display: block;
  overflow: hidden;
  align-self: start;
  font-family: "Alibaba PuHuiTi", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0;
  white-space: nowrap;
}

.wang-feature-meta,
.wang-update-card small,
.wang-person-card small {
  color: #6a7578;
  font-family: var(--calligraphy);
}

.wang-feature-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #999;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  white-space: nowrap;
}

.wang-feature-cover {
  width: 25cqw;
  height: 19.05cqw;
  border-radius: 1.2cqw;
  object-fit: cover;
}

.wang-feature-cover-person {
  object-position: center 22%;
}

.wang-people .wang-person-entry {
  grid-template-columns: 25cqw minmax(0, 1fr);
  column-gap: 2.7cqw;
  height: 26.15cqw;
  padding: 3.57cqw 4.76cqw;
  border: 0.18cqw solid rgba(22, 57, 55, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1.2cqw 3.2cqw rgba(23, 48, 45, 0.035);
}

.wang-person-media {
  display: block;
  width: 25cqw;
  height: 19.05cqw;
  overflow: hidden;
  border-radius: 1.2cqw;
  background: #e7e8e3;
}

.wang-person-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.wang-person-entry-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.wang-people .wang-person-entry strong {
  display: block;
  overflow: hidden;
  color: #183534;
  font-family: "Songti SC", "STSong", serif;
  font-size: 3.7cqw;
  font-weight: 700;
  line-height: 1.28;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wang-person-entry-copy > small {
  display: -webkit-box;
  margin-top: 0.7cqw;
  overflow: hidden;
  color: #697573;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 2.55cqw;
  font-weight: 400;
  line-height: 1.38;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.wang-person-entry-meta {
  display: flex;
  min-width: 0;
  margin-top: auto;
  align-items: center;
  justify-content: space-between;
  gap: 1.5cqw;
  color: #8b9491;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 2.2cqw;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.wang-feature-list {
  display: grid;
  gap: 2.4cqw;
}

.wang-update-list {
  display: grid;
  gap: 1.6cqw;
}

.wang-update-card {
  position: relative;
  display: grid;
  grid-template-columns: 20cqw 1fr;
  align-items: center;
  height: 14.4cqw;
  overflow: hidden;
  padding: 0 6cqw 0 0;
  border: 0.18cqw solid rgba(79, 71, 63, 0.11);
  border-radius: 2cqw;
  background: rgba(253, 250, 250, 0.96);
  text-align: left;
}

.wang-update-card > img:first-child {
  width: 20cqw;
  height: 100%;
  object-fit: cover;
}

.wang-update-card > span {
  display: grid;
  gap: 1cqw;
  padding-left: 2.6cqw;
}

.wang-update-card strong {
  font-size: 3.15cqw;
}

.wang-update-card small {
  font-size: 2.4cqw;
}

.wang-update-chevron {
  position: absolute;
  right: 2.2cqw;
  width: 2.8cqw;
  height: 2.8cqw;
  object-fit: contain;
}

.wang-people-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.7cqw;
}

.wang-person-card {
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 0.18cqw solid rgba(79, 71, 63, 0.11);
  border-radius: 1.8cqw;
  background: rgba(253, 250, 250, 0.96);
}

.wang-person-card > img {
  width: 100%;
  height: 17.5cqw;
  object-fit: cover;
  object-position: center top;
}

.wang-person-card > span {
  display: grid;
  gap: 0.55cqw;
  padding: 1.2cqw 0.7cqw 1.35cqw;
  text-align: center;
}

.wang-person-card strong {
  font-size: 2.75cqw;
  line-height: 1;
}

.wang-person-card small {
  overflow: hidden;
  font-size: 1.8cqw;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone[data-page="wang"] .bottom-nav {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .wang-origin-card,
  .wang-intro-card,
  .wang-event-primary,
  .wang-work-card,
  .wang-feature-card,
  .wang-update-card,
  .wang-person-card {
    transition: transform 160ms ease, box-shadow 160ms ease;
  }

  .wang-origin-card:active,
  .wang-intro-card:active,
  .wang-event-primary:active,
  .wang-work-card:active,
  .wang-feature-card:active,
  .wang-update-card:active,
  .wang-person-card:active {
    transform: scale(0.985);
  }
}
