/* EZFUN 网站样式
 * 所有页面共用这一份 CSS；图片与字体路径以 assets/css/ 为基准。
 * 查找中文分区可定位导航、页脚、合作伙伴、故事、地图和手机适配。
 * 媒体查询就近保留原有优先级；后出现的规则优先。
 * body 使用满视口纵向布局：短页面会把页脚推至视口底部。
 */

/* 本地字体：MiSans 正文与 Fusion Pixel 标题 */
@font-face {
  font-family: "MiSans";
  src: url("../fonts/MiSans-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "MiSans";
  src: url("../fonts/MiSans-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Fusion Pixel";
  src: url("../fonts/fusion-pixel-12px-proportional-zh_hans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* 通用样式：排版、间距与可访问性 */
:root {
  --destructive: #b33242;
  --radius: 0px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --body-font: "MiSans", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --pixel-font: "Fusion Pixel", "MiSans", sans-serif;
  color-scheme: light;
}
html {
  min-height: 100%;
  scrollbar-gutter: stable;
  /* Safari 缩放、弹性滚动和安全区也使用页面底色，不露出默认白色画布。 */
  background: var(--theme-light, #e9f5f1);
}
body.has-modal {
  overflow: hidden;
}
[hidden] {
  display: none !important;
}
summary {
  font: inherit;
}
button svg,
a svg,
summary svg {
  flex-shrink: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  font: 400 1rem/1.8 var(--body-font);
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
body > main {
  flex: 1 0 auto;
  min-width: 0;
}

body > .site-header {
  flex-shrink: 0;
}

/* 老版 iPad Safari 尚无动态视口单位时，沿用可用高度而非固定屏幕高度。 */
@supports (-webkit-touch-callout: none) and (not (min-height: 100dvh)) {
  html {
    height: -webkit-fill-available;
  }
  body {
    min-height: -webkit-fill-available;
  }
}

/* 通用样式：排版、间距与可访问性 */
a {
  color: #000;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  color: #000;
  -webkit-tap-highlight-color: transparent;
}
a {
  -webkit-tap-highlight-color: transparent;
}
p,
h1,
h2,
h3,
figure {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
}
:focus-visible {
  outline: 2px solid #567759;
  outline-offset: 5px;
}
button:disabled {
  cursor: default;
}
.wrap {
  margin-inline: auto;
}
.eyebrow {
  line-height: 1.65;
}
h1,
h2 {
  text-wrap: balance;
}
h3 {
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.4;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}
.tone-blue {
  background: var(--blue);
}
.tone-sky {
  background: var(--sky);
}
.tone-yellow {
  background: var(--yellow);
}
.tone-green {
  background: var(--green);
}
.tone-pink {
  background: var(--pink);
}
.tone-red {
  background: var(--red);
}
.tone-purple {
  background: var(--purple);
}
.tone-orange {
  background: var(--orange);
}
.color-line {
  display: flex;
  height: 3px;
  width: 84px;
}
.color-line i {
  flex: 1;
}
.skip-link {
  position: fixed;
  top: -70px;
  left: 20px;
  z-index: 100;
  background: var(--yellow);
  padding: 10px 20px;
}
.skip-link:focus {
  top: 10px;
}

/* 导航：LOGO、菜单与语言切换 */
.brand {
  height: auto;
}
.brand-link {
  flex-shrink: 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
}
.header-inner {
  margin: auto;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.desktop-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}
.desktop-nav a {
  position: relative;
  padding-block: 14px;
  color: #000;
}
.desktop-nav a:after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.desktop-nav a:hover:after,
.desktop-nav a[aria-current="page"]:after {
  transform: scaleX(1);
}
.desktop-nav a[aria-current="page"] {
  color: #000;
}
.language-switch {
  display: flex;
  gap: 7px;
  align-items: center;
  border-left: 1px solid var(--line);
  white-space: nowrap;
}
.language-switch a {
  color: #000;
}
.language-switch a[aria-current="true"] {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.mobile-menu-button {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
}

/* 通用样式：排版、间距与可访问性 */
.page-body {
  min-height: 45vh;
}
.square-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  font-size: 0.875rem;
  padding: 14px 20px;
  min-height: 50px;
}
.square-link svg {
  flex-shrink: 0;
  transition: transform 0.4s var(--ease);
}
.square-link:hover svg {
  transform: translate(2px, -2px);
}
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  font-size: 0.875rem;
  background: none;
  border: 0;
  border-bottom: 1px solid #879488;
  padding: 0 0 11px;
}
.text-link svg {
  flex-shrink: 0;
  transition: transform 0.4s var(--ease);
}
.text-link:hover svg {
  transform: translate(3px, -3px);
}
@keyframes landscape-settle {
  from {
    transform: scale(1.018);
    filter: saturate(0.9);
  }
  to {
    transform: scale(1);
    filter: saturate(1);
  }
}
@keyframes focus-sky {
  from {
    transform: translateX(19px);
    border-left-width: 24px;
    opacity: 0.8;
  }
  to {
    transform: translateX(0);
    border-left-width: 13px;
    opacity: 1;
  }
}
@keyframes focus-rose {
  from {
    transform: translate(-16px, -12px);
    border-right-width: 18px;
    border-bottom-width: 14px;
    opacity: 0.7;
  }
  to {
    transform: translate(0, 0);
    border-right-width: 10px;
    border-bottom-width: 9px;
    opacity: 1;
  }
}
@keyframes caption-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* 首页：头图、关于我们与预览 */
.about-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding-block: 118px 100px;
}

/* 通用样式：排版、间距与可访问性 */
.section-marker {
  padding-top: 7px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #000;
}
.section-marker > span:last-child {
  font-size: 0.875rem;
}

/* 首页：头图、关于我们与预览 */
.about-content h2 {
  margin-bottom: 32px;
}
.about-paragraphs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.about-paragraphs p {
  color: #000;
}
.about-keywords {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
}
.about-keywords svg {
  color: #000;
}
.home-pair {
  display: grid;
  align-items: center;
  border-top: 1px solid var(--line);
}
.pair-photo > img {
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: cover;
}
.pair-photo figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 15px;
  color: #000;
  font-size: 0.6875rem;
}
.pair-photo figcaption .eyebrow {
  font-size: 0.6875rem;
}
.pair-copy {
  padding-bottom: 25px;
}
.pair-copy > .eyebrow {
  color: #000;
  margin-bottom: 25px;
}
.pair-copy h2 {
  line-height: 1.45;
}
.pair-copy > p:not(.eyebrow) {
  margin-top: 27px;
  max-width: 340px;
  color: #000;
  line-height: 2;
}
.pair-copy .text-link {
  margin-top: 32px;
}

/* 通用样式：排版、间距与可访问性 */
.page-chapter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #000;
}
.chapter-mark {
  display: flex;
  gap: 3px;
  align-items: center;
}
.chapter-mark i {
  display: block;
  width: 5px;
  height: 11px;
}
.page-intro-main {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 9%;
  align-items: end;
}
.page-intro h1 {
  max-width: 720px;
}
.page-intro-description {
  max-width: 350px;
  justify-self: end;
  color: #000;
  padding-bottom: 5px;
}
.editorial-note {
  font-size: 0.75rem;
  line-height: 1.9;
  color: #000;
  margin-top: 27px;
}

/* 定制旅程：选项与已选清单 */
.journey-layout {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  align-items: start;
  padding-bottom: 105px;
}
.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.option-card {
  display: flex;
  position: relative;
  flex-direction: column;
  min-width: 0;
  padding: 27px 25px 30px;
  cursor: pointer;
  border: 1px solid var(--line);
  border-top: 0;
  border-left: 0;
  background: transparent;
  transition: background 0.3s;
}
.option-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 35px;
}
.option-top > .eyebrow {
  font-size: 0.6875rem;
  color: #000;
}
.option-checkbox {
  width: 18px;
  height: 18px;
  box-shadow: none;
  border-radius: 0;
  border: 1px solid #8b9789;
  background: transparent;
}
.option-checkbox[data-state="checked"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #000;
}
.option-checkbox {
  appearance: none;
  display: grid;
  place-content: center;
  flex-shrink: 0;
  margin: 0;
  cursor: pointer;
}
.option-checkbox:checked:after {
  content: "";
  display: block;
  width: 9px;
  height: 5px;
  border-left: 1.5px solid white;
  border-bottom: 1.5px solid white;
  transform: translateY(-1px) rotate(-45deg);
}
.option-pixel {
  width: 6px;
  height: 6px;
  display: block;
  position: absolute;
  left: 25px;
  bottom: 32px;
  transition: height 0.35s var(--ease);
}
.is-selected .option-pixel {
  height: 19px;
}
.option-description {
  line-height: 1.85;
  color: #000;
  margin-top: 16px;
  padding-left: 18px;
}
.selection-panel {
  position: sticky;
  top: 123px;
  padding: 32px;
}
.selection-panel > .eyebrow {
  color: #000;
  font-size: 0.6875rem;
}
.selection-panel h2 {
  margin-top: 20px;
}
.selection-mosaic {
  display: flex;
  gap: 3px;
  height: 33px;
  margin: 25px 0 22px;
}
.selection-mosaic i {
  display: block;
  flex: 1;
  max-width: 42px;
  animation: piece-in 0.35s var(--ease);
}
.selection-count {
  font-size: 0.75rem;
  color: #000;
  border-bottom: 1px solid #ffffff28;
  padding-bottom: 16px;
}
.selected-items {
  padding: 0;
  margin: 12px 0 25px;
  list-style: none;
}
.selected-items li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8125rem;
  padding-block: 7px;
}
.selected-items li > i {
  width: 5px;
  height: 5px;
  flex-shrink: 0;
}
.selected-items li > button {
  margin-left: auto;
  padding: 5px;
  background: none;
  border: 0;
  color: #000;
  display: grid;
  place-items: center;
}
.remove-cross {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
}
.remove-cross:before {
  content: "";
  position: absolute;
  width: 12px;
  height: 1px;
  background: currentColor;
  top: 7px;
  left: 2px;
  transform: rotate(45deg);
}
.remove-cross:after {
  content: "";
  position: absolute;
  width: 12px;
  height: 1px;
  background: currentColor;
  top: 7px;
  left: 2px;
  transform: rotate(-45deg);
}
.selection-panel .square-link {
  width: 100%;
  padding: 12px 15px;
}
.clear-selection {
  display: block;
  margin: 16px auto 0;
  border: 0;
  background: none;
  font-size: 0.75rem;
  color: #000;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.clear-selection:disabled {
  text-decoration: none;
}
.selection-empty {
  font-size: 0.875rem;
  color: #000;
  margin: 24px 0;
}
.selection-panel .editorial-note {
  font-size: 0.6875rem;
  color: #000;
  margin-top: 25px;
}

/* 通用样式：排版、间距与可访问性 */
@keyframes piece-in {
  from {
    opacity: 0;
    transform: scaleX(0.7);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* 故事：预览卡片与案例详情 */
.stories-body {
  padding-bottom: 105px;
}
.stories-grid {
  display: grid;
}
.story-card {
  display: block;
  text-align: left;
  min-width: 0;
  width: 100%;
}
.story-tag {
  display: block;
  color: #000;
}
.story-title {
  gap: 20px;
  justify-content: space-between;
}
.story-title svg {
  flex-shrink: 0;
  margin-top: 5px;
  transition: transform 0.35s;
}
.story-card:hover .story-title svg {
  transform: translate(3px, -3px);
}
.story-description {
  color: #000;
  display: block;
}

/* 通用样式：排版、间距与可访问性 */
.reveal {
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
html[data-motion="ready"] .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(12px);
}

/* 弹窗：菜单与图片查看 */
[data-slot="dialog-overlay"] {
  background: #142d2673;
  backdrop-filter: blur(5px);
  animation-duration: 0.3s;
}
dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: calc(100% - 32px);
  overscroll-behavior: contain;
}
dialog:not([open]) {
  display: none;
}
dialog[open] {
  display: block;
}
dialog[data-state="open"]::backdrop {
  animation: backdrop-in 0.3s ease;
}
dialog[data-state="closed"]::backdrop {
  animation: backdrop-out 0.2s ease forwards;
}

/* 通用样式：排版、间距与可访问性 */
@keyframes backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes backdrop-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* 弹窗：菜单与图片查看 */
.editorial-dialog,
.nav-dialog {
  border: 0;
  border-radius: 0;
  background: var(--background);
  color: #000;
  box-shadow: 0 24px 100px #102a2820;
  max-height: 88dvh;
  overflow-y: auto;
}
[data-slot="dialog-content"][data-state="open"] {
  animation: dialog-in 0.45s var(--ease);
}
[data-slot="dialog-content"][data-state="closed"] {
  animation: dialog-out 0.2s ease;
  animation-fill-mode: forwards;
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes dialog-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(6px);
  }
}
.editorial-dialog {
  max-width: min(630px, calc(100% - 32px));
  padding: 58px 45px 40px;
  gap: 0;
}
.dialog-close {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 2;
  border: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #000;
  transition: background 0.25s;
}
.editorial-dialog > .eyebrow {
  color: #000;
  margin-bottom: 20px;
}
.dialog-title {
  font-size: 2rem;
  margin-bottom: 20px;
}
.dialog-description {
  color: #000;
  font-size: 0.9375rem;
  line-height: 2;
}
.dialog-list {
  padding: 0;
  list-style: none;
  margin: 25px 0;
}
.dialog-list li {
  display: flex;
  align-items: baseline;
  gap: 23px;
  border-top: 1px solid var(--line);
  padding: 15px 0;
  font-size: 0.875rem;
}
.dialog-list li > span {
  font-family: var(--pixel-font);
  font-size: 0.75rem;
  color: #000;
}
.nav-dialog {
  padding: 45px 27px 27px;
  gap: 0;
  max-width: min(480px, calc(100% - 32px));
}
.nav-dialog nav {
  margin-block: 35px;
}
.nav-dialog nav a {
  padding: 17px 0;
  display: flex;
  align-items: center;
  gap: 23px;
  border-bottom: 1px solid var(--line);
}
.nav-dialog nav a > span {
  font-family: var(--pixel-font);
  font-size: 0.75rem;
  color: #000;
}
.nav-dialog nav a > svg {
  margin-left: auto;
}

/* 手机 / 平板及窗口宽度适配；条件：(min-width:1450px) */
@media (min-width: 1450px) {
  /* 首页：头图、关于我们与预览 */
  .about-section {
    padding-top: 132px;
  }
}

/* 手机 / 平板及窗口宽度适配；条件：(max-width:1180px) */
@media (max-width: 1180px) {
  /* 首页：头图、关于我们与预览 */
  .about-paragraphs {
    gap: 26px;
  }

  /* 导航：LOGO、菜单与语言切换 */
  .lang-en .desktop-nav {
    gap: 21px;
  }
  .lang-en .header-inner {
    gap: 20px;
  }

  /* 通用样式：排版、间距与可访问性 */
  .page-intro-main {
    gap: 6%;
    grid-template-columns: 1.4fr 1fr;
  }

  /* 定制旅程：选项与已选清单 */
  .journey-layout {
    grid-template-columns: 1.75fr 1fr;
  }
  .option-card {
    padding: 24px 22px 27px;
  }
  .option-pixel {
    left: 22px;
    bottom: 29px;
  }
  .selection-panel {
    padding: 28px 24px;
  }
}

/* 手机 / 平板及窗口宽度适配；条件：(max-width:950px) */
@media (max-width: 950px) {
  /* 导航：LOGO、菜单与语言切换 */
  .desktop-nav {
    display: none;
  }
  .language-switch {
    margin-left: auto;
    border: 0;
  }
  .mobile-menu-button {
    display: block;
  }

  /* 首页：头图、关于我们与预览 */
  .about-section {
    padding-block: 83px 72px;
    grid-template-columns: 0.75fr 2fr;
  }
  .about-paragraphs {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .home-pair {
    padding-block: 34px 85px;
  }

  /* 通用样式：排版、间距与可访问性 */
  .page-intro-main {
    grid-template-columns: 1.2fr 1fr;
    gap: 7%;
  }

  /* 定制旅程：选项与已选清单 */
  .journey-layout {
    grid-template-columns: 1fr;
  }
  .selection-panel {
    position: static;
    padding: 31px;
  }
  .selection-panel .square-link {
    width: auto;
  }
  .clear-selection {
    display: inline-block;
    margin: 0 0 0 24px;
  }
  .selection-mosaic {
    margin-block: 22px 17px;
  }
  .selected-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 35px;
  }
}

/* 手机 / 平板及窗口宽度适配；条件：(max-width:680px) */
@media (max-width: 680px) {
  /* 通用样式：排版、间距与可访问性 */
  html {
    scroll-padding-top: 78px;
  }

  /* 导航：LOGO、菜单与语言切换 */
  .language-switch {
    gap: 6px;
  }

  /* 首页：头图、关于我们与预览 */
  .about-section {
    grid-template-columns: 1fr;
    padding-block: 65px 57px;
  }

  /* 通用样式：排版、间距与可访问性 */
  .section-marker {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0;
  }
  .section-marker > .eyebrow {
    font-size: 0.6875rem;
  }
  .section-marker > span:last-child {
    font-size: 0.75rem;
  }

  /* 首页：头图、关于我们与预览 */
  .about-content h2 {
    margin-bottom: 24px;
  }
  .about-paragraphs {
    gap: 16px;
  }
  .about-keywords {
    gap: 19px;
    margin-top: 26px;
    padding-top: 20px;
    font-size: 0.75rem;
  }
  .home-pair {
    padding-block: 27px 63px;
  }
  .pair-photo > img {
    aspect-ratio: 1.25;
  }
  .pair-photo figcaption {
    font-size: 0.625rem;
    gap: 12px;
  }
  .pair-photo figcaption .eyebrow {
    font-size: 0.625rem;
  }
  .pair-copy {
    padding: 0;
  }
  .pair-copy > .eyebrow {
    font-size: 0.6875rem;
    margin-bottom: 19px;
  }
  .pair-copy > p:not(.eyebrow) {
    margin-top: 19px;
    max-width: 400px;
  }
  .pair-copy .text-link {
    margin-top: 24px;
  }

  /* 通用样式：排版、间距与可访问性 */
  .page-chapter > .eyebrow {
    font-size: 0.625rem;
    max-width: 85%;
  }
  .page-intro-main {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .page-intro h1 {
    max-width: 460px;
  }
  .lang-en .page-intro h1 {
    font-size: 2.6rem;
    line-height: 1.2;
  }
  .page-intro-description {
    justify-self: start;
    max-width: 400px;
    padding: 0;
  }

  /* 故事：预览卡片与案例详情 */
  .journey-layout,
  .stories-body {
    padding-bottom: 62px;
  }

  /* 定制旅程：选项与已选清单 */
  .option-card {
    padding: 20px 16px 24px;
  }
  .option-top {
    gap: 8px;
    margin-bottom: 26px;
  }
  .option-top > .eyebrow {
    font-size: 0.625rem;
    letter-spacing: 0;
  }
  .option-checkbox {
    width: 18px;
    height: 18px;
  }
  .option-pixel {
    left: 16px;
    bottom: 27px;
    width: 5px;
  }
  .option-description {
    line-height: 1.8;
    margin-top: 15px;
    padding-left: 14px;
  }
  .selection-panel {
    padding: 27px 24px;
  }
  .selected-items {
    display: block;
  }
  .selection-panel .square-link {
    width: 100%;
  }
  .clear-selection {
    display: block;
    margin: 16px auto 0;
  }

  /* 弹窗：菜单与图片查看 */
  .editorial-dialog {
    padding: 55px 25px 28px;
  }
  .dialog-title {
    font-size: 1.75rem;
  }
  .dialog-description {
    font-size: 0.875rem;
  }
}

/* 手机 / 平板及窗口宽度适配；条件：(max-width:360px) */
@media (max-width: 360px) {
  /* 定制旅程：选项与已选清单 */
  .option-grid {
    grid-template-columns: 1fr;
  }

  /* 首页：头图、关于我们与预览 */
  .about-keywords {
    gap: 14px;
  }
}

/* 手机 / 平板及窗口宽度适配；条件：(prefers-reduced-motion:reduce) */
@media (prefers-reduced-motion: reduce) {
  /* 通用样式：排版、间距与可访问性 */
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* 通用样式：排版、间距与可访问性 */
:root {
  --background: #eef2f5;
  --foreground: #000;
  --card: #ffffffb8;
  --card-foreground: #000;
  --popover: #f7f9fc;
  --popover-foreground: #000;
  --primary: #000;
  --primary-foreground: #000;
  --secondary: #ffffff80;
  --secondary-foreground: #000;
  --muted: #ffffff66;
  --muted-foreground: #000;
  --accent: #ffffffb3;
  --accent-foreground: #000;
  --ink: #000;
  --quiet: #000;
  --line: #0000001c;
  --border: #0000001c;
  --input: #00000055;
  --ring: #000;
  --blue: #96b6dc;
  --green: #a7d3c1;
  --red: #dfb4ae;
  --purple: #c0b5d8;
  --yellow: #e4c992;
  --sky: #b6d5e0;
  --pink: #dfb7cc;
  --orange: #e1c4a7;
}
body {
  position: relative;
  isolation: isolate;
  color: #000;
}

/* 定制旅程：选项与已选清单 */
::selection {
  background: #bccce7;
  color: #000;
}

/* 通用样式：排版、间距与可访问性 */
:focus-visible {
  outline-color: #000;
}

/* 导航：LOGO、菜单与语言切换 */
.wrap,
.header-inner {
  width: min(1320px, calc(100% - 112px));
}

/* 背景：毛玻璃纹理与动画画布 */
.glass-scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
#glass-canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.glass-veil,
.glass-grain {
  position: absolute;
  inset: 0;
}

/* 通用样式：排版、间距与可访问性 */
h1,
h2 {
  font-family: var(--pixel-font);
  font-weight: 700;
  font-synthesis: weight;
  letter-spacing: 0;
  line-height: 1.35;
}

/* 弹窗：菜单与图片查看 */
.dialog-title {
  font-family: var(--pixel-font);
  font-synthesis: weight;
  line-height: 1.35;
}

/* 故事：预览卡片与案例详情 */
.story-title {
  font-family: var(--pixel-font);
  font-synthesis: weight;
}

/* 定制旅程：选项与已选清单 */
.option-title {
  font-family: var(--pixel-font);
  font-weight: 700;
  font-synthesis: weight;
  letter-spacing: 0;
  line-height: 1.35;
}

/* 通用样式：排版、间距与可访问性 */
.eyebrow {
  font-family: var(--body-font);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  font-weight: 400;
}

/* 导航：LOGO、菜单与语言切换 */
.header-inner {
  border-bottom-color: #00000012;
}
.language-switch {
  padding-left: 23px;
}
.language-switch > span {
  color: #000;
}

/* 通用样式：排版、间距与可访问性 */
.square-link {
  background: #ffffffae;
  color: #000;
  border: 1px solid #00000028;
  transition:
    background 0.25s,
    transform 0.3s var(--ease);
}
.square-link:hover {
  background: #fff;
  transform: translateY(-2px);
}
.text-link {
  border-color: #00000060;
}

/* 首页：头图、关于我们与预览 */
.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0 29px;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
}
.hero-bottom a {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-bottom svg {
  width: 15px;
  height: 15px;
}
.about-section {
  margin-block: 65px;
  padding: 64px 48px;
  gap: 60px;
  border: 1px solid #ffffffc9;
}
.about-content h2 {
  font-family: var(--pixel-font);
  font-size: clamp(1.7rem, 2.7vw, 2.65rem);
  font-weight: 700;
  font-synthesis: weight;
  line-height: 1.5;
  letter-spacing: 0;
}
.about-paragraphs p {
  font-size: 0.9375rem;
  line-height: 2;
}
.home-pair {
  margin-bottom: 70px;
  padding: 0;
  border: 1px solid #ffffffc9;
  gap: 6%;
  grid-template-columns: 1.1fr 1fr;
}
.home-pair .pair-photo {
  padding: 20px;
}
.home-pair .pair-copy {
  padding: 30px 35px 30px 0;
}
.pair-copy h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: 0;
}
.pair-copy > p:not(.eyebrow) {
  font-size: 0.9375rem;
}

/* 通用样式：排版、间距与可访问性 */
.page-intro {
  padding: 40px 0 70px;
}
.page-intro h1 {
  font-family: var(--pixel-font);
  font-size: clamp(2.8rem, 4.4vw, 4.25rem);
  font-weight: 700;
  font-synthesis: weight;
  letter-spacing: 0;
  line-height: 1.35;
}
.page-intro-description {
  font-size: 0.9375rem;
  line-height: 1.95;
}

/* 定制旅程：选项与已选清单 */
.journey-layout {
  gap: 28px;
}
.option-grid {
  border-color: #00000015;
  background: #ffffff68;
}
.option-card {
  border-color: #00000015;
}
.option-card:hover {
  background: #ffffffa6;
}
.option-title {
  font-size: 1.5rem;
}
.option-description {
  font-size: 0.875rem;
}
.option-checkbox {
  border-color: #00000070;
}
.option-checkbox:checked {
  color: #000;
  border-color: #00000070;
}
.option-checkbox:checked:after {
  border-color: #fff;
}
.selection-panel {
  color: #000;
  border: 1px solid #ffffffbd;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.selection-panel h2 {
  font-size: 1.8rem;
  letter-spacing: 0;
}
.selection-count {
  border-color: var(--line);
}
.selection-panel .square-link {
  background: #ffffffb3;
  color: #000;
}
.selection-panel .square-link:hover {
  background: #fff;
}
.empty-pixel {
  background: #0000000d;
}
.clear-selection:disabled {
  color: #000;
  opacity: 0.45;
}

/* 故事：预览卡片与案例详情 */
.story-card {
  border: 1px solid #ffffffbd;
}
.story-title {
  letter-spacing: 0;
  font-weight: 700;
}
.story-tag {
  letter-spacing: 0.07em;
}

/* 弹窗：菜单与图片查看 */
dialog[data-slot="dialog-content"] {
  border: 1px solid #ffffffd9;
  color: #000;
  box-shadow: 0 25px 100px #26354b2b;
}
dialog::backdrop {
  background: #68758233;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}
.dialog-title {
  font-weight: 700;
  letter-spacing: 0;
}
.dialog-close {
  background: #ffffffd9;
}
.dialog-close:hover {
  background: #fff;
}
.nav-dialog nav a[aria-current="page"] {
  font-weight: 700;
  color: #000;
}

/* 中国风光：缩略图、图片查看与来源 */
.china-photo {
  position: relative;
  display: block;
  width: 100%;
  padding: 18px;
  border: 1px solid #ffffffc9;
  background: #ffffff70;
  text-align: left;
}
.china-photo > img {
  width: 100%;
  height: clamp(340px, 54vw, 680px);
  object-fit: cover;
  object-position: center 48%;
}
.photo-expand {
  position: absolute;
  right: 33px;
  bottom: 33px;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  background: #ffffffd9;
  transition: transform 0.3s var(--ease);
}
.china-photo:hover .photo-expand {
  transform: scale(1.06);
}
.china-gallery > .editorial-note {
  max-width: 720px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  margin-top: 10px;
}
.gallery-dialog {
  max-width: min(1200px, calc(100% - 32px));
  max-height: 88dvh;
}
.gallery-dialog .dialog-title {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

/* 手机 / 平板及窗口宽度适配；条件：(max-width:1150px) */
@media (max-width: 1150px) {
  /* 导航：LOGO、菜单与语言切换 */
  .wrap,
  .header-inner {
    width: calc(100% - 64px);
  }
  .language-switch {
    margin-left: auto;
    border: 0;
  }
  .mobile-menu-button {
    display: block;
  }

  /* 首页：头图、关于我们与预览 */
  .about-section {
    padding: 45px 32px;
    gap: 35px;
  }
  .home-pair .pair-copy {
    padding-right: 28px;
  }
}

/* 手机 / 平板及窗口宽度适配；条件：(max-width:800px) */
@media (max-width: 800px) {
  /* 首页：头图、关于我们与预览 */
  .about-section {
    grid-template-columns: 1fr;
  }
  .about-content h2 {
    font-size: 2.1rem;
  }
  .about-paragraphs {
    grid-template-columns: 1fr 1fr;
  }

  /* 通用样式：排版、间距与可访问性 */
  .page-intro-main {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .page-intro-description {
    justify-self: start;
    max-width: 540px;
  }
  .page-intro h1 {
    max-width: 660px;
    font-size: 3rem;
  }

  /* 定制旅程：选项与已选清单 */
  .journey-layout {
    grid-template-columns: 1fr;
  }
  .selection-panel {
    position: static;
  }
}

/* 手机 / 平板及窗口宽度适配；条件：(max-width:600px) */
@media (max-width: 600px) {
  /* 导航：LOGO、菜单与语言切换 */
  .wrap,
  .header-inner {
    width: calc(100% - 36px);
  }

  /* 首页：头图、关于我们与预览 */
  .hero-bottom {
    padding: 0 0 22px;
    font-size: 0.625rem;
  }
  .about-section {
    margin-block: 30px;
    padding: 28px 22px;
    gap: 27px;
  }
  .about-content h2 {
    font-size: 1.75rem;
    line-height: 1.5;
  }
  .about-paragraphs {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .about-paragraphs p {
    font-size: 0.875rem;
  }
  .home-pair {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 38px;
  }
  .home-pair .pair-photo {
    padding: 10px;
  }
  .home-pair .pair-copy {
    padding: 18px 23px 30px;
  }
  .pair-copy h2 {
    font-size: 2rem;
  }
  .pair-copy > p:not(.eyebrow) {
    font-size: 0.875rem;
  }
  .pair-photo figcaption {
    padding: 12px 4px 0;
  }

  /* 通用样式：排版、间距与可访问性 */
  .page-intro {
    padding: 30px 0 38px;
  }
  .page-intro h1,
  .lang-en .page-intro h1 {
    font-size: clamp(2.1rem, 7.8vw, 2.8rem);
    line-height: 1.4;
  }
  .page-intro-description {
    font-size: 0.875rem;
  }
  .page-intro-main {
    gap: 23px;
  }

  /* 定制旅程：选项与已选清单 */
  .option-card {
    padding: 22px 17px 25px;
  }
  .option-title {
    font-size: 1.3rem;
  }
  .option-description {
    font-size: 0.8125rem;
  }
  .option-pixel {
    left: 17px;
    bottom: 28px;
  }
  .selection-panel {
    padding: 26px;
  }

  /* 中国风光：缩略图、图片查看与来源 */
  .china-photo {
    padding: 10px;
  }
  .china-photo > img {
    height: 450px;
    max-height: 65vh;
  }
  .photo-expand {
    right: 23px;
    bottom: 23px;
  }
  .gallery-dialog .dialog-description {
    font-size: 0.8125rem;
  }
}

/* 通用样式：排版、间距与可访问性 */
body {
  --theme-rgb: 100 216 177;
  --theme-light: #e9f5f1;
  --theme-deep: #257e69;
  --mosaic-1: #50bfac;
  --mosaic-2: #607bcc;
  --mosaic-3: #f9a38f;
  --mosaic-4: #b0a4d5;
  --mosaic-5: #ecc170;
  --mosaic-6: #85c8e2;
  --mosaic-7: #90d5ba;
  --glass-texture: url("../textures/frosted-glass.svg");
  background: var(--theme-light);
}

/* 页面主题色 */
.page-resources {
  --theme-rgb: 175 158 235;
  --theme-light: #f0edf8;
  --theme-deep: #7255b1;
  --mosaic-1: #9879d1;
  --mosaic-2: #7072c8;
  --mosaic-3: #eea3b9;
  --mosaic-4: #c5aae3;
  --mosaic-5: #f4c278;
  --mosaic-6: #8ac4d2;
  --mosaic-7: #b6a0e0;
}

/* 定制旅程：选项与已选清单 */
.page-journey {
  --theme-rgb: 108 201 235;
  --theme-light: #eaf3f8;
  --theme-deep: #327da3;
  --mosaic-1: #61b9d4;
  --mosaic-2: #6994d7;
  --mosaic-3: #d4abd1;
  --mosaic-4: #a2b1e3;
  --mosaic-5: #edc780;
  --mosaic-6: #87d5ce;
  --mosaic-7: #90b4da;
}

/* 页面主题色 */
.page-china {
  --theme-rgb: 255 153 152;
  --theme-light: #faf0ee;
  --theme-deep: #b45c65;
  --mosaic-1: #e2919a;
  --mosaic-2: #9b93cf;
  --mosaic-3: #ffb497;
  --mosaic-4: #c3a0d6;
  --mosaic-5: #efc378;
  --mosaic-6: #9ad1c6;
  --mosaic-7: #e6a9bd;
}

/* 故事：预览卡片与案例详情 */
.page-stories {
  --theme-rgb: 145 172 243;
  --theme-light: #edf0fa;
  --theme-deep: #526ab1;
  --mosaic-1: #7996d6;
  --mosaic-2: #6377c2;
  --mosaic-3: #e0a1bb;
  --mosaic-4: #b6a5d3;
  --mosaic-5: #f3c78c;
  --mosaic-6: #89c6d9;
  --mosaic-7: #91b6e2;
}

/* 背景：毛玻璃纹理与动画画布 */
.glass-scene {
  background:
    radial-gradient(ellipse at 12% 18%, rgb(var(--theme-rgb) / 0.19), transparent 62%),
    var(--theme-light);
}
.glass-veil {
  background: linear-gradient(125deg, #ffffff29, #ffffff12 50%, #ffffff2e);
}
.glass-grain {
  opacity: 0.38;
  mix-blend-mode: soft-light;
  background-image: var(--glass-texture);
  background-repeat: repeat;
  background-size: 184px 184px;
}
.glass-grain:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--glass-texture);
  background-size: 313px 313px;
  opacity: 0.2;
  mix-blend-mode: multiply;
}

/* 导航：LOGO、菜单与语言切换 */
.site-header {
  isolation: isolate;
  background: rgb(var(--theme-rgb) / 0.65);
  backdrop-filter: blur(24px) saturate(135%);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
  box-shadow:
    inset 0 1px #ffffff91,
    inset 0 -1px #ffffff55;
}

.site-header:before,
dialog[data-slot="dialog-content"]:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--glass-texture) repeat 0 0/184px 184px;
  opacity: 0.22;
  mix-blend-mode: soft-light;
}

/* 导航：LOGO、菜单与语言切换 */
.header-inner {
  min-height: 88px;
  border: 0;
  gap: 28px;
}
.brand {
  width: 118px;
}
.desktop-nav a {
  font-family: var(--pixel-font);
  font-weight: 700;
  font-synthesis: weight;
}
.language-switch,
.nav-dialog nav a {
  font-family: var(--pixel-font);
  font-weight: 700;
  font-synthesis: weight;
  letter-spacing: 0;
}
.desktop-nav a {
  line-height: 1.4;
}
.language-switch {
  font-size: 0.9375rem;
}
.desktop-nav a:after {
  bottom: 6px;
  height: 2px;
}
.desktop-nav a:hover {
  color: #1b3b3b;
}
.header-inner .brand-link {
  margin-right: 8px;
}

/* 弹窗：菜单与图片查看 */
.nav-dialog nav a {
  font-size: 1.5rem;
}

/* 弹窗：菜单与图片查看 */
dialog[data-slot="dialog-content"] {
  isolation: isolate;
  background: linear-gradient(#ffffffc7, #ffffffc7), rgb(var(--theme-rgb) / 0.82);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}

/* 故事：预览卡片与案例详情 */
.about-section,
.home-pair,
.story-card {
  background: #ffffff6b;
  border-color: #ffffffbd;
  box-shadow: inset 0 1px #ffffff80;
}

/* 通用样式：排版、间距与可访问性 */
.page-intro {
  padding-bottom: 58px;
}
.page-chapter {
  margin-bottom: 43px;
}
.chapter-mark i {
  background: var(--theme-deep);
}
.chapter-mark i:nth-child(2) {
  background: rgb(var(--theme-rgb) / 0.8);
}
.chapter-mark i:nth-child(3) {
  background: #ffffffad;
}

/* 定制旅程：选项与已选清单 */
.selection-panel {
  background: #ffffff8c;
}
/* 选项与清单中的 tone 色块共用色值，选中后整块填充对应颜色。 */
.option-blue {
  --option-color: var(--blue);
}
.option-sky {
  --option-color: var(--sky);
}
.option-yellow {
  --option-color: var(--yellow);
}
.option-green {
  --option-color: var(--green);
}
.option-pink {
  --option-color: var(--pink);
}
.option-red {
  --option-color: var(--red);
}
.option-purple {
  --option-color: var(--purple);
}
.option-orange {
  --option-color: var(--orange);
}
.option-card.is-selected {
  background: var(--option-color);
  color: #000;
}
.option-checkbox:checked {
  background: #171717;
  border-color: #171717;
}

/* 首页：头图、关于我们与预览 */
.photo-hero {
  padding-top: 22px;
}
.hero-image-frame {
  position: relative;
  margin: 0;
  padding: 12px;
  background: #ffffff55;
  border: 1px solid #ffffffbc;
  box-shadow: 0 18px 70px #264b4810;
}
.photo-hero .hero-bottom {
  padding: 19px 1px 0;
  font-size: 0.75rem;
  gap: 20px;
}
.hero-bottom-left {
  display: flex;
  align-items: center;
  gap: 27px;
}
.hero-bottom-left > span {
  font-size: 0.625rem;
  letter-spacing: 0.1em;
}
.page-home .about-section {
  margin-top: 55px;
}
.home-photo-preview {
  padding-bottom: 72px;
}
.preview-topline {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}
.preview-topline h2 {
  font-size: 1.5rem;
}
.preview-topline .text-link {
  font-size: 0.8125rem;
  gap: 28px;
}
.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.preview-grid a {
  display: block;
  padding: 8px;
  background: #ffffff63;
  border: 1px solid #ffffffbb;
}
.preview-grid img {
  transition: filter 0.25s;
}
.preview-grid a:hover img {
  filter: brightness(1.06);
}
.preview-grid span {
  display: block;
  padding: 12px 4px 5px;
  font-size: 0.75rem;
}

/* 中国风光：缩略图、图片查看与来源 */
.gallery-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 0 0 21px;
  border-bottom: 1px solid #00000020;
  margin-bottom: 24px;
}
.gallery-heading p {
  font-size: 0.75rem;
}
.gallery-heading .eyebrow {
  font-size: 0.625rem;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 27px 23px;
}
.gallery-card {
  margin: 0;
  padding: 11px 11px 0;
  background: #ffffff6b;
  border: 1px solid #ffffffb0;
  min-width: 0;
}
.gallery-open {
  position: relative;
  display: block;
  border: 0;
  padding: 0;
  background: transparent;
  width: 100%;
  overflow: hidden;
}
.gallery-open > img {
  transition: transform 0.7s var(--ease);
}
.gallery-open:hover > img {
  transform: scale(1.035);
}
.gallery-open .photo-expand {
  right: 12px;
  bottom: 12px;
  width: 32px;
  height: 32px;
  background: #ffffffb8;
  backdrop-filter: blur(14px);
}
.gallery-open:focus-visible {
  outline-offset: 4px;
}
.gallery-card figcaption {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 17px 5px 19px;
}
.gallery-card figcaption > span {
  font-size: 0.625rem;
  font-family: var(--body-font);
  opacity: 0.65;
}
.gallery-card h2 {
  font-size: 1.0625rem;
  line-height: 1.45;
}
.china-gallery {
  padding-bottom: 78px;
}
.gallery-dialog {
  width: min(1200px, calc(100% - 40px));
  padding: 16px !important;
  overflow: auto;
}
.gallery-dialog > img {
  width: 100%;
  height: 68vh;
  max-height: none;
  object-fit: contain;
  background: #ffffff36;
}
.gallery-dialog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 8px 3px;
}
.gallery-dialog-toolbar .dialog-title {
  font-size: 1.3125rem;
  margin: 0;
}
.gallery-pager {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-shrink: 0;
}
.gallery-pager button {
  width: 36px;
  height: 36px;
  background: rgb(var(--theme-rgb) / 0.45);
  border: 1px solid #00000020;
  display: grid;
  place-items: center;
}
.gallery-position {
  font-size: 0.75rem;
  min-width: 48px;
  text-align: center;
}
.gallery-dialog .dialog-close {
  right: 25px;
  top: 25px;
  box-shadow: 0 1px 15px #00000010;
}

/* 手机 / 平板及窗口宽度适配；条件：(max-width:1150px) */
@media (max-width: 1150px) {
  /* 导航：LOGO、菜单与语言切换 */
  .header-inner {
    min-height: 80px;
  }
  .desktop-nav {
    display: none;
  }
}

/* 手机 / 平板及窗口宽度适配；条件：(max-width:800px) */
@media (max-width: 800px) {
  /* 中国风光：缩略图、图片查看与来源 */
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  /* 首页：头图、关于我们与预览 */
  .preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-bottom-left > span {
    display: none;
  }
}

/* 手机 / 平板及窗口宽度适配；条件：(max-width:600px) */
@media (max-width: 600px) {
  /* 导航：LOGO、菜单与语言切换 */
  .header-inner {
    min-height: 74px;
    gap: 12px;
  }
  .brand {
    width: 108px;
  }
  .header-inner .brand-link {
    margin-right: 0;
  }

  /* 首页：头图、关于我们与预览 */
  .photo-hero {
    padding-top: 14px;
  }
  .hero-image-frame {
    padding: 7px;
  }
  .photo-hero .hero-bottom {
    padding-top: 15px;
    font-size: 0.6875rem;
  }
  .page-home .about-section {
    margin-top: 36px;
  }
  .home-photo-preview {
    padding-bottom: 42px;
  }
  .preview-topline {
    align-items: center;
  }
  .preview-topline h2 {
    font-size: 1.125rem;
  }
  .preview-topline .text-link {
    font-size: 0.6875rem;
    gap: 10px;
  }
  .preview-grid {
    gap: 13px;
  }
  .preview-grid a {
    padding: 6px;
  }
  .preview-grid span {
    font-size: 0.6875rem;
    padding: 10px 2px 4px;
  }

  /* 通用样式：排版、间距与可访问性 */
  .page-chapter {
    margin-bottom: 32px;
  }
  .page-intro {
    padding-bottom: 34px;
  }

  /* 中国风光：缩略图、图片查看与来源 */
  .gallery-heading {
    align-items: start;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
  }
  .gallery-heading p {
    font-size: 0.6875rem;
    max-width: 180px;
  }
  .gallery-heading .eyebrow {
    font-size: 0.5625rem;
  }
  .photo-grid {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .gallery-card {
    padding: 9px 9px 0;
  }
  .gallery-card figcaption {
    padding: 15px 4px 17px;
  }
  .gallery-card h2 {
    font-size: 1.25rem;
  }
  .china-gallery {
    padding-bottom: 45px;
  }
  .gallery-dialog {
    width: calc(100% - 20px);
    padding: 8px !important;
    max-height: 92dvh;
  }
  .gallery-dialog > img {
    height: auto;
    max-height: 65dvh;
    min-height: 180px;
  }
  .gallery-dialog-toolbar {
    align-items: start;
    padding: 13px 5px 4px;
    gap: 12px;
  }
  .gallery-dialog-toolbar .dialog-title {
    font-size: 1.0625rem;
    line-height: 1.4;
  }
  .gallery-pager {
    gap: 7px;
  }
  .gallery-pager button {
    width: 30px;
    height: 30px;
  }
  .gallery-position {
    font-size: 0.6875rem;
    min-width: 42px;
  }
  .gallery-dialog .dialog-close {
    right: 17px;
    top: 17px;
  }
}

/* 手机 / 平板及窗口宽度适配；条件：(prefers-reduced-motion:reduce) */
@media (prefers-reduced-motion: reduce) {
  /* 中国风光：缩略图、图片查看与来源 */
  .gallery-open > img {
    transition: none !important;
  }
}

/* 页面主题色 */
.page-contact {
  --theme-rgb: 255 188 106;
  --theme-light: #f8f0e8;
  --theme-deep: #ac6428;
  --mosaic-1: #e9b254;
  --mosaic-2: #de9270;
  --mosaic-3: #f0bd8e;
  --mosaic-4: #b39ecf;
  --mosaic-5: #edce69;
  --mosaic-6: #8bcfc0;
  --mosaic-7: #efa187;
}

/* 首页：头图、关于我们与预览 */
.photo-hero .hero-bottom {
  justify-content: flex-start;
}
.about-offerings {
  grid-column: 1/-1;
  border-top: 1px solid #0000001c;
  padding-top: 35px;
  min-width: 0;
}
.offerings-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-bottom: 26px;
}
.offerings-topline h2 {
  font-size: 1.4375rem;
  line-height: 1.5;
}
.offerings-topline > .eyebrow {
  font-size: 0.625rem;
}
.offering-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px;
}
.about-offering {
  min-width: 0;
  background: #ffffff57;
  border: 1px solid #ffffffb8;
}
.about-offering > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.65;
  object-fit: cover;
}
.offering-copy {
  padding: 24px 20px 23px;
}
.offering-copy .eyebrow {
  font-size: 0.5625rem;
  letter-spacing: 0.065em;
  margin-bottom: 12px;
}
.offering-copy h3 {
  font-family: var(--pixel-font);
  font-weight: 700;
  font-synthesis: weight;
  font-size: 1.625rem;
  line-height: 1.4;
  letter-spacing: 0;
}
.offering-copy > p:not(.eyebrow) {
  font-size: 0.8125rem;
  line-height: 1.85;
  margin-top: 15px;
  min-height: 48px;
}
.offering-copy .text-link {
  font-size: 0.75rem;
  margin-top: 22px;
  gap: 25px;
}

/* 联系我们：地图、地址与导航链接 */
.contact-map-section {
  padding-block: 37px 54px;
}
.contact-map-topline {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 28px;
}
.contact-map-topline .eyebrow {
  margin-bottom: 17px;
}
.contact-map-topline h1 {
  font-size: clamp(2.25rem, 4vw, 3.4rem);
  line-height: 1.3;
}
.contact-city {
  font-size: 0.8125rem;
  line-height: 1.8;
  padding-bottom: 5px;
}
.map-frame {
  padding: 12px;
  background: #ffffff71;
  border: 1px solid #ffffffd6;
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: clamp(350px, 49svh, 520px);
  border: 0;
  background: #e5e9e7;
}
.map-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  padding: 25px 2px 0;
}
.map-details .eyebrow {
  font-size: 0.625rem;
  margin-bottom: 8px;
  letter-spacing: 0.08em;
}
.map-details p:not(.eyebrow) {
  font-size: 0.875rem;
}
.map-actions {
  display: flex;
  gap: 28px;
  flex-shrink: 0;
}
/* 地图入口：适度加粗，文字、箭头和下划线统一为醒目的朱红色。 */
.map-actions .text-link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #b33242;
  border-color: currentColor;
  gap: 14px;
  padding-bottom: 9px;
}
.map-actions .text-link svg {
  stroke-width: 2;
}
.map-actions .text-link:hover {
  color: #8c2434;
}
.map-actions .text-link:focus-visible {
  outline-color: #b33242;
}

/* 手机 / 平板及窗口宽度适配；条件：(max-width:1000px) */
@media (max-width: 1000px) {
  /* 首页：头图、关于我们与预览 */
  .offering-grid {
    gap: 15px;
  }
  .offering-copy {
    padding: 20px 16px;
  }
  .offering-copy h3 {
    font-size: 1.375rem;
  }

  /* 联系我们：地图、地址与导航链接 */
  .map-details {
    align-items: start;
    flex-direction: column;
    gap: 23px;
  }
}

/* 手机 / 平板及窗口宽度适配；条件：(max-width:680px) */
@media (max-width: 680px) {
  /* 首页：头图、关于我们与预览 */
  .about-offerings {
    padding-top: 28px;
  }
  .offerings-topline {
    display: block;
    margin-bottom: 22px;
  }
  .offerings-topline h2 {
    font-size: 1.375rem;
    margin-top: 12px;
  }
  .offering-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .offering-copy {
    padding: 22px;
  }
  .offering-copy h3 {
    font-size: 1.75rem;
  }
  .offering-copy > p:not(.eyebrow) {
    min-height: 0;
    font-size: 0.875rem;
  }
  .offering-copy .text-link {
    margin-top: 22px;
    font-size: 0.8125rem;
  }
  .about-offering > img {
    aspect-ratio: 1.8;
  }

  /* 联系我们：地图、地址与导航链接 */
  .contact-map-section {
    padding-block: 28px 37px;
  }
  .contact-map-topline {
    gap: 12px;
    align-items: start;
    margin-bottom: 24px;
  }
  .contact-map-topline .eyebrow {
    font-size: 0.5625rem;
    letter-spacing: 0.08em;
    margin-bottom: 17px;
  }
  .contact-map-topline h1 {
    font-size: 2.25rem;
  }
  .contact-city {
    font-size: 0.6875rem;
    padding-top: 3px;
  }
  .map-frame {
    padding: 7px;
  }
  .map-frame iframe {
    height: 400px;
  }
  .map-details {
    padding-top: 21px;
    gap: 22px;
  }
  .map-details p:not(.eyebrow) {
    font-size: 0.8125rem;
  }
  .map-actions {
    gap: 23px;
    flex-wrap: wrap;
  }
  .map-actions .text-link {
    font-size: 0.75rem;
    gap: 10px;
  }
}

/* 首页：头图、关于我们与预览 */
.hero-image-frame {
  isolation: isolate;
  overflow: hidden;
}
.hero-image-frame > img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 16/7;
  object-fit: cover;
  object-position: 50% 48%;
}
.hero-image-frame::after {
  position: absolute;
  inset: 12px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #0d303956, #0d303904 80%);
}
.preview-grid a {
  min-width: 0;
}
.preview-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* 中国风光：缩略图、图片查看与来源 */
.gallery-open {
  aspect-ratio: 4/3;
}
.gallery-open > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

/* 图片与视频：轮播、播放与翻页控件 */
.media-carousel {
  min-width: 0;
  position: relative;
}
.media-viewport {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #dce4df;
  touch-action: pan-y pinch-zoom;
  isolation: isolate;
}
.media-viewport:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}
.media-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.media-slide[hidden],
.media-carousel [hidden] {
  display: none !important;
}
.media-slide > img,
.media-slide > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.media-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  border-bottom: 1px solid #0000001c;
}
.media-kind {
  font-family: var(--pixel-font);
  font-size: 0.6875rem;
  line-height: 1.4;
}
.media-paging {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  flex-shrink: 0;
}
.media-paging button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #00000020;
  background: #ffffff70;
  font-size: 1.1rem;
  transition: background 0.2s;
}
.media-paging button:hover {
  background: #fff;
}
.media-count {
  font-family: var(--pixel-font);
  font-size: 0.6875rem;
  min-width: 44px;
  text-align: center;
}
.media-play {
  font-size: 0.6875rem;
  line-height: 1.5;
  padding: 6px 8px;
  border: 1px solid #00000028;
  background: #ffffff65;
  white-space: nowrap;
}
.media-play:hover {
  background: #fff;
}
.media-status {
  font-size: 0.75rem;
  line-height: 1.6;
  padding: 9px 0;
}

/* 故事：预览卡片与案例详情 */
.stories-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}
.story-card,
.story-card-0 {
  grid-column: auto;
  grid-row: auto;
  padding: 15px;
}
.story-copy {
  padding: 0 5px 12px;
}
.story-tag {
  font-size: 0.625rem;
  margin-top: 22px;
}
.story-title {
  display: block;
  font-size: 1.5rem;
  line-height: 1.45;
  margin-top: 12px;
}
.story-open {
  border: 0;
  background: none;
  padding: 0;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}
.story-open > svg {
  flex-shrink: 0;
  margin-top: 5px;
}
.story-open:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.story-description {
  font-size: 0.8125rem;
  line-height: 1.9;
  margin-top: 14px;
}
.story-read {
  font-size: 0.75rem;
  margin-top: 24px;
  gap: 24px;
}
.story-card .media-kind {
  font-size: 0.5625rem;
}
.story-card .media-toolbar {
  gap: 6px;
}
.story-card .media-paging {
  gap: 5px;
}
.story-card .media-paging button {
  width: 30px;
  height: 32px;
}
.story-card .media-play {
  font-size: 0.625rem;
  padding: 5px 6px;
}

/* 图片与视频：轮播、播放与翻页控件 */
.media-carousel-detail .media-viewport {
  aspect-ratio: 16/9;
  background: #19201e;
}
.media-carousel-detail .media-slide > img,
.media-carousel-detail .media-slide > video {
  object-fit: contain;
}
.media-carousel-detail .media-toolbar {
  margin: 0 24px;
  min-height: 56px;
}
.media-carousel-detail .media-status {
  padding-inline: 24px;
}

/* 合作伙伴：网格、LOGO 与名称 */
.partner-section {
  padding-bottom: 70px;
}
.partner-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  padding-top: 34px;
  border-top: 1px solid #00000022;
  margin-bottom: 26px;
}
.partner-heading .eyebrow {
  font-size: 0.625rem;
  margin-bottom: 13px;
}
.partner-heading h2 {
  font-size: 2rem;
  line-height: 1.4;
}
.partner-grid {
  display: grid;
  gap: 13px;
}
.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  padding: 19px 12px 18px;
  background: #ffffff85;
  border: 1px solid #ffffffbd;
}
.partner-logo {
  display: flex;
  width: 100%;
  height: 86px;
  padding: 7px;
  align-items: center;
  justify-content: center;
  margin-bottom: 17px;
}
.partner-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 170px;
}
.partner-card h3 {
  font: 700 0.875rem/1.5 var(--pixel-font);
  overflow-wrap: anywhere;
}
.partner-name-secondary {
  font-size: 0.625rem;
  line-height: 1.6;
  margin-top: 6px;
  overflow-wrap: anywhere;
}
.partner-note {
  font-size: 0.6875rem;
  line-height: 1.8;
  margin-top: 20px;
  opacity: 0.75;
}

/* 手机 / 平板及窗口宽度适配；条件：(max-width:700px) */
@media (max-width: 700px) {
  /* 合作伙伴：网格、LOGO 与名称 */
  .partner-grid {
    gap: 12px;
  }
  .partner-heading {
    display: block;
    padding-top: 27px;
  }
  .partner-heading h2 {
    font-size: 1.75rem;
  }
  .partner-card {
    padding: 17px 12px;
  }
  .partner-logo {
    height: 76px;
    margin-bottom: 13px;
  }
  .partner-note {
    font-size: 0.625rem;
  }
  .partner-section {
    padding-bottom: 44px;
  }
}

/* 手机 / 平板及窗口宽度适配；条件：(max-width:1100px) */
@media (max-width: 1100px) {
  /* 故事：预览卡片与案例详情 */
  .stories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .story-card-0 {
    grid-column: auto;
  }
  .story-card:last-child {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 28px;
    align-items: center;
  }
  .story-card:last-child .story-copy {
    padding-right: 15px;
  }
}

/* 手机 / 平板及窗口宽度适配；条件：(max-width:760px) */
@media (max-width: 760px) {
  /* 故事：预览卡片与案例详情 */
  .stories-grid {
    grid-template-columns: 1fr;
  }
  .story-card:last-child {
    display: block;
    grid-column: auto;
  }
  .story-card:last-child .story-copy {
    padding-right: 5px;
  }
  .story-card .media-kind {
    font-size: 0.6875rem;
  }
  .story-card .media-paging {
    gap: 9px;
  }
  .story-card .media-paging button {
    width: 34px;
    height: 34px;
  }
  .story-card .media-play {
    font-size: 0.6875rem;
    padding: 6px 8px;
  }
}

/* 手机 / 平板及窗口宽度适配；条件：(max-width:600px) */
@media (max-width: 600px) {
  /* 首页：头图、关于我们与预览 */
  .hero-image-frame::after {
    inset: 7px;
  }
  .hero-image-frame > img {
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 16/7;
  }

  /* 图片与视频：轮播、播放与翻页控件 */
  .media-carousel-detail .media-toolbar {
    margin-inline: 14px;
  }
  .media-carousel-detail .media-status {
    padding-inline: 14px;
  }
  .media-kind {
    font-size: 0.625rem;
  }
  .media-toolbar {
    gap: 7px;
  }
  .media-paging {
    gap: 6px;
  }
}

/* 手机 / 平板及窗口宽度适配；条件：(max-width:360px) */
@media (max-width: 360px) {
  /* 故事：预览卡片与案例详情 */
  .media-kind,
  .story-card .media-kind {
    font-size: 0.5625rem;
  }
  .media-toolbar,
  .story-card .media-paging {
    gap: 5px;
  }
  .story-card .media-play {
    font-size: 0.5625rem;
    padding: 5px;
  }
  .story-card .media-paging button {
    width: 28px;
  }

  /* 图片与视频：轮播、播放与翻页控件 */
  .media-count {
    min-width: 39px;
  }
}

/* 导航：LOGO、菜单与语言切换 */
.desktop-nav {
  gap: 32px;
}
.desktop-nav a {
  font-size: 1rem;
  letter-spacing: 0.035em;
  white-space: nowrap;
}

/* 弹窗：菜单与图片查看 */
.lang-en .nav-dialog nav a {
  letter-spacing: 0.045em;
}

/* 独家资源：内容、图文与折叠项 */
.resource-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 29px;
  margin-top: 37px;
  padding-top: 22px;
  border-top: 1px solid #00000020;
}
.resource-jump a {
  font: 400 0.8125rem/1.5 var(--pixel-font);
  padding-block: 5px;
  text-underline-offset: 6px;
}
.resource-jump a:hover {
  text-decoration: underline;
}
.resource-editorial {
  padding: 34px 0 63px;
  scroll-margin-top: 110px;
}
.resource-editorial + .resource-editorial {
  border-top: 1px solid #00000022;
}
.resource-section-heading {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-bottom: 30px;
}
.resource-numeral {
  font: 400 3.6rem/1 var(--pixel-font);
  opacity: 0.3;
  flex-shrink: 0;
}
.resource-section-heading .eyebrow {
  font-size: 0.625rem;
  margin-bottom: 10px;
}
.resource-section-heading h2 {
  font: 700 clamp(1.7rem, 2.6vw, 2.7rem)/1.35 var(--pixel-font);
}
.resource-editorial-grid {
  display: grid;
  grid-template-columns: 0.93fr 1.12fr;
  gap: 45px;
  align-items: start;
}
.resource-media {
  position: sticky;
  top: 110px;
  min-width: 0;
}
.resource-media .media-carousel {
  padding: 12px 12px 0;
  background: #ffffff81;
  border: 1px solid #ffffffbd;
}
.resource-note {
  font-size: 0.75rem;
  line-height: 1.9;
  margin: 19px 3px 0;
  max-width: 520px;
}
.resource-intro {
  font-size: 1rem;
  line-height: 2;
  padding-bottom: 25px;
  border-bottom: 1px solid #0000001b;
  margin-bottom: 25px;
}
.resource-capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 27px;
}
.resource-capability h3 {
  font: 700 1.125rem/1.5 var(--pixel-font);
  margin-bottom: 11px;
}
.resource-capability p {
  font-size: 0.8125rem;
  line-height: 1.95;
}

/* 合作伙伴：网格、LOGO 与名称 */
.page-resources .partner-heading {
  margin-top: 10px;
}
.page-resources .partner-section {
  padding-top: 18px;
}

/* 故事：预览卡片与案例详情 */
.case-preview .story-title {
  font-size: 1.625rem;
  line-height: 1.4;
}
.case-preview .story-description {
  font-size: 0.875rem;
  line-height: 1.95;
}
.case-preview .story-read {
  margin-top: 27px;
  font-family: var(--pixel-font);
  font-size: 0.8125rem;
}
.case-preview .story-open {
  text-decoration: none;
}
.case-preview .story-open:hover {
  text-decoration: underline;
}
.case-preview-workshop video {
  object-position: center 45%;
}
.case-yunnan {
  --theme-rgb: 202 168 231;
  --theme-light: #f4edf7;
  --theme-deep: #76548d;
}
.case-workshop {
  --theme-rgb: 246 187 117;
  --theme-light: #f9f0e8;
  --theme-deep: #8c6039;
}
.case-rwanda {
  --theme-rgb: 115 212 178;
  --theme-light: #edf5ef;
  --theme-deep: #37725c;
}
.case-article {
  padding-top: 29px;
  padding-bottom: 74px;
}
.case-back {
  display: inline-flex;
  font: 400 0.75rem/1.5 var(--pixel-font);
  margin-bottom: 34px;
}
.case-back:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.case-heading > .eyebrow {
  font-size: 0.6875rem;
  margin-bottom: 22px;
}
.case-heading h1 {
  font: 700 clamp(2.75rem, 5vw, 5rem)/1.2 var(--pixel-font);
  letter-spacing: 0;
  max-width: 1080px;
}
.case-deck {
  font-size: 1.0625rem;
  line-height: 1.95;
  max-width: 810px;
  margin-top: 28px;
}
.case-meta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin: 28px 0 33px;
}
.case-meta span {
  font-size: 0.6875rem;
  line-height: 1.6;
  padding: 6px 11px;
  border: 1px solid #00000025;
  background: #ffffff53;
}
.case-hero-media {
  padding: 12px 12px 0;
  background: #ffffff87;
  border: 1px solid #ffffffc2;
}
.case-hero-media .media-toolbar {
  margin: 0;
  min-height: 58px;
}
.case-hero-media .media-viewport {
  max-height: 70vh;
  aspect-ratio: 16/8.5;
}
.case-hero-media .media-slide > video,
.case-hero-media .media-slide > img {
  object-fit: contain;
  background: #1d2728;
}
.case-intro {
  font-size: clamp(1.125rem, 1.7vw, 1.45rem);
  line-height: 1.95;
  max-width: 880px;
  margin: 57px auto 65px;
}
.case-chapters {
  display: grid;
  gap: 54px;
}
.case-chapter {
  display: grid;
  grid-template-columns: 0.83fr 1.17fr;
  gap: 55px;
  align-items: center;
  padding: 25px 0;
  border-top: 1px solid #0000001d;
}
.case-chapter:nth-child(even) {
  grid-template-columns: 1.17fr 0.83fr;
}
.case-chapter:nth-child(even) .case-chapter-copy {
  order: 2;
}
.case-chapter-copy .eyebrow {
  font-size: 0.625rem;
}
.case-chapter-copy h2 {
  font: 700 clamp(1.5rem, 2.5vw, 2.4rem)/1.45 var(--pixel-font);
  margin: 19px 0;
}
.case-chapter-copy p {
  font-size: 0.9375rem;
  line-height: 2.05;
}
.case-chapter figure {
  margin: 0;
  padding: 10px;
  background: #ffffff79;
  border: 1px solid #ffffffb7;
  min-width: 0;
}
.case-chapter figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.case-outcomes {
  margin: 68px 0;
  padding: 35px;
  background: #ffffff8a;
  border: 1px solid #ffffffba;
}
.case-outcomes > .eyebrow {
  font-size: 0.625rem;
  margin-bottom: 16px;
}
.case-outcomes h2 {
  font: 700 2rem/1.45 var(--pixel-font);
  margin-bottom: 27px;
}
.case-outcomes > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
}
.case-outcomes > div > div {
  border-top: 1px solid #00000023;
  padding-top: 17px;
}
.case-outcomes .eyebrow {
  font-size: 0.625rem;
}
.case-outcomes p:not(.eyebrow) {
  font-size: 0.875rem;
  line-height: 1.9;
  margin-top: 12px;
}
.case-gallery-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  margin-bottom: 27px;
}
.case-gallery-heading h2 {
  font: 700 1.8rem/1.5 var(--pixel-font);
}
.case-gallery-heading .eyebrow {
  font-size: 0.625rem;
}
.case-gallery .gallery-card h3 {
  font: 400 0.8125rem/1.5 var(--body-font);
}
.case-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 65px;
  border-top: 1px solid #0000002b;
  padding-top: 28px;
}
.case-next > a {
  display: grid;
  grid-template-columns: 1fr 20px;
  gap: 13px 20px;
  padding: 19px 22px;
  background: #ffffff72;
  border: 1px solid #ffffffaa;
}
.case-next > a > span {
  font-size: 0.625rem;
  grid-column: 1/-1;
}
.case-next strong {
  font: 700 1.3125rem/1.45 var(--pixel-font);
}
.case-next svg {
  align-self: center;
}
.case-next a:hover {
  background: #ffffffc5;
}

/* 手机 / 平板及窗口宽度适配；条件：(max-width:1100px) */
@media (max-width: 1100px) {
  /* 独家资源：内容、图文与折叠项 */
  .resource-editorial-grid {
    gap: 29px;
    grid-template-columns: 0.85fr 1.15fr;
  }
  .resource-capabilities {
    gap: 23px 20px;
  }
  .resource-media {
    top: 100px;
  }
  .resource-capability h3 {
    font-size: 1rem;
  }
  .resource-intro {
    font-size: 0.9375rem;
  }

  /* 故事：预览卡片与案例详情 */
  .case-chapter,
  .case-chapter:nth-child(even) {
    gap: 30px;
  }
  .case-chapter-copy p {
    font-size: 0.875rem;
  }
}

/* 手机 / 平板及窗口宽度适配；条件：(max-width:800px) */
@media (max-width: 800px) {
  /* 独家资源：内容、图文与折叠项 */
  .resource-editorial-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .resource-media {
    position: static;
  }
  .resource-editorial {
    padding-bottom: 44px;
  }
  .resource-media .media-viewport {
    aspect-ratio: 16/10;
  }
  .resource-capabilities {
    gap: 27px;
  }
  .resource-section-heading h2 {
    font-size: 2rem;
  }

  /* 故事：预览卡片与案例详情 */
  .case-chapter,
  .case-chapter:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .case-chapter:nth-child(even) .case-chapter-copy {
    order: 0;
  }
  .case-chapters {
    gap: 36px;
  }
  .case-chapter-copy h2 {
    font-size: 2rem;
  }
  .case-outcomes > div {
    grid-template-columns: 1fr 1fr;
  }
}

/* 手机 / 平板及窗口宽度适配；条件：(max-width:600px) */
@media (max-width: 600px) {
  /* 独家资源：内容、图文与折叠项 */
  .resource-jump {
    gap: 12px;
    margin-top: 25px;
    padding-top: 18px;
    flex-direction: column;
  }
  .resource-jump a {
    font-size: 0.75rem;
  }
  .resource-editorial {
    padding-top: 23px;
    padding-bottom: 36px;
  }
  .resource-section-heading {
    gap: 17px;
    margin-bottom: 23px;
  }
  .resource-numeral {
    font-size: 2.8rem;
  }
  .resource-section-heading h2 {
    font-size: 1.75rem;
  }
  .resource-section-heading .eyebrow {
    font-size: 0.5rem;
    line-height: 1.6;
  }
  .resource-intro {
    font-size: 0.875rem;
    line-height: 1.95;
    padding-bottom: 20px;
    margin-bottom: 22px;
  }
  .resource-capabilities {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .resource-capability h3 {
    font-size: 1.1875rem;
    margin-bottom: 8px;
  }
  .resource-capability p {
    font-size: 0.875rem;
  }
  .resource-note {
    font-size: 0.6875rem;
  }
  .resource-media .media-carousel {
    padding: 8px 8px 0;
  }

  /* 故事：预览卡片与案例详情 */
  .case-article {
    padding-top: 25px;
    padding-bottom: 42px;
  }
  .case-back {
    font-size: 0.6875rem;
    margin-bottom: 28px;
  }
  .case-heading h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.3;
  }
  .case-heading > .eyebrow {
    font-size: 0.5625rem;
    line-height: 1.7;
    margin-bottom: 16px;
  }
  .case-deck {
    font-size: 0.875rem;
    line-height: 1.95;
    margin-top: 21px;
  }
  .case-meta {
    gap: 8px;
    margin: 22px 0 27px;
  }
  .case-meta span {
    font-size: 0.625rem;
    padding: 5px 8px;
  }
  .case-hero-media {
    padding: 7px 7px 0;
  }
  .case-hero-media .media-viewport {
    aspect-ratio: 4/3;
    max-height: none;
  }
  .case-hero-media .media-toolbar {
    min-height: 52px;
    gap: 6px;
  }
  .case-hero-media .media-kind {
    font-size: 0.5625rem;
  }
  .case-intro {
    font-size: 1.0625rem;
    line-height: 1.9;
    margin: 33px 3px 40px;
  }
  .case-chapter {
    padding-top: 23px;
  }
  .case-chapter-copy h2 {
    font-size: 1.625rem;
    margin-block: 16px;
  }
  .case-chapter-copy p {
    font-size: 0.875rem;
    line-height: 2;
  }
  .case-chapter figure {
    padding: 7px;
  }
  .case-outcomes {
    margin: 40px 0;
    padding: 23px 19px;
  }
  .case-outcomes h2 {
    font-size: 1.5rem;
    margin-bottom: 22px;
  }
  .case-outcomes > div {
    grid-template-columns: 1fr;
    gap: 21px;
  }
  .case-outcomes p:not(.eyebrow) {
    font-size: 0.8125rem;
  }
  .case-gallery-heading {
    align-items: start;
    gap: 15px;
    margin-bottom: 21px;
  }
  .case-gallery-heading h2 {
    font-size: 1.5rem;
  }
  .case-gallery-heading .eyebrow {
    font-size: 0.5625rem;
    margin-top: 8px;
    white-space: nowrap;
  }
  .case-next {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 37px;
    padding-top: 21px;
  }
  .case-next strong {
    font-size: 1.1875rem;
  }
  .case-next > a {
    padding: 18px;
  }
}

/* 手机 / 平板及窗口宽度适配；条件：(max-width:360px) */
@media (max-width: 360px) {
  /* 故事：预览卡片与案例详情 */
  .case-hero-media .media-play {
    font-size: 0.5625rem;
    padding: 5px;
  }
  .case-hero-media .media-paging {
    gap: 4px;
  }
  .case-hero-media .media-paging button {
    width: 29px;
  }
}

/* 首页：头图、关于我们与预览 */
.hero-image-frame::after {
  content: none;
}

/* 页脚：上层联系方式并列，下层保留 LOGO、方块、品牌签名与版权
 * 手机端每行居中；联系方式保持常规 Fusion Pixel，底层签名和版权加粗。
 * 不给版权添加单侧补白，避免窄屏换行后偏离中线。
 */
.site-footer {
  padding-bottom: env(safe-area-inset-bottom, 0px);
  position: relative;
  isolation: isolate;
  flex-shrink: 0;
  color: #000;
  background: rgb(var(--theme-rgb) / 0.58);
  border-top: 1px solid #ffffffa8;
  box-shadow:
    inset 0 1px #ffffff91,
    inset 0 -1px #ffffff55;
  backdrop-filter: blur(24px) saturate(135%);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--glass-texture) repeat 0 0 / 184px 184px;
  opacity: 0.22;
  mix-blend-mode: soft-light;
}
.site-footer,
.site-footer * {
  font-family: var(--pixel-font);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0;
}
.footer-composition {
  padding-block: 15px;
}
.footer-connect {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  min-width: 0;
}
.footer-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  line-height: 1.4;
}
.footer-label {
  flex-shrink: 0;
  font-size: 0.6875rem;
}
.footer-email {
  font-size: 1.0625rem;
  overflow-wrap: anywhere;
}
.phone-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 6px;
  font-size: 0.9375rem;
}
.phone-links > span {
  white-space: nowrap;
}
.footer-social-line,
.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}
.social-links a {
  display: grid;
  place-items: center;
  min-width: 30px;
  min-height: 32px;
  transition: opacity 0.2s;
}
.social-links a:hover {
  opacity: 0.65;
}
.social-links img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.social-handle {
  font-size: 0.9375rem;
  white-space: nowrap;
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 7px 24px;
  padding-block: 10px 11px;
  border-top: 1px solid #00000024;
}
.footer-brand-signature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  font-size: 0.9375rem;
  line-height: 1.4;
  white-space: nowrap;
}
.footer-brand-signature,
.footer-brand-signature span,
.footer-copyright {
  font-weight: 700;
  font-synthesis: weight;
  color: #000;
}
.footer-brand-signature > img {
  display: block;
  width: 65px;
  height: auto;
  filter: brightness(0);
}
.footer-square {
  display: block;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  background: currentColor;
}
.footer-copyright {
  margin: 0;
  padding: 0;
  font-size: 0.6875rem;
  line-height: 1.4;
  font-variant-emoji: text;
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .footer-connect {
    gap: 12px;
  }
  .footer-row {
    gap: 8px;
  }
  .footer-email {
    font-size: 0.9375rem;
  }
  .phone-links,
  .social-handle {
    font-size: 0.875rem;
  }
  .footer-social-line,
  .social-links {
    gap: 6px;
  }
}
@media (max-width: 900px) {
  .footer-composition {
    padding-block: 10px;
  }
  .footer-connect {
    flex-direction: column;
    gap: 3px;
    text-align: center;
  }
  .footer-row {
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 10px;
    min-height: 28px;
  }
  .phone-links,
  .footer-social-line {
    justify-content: center;
  }
}
@media (max-width: 600px) {
  .footer-base {
    justify-content: center;
    gap: 7px 18px;
    padding-block: 9px 10px;
    text-align: center;
  }
  .footer-brand-signature {
    font-size: 0.75rem;
    gap: 12px;
  }
  .footer-brand-signature > img {
    width: 55px;
  }
  .footer-square {
    width: 8px;
    height: 8px;
  }
  .footer-copyright {
    font-size: 0.625rem;
  }
  .footer-label {
    font-size: 0.625rem;
  }
}

/* 返回顶部：像素箭头 */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: max(20px, var(--footer-clearance, 0px), env(safe-area-inset-bottom, 0px));
  z-index: 31;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: rgb(var(--theme-rgb) / 0.72);
  border: 1px solid #ffffffba;
  box-shadow:
    0 3px 16px #26342b16,
    inset 0 1px 0 #ffffff7a;
  backdrop-filter: blur(17px) saturate(0.8);
  -webkit-backdrop-filter: blur(17px) saturate(0.8);
  color: #17242a;
  transition:
    background 0.18s,
    box-shadow 0.18s;
}
.back-to-top::before,
.back-to-top::after {
  content: none;
}
.back-to-top svg {
  width: 25px;
  height: 25px;
  shape-rendering: crispEdges;
}
.back-to-top:hover {
  background: rgb(var(--theme-rgb) / 0.95);
  box-shadow: 0 4px 19px #26342b2a;
}
.back-to-top:focus-visible {
  outline: 2px solid #17242a;
  outline-offset: 5px;
}
body.has-modal .back-to-top {
  visibility: hidden;
}

/* 合作伙伴：网格、LOGO 与名称 */
.partner-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.partner-logo img[src$="v11-sgmart.png"] {
  width: 76px;
  height: 63px;
  max-width: 100%;
  object-fit: contain;
}

/* 中国风光：缩略图、图片查看与来源 */
.gallery-credits-link {
  font: 400 0.75rem/1.6 var(--pixel-font);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.photo-credits {
  margin-top: 40px;
  padding: 19px 23px;
  border: 1px solid #ffffffbd;
  background: #ffffff80;
  scroll-margin-top: 120px;
}
.photo-credits summary {
  cursor: pointer;
  font: 400 0.8125rem/1.7 var(--pixel-font);
}
.photo-credits-intro {
  font-size: 0.75rem;
  line-height: 1.9;
  margin: 16px 0;
}
.photo-credits ul {
  padding-left: 19px;
  margin: 12px 0 0;
  columns: 2;
  column-gap: 45px;
}
.photo-credits li {
  break-inside: avoid;
  font-size: 0.6875rem;
  line-height: 1.8;
  margin-bottom: 17px;
  overflow-wrap: anywhere;
}
.photo-credits li span {
  display: block;
}
.photo-credits a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 手机 / 平板及窗口宽度适配；条件：(max-width:1200px) */
@media (max-width: 1200px) {
  /* 合作伙伴：网格、LOGO 与名称 */
  .partner-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* 手机 / 平板及窗口宽度适配；条件：(max-width:800px) */

/* 手机 / 平板及窗口宽度适配；条件：(max-width:700px) */
@media (max-width: 700px) {
  /* 合作伙伴：网格、LOGO 与名称 */
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 手机 / 平板及窗口宽度适配；条件：(max-width:600px) */
@media (max-width: 600px) {
  /* 返回顶部：像素箭头 */
  .back-to-top {
    right: 13px;
    bottom: 14px;
    width: 40px;
    height: 40px;
  }
  .back-to-top svg {
    width: 23px;
    height: 23px;
  }

  /* 中国风光：缩略图、图片查看与来源 */
  .photo-credits {
    padding: 16px;
    margin-top: 28px;
  }
  .photo-credits ul {
    columns: 1;
  }
  .photo-credits li {
    font-size: 0.6875rem;
  }
}

/* 手机 / 平板及窗口宽度适配；条件：(prefers-reduced-motion:reduce) */
@media (prefers-reduced-motion: reduce) {
  /* 通用样式：排版、间距与可访问性 */
  html {
    scroll-behavior: auto;
  }

  /* 返回顶部：像素箭头 */
  .back-to-top {
    transition: none;
  }
}
