/* ==========================================================================
   盛世中心 · shared site kit
   数字版本档案馆：品牌轨道 / 悬浮胶囊导航 / 对角切割 / 印章语义
   ========================================================================== */

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

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

body, h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

:root {
  /* 品牌色 */
  --c-red: #B0122F;
  --c-red-deep: #7A0C1F;
  --c-gold: #C7A24A;
  --c-ink: #121316;
  --c-ink-2: #2C2E33;
  --c-warm: #EFEAE2;
  --c-paper: #FAF8F4;
  --c-green: #2F7D6D;
  --c-mist: #D9EAE5;
  --c-amber: #A86412;
  --c-line: #D8D2C7;
  --c-muted: #6B6862;

  /* 字体 */
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 度量 */
  --rail-w: 92px;
  --header-gap: 96px;
  --content-max: 1360px;

  /* 形状 */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* 阴影 */
  --shadow-1: 0 1px 2px rgba(18, 19, 22, .05), 0 10px 26px -18px rgba(18, 19, 22, .30);
  --shadow-2: 0 2px 6px rgba(18, 19, 22, .07), 0 20px 44px -24px rgba(18, 19, 22, .42);

  /* 动效 */
  --ease: cubic-bezier(.2, .7, .3, 1);
  --dur: 160ms;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  color: var(--c-ink);
  background-color: var(--c-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: .005em;
  color: var(--c-ink);
}
h1 { font-size: clamp(34px, 5.6vw, 68px); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(26px, 3.2vw, 36px); }
h3 { font-size: clamp(20px, 2.1vw, 24px); }

::selection { background: var(--c-red); color: #fff; }

/* ---------------------------------------------------------------- focus --- */
:where(a, button, [tabindex], input, select, textarea):focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ----------------------------------------------------------- layout util --- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(16px, 3.4vw, 44px);
}

.page-main { padding-top: calc(var(--header-gap) + 4px); }

.stack { display: flex; flex-direction: column; gap: var(--stack-gap, 16px); }

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

.rule { height: 1px; width: 100%; background: var(--c-line); border: 0; }

.grid { display: grid; gap: clamp(16px, 2vw, 26px); }
.grid-2 { display: grid; gap: clamp(16px, 2.4vw, 28px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { display: grid; gap: clamp(16px, 2.4vw, 28px); grid-template-columns: repeat(3, minmax(0, 1fr)); }

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

/* --------------------------------------------------------- image frames --- */
.img-frame {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background:
    linear-gradient(135deg, var(--c-warm) 0%, #E5DFD4 52%, var(--c-mist) 100%);
}
.img-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, transparent 46%, rgba(176, 18, 47, .16) 46%, rgba(176, 18, 47, .16) 54%, transparent 54%),
    radial-gradient(circle at 78% 16%, rgba(199, 162, 74, .38), transparent 56%);
  pointer-events: none;
}
.img-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-frame--21x9 { aspect-ratio: 21 / 9; }
.img-frame--16x9 { aspect-ratio: 16 / 9; }
.img-frame--4x3 { aspect-ratio: 4 / 3; }
.img-frame--1x1 { aspect-ratio: 1 / 1; }
.img-frame--3x4 { aspect-ratio: 3 / 4; }

/* -------------------------------------------------------------- buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.2;
  cursor: pointer;
  transition:
    background-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--c-red); color: #fff; }
.btn-primary:hover { background: var(--c-red-deep); box-shadow: 0 12px 26px -16px rgba(176, 18, 47, .95); }

.btn-ghost { background: transparent; color: var(--c-ink); border-color: var(--c-line); }
.btn-ghost:hover { border-color: var(--c-gold); color: var(--c-red); }

.btn-gold { background: var(--c-gold); color: var(--c-ink); }
.btn-gold:hover { background: #B8913C; }

.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ----------------------------------------------------------------- tags --- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  background: var(--c-paper);
  color: var(--c-ink-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  line-height: 1.6;
  white-space: nowrap;
}
.tag-green { color: var(--c-green); background: var(--c-mist); border-color: rgba(47, 125, 109, .34); }
.tag-amber { color: var(--c-amber); background: rgba(168, 100, 18, .09); border-color: rgba(168, 100, 18, .34); }
.tag-red { color: #fff; background: var(--c-red); border-color: var(--c-red); }
.tag-gold { color: var(--c-gold); background: rgba(199, 162, 74, .10); border-color: rgba(199, 162, 74, .46); }

/* -------------------------------------------------------- text patterns --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--c-gold);
  flex: 0 0 22px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-line);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.24;
}
.section-index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--c-gold);
}

.lede {
  max-width: 66ch;
  font-size: 17px;
  line-height: 1.78;
  color: var(--c-ink-2);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--c-muted);
}

/* ------------------------------------------------------ card and panel --- */
.card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: clamp(18px, 2.4vw, 26px);
  transition:
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.card:hover {
  border-color: rgba(199, 162, 74, .72);
  transform: translateY(-2px);
  box-shadow: var(--shadow-1);
}

.panel {
  background: var(--c-warm);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: clamp(18px, 2.4vw, 28px);
}

/* ---------------------------------------------------------- breadcrumb --- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--c-muted);
}
.breadcrumb a { transition: color var(--dur) var(--ease); }
.breadcrumb a:hover { color: var(--c-red); }
.crumb-sep { color: var(--c-line); }
.crumb-current { color: var(--c-ink); }

/* ------------------------------------------------------- index / anchor --- */
.index-list { display: flex; flex-direction: column; gap: 2px; }

.index-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-left: 2px solid transparent;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 14px;
  color: var(--c-ink-2);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.index-item:hover,
.index-item[aria-current="true"] {
  background: var(--c-warm);
  color: var(--c-red);
  border-left-color: var(--c-gold);
}
.index-item .mono { font-size: 11px; color: var(--c-muted); }

/* ------------------------------------------------------------ skip link --- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 200;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: var(--c-ink);
  color: var(--c-paper);
  font-size: 14px;
  letter-spacing: .06em;
  transform: translate(-50%, -180%);
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ------------------------------------------------------ scroll progress --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 90;
  background: rgba(216, 210, 199, .55);
  pointer-events: none;
}
.scroll-progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--c-red), var(--c-gold));
  transition: width 90ms linear;
}

/* ---------------------------------------------------------- brand rail --- */
.rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail-w);
  display: none;
  z-index: 60;
  background: var(--c-ink);
  border-right: 1px solid rgba(199, 162, 74, .26);
  pointer-events: none;
}
.rail-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  height: 100vh;
  padding: 22px 0 24px;
}
.rail-seal {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--c-gold);
  color: var(--c-gold);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  border-radius: 3px;
}
.rail-line {
  width: 1px;
  flex: 1 1 auto;
  background: linear-gradient(180deg, rgba(199, 162, 74, .55), rgba(199, 162, 74, .04));
}
.rail-word {
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: .3em;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--c-warm);
}
.rail-meta {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .3em;
  color: rgba(239, 234, 226, .5);
}

/* ---------------------------------------------------------------- header --- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  padding: 14px clamp(12px, 2.4vw, 32px);
  pointer-events: none;
}

.nav-island {
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.6vw, 24px);
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding: 9px 10px 9px 14px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  background: rgba(250, 248, 244, .86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-1);
  transition:
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    padding var(--dur) var(--ease);
}
.site-header[data-scrolled="true"] .nav-island {
  background: rgba(250, 248, 244, .96);
  border-color: rgba(199, 162, 74, .58);
  box-shadow: var(--shadow-2);
  padding-top: 6px;
  padding-bottom: 6px;
}
.nav-island[data-open="true"] {
  border-color: rgba(199, 162, 74, .7);
  box-shadow: var(--shadow-2);
}

/* brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 3px 12px 3px 3px;
  border-radius: var(--r-pill);
}
.brand-mark {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 3px;
  background: var(--c-red);
  color: var(--c-paper);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(250, 248, 244, .38);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--c-ink);
}
.brand-desc {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--c-muted);
}

/* nav */
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: inline-block;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  font-size: 14px;
  letter-spacing: .02em;
  color: var(--c-ink-2);
  white-space: nowrap;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav-link:hover { color: var(--c-red); background: rgba(176, 18, 47, .07); }
.nav-link[aria-current="page"] {
  background: var(--c-red);
  color: #fff;
}
.nav-link[aria-current="page"]:hover { background: var(--c-red-deep); color: #fff; }

/* header meta + cta */
.header-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--c-muted);
  white-space: nowrap;
}
.header-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 0 3px rgba(47, 125, 109, .16);
}
.header-cta {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  background: var(--c-red);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.header-cta:hover { background: var(--c-red-deep); transform: translateY(-1px); }

/* toggle */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  background: var(--c-paper);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav-toggle:hover { border-color: var(--c-gold); }
.nav-toggle-lines { position: relative; width: 18px; height: 12px; display: block; }
.nav-toggle-lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--c-ink);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle-lines span:nth-child(1) { top: 0; }
.nav-toggle-lines span:nth-child(2) { top: 5px; }
.nav-toggle-lines span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------------------------------------------------------------- footer --- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  background: var(--c-ink);
  color: var(--c-warm);
  border-top: 3px solid var(--c-red);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: min(46%, 520px);
  height: 100%;
  background: linear-gradient(210deg, rgba(176, 18, 47, .16), transparent 62%);
  pointer-events: none;
}

.footer-top {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(0, 1.9fr);
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 48px);
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #fff;
  transition: color var(--dur) var(--ease);
}
.footer-logo:hover { color: var(--c-gold); }
.footer-intro {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(239, 234, 226, .72);
}
.footer-stamp {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  padding: 6px;
  border: 1px solid var(--c-red);
  border-radius: 5px;
  background: rgba(176, 18, 47, .12);
  color: #C8506A;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .2em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  line-height: 1.05;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.footer-col { display: block; }
.footer-col-title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--c-gold);
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(239, 234, 226, .78);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.footer-link:hover { color: #fff; transform: translateX(3px); }

.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  padding-block: 18px 28px;
  border-top: 1px solid rgba(239, 234, 226, .16);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(239, 234, 226, .58);
}
.footer-legal { color: rgba(239, 234, 226, .58); }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-legal-links .footer-link { font-family: var(--font-mono); font-size: 12px; }
.footer-contact { max-width: 100%; color: rgba(239, 234, 226, .58); word-break: break-word; }
.footer-copy { margin-left: auto; }

/* ------------------------------------------------------------- to top --- */
.to-top {
  position: fixed;
  right: clamp(14px, 2.4vw, 28px);
  bottom: clamp(14px, 2.4vw, 28px);
  z-index: 75;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(199, 162, 74, .5);
  border-radius: 50%;
  background: var(--c-ink);
  color: var(--c-warm);
  font-size: 15px;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.to-top[data-visible="true"] { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--c-red); border-color: var(--c-red); }

/* -------------------------------------------------------------- reveal --- */
[data-js="on"] [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 280ms var(--ease), transform 280ms var(--ease);
}
[data-js="on"] [data-reveal][data-revealed="true"] {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------- responsive --- */
@media (min-width: 1100px) {
  body { padding-left: var(--rail-w); }
  .rail { display: flex; }
  .site-header { left: var(--rail-w); }
  .scroll-progress { left: var(--rail-w); }
}

@media (max-width: 1180px) and (min-width: 980px) {
  .nav-link { padding: 8px 9px; font-size: 13px; }
  .header-meta { display: none; }
}

@media (max-width: 979px) {
  .nav-toggle { display: inline-flex; }
  .header-meta { display: none; }
  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    margin-left: 0;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    padding: 10px;
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    background: var(--c-paper);
    box-shadow: var(--shadow-2);
  }
  .nav-island[data-open="true"] .nav { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 15px;
  }
  .nav-link[aria-current="page"] { background: var(--c-red); color: #fff; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .header-cta { display: none; }
  .nav-island { padding: 8px 8px 8px 10px; }
  .brand-desc { display: none; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { gap: 8px 16px; }
  .footer-copy { margin-left: 0; }
  .footer-stamp { width: 52px; height: 52px; font-size: 13px; }
}

@media (max-width: 420px) {
  .brand-name { font-size: 15px; letter-spacing: .06em; }
  .footer-cols { gap: 22px 16px; }
}

/* --------------------------------------------------------- a11y motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-js="on"] [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .btn:hover,
  .card:hover,
  .header-cta:hover,
  .footer-link:hover {
    transform: none !important;
  }
}

/* ------------------------------------------------------------- print --- */
@media print {
  .site-header,
  .site-footer .to-top,
  .scroll-progress,
  .rail,
  .skip-link { display: none !important; }
  body { padding-left: 0; background: #fff; color: #000; }
  .site-footer { background: #fff; color: #000; border-top: 0; }
  .footer-link, .footer-intro, .footer-legal, .footer-contact, .footer-copy { color: #333; }
}
