/* ==========================================================================
   四季服务 · 共享样式表 /assets/site.css
   纸面手账 + 喀斯特青绿 + 木棉橙折角
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

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

body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ol, ul {
  margin: 0;
}
ol, ul { padding: 0; list-style: none; }
img, svg, picture, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; }

/* ---------- 变量 ---------- */
:root {
  --paper: #F7F1E5;
  --ink: #1E2A24;
  --deep: #0F4C46;
  --mid: #1F7A6A;
  --light: #CFE6DB;
  --orange: #D95F2B;
  --orange-soft: #F4C7AE;
  --brown: #7A5230;
  --glass: rgba(255, 255, 255, 0.70);

  --north: #5F7F4A;
  --south: #D95F2B;
  --east: #C79536;
  --west: #7A5230;

  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --font-mono: "Roboto Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1220px;
  --gutter: clamp(1rem, 4vw, 2.75rem);
  --radius: 4px;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --line: rgba(122, 82, 48, 0.26);
  --line-light: rgba(207, 230, 219, 0.3);
}

/* ---------- 基础排版 ---------- */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.35vw + 0.94rem, 1.125rem);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main,
#main-content {
  flex: 1 0 auto;
}

#main-content { scroll-margin-top: 7rem; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 4vw, 4.8rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.45rem); }
h4 { font-size: clamp(1rem, 1.2vw, 1.15rem); }

p { max-width: 68ch; }

strong, b { font-weight: 700; }

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  font-weight: 500;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 2px;
}

.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;
}

/* ---------- 布局容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(2.5rem, 6vw, 5.5rem); }
.section--tight { padding-block: clamp(1.25rem, 3.5vw, 2.5rem); }

.stack > * + * { margin-top: var(--stack-gap, 1rem); }

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.grid-2 {
  display: grid;
  gap: clamp(1rem, 2.5vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}

/* ---------- 通用文本组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--brown);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 1.4rem;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
}

.lede {
  font-size: clamp(1.05rem, 1vw + 0.9rem, 1.25rem);
  line-height: 1.7;
  color: rgba(30, 42, 36, 0.82);
  max-width: 60ch;
}

.prose {
  max-width: 68ch;
  line-height: 1.8;
}
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3rem; list-style: revert; }
.prose li + li { margin-top: 0.4em; }
.prose a {
  color: var(--mid);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* ---------- 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  padding-block: 0.9rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--brown);
}
.crumbs li { display: inline-flex; align-items: center; gap: 0.4rem; }
.crumbs li:not(:last-child)::after {
  content: "/";
  color: rgba(122, 82, 48, 0.45);
}
.crumbs a { border-bottom: 1px solid transparent; }
.crumbs a:hover, .crumbs a:focus-visible { border-bottom-color: var(--orange); }
.crumbs [aria-current="page"] { color: var(--ink); font-weight: 700; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease),
              border-color 0.16s var(--ease), transform 0.16s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--deep); color: var(--paper); }
.btn--solid:hover, .btn--solid:focus-visible { background: var(--mid); }
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover, .btn--orange:focus-visible { background: #C24E1E; }
.btn--ghost { border-color: currentColor; color: var(--deep); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--light); }

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 76, 70, 0.18);
  background: var(--light);
  color: var(--deep);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.tag--north { background: var(--north); color: #fff; border-color: transparent; }
.tag--south { background: var(--south); color: #fff; border-color: transparent; }
.tag--east { background: var(--east); color: var(--ink); border-color: transparent; }
.tag--west { background: var(--west); color: #fff; border-color: transparent; }
.tag--orange { background: var(--orange-soft); color: var(--ink); border-color: transparent; }

/* ---------- 面板 ---------- */
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1rem, 2.4vw, 1.75rem);
}
.panel--glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-color: rgba(207, 230, 219, 0.85);
}
.panel--ink {
  background: var(--deep);
  color: var(--paper);
  border-color: transparent;
}

/* ---------- 图片容器基础 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--light) 0%, #E7DFCF 100%);
}
.media-frame > img,
.media-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.media-frame--4x3 { aspect-ratio: 4 / 3; }
.media-frame--3x2 { aspect-ratio: 3 / 2; }
.media-frame--1x1 { aspect-ratio: 1 / 1; }
.media-frame--16x9 { aspect-ratio: 16 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }

/* ==========================================================================
   页头
   ========================================================================== */
.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 50%;
  z-index: 200;
  transform: translateX(-50%) translateY(-200%);
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  transition: transform 0.18s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateX(-50%) translateY(0);
  outline-offset: -3px;
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid rgba(122, 82, 48, 0.18);
}

/* 四季速览细条 */
.head-almanac {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.34rem max(var(--gutter), calc((100% - var(--wrap)) / 2));
  background: var(--paper);
  border-bottom: 1px solid rgba(122, 82, 48, 0.2);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--brown);
  white-space: nowrap;
  overflow: hidden;
}
.head-almanac__tag {
  flex: 0 0 auto;
  font-weight: 900;
  color: var(--deep);
  letter-spacing: 0.12em;
}
.head-almanac__rule {
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(122, 82, 48, 0.45), rgba(122, 82, 48, 0));
}
.head-almanac__meta {
  flex: 0 0 auto;
  color: rgba(122, 82, 48, 0.9);
  overflow: hidden;
  text-overflow: ellipsis;
}
.head-almanac__meta b {
  color: var(--deep);
  font-weight: 700;
}

/* 命令栏 */
.head-bar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(0.6rem, 2vw, 1.75rem);
  min-height: 64px;
  padding: 0.55rem max(var(--gutter), calc((100% - var(--wrap)) / 2));
  background: var(--deep);
  color: var(--paper);
  box-shadow: inset 0 -1px 0 rgba(207, 230, 219, 0.22);
}

/* 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
  min-width: 0;
}
.brand__slips {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
  flex: 0 0 auto;
}
.brand__slip {
  display: block;
  width: 5px;
  border-radius: 1px;
}
.brand__slip--north { height: 28px; background: var(--north); }
.brand__slip--south { height: 21px; background: var(--south); }
.brand__slip--east  { height: 25px; background: var(--east); }
.brand__slip--west  { height: 17px; background: var(--west); }

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.06rem;
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: #fff;
}
.brand__sub {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  line-height: 1.2;
  color: rgba(247, 241, 229, 0.66);
  white-space: nowrap;
}

/* 移动按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(207, 230, 219, 0.42);
  border-radius: var(--radius);
  background: rgba(207, 230, 219, 0.1);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 0.16s var(--ease);
}
.nav-toggle[aria-expanded="true"] { background: rgba(207, 230, 219, 0.24); }
.nav-toggle__bars {
  display: grid;
  gap: 3px;
  width: 18px;
}
.nav-toggle__bars i {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.18s var(--ease), opacity 0.18s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.nav-toggle__label { line-height: 1; }

/* 主导航 */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.6vw, 1.4rem);
  margin-left: auto;
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.2rem, 1vw, 0.9rem);
}
.site-nav__list a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  color: rgba(247, 241, 229, 0.8);
  box-shadow: inset 0 -2px 0 transparent;
  transition: color 0.16s var(--ease), box-shadow 0.16s var(--ease), background-color 0.16s var(--ease);
}
.site-nav__list a:hover,
.site-nav__list a:focus-visible {
  color: #fff;
  box-shadow: inset 0 -2px 0 rgba(207, 230, 219, 0.55);
}
.site-nav__list a[aria-current="page"] {
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--light);
}
.site-nav__idx {
  font-size: 0.62rem;
  color: rgba(207, 230, 219, 0.55);
  transition: color 0.16s var(--ease);
}
.site-nav__list a[aria-current="page"] .site-nav__idx { color: var(--light); }

.site-nav__utility {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-left: 0.9rem;
  border-left: 1px solid var(--line-light);
}
.utility-link {
  display: inline-flex;
  align-items: center;
  padding: 0.36rem 0.75rem;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease);
}
.utility-link:hover,
.utility-link:focus-visible {
  background: var(--orange-soft);
  color: var(--ink);
}
.utility-phone {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--light);
  padding-block: 0.25rem;
  border-bottom: 1px dashed rgba(207, 230, 219, 0.45);
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.utility-phone:hover,
.utility-phone:focus-visible {
  color: #fff;
  border-bottom-color: var(--orange-soft);
}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-foot {
  margin-top: auto;
  background: var(--brown);
  color: var(--paper);
}

/* 区域色带 */
.foot-bands {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid rgba(247, 241, 229, 0.22);
}
.foot-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.6rem clamp(0.75rem, 2vw, 1.5rem);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(247, 241, 229, 0.16);
  transition: filter 0.16s var(--ease);
}
.foot-band:hover,
.foot-band:focus-visible { filter: brightness(1.14); }
.foot-band--north { background: var(--north); }
.foot-band--south { background: var(--south); }
.foot-band--east  { background: var(--east); color: var(--ink); }
.foot-band--west  { background: var(--west); }
.foot-band__idx { font-size: 0.66rem; font-weight: 500; opacity: 0.82; }

/* 主体三栏 */
.foot-main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-block: clamp(2rem, 5vw, 3.25rem);
}
.foot-brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: #fff;
  line-height: 1.2;
}
.foot-brand__desc {
  margin-top: 0.55rem;
  max-width: 34ch;
  font-size: 0.86rem;
  line-height: 1.7;
  color: rgba(247, 241, 229, 0.74);
}
.foot-contact {
  margin-top: 1.1rem;
  max-width: 32rem;
}
.foot-contact li {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0.6rem;
  padding-block: 0.42rem;
  border-bottom: 1px dashed rgba(247, 241, 229, 0.22);
  font-size: 0.82rem;
  line-height: 1.65;
}
.foot-contact__key {
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: rgba(247, 241, 229, 0.6);
}
.foot-contact__val {
  color: #F7F1E5;
  overflow-wrap: anywhere;
}

.foot-col__title {
  margin-bottom: 0.85rem;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--orange-soft);
}
.foot-col a {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  line-height: 2.1;
  color: rgba(247, 241, 229, 0.82);
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.foot-col a:hover,
.foot-col a:focus-visible {
  color: #fff;
  border-bottom-color: var(--orange-soft);
}

/* 底栏 */
.foot-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  padding-block: 1.1rem 1.6rem;
  border-top: 1px solid rgba(247, 241, 229, 0.22);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: rgba(247, 241, 229, 0.78);
}
.foot-base__legal .mono { color: rgba(247, 241, 229, 0.92); }
.foot-base__link {
  margin-left: auto;
  color: var(--orange-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.16s var(--ease);
}
.foot-base__link:hover,
.foot-base__link:focus-visible { color: #fff; }

/* 右下角折角便签 */
.corner-note {
  position: fixed;
  right: clamp(0.75rem, 2vw, 1.5rem);
  bottom: clamp(0.75rem, 2vw, 1.5rem);
  z-index: 70;
  display: flex;
  flex-direction: column-reverse;
  width: min(19rem, calc(100vw - 1.5rem));
  font-family: var(--font-display);
}
.corner-note__trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  width: 100%;
  padding: 0.72rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--orange);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 -6px 20px rgba(30, 42, 36, 0.14);
  transition: background-color 0.16s var(--ease);
}
.corner-note__trigger:hover { background: #C24E1E; }
.corner-note__trigger::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 18px;
  height: 18px;
  background: rgba(30, 42, 36, 0.3);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  pointer-events: none;
}
.corner-note__chev {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-135deg);
  transition: transform 0.18s var(--ease);
}
.corner-note__trigger[aria-expanded="true"] .corner-note__chev { transform: rotate(45deg); }

.corner-note__panel {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(122, 82, 48, 0.3);
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
}
.corner-note__panel[hidden] { display: none; }
.corner-note__title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: var(--brown);
}
.corner-note__list {
  margin-top: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.7;
}
.corner-note__list li {
  position: relative;
  padding-left: 0.85rem;
}
.corner-note__list li + li { margin-top: 0.35rem; }
.corner-note__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
}
.corner-note__more {
  display: inline-block;
  margin-top: 0.7rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--deep);
  border-bottom: 1px solid var(--mid);
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.corner-note__more:hover,
.corner-note__more:focus-visible {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* ==========================================================================
   滚动显现协议
   ========================================================================== */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1080px) {
  .site-nav__idx { display: none; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    order: 5;
    flex-basis: 100%;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    margin-left: 0;
    margin-top: 0.45rem;
    padding-top: 0.45rem;
    border-top: 1px solid rgba(207, 230, 219, 0.2);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .site-nav::-webkit-scrollbar { display: none; }

  .site-nav__list {
    flex-wrap: nowrap;
    gap: 0.1rem;
    width: auto;
  }
  .site-nav__list a {
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 0.35rem 0.55rem;
  }
  .site-nav__idx { display: inline; font-size: 0.6rem; }
  .site-nav__utility { display: none; }

  .site-nav[data-open="true"] {
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
    padding-bottom: 0.7rem;
  }
  .site-nav[data-open="true"] .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .site-nav[data-open="true"] .site-nav__list a {
    white-space: normal;
    justify-content: flex-start;
    padding: 0.75rem 0.2rem;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(207, 230, 219, 0.14);
    box-shadow: none;
  }
  .site-nav[data-open="true"] .site-nav__list a[aria-current="page"] {
    background: rgba(207, 230, 219, 0.1);
    box-shadow: inset 3px 0 0 var(--light);
    padding-left: 0.75rem;
  }
  .site-nav[data-open="true"] .site-nav__utility {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.7rem;
    padding-top: 0.7rem;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(207, 230, 219, 0.2);
  }

  .foot-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .head-almanac { display: none; }
  .head-bar { min-height: 56px; }
  .brand__sub { display: none; }
  .foot-bands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-main { grid-template-columns: minmax(0, 1fr); }
  .foot-base { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  .foot-base__link { margin-left: 0; }
  .corner-note {
    right: 0.75rem;
    bottom: 0.75rem;
    width: calc(100vw - 1.5rem);
  }
  .prose, p { max-width: 100%; }
}

@media (max-width: 420px) {
  .brand__name { font-size: 0.98rem; }
}

/* ==========================================================================
   偏好设置
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
