/* ==========================================================================
   安博体育主站 · 共享样式 /assets/site.css
   01 reset  02 变量  03 排版  04 布局  05 头部  06 页脚
   07 目录型组件  08 数据组件  09 分段与阅读  10 通用组件  11 动效  12 响应式
   ========================================================================== */

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

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

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

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

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

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

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

button { background: none; border: 0; cursor: pointer; }

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

[hidden] { display: none !important; }

/* 02 变量 ---------------------------------------------------------------- */
:root {
  --bg: #0B1533;
  --panel: #14224A;
  --panel-deep: #0D1836;
  --cyan: #4FE3D0;
  --orange: #FF7A2F;
  --paper: #F3EAD9;
  --paper-ink: #1A1410;
  --fg: #E6EAF2;
  --muted: #8B93A7;
  --red: #E0453C;
  --green: #2FBF71;
  --line: rgba(230, 234, 242, 0.14);
  --line-2: rgba(230, 234, 242, 0.30);

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", Georgia, serif;
  --font-sans: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Consolas, monospace;

  --header-h: 76px;
  --gap: 24px;
  --maxw: 1280px;
  --pad: clamp(16px, 4vw, 40px);
  --rule: 1px solid var(--line);
  --rule-strong: 1px solid var(--line-2);
}

/* 03 排版 ---------------------------------------------------------------- */
body {
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 520px at 78% -8%, rgba(79, 227, 208, 0.10), transparent 62%),
    radial-gradient(900px 420px at 6% 2%, rgba(255, 122, 47, 0.07), transparent 64%),
    repeating-linear-gradient(to right, rgba(230, 234, 242, 0.045) 0 1px, transparent 1px 24px);
  background-attachment: fixed;
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0.004em;
  min-height: 100%;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--fg);
}

h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 900; }
h2 { font-size: clamp(24px, 3.4vw, 32px); }
h3 { font-size: clamp(19px, 2.2vw, 22px); }
h4 { font-size: 18px; }

p { text-wrap: pretty; }

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

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

/* 04 布局 ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section {
  position: relative;
  padding-block: clamp(36px, 6vw, 72px);
}

.section + .section { border-top: var(--rule); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  padding-bottom: 16px;
  border-bottom: var(--rule-strong);
  margin-bottom: clamp(24px, 4vw, 36px);
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.section-title { font-size: clamp(24px, 3.4vw, 32px); }

.hairline {
  height: 1px;
  border: 0;
  background: var(--line);
  margin: 0;
}

.stack { display: flex; flex-direction: column; gap: clamp(16px, 2vw, 28px); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
}

.span-4, .span-5, .span-6, .span-7, .span-8, .span-12 { grid-column: span 12; }

/* 05 头部 ---------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 99;
  background: var(--cyan);
  color: #0B1533;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
}

.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 21, 51, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: var(--header-h);
}

.header-left { display: flex; align-items: center; gap: 22px; flex: 0 0 auto; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.06em;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }

.brand-name {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.header-nav { flex: 0 0 auto; }

.nav-list { display: flex; align-items: center; gap: 2px; }

.nav-item { display: block; }

.nav-link {
  position: relative;
  display: inline-block;
  padding: 9px 12px;
  font-size: 14px;
  color: rgba(230, 234, 242, 0.80);
  white-space: nowrap;
  transition: color 0.16s ease;
}

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

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

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 1px;
  background: var(--cyan);
}

.header-gap {
  flex: 1 1 auto;
  min-width: 28px;
  height: 1px;
  align-self: center;
  background: var(--line-2);
  opacity: 0.7;
}

.header-right { flex: 0 0 auto; }

.quick-actions { display: flex; align-items: center; gap: 8px; }

.quick-link {
  display: inline-block;
  padding: 8px 12px;
  border: var(--rule-strong);
  font-size: 13.5px;
  color: var(--fg);
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.quick-link:hover { border-color: var(--cyan); color: var(--cyan); }

.quick-link--primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #0B1533;
  font-weight: 600;
}

.quick-link--primary:hover {
  background: #FF9350;
  border-color: #FF9350;
  color: #0B1533;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: var(--rule-strong);
  color: var(--fg);
  font-size: 13.5px;
}

.nav-toggle-bars { display: inline-flex; flex-direction: column; gap: 3px; width: 16px; }

.nav-toggle-bars span { display: block; height: 1px; background: currentColor; }

.nav-toggle-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
}

.nav-toggle[aria-expanded="true"] { border-color: var(--cyan); color: var(--cyan); }

.site-header[data-condensed="true"] .header-inner { min-height: 56px; }

.site-header[data-condensed="true"] .brand-sub { display: none; }

.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  z-index: 80;
  pointer-events: none;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.12s linear;
}

.mobile-dock { display: none; }

/* 06 页脚 ---------------------------------------------------------------- */
.site-footer {
  background: var(--panel-deep);
  border-top: var(--rule-strong);
  color: var(--fg);
}

.footer-inner { padding-block: clamp(40px, 6vw, 64px) 28px; }

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand { display: flex; flex-direction: column; gap: 14px; }

.footer-tagline {
  color: var(--muted);
  font-size: 14px;
  max-width: 30ch;
}

.footer-col { display: flex; flex-direction: column; }

.footer-col-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

.footer-col-title::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--line);
}

.footer-links { display: flex; flex-direction: column; gap: 9px; }

.footer-link {
  font-size: 14.5px;
  color: rgba(230, 234, 242, 0.86);
  transition: color 0.16s ease;
}

.footer-link:hover { color: var(--cyan); }

.footer-lines { display: flex; flex-direction: column; gap: 10px; }

.footer-line { color: var(--muted); font-size: 14px; }

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin-top: clamp(28px, 4vw, 40px);
  padding-top: 18px;
  border-top: var(--rule);
  font-size: 14px;
}

.footer-contact-item { color: rgba(230, 234, 242, 0.88); }

.copy-btn {
  border: var(--rule-strong);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 3px 9px;
  transition: color 0.16s ease, border-color 0.16s ease;
}

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

.footer-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
  max-width: 82ch;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: var(--rule);
  font-size: 13px;
  color: var(--muted);
}

.footer-legal-group { display: flex; flex-wrap: wrap; gap: 18px; }

.footer-legal-link { color: var(--muted); transition: color 0.16s ease; }

.footer-legal-link:hover { color: var(--cyan); }

.footer-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; }

.footer-legal {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.footer-year { font-family: var(--font-mono); font-size: 12.5px; }

/* 07 目录型组件 ---------------------------------------------------------- */
.index-band {
  background: var(--panel);
  border-bottom: var(--rule-strong);
}

.index-band-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
}

.index-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 18px 20px;
  border-right: var(--rule);
  transition: background 0.16s ease;
}

.index-item:hover,
.index-item:focus-visible { background: rgba(79, 227, 208, 0.08); }

.index-count {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
}

.index-link { font-size: 15px; font-weight: 600; }

.cluster {
  padding: 26px 0;
  border-top: var(--rule);
}

.cluster-title { font-size: 20px; margin-bottom: 8px; }

.cluster-summary {
  color: var(--muted);
  font-size: 15px;
  max-width: 62ch;
}

.cluster-data {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: 18px;
}

.cluster-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-bottom: 2px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid transparent;
}

.cluster-link::after { content: "\2192"; }

.cluster-link:hover { border-bottom-color: var(--cyan); }

.path-layer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  border-top: var(--rule-strong);
}

.path-item {
  display: block;
  padding: 26px 22px;
  border-right: var(--rule);
  transition: background 0.16s ease;
}

.path-item:last-child { border-right: 0; }

.path-item:hover { background: rgba(79, 227, 208, 0.06); }

.path-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 6px;
}

.path-item:hover .path-title { color: var(--cyan); }

.path-desc { color: var(--muted); font-size: 14px; }

/* 08 数据组件 ------------------------------------------------------------ */
.data-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border: var(--rule);
  background: rgba(20, 34, 74, 0.60);
}

.data-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: var(--rule);
}

.data-row:last-child { border-bottom: 0; }

.data-label { color: var(--muted); font-size: 13.5px; }

.data-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.delta-up { color: var(--green); }

.delta-down { color: var(--red); }

.timestamp {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border: var(--rule-strong);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--fg);
}

.tag--live { color: var(--cyan); border-color: rgba(79, 227, 208, 0.55); }

.tag--warn { color: var(--red); border-color: rgba(224, 69, 60, 0.50); }

.pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--cyan);
  animation: pulse-dot 1.8s ease-out infinite;
}

@keyframes pulse-dot {
  0% { opacity: 1; transform: scale(1); }
  70% { opacity: 0.2; transform: scale(1.9); }
  100% { opacity: 1; transform: scale(1); }
}

/* 09 分段与阅读 ---------------------------------------------------------- */
.segmented {
  position: relative;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  border-bottom: var(--rule-strong);
  scrollbar-width: thin;
}

.segmented-tab {
  flex: 0 0 auto;
  padding: 12px 16px;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.16s ease;
}

.segmented-tab:hover { color: var(--fg); }

.segmented-tab[aria-selected="true"] { color: var(--fg); }

.segmented-rail {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: var(--cyan);
  transition: transform 0.28s ease, width 0.28s ease;
}

.segmented-panel { display: none; padding-top: 24px; }

.segmented-panel.is-active { display: block; }

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

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

.paper .section-kicker { color: #8A3A12; }

.paper .section-head { border-bottom-color: rgba(26, 20, 16, 0.28); }

.paper .timestamp { color: #6B5B4A; }

.paper a { color: #8A3A12; }

.paper-title {
  font-family: var(--font-serif);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.prose {
  max-width: 72ch;
  font-size: 16.5px;
  line-height: 1.85;
  color: rgba(230, 234, 242, 0.88);
}

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

.prose h2 { font-size: 24px; margin-top: 1.8em; }

.prose h3 { font-size: 19px; margin-top: 1.5em; }

.prose ul li {
  position: relative;
  padding-left: 20px;
}

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

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

.prose a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(79, 227, 208, 0.40);
}

.prose strong { color: #FFFFFF; font-weight: 600; }

.paper .prose { color: #2A211A; }

.paper .prose strong { color: var(--paper-ink); }

.paper .prose ul li::before { background: #8A3A12; }

.sticky-index {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding-left: 18px;
  border-left: var(--rule);
}

.sticky-index-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.sticky-index-list { display: flex; flex-direction: column; gap: 2px; }

.sticky-index-link {
  display: block;
  margin-left: -20px;
  padding: 7px 0 7px 18px;
  border-left: 2px solid transparent;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.16s ease, border-color 0.16s ease;
}

.sticky-index-link:hover { color: var(--fg); }

.sticky-index-link[aria-current="true"] {
  color: var(--cyan);
  border-left-color: var(--cyan);
}

.side-dock {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: var(--rule-strong);
  border-right: 0;
}

.side-dock-link {
  writing-mode: vertical-rl;
  padding: 16px 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--fg);
  border-bottom: var(--rule);
  transition: color 0.16s ease, background 0.16s ease;
}

.side-dock-link:last-child { border-bottom: 0; }

.side-dock-link:hover { color: var(--cyan); background: rgba(79, 227, 208, 0.08); }

/* 10 通用组件 ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: var(--rule-strong);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn--primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #0B1533;
}

.btn--primary:hover { background: #FF9350; border-color: #FF9350; }

.btn--ghost { color: var(--fg); }

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

.btn--quiet {
  padding-inline: 0;
  border-color: transparent;
  color: var(--cyan);
}

.btn--quiet:hover { border-bottom-color: var(--cyan); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.breadcrumb-item a { color: var(--muted); }

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

.breadcrumb-item[aria-current="page"] { color: var(--fg); }

.breadcrumb-sep { color: rgba(139, 147, 167, 0.70); }

.figure {
  margin: 0;
  border: var(--rule);
  background: var(--panel);
}

.figure-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: rgba(20, 34, 74, 0.85);
  background-image:
    linear-gradient(180deg, rgba(79, 227, 208, 0.10), rgba(11, 21, 51, 0) 62%),
    repeating-linear-gradient(to right, var(--line) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px 24px);
}

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

.figure-caption {
  padding: 10px 14px;
  border-top: var(--rule);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.figure--wide .figure-media { aspect-ratio: 21 / 9; }

.figure--tall .figure-media { aspect-ratio: 3 / 4; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  z-index: 90;
  padding: 10px 18px;
  background: var(--panel);
  border: 1px solid var(--cyan);
  color: var(--fg);
  font-size: 14px;
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-open { opacity: 1; transform: translate(-50%, 0); }

/* 11 动效 ---------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.42s ease, transform 0.42s ease;
}

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

/* 12 响应式 -------------------------------------------------------------- */
@media (min-width: 760px) {
  .span-4 { grid-column: span 4; }
  .span-6 { grid-column: span 6; }
  .span-8 { grid-column: span 8; }
}

@media (min-width: 901px) {
  .site-header[data-condensed="true"] .quick-link:not(.quick-link--primary) { display: none; }
}

@media (min-width: 1000px) {
  .span-5 { grid-column: span 5; }
  .span-7 { grid-column: span 7; }
  .toast { bottom: 32px; }
}

@media (max-width: 1100px) {
  .side-dock { display: none; }
}

@media (max-width: 900px) {
  body { padding-bottom: 64px; }

  .header-inner {
    flex-wrap: wrap;
    gap: 10px 14px;
    min-height: 0;
    padding-block: 12px;
  }

  .header-left { flex: 1 1 auto; }

  .brand-sub { display: none; }

  .nav-toggle { display: inline-flex; margin-left: auto; flex: 0 0 auto; }

  .header-gap { display: none; }

  .header-right { display: none; }

  .header-nav {
    display: none;
    flex: 1 0 100%;
    order: 9;
    padding-top: 6px;
    border-top: var(--rule);
  }

  .header-nav[data-open="true"] { display: block; }

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

  .nav-link {
    display: block;
    padding: 13px 2px;
    font-size: 16px;
    border-bottom: var(--rule);
  }

  .nav-link[aria-current="page"]::after {
    left: 2px;
    right: auto;
    width: 22px;
    bottom: 6px;
  }

  .site-header[data-condensed="true"] .header-inner { min-height: 0; }

  .mobile-dock {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    background: var(--panel);
    border-top: var(--rule-strong);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .mobile-dock-list { display: grid; grid-template-columns: repeat(4, 1fr); }

  .mobile-dock-link {
    display: block;
    padding: 13px 4px;
    text-align: center;
    font-size: 13px;
    color: var(--fg);
    border-left: var(--rule);
    transition: color 0.16s ease, background 0.16s ease;
  }

  .mobile-dock-list li:first-child .mobile-dock-link { border-left: 0; }

  .mobile-dock-link:hover,
  .mobile-dock-link:focus-visible { color: var(--cyan); background: rgba(79, 227, 208, 0.08); }

  .mobile-dock-link--primary { color: var(--orange); font-weight: 600; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }

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

  .sticky-index { position: static; }
}

@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .footer-contact { flex-direction: column; align-items: flex-start; }
}

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

  [data-reveal] { opacity: 1; transform: none; }
}
