/* ==========================================================================
   永兴集团主站 · 共享样式 /assets/site.css
   展览画册式连续画布 · 双层信息导航 · 切角与网格坐标语言
   ========================================================================== */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 128px;
}

body { margin: 0; }

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }

ul[class],
ol[class] {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

button { font: inherit; }

a { color: inherit; }

table { border-collapse: collapse; }

[data-filter-item][hidden] { display: none !important; }

/* ---------- 2. 变量 ---------- */
:root {
  --yx-deep: #0A2A4A;
  --yx-mid: #123B63;
  --yx-blue: #1E5D9C;
  --yx-bright: #4A8FD4;
  --yx-silver: #D7E3EF;
  --yx-mist: #F4F7FA;
  --yx-orange: #FF7A18;
  --yx-amber: #FFB454;
  --yx-ink: #12212F;
  --yx-gray: #5A6B7B;

  --yx-shell: 1200px;
  --yx-gutter: clamp(18px, 4vw, 48px);
  --yx-ease: cubic-bezier(.22, .61, .36, 1);

  --yx-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
  --yx-sans: "Inter", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

/* ---------- 3. 中文排版与页面底色 ---------- */
body {
  background-color: var(--yx-mist);
  background-image:
    linear-gradient(rgba(74, 143, 212, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 143, 212, .07) 1px, transparent 1px);
  background-size: 72px 72px;
  color: var(--yx-ink);
  font-family: var(--yx-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .005em;
  min-height: 100%;
}

::selection {
  background: var(--yx-orange);
  color: #fff;
}

:target { scroll-margin-top: 132px; }

/* ---------- 4. 通用容器与网格 ---------- */
.yx-shell {
  width: 100%;
  max-width: var(--yx-shell);
  margin-inline: auto;
  padding-inline: var(--yx-gutter);
}

.yx-page {
  width: 100%;
  max-width: var(--yx-shell);
  margin-inline: auto;
  padding-inline: var(--yx-gutter);
}

.yx-section {
  padding-block: clamp(34px, 5vw, 68px);
}

.yx-section__index {
  margin: 0;
  font-family: var(--yx-mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--yx-orange);
}

.yx-section__title {
  margin: .35em 0 .45em;
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.012em;
  color: var(--yx-deep);
}

.yx-section__lead {
  max-width: 66ch;
  margin: 0;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--yx-gray);
}

.yx-grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}

.yx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.yx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.yx-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.yx-grid--split { grid-template-columns: minmax(0, .42fr) minmax(0, 1fr); }

/* ---------- 5. 跳转链接 ---------- */
.yx-skip {
  position: fixed;
  left: 14px;
  top: -80px;
  z-index: 200;
  padding: 11px 20px;
  background: var(--yx-orange);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  transition: top .2s var(--yx-ease);
}

.yx-skip:focus { top: 0; }

/* ---------- 6. 页头 ---------- */
.yx-header {
  position: sticky;
  top: 0;
  z-index: 90;
  color: var(--yx-silver);
  background: linear-gradient(180deg, #0A2A4A 0%, #0E3358 100%);
  transition: box-shadow .3s var(--yx-ease);
}

.yx-header[data-scrolled="true"] {
  box-shadow: 0 22px 44px -32px rgba(4, 20, 38, .95);
}

/* 6.1 上层：品牌说明 + 状态刻度 */
.yx-header__meta {
  background: rgba(10, 42, 74, .58);
  border-bottom: 1px solid rgba(215, 227, 239, .12);
}

.yx-header__meta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 38px;
}

.yx-brandline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--yx-mono);
  font-size: 11.5px;
  letter-spacing: .07em;
  color: rgba(215, 227, 239, .74);
  white-space: nowrap;
}

.yx-brandline__mark {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  background: var(--yx-orange);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  animation: yx-pulse 2.8s ease-in-out infinite;
}

.yx-status {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--yx-mono);
  font-size: 11.5px;
  letter-spacing: .05em;
  color: rgba(215, 227, 239, .72);
}

.yx-status__item {
  padding-inline: 14px;
  white-space: nowrap;
}

.yx-status__item + .yx-status__item {
  border-left: 1px solid rgba(215, 227, 239, .16);
}

.yx-status__key {
  margin-right: 7px;
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--yx-amber);
}

/* 6.2 下层：品牌标识 + 栏目导航 */
.yx-header__bar {
  position: relative;
  background: linear-gradient(90deg, rgba(18, 59, 99, .97) 0%, rgba(10, 42, 74, .97) 58%, rgba(30, 93, 156, .92) 100%);
  border-bottom: 1px solid rgba(215, 227, 239, .14);
}

.yx-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.6vw, 38px);
  min-height: 66px;
}

.yx-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  padding-block: 6px;
  color: #fff;
  text-decoration: none;
}

.yx-logo__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(140deg, var(--yx-bright) 0%, var(--yx-blue) 55%, var(--yx-deep) 100%);
  clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%);
  font-family: var(--yx-mono);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.yx-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.yx-logo__name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .07em;
}

.yx-logo__tag {
  font-family: var(--yx-mono);
  font-size: 10px;
  letter-spacing: .22em;
  color: rgba(215, 227, 239, .62);
}

.yx-nav { margin-left: auto; }

.yx-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.yx-nav__item { display: block; }

.yx-nav__link {
  position: relative;
  display: block;
  padding: 10px 14px;
  color: rgba(233, 241, 249, .82);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  text-decoration: none;
  transition: color .2s var(--yx-ease), background-color .2s var(--yx-ease);
}

.yx-nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--yx-orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .26s var(--yx-ease), background-color .2s var(--yx-ease);
}

.yx-nav__link:hover,
.yx-nav__link:focus-visible {
  color: #fff;
  background: rgba(74, 143, 212, .16);
}

.yx-nav__link:hover::after,
.yx-nav__link:focus-visible::after { transform: scaleX(1); }

.yx-nav__link[aria-current="page"] {
  color: #fff;
  background: rgba(74, 143, 212, .2);
}

.yx-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--yx-amber);
}

.yx-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  background: linear-gradient(100deg, var(--yx-orange) 0%, #FF9433 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: transform .2s var(--yx-ease), box-shadow .2s var(--yx-ease);
}

.yx-cta:hover,
.yx-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -12px rgba(255, 122, 24, .9);
}

.yx-navtoggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 42px;
  padding: 0;
  background: rgba(74, 143, 212, .16);
  border: 1px solid rgba(215, 227, 239, .3);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s var(--yx-ease), border-color .2s var(--yx-ease);
}

.yx-navtoggle:hover { background: rgba(74, 143, 212, .3); }

.yx-navtoggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform .24s var(--yx-ease), opacity .2s var(--yx-ease);
}

.yx-navtoggle[aria-expanded="true"] .yx-navtoggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.yx-navtoggle[aria-expanded="true"] .yx-navtoggle__bar:nth-child(2) { opacity: 0; }
.yx-navtoggle[aria-expanded="true"] .yx-navtoggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.yx-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--yx-orange) 0%, var(--yx-amber) 100%);
  z-index: 2;
  transition: width .1s linear;
}

/* ---------- 7. 页脚 ---------- */
.yx-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  color: rgba(215, 227, 239, .86);
  background: linear-gradient(160deg, #0A2A4A 0%, #0D3255 48%, #123B63 100%);
}

.yx-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--yx-orange) 0%, rgba(255, 122, 24, 0) 42%, var(--yx-bright) 100%);
}

.yx-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(215, 227, 239, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215, 227, 239, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 78%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 78%);
}

.yx-footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.7fr .95fr .85fr 1.3fr;
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(44px, 6vw, 74px);
}

.yx-footer__brand { min-width: 0; }

.yx-footer__logo {
  display: inline-block;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--yx-orange);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .1em;
  text-decoration: none;
  transition: color .2s var(--yx-ease);
}

.yx-footer__logo:hover { color: var(--yx-amber); }

.yx-footer__summary {
  max-width: 38ch;
  margin: 18px 0 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(215, 227, 239, .76);
}

.yx-footer__note {
  margin: 14px 0 0;
  font-family: var(--yx-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--yx-amber);
}

.yx-footer__col { min-width: 0; }

.yx-footer__title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  color: #fff;
}

.yx-footer__num {
  font-family: var(--yx-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--yx-orange);
}

.yx-footer__links {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.yx-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(215, 227, 239, .78);
  font-size: 14.5px;
  text-decoration: none;
  transition: color .2s var(--yx-ease);
}

.yx-footer__links a::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 1.5px;
  background: var(--yx-bright);
  transition: width .22s var(--yx-ease), background-color .22s var(--yx-ease);
}

.yx-footer__links a:hover,
.yx-footer__links a:focus-visible { color: #fff; }

.yx-footer__links a:hover::before,
.yx-footer__links a:focus-visible::before {
  width: 17px;
  background: var(--yx-orange);
}

.yx-footer__contact {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.yx-footer__contact li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(215, 227, 239, .78);
  word-break: break-word;
}

.yx-footer__key {
  flex: 0 0 auto;
  min-width: 44px;
  padding-top: 4px;
  font-family: var(--yx-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--yx-amber);
}

.yx-footer__base {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(215, 227, 239, .14);
  background: rgba(6, 26, 46, .42);
}

.yx-footer__base-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 18px;
  font-family: var(--yx-mono);
  font-size: 11.5px;
  letter-spacing: .05em;
  color: rgba(215, 227, 239, .6);
}

.yx-footer__copy,
.yx-footer__icp { margin: 0; }

/* ---------- 8. 通用按钮 ---------- */
.yx-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--yx-blue);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .03em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--yx-ease), box-shadow .2s var(--yx-ease),
              background-color .2s var(--yx-ease), color .2s var(--yx-ease),
              border-color .2s var(--yx-ease);
}

.yx-btn--primary {
  background: linear-gradient(100deg, var(--yx-orange) 0%, #FF9433 100%);
  color: #fff;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.yx-btn--primary:hover,
.yx-btn--primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -14px rgba(255, 122, 24, .95);
}

.yx-btn--ghost {
  border-color: rgba(30, 93, 156, .34);
  color: var(--yx-blue);
}

.yx-btn--ghost:hover,
.yx-btn--ghost:focus-visible {
  border-color: var(--yx-orange);
  color: var(--yx-orange);
}

.yx-btn--dark {
  background: var(--yx-deep);
  color: #fff;
}

.yx-btn--dark:hover,
.yx-btn--dark:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -16px rgba(10, 42, 74, .95);
}

/* ---------- 9. 标签、切角面板 ---------- */
.yx-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-left: 2px solid var(--yx-orange);
  background: rgba(30, 93, 156, .1);
  color: var(--yx-blue);
  font-family: var(--yx-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.yx-panel {
  position: relative;
  padding: clamp(20px, 3vw, 34px);
  background: #fff;
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

.yx-panel > * { position: relative; }

/* ---------- 10. 面包屑 ---------- */
.yx-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-family: var(--yx-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--yx-gray);
}

.yx-crumbs li { display: flex; align-items: center; gap: 8px; }

.yx-crumbs li::after {
  content: "/";
  color: var(--yx-silver);
}

.yx-crumbs li:last-child::after { content: ""; }

.yx-crumbs a {
  color: var(--yx-blue);
  text-decoration: none;
}

.yx-crumbs a:hover,
.yx-crumbs a:focus-visible { text-decoration: underline; }

/* ---------- 11. 索引列表 ---------- */
.yx-index {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.yx-index__item { display: block; }

.yx-index__link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 12px;
  border-left: 2px solid transparent;
  color: var(--yx-gray);
  font-size: 14px;
  text-decoration: none;
  transition: color .2s var(--yx-ease), border-color .2s var(--yx-ease), background-color .2s var(--yx-ease);
}

.yx-index__link::before {
  content: attr(data-index);
  flex: 0 0 auto;
  font-family: var(--yx-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--yx-bright);
}

.yx-index__link:hover,
.yx-index__link:focus-visible {
  color: var(--yx-deep);
  background: rgba(215, 227, 239, .5);
}

.yx-index__link.is-active {
  border-left-color: var(--yx-orange);
  background: rgba(215, 227, 239, .6);
  color: var(--yx-deep);
  font-weight: 700;
}

.yx-index__link.is-active::before { color: var(--yx-orange); }

/* ---------- 12. 图像容器（响应式基础规则） ---------- */
.yx-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(140deg, var(--yx-deep) 0%, var(--yx-mid) 58%, var(--yx-blue) 100%);
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}

.yx-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.yx-frame--wide { aspect-ratio: 21 / 9; }
.yx-frame--tall { aspect-ratio: 3 / 4; }
.yx-frame--square { aspect-ratio: 1 / 1; }

.yx-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 16px;
  background: linear-gradient(180deg, rgba(10, 42, 74, 0) 0%, rgba(10, 42, 74, .88) 100%);
  color: rgba(244, 247, 250, .92);
  font-family: var(--yx-mono);
  font-size: 11px;
  letter-spacing: .08em;
}

/* ---------- 13. 主题筛选 ---------- */
.yx-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.yx-filter__btn {
  padding: 8px 16px;
  border: 1px solid rgba(30, 93, 156, .3);
  background: transparent;
  color: var(--yx-blue);
  font-family: var(--yx-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  cursor: pointer;
  transition: background-color .2s var(--yx-ease), color .2s var(--yx-ease),
              border-color .2s var(--yx-ease), transform .2s var(--yx-ease);
}

.yx-filter__btn:hover { border-color: var(--yx-orange); color: var(--yx-orange); }

.yx-filter__btn[aria-pressed="true"] {
  background: var(--yx-deep);
  border-color: var(--yx-deep);
  color: #fff;
}

.yx-filter__count {
  margin: 0;
  font-family: var(--yx-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--yx-gray);
}

/* ---------- 14. 显现动效 ---------- */
[data-reveal-ready] [data-reveal] {
  opacity: 0;
  transform: translate3d(-18px, 18px, 0);
  transition: opacity .42s var(--yx-ease), transform .42s var(--yx-ease);
  will-change: opacity, transform;
}

[data-reveal-ready] [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@keyframes yx-pulse {
  0%, 100% { opacity: .45; transform: scale(.85); }
  50% { opacity: 1; transform: scale(1.12); }
}

@keyframes yx-navdrop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 15. 焦点可见 ---------- */
:focus-visible {
  outline: 2px solid var(--yx-orange);
  outline-offset: 2px;
}

.yx-header :focus-visible {
  outline-color: var(--yx-amber);
}

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1023px) {
  .yx-header { position: relative; }

  .yx-status { display: none; }

  .yx-navtoggle { display: block; }

  .yx-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 5;
    display: none;
    margin-left: 0;
    padding: 10px var(--yx-gutter) 22px;
    background: linear-gradient(180deg, #0E3358 0%, #0A2A4A 100%);
    border-top: 1px solid rgba(215, 227, 239, .14);
    box-shadow: 0 28px 44px -26px rgba(4, 20, 38, .95);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }

  .yx-nav[data-open] {
    display: block;
    animation: yx-navdrop .26s var(--yx-ease) both;
  }

  .yx-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .yx-nav__link {
    padding: 15px 6px;
    border-bottom: 1px solid rgba(215, 227, 239, .1);
    font-size: 16px;
  }

  .yx-nav__link::after {
    left: 6px;
    right: auto;
    width: 24px;
    bottom: 10px;
  }

  .yx-nav__link[aria-current="page"] { background: rgba(74, 143, 212, .14); }

  .yx-footer__inner { grid-template-columns: 1fr 1fr; }
  .yx-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .yx-grid--3,
  .yx-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 84px; }

  .yx-header__meta-inner { min-height: 34px; }

  .yx-brandline { font-size: 10.5px; letter-spacing: .05em; }

  .yx-header__inner { min-height: 58px; gap: 10px; }

  .yx-logo__mark { width: 32px; height: 32px; font-size: 13px; }
  .yx-logo__name { font-size: 16px; }
  .yx-logo__tag { display: none; }

  .yx-cta {
    padding: 9px 14px;
    font-size: 13.5px;
    clip-path: none;
    border-radius: 3px;
  }

  .yx-grid--2,
  .yx-grid--3,
  .yx-grid--4,
  .yx-grid--split { grid-template-columns: minmax(0, 1fr); }

  .yx-footer__inner { grid-template-columns: minmax(0, 1fr); gap: 30px; }

  .yx-footer__base-inner { justify-content: flex-start; }

  .yx-frame { clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px); }
  .yx-frame--wide { aspect-ratio: 16 / 9; }
}

@media (max-width: 420px) {
  .yx-cta { padding: 8px 11px; font-size: 12.5px; letter-spacing: .02em; }
  .yx-brandline { overflow: hidden; text-overflow: ellipsis; }
}

/* ---------- 17. 降低动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal-ready] [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
