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

:root {
  --blue: #0B3D91;
  --blue-deep: #08286A;
  --red: #C8102E;
  --red-deep: #A50D26;
  --amber: #F2A900;
  --amber-bright: #FFBF2B;
  --ice: #F7FAFC;
  --ink: #1F2933;
  --mist: #5C7CBA;
  --cyan: #3BC9DB;
  --snow: #D8E0EA;
  --night: #0A1220;
  --red-soft: #FBE9EC;

  --wrap: 1120px;
  --bd: 2px solid var(--ink);
  --shadow-hard: 6px 6px 0 rgba(10, 18, 32, .16);
  --shadow-brand: 6px 6px 0 rgba(11, 61, 145, .18);
  --ease: cubic-bezier(.22, .8, .3, 1);

  --font-display: "HarmonyOS Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  --font-serif: "Songti SC", "Source Han Serif SC", "Noto Serif SC", "SimSun", Georgia, serif;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--ice);
  background-image:
    radial-gradient(95% 55% at 0% -8%, rgba(11, 61, 145, .09), transparent 62%),
    radial-gradient(70% 45% at 100% 0%, rgba(59, 201, 219, .10), transparent 58%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }
button { font: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: .01em;
  color: var(--ink);
}

p { margin: 0 0 1em; }

a { color: var(--blue); }

::selection { background: var(--amber); color: var(--night); }

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

#main-content { scroll-margin-top: 148px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 1.75rem);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -120px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .5rem 1rem;
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .06em;
  color: var(--night);
  background: var(--amber);
  border: 2px solid var(--night);
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: .75rem; }

/* ---------------- 头部 ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: var(--ice);
  border-bottom: 3px solid var(--ink);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 12px 26px rgba(10, 18, 32, .18);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: calc(var(--progress, 0) * 1%);
  background: linear-gradient(90deg, var(--cyan), var(--amber) 55%, var(--red));
  pointer-events: none;
  transition: width .1s linear;
}

.header-top {
  background: var(--blue);
  color: var(--ice);
  position: relative;
}
.header-top::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--amber) 46%, var(--red));
}
.header-top__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 78px;
  padding-block: .6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: inherit;
  text-decoration: none;
  flex: 0 0 auto;
}
.brand__mark {
  position: relative;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  background: var(--amber);
  border: 2px solid var(--ice);
  box-shadow: 3px 3px 0 var(--red);
}
.brand__mark::before {
  content: "";
  position: absolute;
  right: 7px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--night);
  border-right: 2px solid var(--night);
  transform: translateY(-50%) rotate(45deg);
}
.brand__mark::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  width: 12px;
  height: 2px;
  background: var(--night);
  transform: translateY(-50%);
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--ice);
}
.brand__line {
  margin-top: .2rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  color: rgba(247, 250, 252, .68);
}

.shortcut { margin-left: auto; }
.shortcut__list {
  display: flex;
  align-items: center;
  gap: .1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.shortcut__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 .72rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(247, 250, 252, .84);
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease;
}
.shortcut__link::before {
  content: "";
  position: absolute;
  left: .22rem;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  background: var(--amber);
  transform: scale(0);
  transition: transform .18s var(--ease);
}
.shortcut__link:hover,
.shortcut__link:focus-visible {
  color: #fff;
  background: rgba(247, 250, 252, .13);
}
.shortcut__link:hover::before,
.shortcut__link:focus-visible::before { transform: scale(1); }

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

.nav-toggle {
  display: none;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  margin-left: auto;
  padding: 0 .85rem;
  font-family: var(--font-display);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--night);
  background: var(--ice);
  border: 2px solid var(--night);
  box-shadow: 3px 3px 0 var(--amber);
  cursor: pointer;
}
.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 12px;
}
.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: var(--night);
  transition: transform .2s var(--ease), opacity .2s 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); }

.header-nav {
  background: var(--ice);
}
.header-nav__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1rem;
  min-height: 58px;
}
.primary-nav { flex: 1 1 auto; min-width: 0; }
.primary-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 .82rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}
.primary-nav__link:hover,
.primary-nav__link:focus-visible {
  color: var(--blue);
  background: var(--snow);
}
.primary-nav__link[aria-current="page"] {
  color: var(--red);
  font-weight: 800;
  border-bottom-color: var(--red);
  background: var(--red-soft);
}
.header-nav__hint {
  margin: 0 0 0 auto;
  font-family: var(--font-serif);
  font-size: .78rem;
  letter-spacing: .18em;
  color: var(--mist);
  white-space: nowrap;
}

/* ---------------- 侧边 / 底部快捷面板 ---------------- */

.rail { display: none; }

/* ---------------- 按钮 ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 44px;
  padding: .6rem 1.1rem;
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ink);
  background: var(--ice);
  border: 2px solid var(--night);
  box-shadow: 4px 4px 0 var(--night);
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), background-color .16s ease, color .16s ease, border-color .16s ease;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--night); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--night); }
.btn--amber { background: var(--amber); color: var(--night); }
.btn--amber:hover { background: var(--amber-bright); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-deep); }
.btn--ghost {
  background: transparent;
  color: var(--ice);
  border-color: rgba(247, 250, 252, .45);
  box-shadow: none;
}
.btn--ghost:hover {
  background: rgba(247, 250, 252, .1);
  border-color: var(--amber);
  color: var(--amber);
  box-shadow: none;
  transform: none;
}
.btn--sm {
  min-height: 44px;
  padding: .45rem .9rem;
  font-size: .84rem;
}

/* ---------------- 通用区块 ---------------- */

.section { padding: clamp(2.6rem, 6vw, 4.4rem) 0; }
.section--tight { padding: clamp(1.8rem, 4vw, 2.8rem) 0; }

.section-head {
  max-width: 62ch;
  margin-bottom: clamp(1.4rem, 3vw, 2.1rem);
}
.section-head__title {
  margin: 0 0 .55rem;
  font-size: clamp(1.55rem, 3.4vw, 2.25rem);
  letter-spacing: .01em;
}
.section-head__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.82;
  color: #3C4956;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .8rem;
  font-family: var(--font-serif);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--blue);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--red);
}

.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); }
.grid--aside { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) {
  .grid--aside { grid-template-columns: minmax(0, 232px) minmax(0, 1fr); gap: clamp(1.4rem, 3vw, 2.4rem); }
}

.panel {
  position: relative;
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
  background: var(--ice);
  border: var(--bd);
  box-shadow: var(--shadow-brand);
}
.panel--amber {
  border-color: var(--night);
  box-shadow: 6px 6px 0 var(--amber);
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 .55rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--blue);
  background: var(--snow);
  border: 1px solid rgba(11, 61, 145, .2);
}
.tag--red { color: #fff; background: var(--red); border-color: var(--red); }
.tag--amber { color: var(--night); background: var(--amber); border-color: #D99400; }

.rule {
  height: 0;
  margin: clamp(1.4rem, 3vw, 2rem) 0;
  border: 0;
  border-top: 3px dotted var(--snow);
}

/* ---------------- 面包屑 ---------------- */

.breadcrumb { padding: 1.1rem 0; }
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .8rem;
}
.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  color: var(--mist);
}
.breadcrumb__item::after {
  content: "›";
  margin: 0 .5rem;
  color: var(--snow);
  font-weight: 700;
}
.breadcrumb__item:last-child::after { content: ""; margin: 0; }
.breadcrumb__link {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}
.breadcrumb__link:hover,
.breadcrumb__link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.breadcrumb__current { color: var(--ink); font-weight: 700; }

/* ---------------- 长文 ---------------- */

.prose {
  max-width: 72ch;
  font-size: 1.02rem;
  line-height: 1.88;
  color: var(--ink);
}
.prose > * + * { margin-top: 1.05em; }
.prose p { margin: 0; }
.prose h2 {
  margin-top: 1.9em;
  padding-bottom: .38rem;
  font-size: clamp(1.32rem, 2.4vw, 1.68rem);
  border-bottom: 2px solid var(--snow);
}
.prose h3 {
  margin-top: 1.5em;
  font-size: 1.14rem;
  color: var(--blue);
}
.prose ul, .prose ol { margin: 0; padding-left: 1.35em; }
.prose li + li { margin-top: .4em; }
.prose a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose strong { font-weight: 800; }
.prose blockquote {
  margin: 1.5em 0;
  padding: .9rem 1.1rem;
  font-family: var(--font-serif);
  color: var(--ink);
  background: var(--snow);
  border-left: 4px solid var(--amber);
}
.prose code {
  padding: .1em .35em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .92em;
  background: var(--snow);
}

/* ---------------- 图层容器 ---------------- */

.figure { margin: 0; }
.figure__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(140deg, #0B3D91 0%, #0A1220 56%, #0B3D91 100%);
  border: var(--bd);
  box-shadow: 8px 8px 0 rgba(11, 61, 145, .16);
}
.figure__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(115deg, rgba(247, 250, 252, .12) 0 1px, transparent 1px 34px),
    radial-gradient(70% 92% at 18% 8%, rgba(59, 201, 219, .38), transparent 62%),
    radial-gradient(62% 82% at 86% 82%, rgba(242, 169, 0, .22), transparent 66%);
}
.figure__media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.figure__media--square { aspect-ratio: 1 / 1; }
.figure__media--wide { aspect-ratio: 21 / 9; }
.figure__media--tall { aspect-ratio: 4 / 5; }
.figure__media--aurora {
  background: linear-gradient(122deg, #0B3D91 0%, #3BC9DB 38%, #0B3D91 68%, #C8102E 100%);
}
.figure__caption {
  margin: .7rem 0 0;
  font-size: .82rem;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------------- 页脚 ---------------- */

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--ice);
  background: var(--night);
  border-top: 3px solid var(--amber);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(58% 62% at 6% 0%, rgba(59, 201, 219, .18), transparent 66%),
    radial-gradient(52% 58% at 94% 6%, rgba(200, 16, 46, .20), transparent 64%),
    repeating-linear-gradient(115deg, rgba(247, 250, 252, .055) 0 1px, transparent 1px 30px);
}
.site-footer > .wrap { position: relative; z-index: 1; }

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
  gap: 2.4rem 3rem;
  padding: clamp(2.2rem, 5vw, 3.2rem) 0 clamp(1.6rem, 3vw, 2.2rem);
}

.footer-brand__link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--ice);
  text-decoration: none;
}
.footer-brand__link::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  background: var(--amber);
  border: 2px solid var(--ice);
  box-shadow: 3px 3px 0 var(--red);
}
.footer-brand__summary {
  margin: 1rem 0 1.3rem;
  max-width: 34ch;
  font-size: .94rem;
  line-height: 1.82;
  color: rgba(247, 250, 252, .76);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem 1.4rem;
}
.footer-col__title {
  margin: 0 0 .55rem;
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .2em;
  color: var(--amber);
}
.footer-col__title::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: .6rem;
  background: var(--cyan);
}
.footer-col__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-col__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .92rem;
  color: rgba(247, 250, 252, .82);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.footer-col__link:hover,
.footer-col__link:focus-visible {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.footer-contact {
  padding: 1.6rem 0 1.4rem;
  border-top: 1px solid rgba(247, 250, 252, .16);
  border-bottom: 1px solid rgba(247, 250, 252, .16);
}
.footer-contact__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem 2rem;
  margin: 0;
}
.footer-contact__item { margin: 0; }
.footer-contact__label {
  margin: 0;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--cyan);
}
.footer-contact__value {
  margin: .32rem 0 0;
  font-size: .92rem;
  color: rgba(247, 250, 252, .92);
  overflow-wrap: anywhere;
}
.footer-contact__note {
  max-width: 72ch;
  margin: 1.2rem 0 0;
  font-size: .8rem;
  line-height: 1.8;
  color: rgba(247, 250, 252, .6);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  padding: 1.3rem 0 1.8rem;
}
.footer-bottom__copy,
.footer-bottom__legal {
  margin: 0;
  font-size: .8rem;
  letter-spacing: .04em;
  color: rgba(247, 250, 252, .62);
}
.footer-bottom__legal {
  font-family: var(--font-serif);
  letter-spacing: .1em;
  color: rgba(247, 250, 252, .82);
}

/* ---------------- 滚动显现 ---------------- */

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s var(--ease), transform .6s var(--ease);
  transition-delay: calc(var(--d, 0) * 70ms);
}
.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------------- 响应式 ---------------- */

@media (max-width: 1180px) {
  .header-nav__hint { display: none; }
}

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

  .header-top__inner {
    min-height: 64px;
    padding-block: .45rem;
    gap: .5rem;
  }
  .shortcut { display: none; }
  .header-top__cta { display: none; }
  .brand__line { display: none; }
  .brand__mark { width: 32px; height: 32px; flex-basis: 32px; }

  .nav-toggle { display: inline-flex; }

  .header-nav__inner {
    min-height: 0;
    padding-block: 0;
    gap: 0;
  }
  .primary-nav {
    width: 100%;
    display: none;
  }
  .primary-nav[data-open="true"] { display: block; }
  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .35rem 0 .6rem;
  }
  .primary-nav__link {
    width: 100%;
    justify-content: space-between;
    padding: 0 .4rem;
    font-size: .95rem;
    border-bottom: 1px solid var(--snow);
    border-left: 3px solid transparent;
  }
  .primary-nav__link::after {
    content: "→";
    font-weight: 800;
    color: var(--mist);
    opacity: .65;
  }
  .primary-nav__link[aria-current="page"] {
    border-bottom-color: var(--snow);
    border-left-color: var(--red);
  }
  .primary-nav__link[aria-current="page"]::after {
    color: var(--red);
    opacity: 1;
  }

  .rail {
    display: flex;
    align-items: center;
    gap: .35rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 130;
    padding: .4rem .55rem;
    background: var(--night);
    border-top: 3px solid var(--amber);
    box-shadow: 0 -8px 22px rgba(10, 18, 32, .3);
  }
  .rail__title { display: none; }
  .rail__list {
    display: flex;
    flex: 1 1 auto;
    gap: .3rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .rail__item { flex: 1 1 0; min-width: 0; }
  .rail__link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 .25rem;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    color: rgba(247, 250, 252, .88);
    text-decoration: none;
    background: rgba(247, 250, 252, .06);
    border: 1px solid rgba(247, 250, 252, .2);
  }
  .rail__link:hover,
  .rail__link:focus-visible {
    color: var(--night);
    background: var(--cyan);
    border-color: var(--cyan);
  }
  .rail__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 .7rem;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .04em;
    color: var(--night);
    background: var(--amber);
    border: 1px solid var(--night);
    text-decoration: none;
    white-space: nowrap;
  }
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .footer-nav { grid-template-columns: minmax(0, 1fr); }
  .brand__name { font-size: .96rem; letter-spacing: .06em; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (min-width: 1560px) {
  .rail {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    position: fixed;
    right: 24px;
    top: 50%;
    z-index: 130;
    width: 176px;
    padding: 1rem .85rem;
    background: var(--ice);
    border: 2px solid var(--ink);
    box-shadow: 7px 7px 0 rgba(11, 61, 145, .22);
    transform: translateY(-50%);
  }
  .rail::before {
    content: "";
    position: absolute;
    left: -2px;
    top: -2px;
    width: 36px;
    height: 6px;
    background: var(--amber);
  }
  .rail__title {
    margin: 0 0 .45rem;
    font-family: var(--font-display);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .2em;
    color: var(--blue);
  }
  .rail__list {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .rail__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .4rem;
    min-height: 44px;
    padding: 0 .3rem;
    font-size: .86rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--snow);
    transition: color .18s ease, background-color .18s ease;
  }
  .rail__link::after {
    content: "→";
    font-weight: 800;
    color: var(--red);
  }
  .rail__link:hover,
  .rail__link:focus-visible {
    color: var(--blue);
    background: var(--snow);
  }
  .rail__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: .55rem;
    padding: 0 .5rem;
    font-size: .86rem;
    font-weight: 700;
    letter-spacing: .06em;
    color: #fff;
    background: var(--red);
    border: 1px solid var(--night);
    box-shadow: 3px 3px 0 var(--ink);
    text-decoration: none;
    transition: background-color .18s ease;
  }
  .rail__cta:hover,
  .rail__cta:focus-visible { background: var(--red-deep); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal-ready [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition-delay: 0ms !important;
  }
  .site-header::after { transition: none !important; }
  .btn:hover, .btn:active { transform: none; }
  .skip-link { transition: none; }
}
