/* ============================================================
   澳亚国际 · /assets/site.css
   共享外壳：reset / 变量 / 中文排版 / 页头 / 页脚 / 基础组件
   ============================================================ */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ---------- tokens ---------- */
:root {
  --navy-900: #072A42;
  --navy-700: #0B3B5C;
  --navy-500: #0F4C73;
  --coral: #FF6B4A;
  --coral-deep: #E85535;
  --coral-soft: #FF8F73;
  --sand: #D9A441;
  --paper: #F6F1E7;
  --mist: #DCE8F0;
  --ink: #101820;
  --green: #2E8B6E;

  --font-display: "Source Han Serif SC", "Noto Serif SC", "Songti SC", STSong, serif;
  --font-body: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", "SFMono-Regular", Consolas, "Courier New", monospace;

  --rail-w: 264px;
  --topbar-h: 60px;
  --action-h: 62px;
  --container: 1120px;
  --radius: 2px;
  --hairline: 1px solid rgba(11, 59, 92, 0.16);
  --shadow-soft: 0 12px 32px -22px rgba(7, 42, 66, 0.55);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- base ---------- */
body {
  padding-top: var(--topbar-h);
  padding-bottom: calc(var(--action-h) + env(safe-area-inset-bottom, 0px));
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.14;
  color: var(--navy-700);
}
h1 { font-size: clamp(40px, 7vw, 108px); }
h2 { font-size: clamp(28px, 4vw, 54px); }
h3 { font-size: clamp(20px, 2.2vw, 26px); }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
a:hover { color: var(--coral-deep); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
.section { padding: 60px 0; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy-700); color: var(--paper); }
.section--navy h2, .section--navy h3 { color: var(--paper); }
.section-head { max-width: 62ch; margin-bottom: 30px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral-deep);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }

.lede { font-size: 17px; line-height: 1.8; color: rgba(16, 24, 32, 0.78); max-width: 64ch; }
.prose { max-width: 66ch; font-size: 17px; }
.prose h2 { font-size: clamp(24px, 3vw, 34px); margin: 1.5em 0 0.6em; }
.prose h3 { font-family: var(--font-body); font-weight: 600; font-size: 20px; margin: 1.3em 0 0.4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin-bottom: 1.1em; list-style: disc; }
.prose li { margin-bottom: 0.4em; }
.hairline { border: 0; border-top: var(--hairline); margin: 34px 0; }

.grid { display: grid; gap: 20px; }
.grid--2, .grid--3, .grid--split { grid-template-columns: 1fr; }

/* ---------- breadcrumbs ---------- */
.breadcrumbs { padding: 18px 0; font-size: 13px; color: rgba(16, 24, 32, 0.6); }
.breadcrumbs__list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumbs__item { display: flex; align-items: center; gap: 8px; }
.breadcrumbs__link { color: var(--navy-500); border-bottom: 1px solid transparent; }
.breadcrumbs__link:hover { color: var(--coral-deep); border-bottom-color: currentColor; }
.breadcrumbs__sep { color: rgba(16, 24, 32, 0.32); }
.breadcrumbs__item[aria-current="page"] { color: rgba(16, 24, 32, 0.8); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
    color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn--coral { background: var(--coral); color: var(--navy-900); }
.btn--coral:hover { background: var(--coral-deep); color: var(--paper); transform: translateY(-1px); }
.btn--navy { background: var(--navy-700); color: var(--paper); }
.btn--navy:hover { background: var(--navy-900); color: var(--paper); transform: translateY(-1px); }
.btn--ghost { background: transparent; border-color: rgba(11, 59, 92, 0.3); color: var(--navy-700); }
.btn--ghost:hover { background: rgba(11, 59, 92, 0.06); border-color: var(--navy-700); }

/* ---------- panels / stats / tags ---------- */
.panel {
  background: #fff;
  border: 1px solid rgba(11, 59, 92, 0.12);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.panel--mist { background: var(--mist); box-shadow: none; }
.panel--navy { background: var(--navy-700); color: var(--paper); border-color: transparent; }
.panel--navy h3 { color: var(--paper); }

.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  line-height: 1;
  color: var(--navy-700);
}
.stat__label { font-size: 13px; color: rgba(16, 24, 32, 0.62); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(11, 59, 92, 0.3);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--navy-500);
}
.tag--coral { color: var(--coral-deep); background: rgba(255, 107, 74, 0.12); border-color: rgba(255, 107, 74, 0.38); }
.tag--sand { color: #7d5a10; background: rgba(217, 164, 65, 0.18); border-color: rgba(217, 164, 65, 0.5); }
.tag--green { color: #1f6a51; background: rgba(46, 139, 110, 0.14); border-color: rgba(46, 139, 110, 0.42); }

/* ---------- media containers ---------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--mist);
  aspect-ratio: 16 / 10;
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--ocean {
  background-image:
    repeating-linear-gradient(118deg, rgba(246, 241, 231, 0.09) 0 1px, transparent 1px 15px),
    linear-gradient(150deg, var(--navy-700), var(--navy-500));
}
.media__caption { margin-top: 8px; font-size: 12px; color: rgba(16, 24, 32, 0.6); }

/* ---------- fold + table ---------- */
.fold {
  border: 1px solid rgba(11, 59, 92, 0.14);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.fold + .fold { margin-top: 12px; }
.fold__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  font-weight: 600;
  color: var(--navy-700);
  cursor: pointer;
  list-style: none;
}
.fold__summary::-webkit-details-marker { display: none; }
.fold__summary::after { content: "+"; font-family: var(--font-mono); font-size: 18px; line-height: 1; color: var(--coral-deep); }
.fold[open] .fold__summary { background: rgba(220, 232, 240, 0.6); }
.fold[open] .fold__summary::after { content: "\2013"; }
.fold__body { padding: 16px 18px 20px; border-top: 1px solid rgba(11, 59, 92, 0.1); }
.table-wrap { overflow-x: auto; margin-top: 12px; }
.table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(11, 59, 92, 0.12); }
.table thead th { background: var(--navy-500); color: var(--paper); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
.table tbody tr:nth-child(even) { background: rgba(220, 232, 240, 0.45); }

/* ============================================================
   页头：移动端顶栏 + 抽屉轨道；桌面端固定侧边轨道
   ============================================================ */
.skip-link {
  position: fixed;
  top: -80px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--coral);
  color: var(--navy-900);
  font-weight: 600;
  border-radius: var(--radius);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 8px; color: var(--navy-900); }

.site-header { position: static; z-index: 84; }

.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 120;
  background: rgba(7, 42, 66, 0.9);
  pointer-events: none;
}
.progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--coral-deep), var(--coral) 55%, var(--sand));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.12s linear;
}

/* 移动端顶栏 */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 84;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--topbar-h);
  padding: 0 16px;
  background: var(--navy-900);
  color: var(--paper);
  border-bottom: 1px solid rgba(217, 164, 65, 0.3);
}
.topbar__brand { display: flex; align-items: center; gap: 10px; color: var(--paper); }
.topbar__brand:hover { color: var(--paper); }
.topbar__mark {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border: 1px solid rgba(217, 164, 65, 0.65);
  color: var(--sand);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  border-radius: var(--radius);
}
.topbar__text { display: flex; flex-direction: column; line-height: 1.2; }
.topbar__title { font-family: var(--font-display); font-size: 18px; font-weight: 800; letter-spacing: 0.02em; }
.topbar__tag { font-size: 10px; letter-spacing: 0.14em; color: rgba(246, 241, 231, 0.62); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid rgba(246, 241, 231, 0.36);
  border-radius: var(--radius);
  color: var(--paper);
  font-size: 13px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.nav-toggle:hover { border-color: var(--coral); background: rgba(255, 107, 74, 0.14); }
.nav-toggle__bars { display: flex; flex-direction: column; gap: 4px; width: 16px; }
.nav-toggle__bars span { display: block; height: 2px; width: 16px; background: currentColor; transition: transform 0.22s var(--ease), opacity 0.18s var(--ease); }
.site-header[data-open="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.site-header[data-open="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 侧边轨道（移动端为抽屉） */
.rail {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 90;
  width: min(86vw, 320px);
  display: flex;
  flex-direction: column;
  padding: 26px 22px 24px;
  overflow-y: auto;
  overflow-x: hidden;
  color: var(--paper);
  background:
    linear-gradient(168deg, var(--navy-900) 0%, var(--navy-700) 62%, var(--navy-500) 100%);
  border-right: 1px solid rgba(217, 164, 65, 0.35);
  transform: translateX(-104%);
  transition: transform 0.3s var(--ease);
}
.rail::before {
  content: "";
  position: absolute;
  left: -30%; right: -30%; bottom: -10%;
  height: 260px;
  background: repeating-linear-gradient(115deg, rgba(246, 241, 231, 0.08) 0 1px, transparent 1px 15px);
  transform: rotate(-8deg);
  pointer-events: none;
}
.site-header[data-open="true"] .rail { transform: translateX(0); }

.rail__brand { display: block; position: relative; z-index: 1; color: var(--paper); }
.rail__brand:hover { color: var(--paper); }
.rail__mark {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-bottom: 14px;
  border: 1px solid rgba(217, 164, 65, 0.6);
  border-radius: var(--radius);
  color: var(--sand);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
}
.rail__name { display: block; font-family: var(--font-display); font-size: 25px; font-weight: 800; letter-spacing: 0.03em; }
.rail__tag { display: block; margin-top: 6px; font-size: 11px; letter-spacing: 0.16em; color: rgba(246, 241, 231, 0.6); }
.rail__rule {
  display: block;
  height: 1px;
  margin: 20px 0 14px;
  background: linear-gradient(90deg, rgba(217, 164, 65, 0.75), rgba(217, 164, 65, 0));
  position: relative;
  z-index: 1;
}

.rail-nav { position: relative; z-index: 1; }
.rail-nav__list { display: flex; flex-direction: column; gap: 2px; padding-right: 18px; }
.rail-nav__link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 12px 11px 13px;
  border-left: 2px solid transparent;
  color: rgba(246, 241, 231, 0.78);
  font-size: 15px;
  line-height: 1.4;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.rail-nav__num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: rgba(217, 164, 65, 0.8); min-width: 2ch; }
.rail-nav__link:hover { color: var(--paper); background: rgba(246, 241, 231, 0.08); border-left-color: var(--coral-soft); }
.rail-nav__link[aria-current="page"] { color: var(--paper); background: rgba(255, 107, 74, 0.16); border-left-color: var(--coral); }
.rail-nav__link[aria-current="page"] .rail-nav__num { color: var(--coral-soft); }

.rail__foot { position: relative; z-index: 1; margin-top: auto; padding-top: 22px; border-top: 1px dashed rgba(246, 241, 231, 0.22); }
.rail__eyebrow { margin-bottom: 10px; font-size: 11px; letter-spacing: 0.18em; color: rgba(217, 164, 65, 0.9); }
.rail__cta { width: 100%; }
.rail__meta { margin-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.rail__meta-line { font-size: 12px; color: rgba(246, 241, 231, 0.6); }

.rail__annotation {
  display: none;
  position: absolute;
  top: 44%;
  right: 8px;
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(217, 164, 65, 0.55);
  pointer-events: none;
}

.rail-scrim {
  position: fixed;
  inset: 0;
  z-index: 86;
  background: rgba(7, 42, 66, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.site-header[data-open="true"] .rail-scrim { opacity: 1; pointer-events: auto; }
body.nav-open { overflow: hidden; }

/* 移动端底部快捷条 */
.action-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 84;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--paper);
  border-top: 1px solid rgba(11, 59, 92, 0.18);
  box-shadow: 0 -10px 26px -22px rgba(7, 42, 66, 0.9);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.action-bar__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--action-h);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy-700);
  border-right: 1px solid rgba(11, 59, 92, 0.12);
}
.action-bar__link:last-child { border-right: 0; }
.action-bar__link--accent { background: var(--coral); color: var(--navy-900); }
.action-bar__link--accent:hover { color: var(--navy-900); background: var(--coral-deep); }

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: 60px;
  padding: 56px 0 22px;
  background: var(--navy-900);
  color: rgba(246, 241, 231, 0.82);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--sand) 46%, var(--navy-500));
}
.site-footer::after {
  content: "";
  position: absolute;
  right: -12%; top: 12%;
  width: 320px; height: 320px;
  background: repeating-linear-gradient(118deg, rgba(246, 241, 231, 0.07) 0 1px, transparent 1px 16px);
  transform: rotate(-10deg);
  pointer-events: none;
}
.footer__inner { position: relative; z-index: 1; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 34px; }

.footer__brand-name { font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--paper); letter-spacing: 0.03em; }
.footer__brand-tag { margin-top: 6px; font-size: 11px; letter-spacing: 0.18em; color: var(--sand); }
.footer__summary { margin-top: 14px; max-width: 34ch; font-size: 15px; line-height: 1.8; color: rgba(246, 241, 231, 0.74); }
.footer__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer__badge {
  padding: 4px 10px;
  border: 1px solid rgba(217, 164, 65, 0.5);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(246, 241, 231, 0.9);
}

.footer__col-title { margin-bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--sand); }
.footer__links { display: flex; flex-direction: column; gap: 6px; }
.footer__link {
  display: inline-block;
  padding: 3px 0;
  font-size: 15px;
  color: rgba(246, 241, 231, 0.82);
  transition: color 0.18s var(--ease), transform 0.18s var(--ease);
}
.footer__link:hover { color: var(--coral-soft); transform: translateX(3px); }

.footer__contact-list { display: flex; flex-direction: column; }
.footer__contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(246, 241, 231, 0.18);
}
.footer__contact-label { min-width: 32px; font-size: 11px; letter-spacing: 0.16em; color: rgba(217, 164, 65, 0.9); }
.footer__contact-value { flex: 1 1 60%; font-size: 14px; word-break: break-word; color: rgba(246, 241, 231, 0.94); }
.footer__copy {
  padding: 2px 8px;
  background: transparent;
  border: 1px solid rgba(255, 107, 74, 0.55);
  border-radius: var(--radius);
  font-size: 12px;
  color: var(--coral-soft);
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.footer__copy:hover { background: rgba(255, 107, 74, 0.18); color: var(--paper); }
.footer__note { margin-top: 14px; font-size: 12px; line-height: 1.7; color: rgba(246, 241, 231, 0.55); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(246, 241, 231, 0.16);
  font-size: 13px;
  color: rgba(246, 241, 231, 0.62);
}
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.footer__dot { color: rgba(217, 164, 65, 0.7); }
.footer__icp { font-family: var(--font-mono); letter-spacing: 0.02em; }
.footer__totop {
  padding: 7px 14px;
  background: transparent;
  border: 1px solid rgba(246, 241, 231, 0.3);
  border-radius: var(--radius);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(246, 241, 231, 0.85);
  cursor: pointer;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.footer__totop:hover { border-color: var(--coral); color: var(--paper); }

/* ---------- reveal ---------- */
.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.has-reveal [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- focus ---------- */
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.rail :focus-visible, .site-footer :focus-visible, .topbar :focus-visible { outline-color: var(--sand); }

/* ============================================================
   断点
   ============================================================ */
@media (min-width: 640px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__contact { grid-column: 1 / -1; }
}

@media (min-width: 768px) {
  .container { padding-inline: 32px; }
  .section { padding: 84px 0; }
  .grid { gap: 24px; }
  .grid--2, .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
  .footer__contact { grid-column: auto; }
}

@media (min-width: 1024px) {
  body { padding-top: 0; padding-bottom: 0; padding-left: var(--rail-w); }
  .site-header { position: fixed; top: 0; left: 0; bottom: 0; width: var(--rail-w); z-index: 84; }
  .topbar { display: none; }
  .nav-toggle { display: none; }
  .action-bar { display: none; }
  .rail {
    position: relative;
    top: auto; left: auto; bottom: auto;
    width: 100%;
    height: 100%;
    padding: 30px 22px 26px;
    transform: none;
    transition: none;
    border-right: 1px solid rgba(217, 164, 65, 0.4);
  }
  .rail-scrim { display: none; }
  .grid { gap: 26px; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1.6fr 0.85fr 0.85fr 0.85fr 1.5fr; gap: 30px; }
  .footer__brand { grid-column: auto; }
  .footer__contact { grid-column: auto; }
}

@media (min-width: 1280px) {
  .rail__annotation { display: block; }
}

/* ---------- reduced motion ---------- */
@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;
  }
  .rail { transition: none; }
  .has-reveal [data-reveal] { opacity: 1; transform: none; }
  .progress__bar { transition: none; }
}
