/* ==========================================================================
   赢咖品牌 · 共享站点样式 /assets/site.css
   数字档案室 × 深夜工作台 —— 框架式导航、珠宝色分区、极细边界
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h, 72px) + 12px);
}

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

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

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

button, input, select, textarea { font: inherit; color: inherit; }

button { background: none; border: 0; }

a { color: inherit; }

/* 2. 变量 ---------------------------------------------------------------- */
:root {
  /* 品牌色 */
  --ink-green: #0B3D3A;
  --ink-green-deep: #062725;
  --cyan: #00E5C0;
  --cyan-soft: #B8FFF0;
  --orange: #FF7A45;
  --mist: #E8F1EC;
  --indigo: #2F2A4A;
  --wine: #6E1F3A;
  --paper: #F7F5F0;
  --ink: #101418;
  --sage: #9BB3A7;

  /* 语义变量 */
  --text: #16241F;
  --text-soft: #46605A;
  --text-on-dark: #D7E6DF;
  --line: rgba(11, 61, 58, .16);
  --line-dark: rgba(184, 255, 240, .18);

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

  /* 度量 */
  --bar-h: 72px;
  --wrap: 1280px;
  --gutter: clamp(20px, 4.6vw, 64px);
  --radius: 3px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-soft: 0 1px 0 rgba(255, 255, 255, .5), 0 22px 44px -34px rgba(7, 43, 41, .55);
}

/* 3. 基础排版 -------------------------------------------------------------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background-color: var(--mist);
  background-image:
    radial-gradient(90% 40% at 100% 0%, rgba(0, 229, 192, .07), transparent 60%),
    radial-gradient(70% 34% at 0% 100%, rgba(47, 42, 74, .07), transparent 62%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
  color: var(--ink-green);
}

h1 { font-size: clamp(34px, 5.2vw, 62px); }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: clamp(19px, 1.8vw, 24px); }
h4 { font-size: 18px; }

p { line-height: 1.8; }

kbd {
  font-family: var(--font-mono);
  font-size: .82em;
  padding: 1px 6px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  color: var(--cyan-soft);
}

::selection { background: var(--cyan); color: var(--ink-green); }

/* 4. 焦点可见性 ------------------------------------------------------------ */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

.site-drawer :focus-visible,
.site-foot :focus-visible {
  outline-color: var(--cyan);
}

/* 5. 跳转链接 -------------------------------------------------------------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 12px 18px;
  background: var(--cyan);
  color: var(--ink-green);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  border-radius: var(--radius);
  transform: translateY(-260%);
  transition: transform .22s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* 6. 页面主容器 ------------------------------------------------------------ */
#main-content {
  display: block;
  padding-top: var(--bar-h);
}

.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(52px, 8vw, 112px);
  position: relative;
}

.section--mist { background: var(--mist); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink-green); color: var(--paper); }
.section--indigo { background: var(--indigo); color: var(--paper); }
.section--wine { background: var(--wine); color: var(--paper); }

.section--ink h1, .section--ink h2, .section--ink h3,
.section--indigo h1, .section--indigo h2, .section--indigo h3,
.section--wine h1, .section--wine h2, .section--wine h3 {
  color: var(--paper);
}

/* 7. 框架式头部 ------------------------------------------------------------ */
.site-frame {
  position: relative;
  z-index: 80;
}

.frame-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  gap: 16px;
  padding-inline: var(--gutter);
  background: linear-gradient(180deg, #0C4340 0%, var(--ink-green-deep) 100%);
  border-bottom: 1px solid rgba(0, 229, 192, .24);
  color: var(--paper);
}

.frame-bar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--cyan);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
  color: inherit;
}

.brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--cyan);
  transform: rotate(45deg);
  transition: transform .5s var(--ease);
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--orange);
}

.brand:hover .brand__mark { transform: rotate(135deg); }

.brand__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .08em;
}

.brand__ver {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 192, .42);
  padding: 2px 7px;
  border-radius: var(--radius);
}

.frame-bar__meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--sage);
  white-space: nowrap;
}

/* 8. 抽屉触发按钮 ---------------------------------------------------------- */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  color: var(--paper);
  border: 1px solid rgba(0, 229, 192, .42);
  border-radius: var(--radius);
  font-size: 13px;
  letter-spacing: .18em;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.nav-toggle:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink-green);
}

.nav-toggle[aria-expanded="true"] {
  background: var(--orange);
  border-color: var(--orange);
  color: #1C0C05;
}

.nav-toggle__dots {
  display: grid;
  grid-template-columns: repeat(2, 5px);
  gap: 3px;
}

.nav-toggle__dots i {
  display: block;
  width: 5px;
  height: 5px;
  background: currentColor;
}

.nav-toggle__label { white-space: nowrap; }

/* 9. 阅读进度 -------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: var(--bar-h);
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 81;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--orange) 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* 10. 遮罩与抽屉 ----------------------------------------------------------- */
.nav-scrim {
  position: fixed;
  top: var(--bar-h);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 85;
  background: rgba(6, 20, 19, .64);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}

.nav-scrim[hidden] { display: block; }

.nav-scrim[data-open] {
  opacity: 1;
  visibility: visible;
}

.site-drawer {
  position: fixed;
  top: var(--bar-h);
  right: 0;
  z-index: 90;
  width: min(420px, 90vw);
  height: calc(100% - var(--bar-h));
  display: flex;
  flex-direction: column;
  padding: 30px 30px 34px;
  overflow-y: auto;
  color: var(--paper);
  background:
    radial-gradient(130% 55% at 100% 0%, rgba(0, 229, 192, .18), transparent 62%),
    radial-gradient(90% 40% at 0% 100%, rgba(110, 31, 58, .42), transparent 60%),
    var(--indigo);
  border-left: 1px solid rgba(0, 229, 192, .34);
  box-shadow: -34px 0 70px -46px rgba(0, 0, 0, .95);
  transform: translateX(102%);
  transition: transform .42s var(--ease);
}

.site-drawer[data-open] { transform: translateX(0); }

.drawer__title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .26em;
  color: var(--cyan);
}

.drawer__list {
  margin-top: 22px;
  border-top: 1px solid var(--line-dark);
}

.drawer__list li + li {
  border-top: 1px solid var(--line-dark);
}

.drawer__list a {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 54px;
  padding: 14px 6px;
  text-decoration: none;
  font-size: 17px;
  letter-spacing: .04em;
  color: var(--text-on-dark);
  transition: color .22s var(--ease), background .22s var(--ease), padding-left .28s var(--ease), box-shadow .28s var(--ease);
}

.drawer__list a:hover {
  color: var(--cyan);
  background: rgba(0, 229, 192, .07);
  padding-left: 16px;
}

.drawer__list a[aria-current="page"] {
  color: var(--cyan);
  padding-left: 16px;
  box-shadow: inset 3px 0 0 var(--cyan);
}

.drawer__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--sage);
}

.drawer__list a:hover .drawer__no,
.drawer__list a[aria-current="page"] .drawer__no {
  color: var(--orange);
}

.drawer__label { flex: 1; }

.drawer__foot {
  margin-top: auto;
  padding-top: 26px;
  border-top: 1px dashed var(--line-dark);
  font-size: 13px;
  line-height: 1.8;
  color: var(--sage);
}

/* 11. 页脚 ---------------------------------------------------------------- */
.site-foot {
  position: relative;
  margin-top: clamp(60px, 9vw, 130px);
  padding: clamp(48px, 7vw, 88px) var(--gutter) clamp(96px, 9vw, 72px);
  color: var(--paper);
  background:
    radial-gradient(80% 50% at 0% 0%, rgba(0, 229, 192, .12), transparent 60%),
    linear-gradient(180deg, #0B3D3A 0%, #051D1C 100%);
  border-top: 1px solid rgba(0, 229, 192, .26);
}

.foot-wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(230px, 1.35fr) repeat(3, minmax(150px, 1fr));
  gap: clamp(30px, 4vw, 56px);
}

.foot-intro__mark {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: .1em;
  margin-bottom: 14px;
}

.foot-intro__line {
  font-size: 14px;
  line-height: 1.9;
  color: var(--sage);
  max-width: 34ch;
}

.foot-nav__cap {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .24em;
  color: var(--cyan);
  margin-bottom: 16px;
}

.foot-nav ul,
.foot-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.foot-nav a,
.foot-col a {
  display: inline-block;
  font-size: 14px;
  line-height: 1.7;
  text-decoration: none;
  color: var(--text-on-dark);
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.foot-nav a:hover,
.foot-col a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.foot-contact li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-on-dark);
}

.foot-contact__k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--sage);
  padding-top: 4px;
}

.foot-base {
  max-width: var(--wrap);
  margin: clamp(34px, 5vw, 62px) auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(155, 179, 167, .28);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
  font-size: 13px;
  color: var(--sage);
}

.foot-base p { margin: 0; line-height: 1.7; }

.foot-base__icp { font-family: var(--font-mono); letter-spacing: .08em; }

/* 12. 右下角固定浮层 ------------------------------------------------------- */
.export-dock {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  font-size: 14px;
  letter-spacing: .06em;
  text-decoration: none;
  color: var(--cyan);
  background: rgba(6, 39, 37, .94);
  border: 1px solid var(--cyan);
  border-radius: 999px;
  box-shadow: 0 18px 36px -22px rgba(0, 0, 0, .9);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}

.export-dock::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.export-dock:hover {
  background: var(--cyan);
  color: var(--ink-green);
  transform: translateY(-2px);
}

.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: calc(clamp(14px, 3vw, 28px) + 60px);
  z-index: 70;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(155, 179, 167, .55);
  background: rgba(10, 20, 20, .82);
  color: var(--paper);
  font-size: 11px;
  letter-spacing: .06em;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease), background .25s var(--ease), color .25s var(--ease);
}

.to-top[data-visible] {
  opacity: 1;
  visibility: visible;
}

.to-top:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #1C0C05;
}

/* 13. 通用按钮 ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .07em;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}

.btn:hover { transform: translateY(-2px); }

.btn--solid {
  background: var(--orange);
  border-color: var(--orange);
  color: #1C0C05;
}

.btn--solid:hover { background: #FF9569; border-color: #FF9569; }

.btn--cyan {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink-green);
}

.btn--cyan:hover { background: var(--cyan-soft); border-color: var(--cyan-soft); }

.btn--ghost {
  background: transparent;
  border-color: rgba(0, 229, 192, .55);
  color: var(--cyan);
}

.btn--ghost:hover { background: rgba(0, 229, 192, .14); border-color: var(--cyan); }

.btn--outline {
  background: transparent;
  border-color: rgba(11, 61, 58, .42);
  color: var(--ink-green);
}

.btn--outline:hover { background: rgba(11, 61, 58, .07); border-color: var(--ink-green); }

.btn--ink {
  background: var(--ink-green);
  border-color: var(--ink-green);
  color: var(--paper);
}

.btn--ink:hover { background: var(--ink-green-deep); border-color: var(--ink-green-deep); }

/* 14. 文本与标签 ----------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--orange);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.section--ink .eyebrow,
.section--indigo .eyebrow,
.section--wine .eyebrow { color: var(--cyan); }

.lead {
  max-width: 62ch;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.95;
  color: var(--text-soft);
}

.section--ink .lead,
.section--indigo .lead,
.section--wine .lead { color: var(--text-on-dark); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid rgba(11, 61, 58, .3);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: #3E5A52;
  white-space: nowrap;
}

.tag--live {
  border-color: var(--orange);
  color: #C4481A;
  background: rgba(255, 122, 69, .1);
}

.section--ink .tag,
.section--indigo .tag,
.section--wine .tag {
  border-color: var(--line-dark);
  color: var(--text-on-dark);
}

.section--ink .tag--live,
.section--indigo .tag--live,
.section--wine .tag--live {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(255, 122, 69, .12);
}

/* 15. 排版容器 ------------------------------------------------------------ */
.prose {
  max-width: 70ch;
  font-size: 16.5px;
  line-height: 1.9;
  color: #233832;
}

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

.prose h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  margin-top: 1.9em;
}

.prose h3 { margin-top: 1.6em; }

.prose ul,
.prose ol {
  padding-left: 1.4em;
}

.prose ul li { list-style: square; }
.prose ol li { list-style: decimal; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--orange); }

.prose a {
  color: var(--ink-green);
  text-decoration: underline;
  text-decoration-color: var(--cyan);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.prose a:hover { color: var(--wine); }

.section--ink .prose,
.section--indigo .prose,
.section--wine .prose { color: var(--text-on-dark); }

.section--ink .prose h2,
.section--ink .prose h3,
.section--indigo .prose h2,
.section--indigo .prose h3,
.section--wine .prose h2,
.section--wine .prose h3 { color: var(--paper); }

/* 16. 面包屑 -------------------------------------------------------------- */
.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: #5C746C;
}

.crumb li { display: inline-flex; align-items: center; gap: 10px; }

.crumb li + li::before {
  content: "/";
  color: var(--sage);
}

.crumb a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.crumb a:hover { color: var(--orange); border-bottom-color: var(--orange); }

.crumb [aria-current] { color: var(--orange); }

/* 17. 线 / 网格 / 卡片 ----------------------------------------------------- */
.rule {
  height: 1px;
  border: 0;
  background: var(--line);
}

.section--ink .rule,
.section--indigo .rule,
.section--wine .rule { background: var(--line-dark); }

.grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 32px);
}

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

.card {
  padding: clamp(20px, 2.4vw, 30px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.card--ink {
  background: rgba(255, 255, 255, .045);
  border-color: var(--line-dark);
  color: var(--text-on-dark);
  box-shadow: none;
}

.card--ink h2,
.card--ink h3 { color: var(--paper); }

.stack > * + * { margin-top: clamp(14px, 1.6vw, 22px); }

/* 18. 图片容器基础规则 ----------------------------------------------------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(155, 179, 167, .38);
  background:
    linear-gradient(140deg, var(--ink-green) 0%, var(--indigo) 100%);
}

.media > img,
.media > picture > img,
.media > svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

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

.media--cut::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 14px;
  width: 40px;
  height: 40px;
  border-top: 1px solid var(--cyan);
  border-left: 1px solid var(--cyan);
  pointer-events: none;
}

.media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(0, 229, 192, .13) 0 1px,
    transparent 1px 15px
  );
}

/* 19. 滚动显现 ------------------------------------------------------------ */
html.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .58s var(--ease), transform .58s var(--ease);
}

html.js .reveal[data-shown] {
  opacity: 1;
  transform: none;
}

/* 20. 响应式 -------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-intro { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --bar-h: 58px; }

  body { font-size: 15.5px; }

  .frame-bar { gap: 12px; }

  .frame-bar__meta { display: none; }

  .brand__name { font-size: 17px; }

  .nav-toggle {
    position: fixed;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 88;
    min-height: 48px;
    padding: 10px 22px;
    background: rgba(6, 39, 37, .96);
    border-color: var(--cyan);
    box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .92);
  }

  .site-drawer {
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: auto;
    max-height: min(80vh, 640px);
    padding: 24px 22px 96px;
    border-left: 0;
    border-top: 1px solid rgba(0, 229, 192, .38);
    border-radius: 16px 16px 0 0;
    transform: translateY(102%);
  }

  .site-drawer[data-open] { transform: translateY(0); }

  .nav-scrim { top: var(--bar-h); }

  .drawer__list a { min-height: 50px; padding: 12px 6px; font-size: 16px; }

  .site-foot { padding-bottom: 128px; }

  .export-dock {
    right: 14px;
    bottom: 80px;
    min-height: 44px;
    padding: 0 16px;
    font-size: 13px;
  }

  .to-top {
    right: 14px;
    bottom: 136px;
    width: 44px;
    height: 44px;
  }
}

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

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

  .foot-base { flex-direction: column; align-items: flex-start; }

  .foot-contact li { grid-template-columns: 42px 1fr; }
}

/* 21. 降低动效 ------------------------------------------------------------ */
@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;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
  }
}
