/* ==========================================================================
   幸运澳洲 · 共享样式 /assets/site.css
   远行手账基调：暮色蓝 + 内陆赭红 + 暖灰纸面 + 极细边界
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html.nav-lock { overflow: hidden; }

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, li, figure, figcaption,
blockquote, dl, dt, dd { margin: 0; }

ul, ol { padding: 0; list-style: none; }

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

table { border-collapse: collapse; width: 100%; }

/* ---------- 2. Tokens ---------- */
:root {
  /* 色彩 */
  --dusk: #24405E;
  --deep: #16283D;
  --ochre: #B0522D;
  --eucalypt: #5B7C68;
  --sun: #D7A33A;
  --sand: #F2EDE4;
  --paper: #FBF8F2;
  --ink: #221F1A;
  --path: #756F65;
  --mist: #D9E2E8;
  --clay: #E8C9B8;

  --line: rgba(36, 64, 94, 0.16);
  --line-strong: rgba(36, 64, 94, 0.32);
  --line-paper: rgba(251, 248, 242, 0.14);

  /* 字体 */
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 尺度 */
  --shellw: 1440px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 3px;

  --shadow-1: 0 1px 1px rgba(22, 40, 61, 0.05), 0 10px 24px -18px rgba(22, 40, 61, 0.45);
  --shadow-2: 0 2px 3px rgba(22, 40, 61, 0.06), 0 18px 44px -24px rgba(22, 40, 61, 0.5);

  --ease: cubic-bezier(0.22, 0.68, 0.32, 1);
}

/* ---------- 3. Base ---------- */
body {
  font-family: var(--sans);
  font-size: clamp(16px, 0.4vw + 15px, 18px);
  line-height: 1.75;
  color: var(--ink);
  letter-spacing: 0.01em;
  background-color: var(--sand);
  background-image:
    radial-gradient(circle at 6% -8%, rgba(215, 163, 58, 0.16), transparent 46%),
    radial-gradient(circle at 98% 0%, rgba(176, 82, 45, 0.11), transparent 40%),
    radial-gradient(circle at 50% 118%, rgba(36, 64, 94, 0.08), transparent 62%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 纸质颗粒 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    repeating-linear-gradient(0deg, rgba(34, 31, 26, 0.028) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(34, 31, 26, 0.02) 0 1px, transparent 1px 5px);
}

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0.01em;
  color: var(--dusk);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.1;
}

::selection {
  background: rgba(176, 82, 45, 0.2);
  color: var(--ink);
}

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- 4. 布局工具 ---------- */
.shell {
  width: 100%;
  max-width: var(--shellw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 2px;
  background: var(--dusk);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--sun);
  outline-offset: 2px;
}

/* ---------- 5. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 34px -30px rgba(22, 40, 61, 0.75);
}

/* 上层短注条 */
.header-util {
  background: var(--deep);
  color: rgba(251, 248, 242, 0.8);
  overflow: hidden;
  max-height: 64px;
  visibility: visible;
  transition: max-height 0.3s var(--ease), opacity 0.22s ease, visibility 0s linear;
}

.site-header[data-scrolled="true"] .header-util {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.3s var(--ease), opacity 0.22s ease, visibility 0s linear 0.3s;
}

.header-util__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 9px;
}

.header-util__motto {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(251, 248, 242, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-util__motto::before {
  content: "";
  flex: none;
  width: 22px;
  height: 1px;
  background: var(--sun);
}

.header-util__tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.tool-link {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border: 1px solid rgba(251, 248, 242, 0.28);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: rgba(251, 248, 242, 0.94);
  white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.tool-link:hover {
  background: rgba(251, 248, 242, 0.14);
  border-color: rgba(251, 248, 242, 0.55);
}

.tool-link--accent {
  background: var(--ochre);
  border-color: var(--ochre);
  color: #FFFFFF;
}

.tool-link--accent:hover {
  background: #9A4526;
  border-color: #9A4526;
}

/* 下层栏目行 */
.header-main__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 3vw, 48px);
  min-height: 74px;
  padding-block: 14px;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding-left: 14px;
  flex: none;
}

.brand::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--sun), var(--ochre));
}

.brand__name {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--dusk);
}

.brand__tag {
  display: none;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--path);
  white-space: nowrap;
}

/* 导航 */
.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.4vw, 22px);
}

.site-nav__item {
  --dot: var(--path);
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 2px;
  font-size: 15px;
  letter-spacing: 0.03em;
  color: var(--dusk);
  white-space: nowrap;
  transition: color 0.18s ease;
}

.site-nav__link::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dot);
  transform: scale(0.72);
  opacity: 0.55;
  transition: transform 0.2s var(--ease), opacity 0.2s ease;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--ochre);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s var(--ease);
}

.site-nav__link:hover { color: var(--ochre); }
.site-nav__link:hover::before { transform: scale(1); opacity: 1; }

.site-nav__link[aria-current="page"] {
  color: var(--ochre);
  font-weight: 600;
}

.site-nav__link[aria-current="page"]::before {
  transform: scale(1);
  opacity: 1;
  background: var(--ochre);
}

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

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  color: var(--dusk);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.nav-toggle__bars {
  position: relative;
  flex: none;
  width: 16px;
  height: 10px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.22s var(--ease), opacity 0.18s ease;
}

.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: translateY(4.25px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: translateY(-4.25px) rotate(-45deg);
}

/* 阅读进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--ochre), var(--sun));
  transition: width 0.12s linear;
}

/* ---------- 6. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 112px);
  background: var(--deep);
  color: rgba(251, 248, 242, 0.74);
  font-size: 15px;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(30%, 320px);
  height: 3px;
  background: linear-gradient(90deg, var(--ochre), var(--sun));
}

.site-footer__inner {
  display: grid;
  grid-template-columns:
    minmax(200px, 1.6fr)
    repeat(3, minmax(110px, 1fr))
    minmax(230px, 1.8fr);
  gap: clamp(24px, 3vw, 48px);
  padding-block: clamp(46px, 6vw, 80px) clamp(28px, 4vw, 46px);
}

.footer-brand__name {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 27px);
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--paper);
}

.footer-brand__note {
  margin-top: 12px;
  max-width: 30ch;
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(251, 248, 242, 0.58);
}

.footer-col__title,
.footer-contact__title {
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--sun);
}

.footer-col__list {
  display: grid;
  gap: 10px;
}

.footer-col__link {
  display: inline-block;
  font-size: 14.5px;
  color: rgba(251, 248, 242, 0.78);
  transition: color 0.16s ease, transform 0.16s ease;
}

.footer-col__link:hover {
  color: var(--sun);
  transform: translateX(2px);
}

.footer-contact__row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-block: 7px;
  border-top: 1px solid var(--line-paper);
}

.footer-contact__row:last-of-type {
  border-bottom: 1px solid var(--line-paper);
}

.footer-contact__label {
  flex: none;
  width: 34px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(251, 248, 242, 0.42);
}

.footer-contact__value {
  font-size: 14px;
  color: rgba(251, 248, 242, 0.88);
  word-break: break-word;
}

.footer-contact__note {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(251, 248, 242, 0.46);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding-block: 18px;
  border-top: 1px solid var(--line-paper);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(251, 248, 242, 0.46);
}

.footer-bottom__icp {
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

/* ---------- 7. 通用组件 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease,
              border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn--primary {
  background: var(--ochre);
  color: #FFFFFF;
  box-shadow: 0 12px 24px -18px rgba(176, 82, 45, 0.95);
}

.btn--primary:hover {
  background: #9A4526;
  transform: translateY(-1px);
}

.btn--ghost {
  background: var(--paper);
  color: var(--dusk);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  border-color: var(--dusk);
  background: transparent;
}

.btn--text {
  min-height: 0;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid rgba(176, 82, 45, 0.4);
  border-radius: 0;
  color: var(--ochre);
}

.btn--text:hover {
  border-bottom-color: var(--ochre);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--path);
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 26px;
  height: 1px;
  background: var(--ochre);
}

.section {
  padding-block: clamp(48px, 7vw, 96px);
}

.section__head {
  max-width: 62ch;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.section__title {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
}

.section__lede {
  margin-top: 14px;
  max-width: 56ch;
  font-size: 1rem;
  color: var(--path);
}

.rule {
  height: 1px;
  border: 0;
  margin-block: clamp(32px, 4vw, 56px);
  background: var(--line);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--mist);
  color: var(--dusk);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}

.tag--ochre {
  background: rgba(176, 82, 45, 0.1);
  color: var(--ochre);
}

.tag--euc {
  background: rgba(91, 124, 104, 0.14);
  color: #47624F;
}

.card {
  padding: clamp(18px, 2vw, 26px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.note {
  position: relative;
  padding-left: 16px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: var(--path);
}

.note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sun);
}

/* ---------- 8. 网格 ---------- */
.grid {
  display: grid;
  gap: clamp(20px, 2.5vw, 36px);
  min-width: 0;
}

.grid--split {
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
}

.grid--cards {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid > * { min-width: 0; }

/* ---------- 9. 图片容器 ---------- */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}

.media--wide { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--free { aspect-ratio: auto; }

.media--placeholder {
  background-color: var(--mist);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(36, 64, 94, 0.07) 0 10px,
    transparent 10px 20px
  );
}

.media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 13px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--paper);
  background: linear-gradient(180deg, transparent, rgba(22, 40, 61, 0.82));
}

/* ---------- 10. 面包屑 ---------- */
.breadcrumb { padding-block: 18px; }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--path);
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: rgba(117, 111, 101, 0.55);
}

.breadcrumb__link {
  color: var(--dusk);
  transition: color 0.16s ease;
}

.breadcrumb__link:hover {
  color: var(--ochre);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb__item[aria-current="page"] { color: var(--path); }

/* ---------- 11. 正文 ---------- */
.prose {
  max-width: 68ch;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.85;
  color: var(--ink);
}

.prose > * + * { margin-top: 1.1em; }

.prose h2 {
  margin-top: 2em;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
}

.prose h3 {
  margin-top: 1.6em;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
}

.prose ul { padding-left: 1.3em; list-style: disc; }
.prose ol { padding-left: 1.35em; list-style: decimal; }
.prose li + li { margin-top: 0.4em; }

.prose a {
  color: var(--ochre);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.prose blockquote {
  padding: 4px 0 4px 18px;
  border-left: 2px solid var(--sun);
  color: var(--path);
}

.prose code {
  padding: 1px 5px;
  border-radius: 2px;
  background: var(--mist);
  font-family: var(--mono);
  font-size: 0.88em;
}

/* ---------- 12. 标签页 ---------- */
.tabs { min-width: 0; }

.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid var(--line);
}

.tabs__tab {
  padding: 10px 16px;
  border: 1px solid transparent;
  border-bottom: 2px solid transparent;
  border-radius: 2px 2px 0 0;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--path);
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.tabs__tab:hover {
  color: var(--dusk);
  background: rgba(217, 226, 232, 0.45);
}

.tabs__tab[aria-selected="true"] {
  color: var(--dusk);
  font-weight: 700;
  background: var(--paper);
  border-bottom-color: var(--ochre);
}

.tabs__panel { padding-top: 22px; }
.tabs__panel[hidden] { display: none; }

/* ---------- 13. 显现 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.js [data-reveal][data-revealed="true"] {
  opacity: 1;
  transform: none;
}

/* ---------- 14. 响应式 ---------- */
@media (min-width: 1100px) {
  .brand__tag { display: inline; }
}

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

  .footer-brand,
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 1080px) and (min-width: 901px) {
  .site-nav__list { gap: 12px; }
  .site-nav__link { font-size: 14px; }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    position: relative;
    z-index: 90;
  }

  .header-util__motto {
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .header-util__motto::before { width: 14px; }

  .tool-link {
    font-size: 11.5px;
    padding: 4px 11px;
  }

  .header-main__inner {
    min-height: 60px;
    padding-block: 10px;
    gap: 12px;
  }

  .brand { padding-left: 12px; }
  .brand__name { font-size: 20px; }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    width: min(340px, 86vw);
    padding: clamp(100px, 16vh, 130px) clamp(20px, 6vw, 30px) 36px;
    background: var(--deep);
    border-left: 1px solid var(--line-paper);
    box-shadow: -30px 0 60px -40px rgba(0, 0, 0, 0.9);
    overflow-y: auto;
    transform: translateX(102%);
    visibility: hidden;
    transition: transform 0.32s var(--ease), visibility 0s linear 0.32s;
  }

  .site-nav[data-open="true"] {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.32s var(--ease), visibility 0s linear;
  }

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

  .site-nav__item { border-bottom: 1px solid var(--line-paper); }
  .site-nav__item:first-child { border-top: 1px solid var(--line-paper); }

  .site-nav__link {
    display: flex;
    padding: 15px 0;
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(251, 248, 242, 0.86);
  }

  .site-nav__link::before {
    width: 7px;
    height: 7px;
  }

  .site-nav__link::after { display: none; }
  .site-nav__link:hover { color: var(--sun); }

  .site-nav__link[aria-current="page"] {
    color: var(--sun);
    font-weight: 700;
  }

  .site-nav__link[aria-current="page"]::before { background: var(--sun); }

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

@media (max-width: 640px) {
  .site-footer__inner { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-contact__row { flex-wrap: wrap; }
  .section { padding-block: clamp(38px, 9vw, 56px); }
}

/* ---------- 15. 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

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