/* ==========================================================================
   浩瀚体育 · 共享站点样式 /assets/site.css
   设计语言：技术蓝图网格 · 夜间赛事控制室 · 冷底高亮赛事光谱
   ========================================================================== */

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

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

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

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

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

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

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

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

::selection {
  background: rgba(36, 224, 230, 0.28);
  color: #F4FBFF;
}

/* ---------- 2. 设计令牌 ---------- */
:root {
  /* 色彩 */
  --deep:      #061826;
  --panel:     #0B2740;
  --blueprint: #123A56;
  --cyan:      #24E0E6;
  --mint:      #9CF7F0;
  --orange:    #FF8A3D;
  --pink:      #FF4D8D;
  --glass:     #EAF9FF;
  --ink:       #F4FBFF;
  --steel:     #8FA6B8;

  /* 派生层 */
  --line-soft:  rgba(18, 58, 86, 0.72);
  --line-faint: rgba(18, 58, 86, 0.42);
  --glass-bg:   rgba(234, 249, 255, 0.055);
  --glass-brd:  rgba(156, 247, 240, 0.22);
  --cyan-soft:  rgba(36, 224, 230, 0.10);
  --ink-soft:   rgba(244, 251, 255, 0.86);

  /* 字体 */
  --font-display: "Oswald", "Barlow Condensed", "Source Han Sans SC",
                  "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body:    "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
                  "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono:    "IBM Plex Mono", "JetBrains Mono", ui-monospace,
                  "SFMono-Regular", Menlo, Consolas, monospace;

  /* 度量 */
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 2px;
  --dur: 0.28s;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--ink);
  background-color: var(--deep);
  background-image:
    radial-gradient(920px 540px at 84% -10%, rgba(36, 224, 230, 0.10), transparent 62%),
    radial-gradient(760px 460px at 2% 4%, rgba(255, 77, 141, 0.07), transparent 60%),
    linear-gradient(to right, rgba(18, 58, 86, 0.26) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18, 58, 86, 0.26) 1px, transparent 1px);
  background-size: auto, auto, 96px 96px, 96px 96px;
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

strong { color: var(--mint); font-weight: 700; }

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

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

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

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 30px);
}

.col-1  { grid-column: span 1; }
.col-2  { grid-column: span 2; }
.col-3  { grid-column: span 3; }
.col-4  { grid-column: span 4; }
.col-5  { grid-column: span 5; }
.col-6  { grid-column: span 6; }
.col-7  { grid-column: span 7; }
.col-8  { grid-column: span 8; }
.col-9  { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; }
.col-12 { grid-column: span 12; }

/* ---------- 5. 通用文本组件 ---------- */
.mono {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cyan);
}

.kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--cyan);
}

.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: 0.005em;
  color: var(--ink);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 24px;
  padding-bottom: 14px;
  margin-bottom: clamp(22px, 3vw, 38px);
  border-bottom: 1px solid var(--line-soft);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 1.12;
  color: var(--ink);
}

.prose {
  max-width: 72ch;
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--ink-soft);
}

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

.prose h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  color: var(--ink);
  margin-top: 1.8em;
}

.prose h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--mint);
  margin-top: 1.6em;
}

.prose a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(36, 224, 230, 0.35);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

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

.prose ul { list-style: none; }

.prose ul > li {
  position: relative;
  padding-left: 1.4em;
}

.prose ul > li + li { margin-top: 0.5em; }

.prose ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 1px;
  background: var(--cyan);
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.7em 1.3em;
  border: 1px solid var(--glass-brd);
  border-radius: var(--radius);
  background: var(--glass-bg);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  white-space: nowrap;
  transition: border-color var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}

.btn:hover {
  border-color: var(--cyan);
  background: var(--cyan-soft);
  color: var(--mint);
  transform: translateX(2px);
}

.btn--primary {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #032030;
}

.btn--primary:hover {
  background: var(--mint);
  border-color: var(--mint);
  color: #032030;
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-soft);
  color: var(--steel);
}

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

/* ---------- 7. 标签 / 面板 / 图片容器 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.22em 0.6em;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.tag--cyan {
  color: var(--cyan);
  border-color: rgba(36, 224, 230, 0.45);
  background: rgba(36, 224, 230, 0.08);
}

.tag--orange {
  color: var(--orange);
  border-color: rgba(255, 138, 61, 0.42);
  background: rgba(255, 138, 61, 0.08);
}

.tag--pink {
  color: var(--pink);
  border-color: rgba(255, 77, 141, 0.42);
  background: rgba(255, 77, 141, 0.08);
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.6em;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(36, 224, 230, 0.16);
  vertical-align: middle;
}

.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 30px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel);
}

.panel--glass {
  background: linear-gradient(158deg, rgba(234, 249, 255, 0.09), rgba(234, 249, 255, 0.028));
  border-color: var(--glass-brd);
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  transition: background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.panel--glass:hover {
  border-color: rgba(36, 224, 230, 0.42);
}

.img-frame {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(142deg, #0B2740 0%, #123A56 58%, #0B2740 100%);
}

.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(158deg, rgba(36, 224, 230, 0.20), transparent 52%, rgba(255, 77, 141, 0.12)),
    repeating-linear-gradient(90deg, rgba(6, 24, 38, 0.28) 0 1px, transparent 1px 46px);
}

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

.img-frame--slant {
  clip-path: polygon(0 0, 100% 0, 100% 86%, 76% 100%, 0 100%);
}

.img-frame--ratio { aspect-ratio: 16 / 10; }
.img-frame--tall  { aspect-ratio: 3 / 4; }

/* ---------- 8. 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 20px 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}

.crumbs li { display: inline-flex; align-items: center; }

.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(143, 166, 184, 0.5);
}

.crumbs a {
  color: var(--steel);
  transition: color var(--dur) var(--ease);
}

.crumbs a:hover { color: var(--cyan); }

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

/* ---------- 9. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 300;
  padding: 11px 20px;
  border-radius: var(--radius);
  background: var(--cyan);
  color: #032030;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 14px;
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}

/* ---------- 10. 页头 / 刊头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(6, 24, 38, 0.94);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--blueprint);
}

.masthead {
  position: relative;
  border-bottom: 1px solid var(--line-faint);
}

.masthead::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(36, 224, 230, 0.30) 0 1px,
    transparent 1px 40px
  );
  height: 4px;
  opacity: 0.5;
}

.masthead__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 16px var(--gutter) 13px;
}

.masthead__meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  justify-self: start;
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
}

.masthead__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  padding-left: 0.2em;
}

.masthead__tagline {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cyan);
  transition: color var(--dur) var(--ease);
}

.masthead__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(21px, 2.5vw, 31px);
  line-height: 1.08;
  letter-spacing: 0.2em;
  color: var(--ink);
  transition: color var(--dur) var(--ease);
}

.masthead__rule {
  display: block;
  width: clamp(70px, 13vw, 148px);
  height: 2px;
  margin-top: 4px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transition: width var(--dur) var(--ease);
}

.masthead__brand:hover .masthead__wordmark { color: var(--mint); }
.masthead__brand:hover .masthead__rule { width: clamp(96px, 17vw, 186px); }

.masthead__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  justify-self: end;
}

.masthead__cta { font-size: 0.85rem; padding: 0.62em 1.05em; }

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 40px;
  border: 1px solid var(--blueprint);
  border-radius: var(--radius);
  background: rgba(234, 249, 255, 0.04);
  transition: border-color var(--dur) var(--ease);
}

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

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--mint);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- 11. 主栏目导航 ---------- */
.site-nav {
  border-bottom: 1px solid var(--line-faint);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2.4vw, 36px);
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  counter-reset: navidx;
}

.site-nav li { display: flex; }

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0.5em;
  padding: 13px 1px 14px;
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--steel);
  transition: color var(--dur) var(--ease);
}

.site-nav a::before {
  counter-increment: navidx;
  content: "0" counter(navidx);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: rgba(143, 166, 184, 0.55);
  transition: color var(--dur) var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
}

.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::before { color: var(--cyan); }
.site-nav a:hover::after { transform: scaleX(1); }

.site-nav a[aria-current="page"] { color: var(--cyan); }
.site-nav a[aria-current="page"]::before { color: var(--cyan); }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* ---------- 12. 阅读进度条（JS 注入） ---------- */
.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(36, 224, 230, 0.12);
  pointer-events: none;
  z-index: 2;
}

.scroll-meter__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--cyan), var(--mint));
  transition: transform 0.1s linear;
}

/* ---------- 13. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 120px);
  border-top: 1px solid var(--blueprint);
  background:
    radial-gradient(900px 280px at 12% -30%, rgba(36, 224, 230, 0.12), transparent 62%),
    radial-gradient(700px 300px at 96% 0%, rgba(255, 77, 141, 0.08), transparent 60%),
    linear-gradient(180deg, #0B2740 0%, #08202F 55%, #061826 100%);
  color: var(--ink);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 7px;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(36, 224, 230, 0.55) 0 1px,
    transparent 1px 24px
  );
  opacity: 0.55;
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1.1fr);
  gap: clamp(26px, 4vw, 56px);
  padding-block: clamp(44px, 6vw, 76px) clamp(28px, 3vw, 40px);
}

.footer__brand { max-width: 42ch; }

.footer__tagline {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer__wordmark {
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: 0.18em;
  color: var(--ink);
}

.footer__summary {
  margin-top: 14px;
  font-size: 0.93rem;
  line-height: 1.8;
  color: rgba(244, 251, 255, 0.72);
}

.footer__status {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}

.footer__col { min-width: 0; }

.footer__col-title {
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--steel);
}

.footer__list li + li { margin-top: 2px; }

.footer__list a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 0.94rem;
  letter-spacing: 0.04em;
  color: rgba(244, 251, 255, 0.8);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.footer__list a:hover {
  color: var(--cyan);
  transform: translateX(2px);
}

.footer__contact {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(244, 251, 255, 0.8);
  word-break: break-word;
}

.footer__contact + .footer__contact { margin-top: 12px; }

.footer__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 18px 30px;
  border-top: 1px solid var(--line-faint);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--steel);
}

.footer__legal { color: var(--steel); }
.footer__note { color: rgba(143, 166, 184, 0.65); }

/* ---------- 14. 显现动画 ---------- */
[data-reveal] {
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

html.js-on [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
}

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

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1080px) {
  .footer__inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
  .footer__brand { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 900px) {
  body { font-size: 16px; }

  .masthead__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-block: 12px 10px;
  }

  .masthead__meta { display: none; }

  .masthead__brand {
    align-items: flex-start;
    text-align: left;
    padding-left: 0;
  }

  .masthead__wordmark { letter-spacing: 0.14em; font-size: 22px; }
  .masthead__tagline { letter-spacing: 0.22em; font-size: 9.5px; }
  .masthead__rule { width: 88px; }

  .masthead__cta { display: none; }
  .nav-toggle { display: flex; }

  .site-nav { display: none; }

  .site-nav[data-open="true"] {
    display: block;
    animation: navDrop 0.24s var(--ease) both;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px var(--gutter) 18px;
  }

  .site-nav li { display: block; }

  .site-nav li + li { border-top: 1px solid var(--line-faint); }

  .site-nav a {
    width: 100%;
    padding: 15px 0;
    font-size: 1rem;
  }

  .site-nav a::after { display: none; }

  .site-nav a[aria-current="page"] { padding-left: 12px; }

  .site-nav a[aria-current="page"]::after {
    display: block;
    top: 14px;
    bottom: 14px;
    right: auto;
    left: 0;
    width: 2px;
    height: auto;
    transform: scaleY(1);
    transform-origin: center top;
  }

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

  .col-1, .col-2, .col-3, .col-4, .col-5 { grid-column: span 3; }
  .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 { grid-column: span 6; }

  .footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .footer__brand { grid-column: 1 / -1; }
  .footer__col--contact { grid-column: 1 / -1; }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (max-width: 600px) {
  :root { --gutter: 18px; }

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

  .col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
  .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
    grid-column: span 2;
  }

  .footer__inner { grid-template-columns: minmax(0, 1fr); }
  .footer__col--contact { grid-column: auto; }

  .btn { width: 100%; }
  .masthead__actions .btn { width: auto; }
}

@keyframes navDrop {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

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

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

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

  .btn:hover,
  .footer__list a:hover { transform: none; }

  .site-nav a:hover::after { transform: scaleX(1); }
}
