/* ==========================================================================
   欧巴体育站 /assets/site.css
   共享层：reset、变量、中文排版、页头、页脚、通用组件
   设计语言：深墨绿蓝图网格 + 荧光青索引 + 暖橙时间轴 + 电光紫数据
   ========================================================================== */

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

:root {
  /* —— 色彩令牌 —— */
  --ink-900: #071B16;
  --ink-800: #0C2A23;
  --ink-700: #143B31;
  --line: #1E473D;
  --line-soft: rgba(30, 71, 61, .62);

  --mint: #2BF5D2;
  --orange: #FF8A3D;
  --violet: #A98BFF;
  --sun: #FFD166;
  --bone: #F4F8F2;
  --fog: #A7BDB4;
  --dim: #6D8A80;

  /* —— 字体令牌 —— */
  --font-head: "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: var(--font-head);
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  /* —— 尺寸令牌 —— */
  --wrap: min(1180px, calc(100% - 2.4rem));
  --gutter: clamp(1rem, 3vw, 2rem);
  --r-lg: 26px;
  --r-md: 16px;
  --r-sm: 10px;
  --cut: 26px 6px 26px 6px;

  --ease: cubic-bezier(.22, .7, .3, 1);
  --shadow-1: 0 18px 40px -24px rgba(0, 0, 0, .92);
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--ink-900);
  background-image:
    linear-gradient(to right, rgba(43, 245, 210, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(43, 245, 210, .045) 1px, transparent 1px),
    radial-gradient(90% 60% at 50% -20%, rgba(20, 59, 49, .9), transparent 70%);
  background-size: 84px 84px, 84px 84px, 100% 100%;
  background-position: center top, center top, center top;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.012em;
  color: var(--bone);
  font-stretch: condensed;
}

h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: .95; letter-spacing: -.024em; }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.8rem); line-height: 1.05; }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
h4 { font-size: clamp(1.02rem, 1.5vw, 1.15rem); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
ul:last-child, ol:last-child { margin-bottom: 0; }

a {
  color: var(--mint);
  text-decoration: none;
  transition: color .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease);
}

a:hover { color: var(--bone); }

strong, b { font-weight: 800; color: var(--bone); }

small { font-size: .82em; color: var(--fog); }

hr {
  height: 0;
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}

::selection {
  background: var(--mint);
  color: #04140F;
}

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

/* ============================== 容器与排版工具 ============================== */

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

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

#main-content {
  display: block;
  min-height: 40vh;
  scroll-margin-top: 140px;
}

/* ============================== 跳转链接 ============================== */

.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  padding: .7rem 1.2rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  background: var(--mint);
  color: #04140F;
  font-weight: 800;
  font-size: .9rem;
  transition: top .2s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 0;
  color: #04140F;
  outline: none;
}

/* ============================== 页头 / 战术板刊头 ============================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(180deg, rgba(7, 27, 22, .98) 0%, rgba(7, 27, 22, .93) 100%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -34px rgba(0, 0, 0, .95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  width: var(--wrap);
  margin-inline: auto;
  padding: 16px 0 0;
}

.masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.masthead-brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  justify-self: center;
  color: var(--bone);
  text-decoration: none;
}

.masthead-brand:hover { color: var(--bone); }

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  flex: 0 0 auto;
  border-radius: 14px 4px 14px 4px;
  background: linear-gradient(145deg, var(--mint), #0FBFA4 70%, #0A8E7B);
  color: #04140F;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.06rem;
  line-height: 1;
  transform: rotate(-4deg);
  box-shadow: 0 10px 24px -14px rgba(43, 245, 210, .9);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: .22rem;
}

.brand-title {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  line-height: 1;
  letter-spacing: .01em;
  color: var(--bone);
}

.brand-tagline {
  display: block;
  font-family: var(--font-mono);
  font-size: .68rem;
  line-height: 1;
  letter-spacing: .26em;
  color: var(--mint);
}

.masthead-meta {
  display: flex;
  flex-direction: column;
  gap: .38rem;
  margin: 0;
  font-size: .78rem;
  color: var(--fog);
}

.masthead-meta--left { align-items: flex-start; }
.masthead-meta--right { align-items: flex-end; text-align: right; }

.meta-label {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .2em;
  color: var(--dim);
}

.meta-value {
  color: var(--bone);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .02em;
}

.countdown-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .28rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 138, 61, .5);
  background: rgba(255, 138, 61, .1);
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
}

.countdown-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 138, 61, .18);
}

.header-contact {
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--fog);
  border-bottom: 1px solid transparent;
  letter-spacing: .02em;
}

.header-contact:hover {
  color: var(--mint);
  border-bottom-color: var(--mint);
}

/* —— 导航 —— */

.nav-bar {
  display: flex;
  justify-content: center;
  padding: 11px 0 13px;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .2rem .3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item { display: block; }

.nav-link {
  display: inline-flex;
  align-items: baseline;
  gap: .4rem;
  padding: .46rem .78rem;
  border-radius: 12px 6px 12px 6px;
  color: var(--fog);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .92rem;
  letter-spacing: .015em;
  line-height: 1.2;
  text-decoration: none;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}

.nav-num {
  font-family: var(--font-mono);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: #4E6F65;
  transition: color .18s var(--ease);
}

.nav-link:hover {
  color: var(--bone);
  background: rgba(43, 245, 210, .08);
}

.nav-link:hover .nav-num { color: var(--mint); }

.nav-link[aria-current="page"] {
  background: var(--mint);
  color: #04140F;
}

.nav-link[aria-current="page"] .nav-num { color: rgba(4, 20, 15, .55); }

.nav-link[aria-current="page"]:hover {
  background: var(--mint);
  color: #04140F;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  width: 100%;
  margin: 10px 0 11px;
  padding: .62rem .9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ink-800);
  color: var(--bone);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .06em;
  cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}

.nav-toggle:hover { border-color: rgba(43, 245, 210, .55); }

.nav-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
  flex: 0 0 auto;
}

.nav-toggle-bars span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--mint);
  transition: transform .24s var(--ease), opacity .2s var(--ease), background-color .2s var(--ease);
}

.site-header[data-open] .nav-toggle {
  border-color: var(--mint);
  background: rgba(43, 245, 210, .1);
}

.site-header[data-open] .nav-toggle-bars span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.site-header[data-open] .nav-toggle-bars span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ============================== 页脚 ============================== */

.site-footer {
  position: relative;
  margin-top: clamp(3rem, 7vw, 6rem);
  background: var(--ink-900);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 90% at 10% 0%, rgba(43, 245, 210, .09), transparent 62%),
    radial-gradient(52% 80% at 92% 8%, rgba(255, 138, 61, .08), transparent 66%);
}

.footer-inner {
  position: relative;
  width: var(--wrap);
  margin-inline: auto;
  padding: clamp(2.2rem, 5vw, 3.6rem) 0 1.6rem;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(0, 1.5fr) minmax(210px, .95fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-bottom: clamp(1.6rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--line);
}

.footer-brand { min-width: 0; }

.footer-logo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .85rem;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.15;
  letter-spacing: .01em;
  color: var(--bone);
}

.footer-logo-divider {
  color: var(--line);
  font-weight: 400;
}

.footer-logo-sub {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--mint);
}

.footer-note {
  margin: 0 0 .7rem;
  max-width: 34ch;
  font-size: .84rem;
  line-height: 1.6;
  color: var(--fog);
}

.footer-note--mono {
  font-family: var(--font-mono);
  font-size: .73rem;
  letter-spacing: .02em;
  color: var(--dim);
}

.footer-note--small {
  margin-top: .8rem;
  font-size: .74rem;
  color: var(--dim);
  max-width: 30ch;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem 1.5rem;
  min-width: 0;
}

.footer-col { min-width: 0; }

.footer-col-title {
  margin: 0 0 .85rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--mint);
  line-height: 1.2;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .48rem;
}

.footer-link {
  display: inline-block;
  font-size: .88rem;
  color: var(--fog);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  line-height: 1.45;
}

.footer-link:hover {
  color: var(--bone);
  border-bottom-color: var(--mint);
}

.footer-contact { min-width: 0; }

.footer-list--contact { gap: .7rem; }

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: .16rem;
}

.footer-label {
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .16em;
  color: var(--dim);
}

.footer-value {
  font-size: .84rem;
  line-height: 1.5;
  color: var(--bone);
  overflow-wrap: anywhere;
}

.footer-value--mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
  color: var(--sun);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  padding-top: 1.15rem;
  font-family: var(--font-mono);
  font-size: .73rem;
  letter-spacing: .04em;
  color: var(--dim);
}

.footer-copy,
.footer-legal {
  margin: 0;
  color: var(--dim);
}

.footer-legal { color: #5C7A70; }

/* ============================== 通用按钮 ============================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 46px;
  padding: .68rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 14px 4px 14px 4px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .94rem;
  line-height: 1.1;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.button:hover { text-decoration: none; }
.button:active { transform: translateY(0); }

.button--primary {
  background: var(--mint);
  color: #04140F;
  box-shadow: 0 14px 28px -18px rgba(43, 245, 210, .95);
}

.button--primary:hover {
  background: #63FFE8;
  color: #04140F;
  transform: translateY(-1px);
}

.button--warm {
  background: var(--orange);
  color: #1A0C03;
  box-shadow: 0 14px 28px -18px rgba(255, 138, 61, .95);
}

.button--warm:hover {
  background: #FFA366;
  color: #1A0C03;
  transform: translateY(-1px);
}

.button--ghost {
  background: transparent;
  color: var(--bone);
  border-color: var(--line);
}

.button--ghost:hover {
  color: var(--mint);
  border-color: var(--mint);
  background: rgba(43, 245, 210, .07);
  transform: translateY(-1px);
}

/* ============================== 面包屑 ============================== */

.breadcrumb {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .04em;
  color: var(--dim);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--dim);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--line);
}

.breadcrumb-link {
  color: var(--fog);
  text-decoration: none;
}

.breadcrumb-link:hover { color: var(--mint); }

.breadcrumb-current { color: var(--bone); font-weight: 700; }

/* ============================== 标签 ============================== */

.tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .2rem .58rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .07em;
  line-height: 1.5;
  white-space: nowrap;
}

.tag--mint { color: var(--mint); background: rgba(43, 245, 210, .09); }
.tag--orange { color: var(--orange); background: rgba(255, 138, 61, .1); }
.tag--violet { color: var(--violet); background: rgba(169, 139, 255, .1); }
.tag--sun { color: var(--sun); background: rgba(255, 209, 102, .1); }

.tag--plain {
  color: var(--fog);
  background: transparent;
  border-color: var(--line);
}

/* ============================== 章节头 ============================== */

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: clamp(1.1rem, 2.4vw, 1.6rem);
}

.section-kicker {
  margin: 0 0 .5rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .26em;
  color: var(--mint);
}

.section-title { margin: 0; }

.section-lead {
  margin: .6rem 0 0;
  max-width: 58ch;
  font-size: .96rem;
  line-height: 1.68;
  color: var(--fog);
}

/* ============================== 面板 ============================== */

.panel {
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(1rem, 2vw, 1.5rem);
  box-shadow: var(--shadow-1);
}

.panel--raised {
  background: var(--ink-700);
  border-color: rgba(30, 71, 61, .9);
}

/* ============================== 网格 ============================== */

.grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.6rem);
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.grid--asym { grid-template-columns: 1.25fr .75fr; }

@media (max-width: 820px) {
  .grid--asym { grid-template-columns: 1fr; }
}

/* ============================== 响应式图片容器（供页面阶段使用） ============================== */

.media {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ink-700);
}

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

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

.media--cut { border-radius: var(--cut); }

.media__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .2em;
  color: var(--dim);
  background-color: var(--ink-700);
  background-image:
    linear-gradient(135deg, rgba(43, 245, 210, .07) 25%, transparent 25%, transparent 50%, rgba(43, 245, 210, .07) 50%, rgba(43, 245, 210, .07) 75%, transparent 75%);
  background-size: 18px 18px;
}

.media__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: .7rem .9rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .05em;
  color: var(--bone);
  background: linear-gradient(180deg, rgba(7, 27, 22, 0), rgba(7, 27, 22, .92));
}

/* ============================== 滚动进度 & 回到顶部 ============================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 130;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--mint) 0%, var(--orange) 62%, var(--violet) 100%);
  pointer-events: none;
}

.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 110;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--cut);
  background: var(--ink-700);
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), border-color .2s var(--ease);
}

.to-top[data-visible="true"] {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.to-top:hover {
  border-color: var(--mint);
  background: var(--ink-800);
}

/* ============================== 渐入显现 ============================== */

.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

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

/* ============================== 响应式 ============================== */

@media (max-width: 1000px) {
  .footer-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .footer-brand { grid-column: 1 / -1; }
}

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

  .nav-bar {
    display: block;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    padding: 0;
    transition: max-height .3s var(--ease), opacity .22s var(--ease), visibility .3s var(--ease);
  }

  .site-header[data-open] .nav-bar {
    max-height: 30rem;
    opacity: 1;
    visibility: visible;
    padding: 0 0 .9rem;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }

  .nav-item { border-bottom: 1px solid rgba(30, 71, 61, .7); }
  .nav-item:last-child { border-bottom: 0; }

  .nav-link {
    justify-content: flex-start;
    width: 100%;
    padding: .74rem .6rem;
    font-size: 1rem;
    border-radius: 10px;
  }

  .nav-num {
    min-width: 1.9rem;
    font-size: .64rem;
  }
}

@media (max-width: 760px) {
  .header-inner { padding-top: 13px; }

  .masthead {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .7rem;
    padding-bottom: 11px;
  }

  .masthead-brand { justify-self: start; }
  .masthead-meta--left { display: none; }
  .masthead-meta--right { align-items: flex-end; gap: .3rem; }
  .brand-mark { width: 2.25rem; height: 2.25rem; font-size: .95rem; }
  #main-content { scroll-margin-top: 118px; }
}

@media (max-width: 640px) {
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .35rem; }
}

@media (max-width: 520px) {
  .countdown-chip { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

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

  .nav-bar {
    transition: none;
  }
}
