/* =============================================================
   银河服务 · 共享样式 /assets/site.css
   深空蓝底 + 银河银正文 + 信号青聚焦 + 暖金状态 + 星云紫分类
   ============================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

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

ul, ol {
  padding-left: 1.2rem;
}

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

button {
  font: inherit;
  color: inherit;
}

main {
  display: block;
}

#main-content {
  display: block;
}

/* ---------- 2. 变量 ---------- */
:root {
  --c-void: #071426;
  --c-deep: #0C1E36;
  --c-orbit: #1B6BFF;
  --c-signal: #31E6D6;
  --c-nebula: #8B5CF6;
  --c-gold: #F5B84B;
  --c-silver: #C9D4E3;
  --c-mute: #7F8FA6;
  --c-panel: #102A44;
  --c-paper: #F4F8FF;

  --line: rgba(201, 212, 227, 0.14);
  --line-strong: rgba(201, 212, 227, 0.30);

  --font-head: "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "HarmonyOS Sans SC", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;

  --shell: 1200px;
  --gutter: clamp(1rem, 3vw, 2rem);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.18s;
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--c-void);
  background-image:
    radial-gradient(ellipse 70% 50% at 12% 0%, rgba(27, 107, 255, 0.20), transparent 62%),
    radial-gradient(ellipse 55% 45% at 92% 4%, rgba(139, 92, 246, 0.16), transparent 60%),
    linear-gradient(rgba(201, 212, 227, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 212, 227, 0.045) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 72px 72px, 72px 72px;
  background-attachment: fixed;
  color: var(--c-silver);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.25;
  color: var(--c-paper);
}

h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
h4 { font-size: 1.05rem; }

p {
  line-height: 1.8;
}

strong, b {
  font-weight: 700;
  color: var(--c-paper);
}

a {
  color: var(--c-signal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--dur) var(--ease);
}

a:hover {
  color: var(--c-paper);
}

::selection {
  background: rgba(49, 230, 214, 0.3);
  color: var(--c-paper);
}

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

.mono {
  font-family: var(--font-mono);
  font-size: 0.84em;
  letter-spacing: 0.04em;
}

/* ---------- 4. 容器与网格 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(2rem, 5vw, 3.6rem);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

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

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

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

/* ---------- 5. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 50%;
  z-index: 400;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  background: var(--c-signal);
  color: #041824;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transform: translate(-50%, -180%);
  transition: transform var(--dur) var(--ease);
}

.skip-link:focus {
  transform: translate(-50%, 0);
  color: #041824;
}

/* ---------- 6. 品牌标识 ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--c-paper);
  align-self: flex-start;
}

.brand:hover {
  color: var(--c-paper);
}

.brand-mark {
  position: relative;
  flex: none;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: radial-gradient(circle at 50% 50%, rgba(49, 230, 214, 0.32), rgba(7, 20, 38, 0.9) 72%);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.brand:hover .brand-mark {
  border-color: rgba(49, 230, 214, 0.7);
  box-shadow: 0 0 18px rgba(49, 230, 214, 0.35);
}

.brand-orbit {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(27, 107, 255, 0.6);
  transform: rotate(-24deg) scaleY(0.4);
}

.brand-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.5rem;
  height: 0.5rem;
  margin: -0.25rem 0 0 -0.25rem;
  border-radius: 50%;
  background: var(--c-signal);
  box-shadow: 0 0 10px rgba(49, 230, 214, 0.85);
}

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

.brand-name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--c-paper);
}

.brand-meta {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--c-gold);
}

/* ---------- 7. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 140;
  padding-block: 0.65rem;
  background: linear-gradient(180deg, rgba(7, 20, 38, 0.95) 0%, rgba(7, 20, 38, 0.82) 100%);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: padding var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              background var(--dur) var(--ease);
}

.site-header[data-scrolled="true"] {
  padding-block: 0.4rem;
  border-bottom-color: var(--line);
  background: linear-gradient(180deg, rgba(6, 17, 32, 0.98) 0%, rgba(9, 24, 44, 0.94) 100%);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* ---------- 8. 移动导航按钮 ---------- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(16, 42, 68, 0.75);
  color: var(--c-paper);
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.nav-toggle:hover {
  border-color: rgba(49, 230, 214, 0.6);
  background: rgba(20, 52, 84, 0.9);
}

.nav-toggle-bars {
  display: grid;
  gap: 3px;
  width: 1.05rem;
  flex: none;
}

.nav-toggle-bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* ---------- 9. 胶囊导航 ---------- */
.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin: 0;
  padding: 0.28rem;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(16, 42, 68, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 12px 32px rgba(3, 10, 20, 0.42);
  transition: padding var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.site-header[data-scrolled="true"] .nav-list {
  padding: 0.2rem;
  background: rgba(11, 28, 50, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 44px rgba(2, 8, 18, 0.62);
}

.nav-link {
  display: inline-block;
  padding: 0.42rem 0.85rem;
  border-radius: var(--radius-pill);
  color: var(--c-silver);
  font-size: 0.92rem;
  line-height: 1.4;
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.nav-link:hover {
  color: var(--c-paper);
  background: rgba(27, 107, 255, 0.24);
}

.nav-link[aria-current="page"] {
  background: var(--c-signal);
  color: #041824;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(49, 230, 214, 0.55), 0 0 18px rgba(49, 230, 214, 0.32);
}

/* ---------- 10. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(3rem, 8vw, 6rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(180deg, #0A1A2E 0%, #071426 60%, #050F1E 100%);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(27, 107, 255, 0.85) 22%,
    rgba(49, 230, 214, 0.9) 50%,
    rgba(139, 92, 246, 0.85) 78%,
    transparent 100%);
  opacity: 0.65;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr) minmax(0, 1.3fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-width: 0;
}

.footer-lead {
  color: var(--c-silver);
  font-size: 0.95rem;
  max-width: 32ch;
}

.footer-stamp {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.06em;
  color: var(--c-gold);
}

.footer-heading {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-mute);
}

.footer-heading::before {
  content: "";
  flex: none;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--c-gold);
  box-shadow: 0 0 10px rgba(245, 184, 75, 0.7);
}

.footer-links {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-link {
  display: inline-block;
  padding-block: 0.12rem;
  color: var(--c-silver);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.footer-link::before {
  content: "";
  display: inline-block;
  width: 1rem;
  height: 1px;
  margin-right: 0.45rem;
  vertical-align: middle;
  background: var(--line-strong);
  transform: translateY(-1px);
  transition: width var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

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

.footer-link:hover::before {
  width: 1.6rem;
  background: var(--c-signal);
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.entry-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(16, 42, 68, 0.6);
  color: var(--c-silver);
  font-size: 0.84rem;
  line-height: 1.4;
  text-decoration: none;
  transition: transform var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}

.entry-link:hover {
  transform: translateY(-2px);
  border-color: rgba(49, 230, 214, 0.5);
  background: rgba(20, 52, 84, 0.9);
  color: var(--c-paper);
}

.entry-dot {
  flex: none;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--c-orbit);
  box-shadow: 0 0 8px rgba(27, 107, 255, 0.8);
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.entry-link:hover .entry-dot {
  background: var(--c-signal);
  box-shadow: 0 0 10px rgba(49, 230, 214, 0.9);
}

/* ---------- 11. 联系信息与复制 ---------- */
.contact-list {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(16, 42, 68, 0.5);
}

.contact-item {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem;
}

.contact-term {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--c-mute);
}

.contact-value {
  margin: 0;
  min-width: 0;
}

.copy-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  padding: 0.16rem 0.45rem 0.16rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(7, 20, 38, 0.65);
  color: var(--c-silver);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.6;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}

.copy-chip:hover {
  border-color: rgba(49, 230, 214, 0.55);
  background: rgba(27, 107, 255, 0.18);
  color: var(--c-paper);
}

.copy-chip-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-chip-hint {
  flex: none;
  padding: 0.04rem 0.4rem;
  border-radius: var(--radius-pill);
  background: rgba(49, 230, 214, 0.16);
  color: var(--c-signal);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
}

.copy-status {
  min-height: 1.25em;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--c-signal);
}

.footer-hours {
  font-size: 0.8rem;
  color: var(--c-mute);
}

/* ---------- 12. 页脚底栏 ---------- */
.footer-base {
  border-top: 1px solid var(--line);
  padding-block: 1rem 1.4rem;
}

.footer-base-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.2rem;
}

.footer-legal {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.04em;
  color: var(--c-mute);
  line-height: 1.6;
}

/* ---------- 13. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.66rem 1.3rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

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

.btn:active {
  transform: translateY(0);
}

.btn--signal {
  background: var(--c-signal);
  color: #041824;
  box-shadow: 0 8px 24px rgba(49, 230, 214, 0.22);
}

.btn--signal:hover {
  background: #57f2e4;
  color: #041824;
}

.btn--orbit {
  background: rgba(27, 107, 255, 0.16);
  border-color: rgba(27, 107, 255, 0.55);
  color: var(--c-paper);
}

.btn--orbit:hover {
  background: rgba(27, 107, 255, 0.32);
  border-color: var(--c-orbit);
  color: #ffffff;
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--c-silver);
}

.btn--ghost:hover {
  border-color: var(--c-signal);
  color: var(--c-paper);
}

/* ---------- 14. 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.14rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(16, 42, 68, 0.6);
  color: var(--c-silver);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  line-height: 1.7;
}

.tag--gold {
  color: var(--c-gold);
  border-color: rgba(245, 184, 75, 0.45);
  background: rgba(245, 184, 75, 0.1);
}

.tag--signal {
  color: var(--c-signal);
  border-color: rgba(49, 230, 214, 0.45);
  background: rgba(49, 230, 214, 0.1);
}

.tag--nebula {
  color: #B79CFF;
  border-color: rgba(139, 92, 246, 0.45);
  background: rgba(139, 92, 246, 0.12);
}

.tag--orbit {
  color: #8DB7FF;
  border-color: rgba(27, 107, 255, 0.45);
  background: rgba(27, 107, 255, 0.12);
}

/* ---------- 15. 面包屑 ---------- */
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.06em;
  color: var(--c-mute);
}

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

.breadcrumb-list li + li::before {
  content: "/";
  margin-right: 0.35rem;
  color: rgba(127, 143, 166, 0.55);
}

.breadcrumb-list a {
  color: var(--c-mute);
  text-decoration: none;
}

.breadcrumb-list a:hover {
  color: var(--c-signal);
}

.breadcrumb-list [aria-current="page"] {
  color: var(--c-silver);
}

/* ---------- 16. 图片容器 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background-color: var(--c-panel);
  background-image:
    radial-gradient(circle at 22% 18%, rgba(27, 107, 255, 0.34), transparent 58%),
    radial-gradient(circle at 82% 84%, rgba(139, 92, 246, 0.24), transparent 56%),
    repeating-linear-gradient(0deg, rgba(201, 212, 227, 0.07) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(201, 212, 227, 0.07) 0 1px, transparent 1px 44px);
  aspect-ratio: 16 / 9;
}

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

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

.media--square {
  aspect-ratio: 1 / 1;
}

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

.media-caption {
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--c-mute);
}

/* ---------- 17. 侧边轨道索引 ---------- */
.rail {
  position: sticky;
  top: 7rem;
  display: grid;
  gap: 0.05rem;
  align-self: start;
}

.rail-link {
  display: block;
  padding: 0.34rem 0.7rem 0.34rem 1.05rem;
  border-left: 1px solid var(--line);
  color: var(--c-mute);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-decoration: none;
  transition: color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              padding-left var(--dur) var(--ease);
}

.rail-link:hover {
  color: var(--c-paper);
}

.rail-link.is-active,
.rail-link[aria-current="true"] {
  border-left-color: var(--c-signal);
  padding-left: 1.3rem;
  color: var(--c-signal);
}

/* ---------- 18. 滚动进度与显现 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 400;
  height: 2px;
  pointer-events: none;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--c-orbit), var(--c-signal) 55%, var(--c-gold));
  box-shadow: 0 0 10px rgba(49, 230, 214, 0.5);
  transition: transform 0.08s linear;
}

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

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

/* ---------- 19. 响应式 ---------- */
@media (max-width: 1150px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 980px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-link {
    display: block;
    padding: 0.68rem 0.9rem;
    border-radius: var(--radius-sm);
  }

  .nav-toggle {
    display: none;
  }

  html.has-js .nav-toggle {
    display: inline-flex;
  }

  html.has-js .site-nav {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    right: 0;
    order: initial;
    display: none;
    width: auto;
    padding: 0.7rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    background: rgba(8, 21, 38, 0.98);
    box-shadow: 0 24px 60px rgba(2, 8, 18, 0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  html.has-js .site-nav[data-open="true"] {
    display: block;
  }

  html.has-js .site-nav .nav-link[aria-current="page"] {
    box-shadow: none;
  }

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

  .rail {
    position: static;
  }
}

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

  .footer-actions {
    grid-column: auto;
  }

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

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

  .contact-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.2rem;
  }

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

  .brand-meta {
    font-size: 0.62rem;
  }
}

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

  .btn:hover,
  .btn:active,
  .entry-link:hover {
    transform: none;
  }

  html.has-reveal [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-progress {
    transition: none;
  }
}
