/* ============================================================
   /assets/site.css — 必威主页共享外壳与基础组件
   ============================================================ */

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

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

body { margin: 0; }

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

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

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

/* ---------- tokens ---------- */
:root {
  --ink: #0B1B2B;
  --navy: #122A42;
  --steel: #1B3A5A;
  --cream: #F2E9D8;
  --paper: #F7F3EA;
  --orange: #FF6A2A;
  --amber: #FFB27A;
  --cyan: #19D3C5;
  --teal: #0A8F8A;
  --brown: #241A16;

  --font-display: "Arial Narrow", "Helvetica Neue Condensed", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas,
    "Liberation Mono", monospace;

  --shell: 1320px;
  --gutter: 24px;
  --edge: 2px solid var(--steel);

  --shadow-hard: 6px 6px 0 rgba(3, 10, 18, .55);
  --shadow-soft: 3px 3px 0 rgba(3, 10, 18, .35);

  --ease: cubic-bezier(.2, .7, .3, 1);
  --grid-line: rgba(25, 211, 197, .07);
}

/* ---------- base typography (中文排版) ---------- */
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.78;
  letter-spacing: .012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: .01em;
  text-wrap: balance;
}

h1 { font-size: clamp(32px, 4.8vw, 64px); }
h2 { font-size: clamp(24px, 2.8vw, 40px); }
h3 { font-size: clamp(19px, 1.8vw, 26px); }

p { text-wrap: pretty; }

strong { font-weight: 700; }

code, kbd, samp, pre {
  font-family: var(--font-mono);
  font-size: .92em;
}

/* ---------- focus & selection ---------- */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  box-shadow: inset 0 0 0 1px var(--ink);
}

::selection {
  background: var(--cyan);
  color: var(--ink);
}

/* ---------- skip link ---------- */
.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 300;
  transform: translate(-50%, -140%);
  background: var(--cyan);
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 14px 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  transition: transform .16s var(--ease);
}

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

[id="main-content"] {
  scroll-margin-top: 20px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: relative;
  z-index: 60;
  background: var(--ink);
  color: var(--paper);
  border-bottom: var(--edge);
}

/* 顶部滚动刻度条 */
.progress-rail {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 200;
  background: rgba(27, 58, 90, .7);
  pointer-events: none;
}

.progress-rail__fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(25, 211, 197, .8);
}

/* 装订刻度条 */
.header-tick {
  position: relative;
  height: 10px;
  overflow: hidden;
  background: repeating-linear-gradient(
    90deg,
    var(--steel) 0 1px,
    transparent 1px 12px
  );
  border-bottom: 1px solid var(--steel);
}

.header-tick::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 26%;
  background: var(--cyan);
  opacity: .85;
}

/* 刊头 */
.masthead {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 26px var(--gutter) 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}

.masthead__aside {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.masthead__aside--right {
  justify-content: flex-end;
  text-align: right;
}

.masthead__seal {
  display: block;
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  background: var(--cyan);
  outline: 2px solid rgba(25, 211, 197, .35);
  outline-offset: 3px;
}

.masthead__kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .16em;
  color: rgba(247, 243, 234, .58);
}

.masthead__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, .55);
  white-space: nowrap;
}

.masthead__brand {
  text-align: center;
  display: block;
  padding: 2px 10px;
}

.masthead__wordmark {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: .96;
  letter-spacing: .1em;
  color: var(--paper);
  transition: color .16s var(--ease);
}

.masthead__domain {
  display: block;
  margin-top: 9px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--teal);
}

.masthead__brand:hover .masthead__wordmark {
  color: var(--cyan);
}

/* 栏目带 */
.nav-dock {
  background: var(--navy);
  border-top: 1px solid var(--steel);
}

.nav-dock__inner {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: 60px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

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

.nav-item {
  display: inline-block;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 20px 13px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .045em;
  color: rgba(247, 243, 234, .78);
  transition: color .15s var(--ease);
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 8px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .16s var(--ease);
}

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

.nav-link:hover::after { transform: scaleX(1); }

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

.nav-link[aria-current="page"]::after {
  background: var(--cyan);
  transform: scaleX(1);
}

/* 页头 CTA */
.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 18px;
  background: var(--orange);
  border: 2px solid var(--orange);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  box-shadow: var(--shadow-soft);
  transition: background .15s var(--ease), border-color .15s var(--ease),
    color .15s var(--ease), box-shadow .15s var(--ease), transform .15s var(--ease);
}

.header-cta:hover {
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 1px 1px 0 rgba(3, 10, 18, .45);
  transform: translate(2px, 2px);
}

.header-cta:active {
  background: var(--orange);
  transform: translate(3px, 3px);
  box-shadow: none;
}

/* 移动导航按钮 */
.nav-toggle {
  display: inline-flex;
  visibility: hidden;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border: 2px solid var(--steel);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: border-color .15s var(--ease), color .15s var(--ease);
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cyan);
  transition: transform .18s var(--ease), top .18s var(--ease),
    bottom .18s var(--ease);
}

.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }

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

.site-header[data-open] .nav-toggle {
  border-color: var(--cyan);
  color: var(--cyan);
}

.site-header[data-open] .nav-toggle__bars::before {
  top: 5px;
  transform: rotate(45deg);
}

.site-header[data-open] .nav-toggle__bars::after {
  bottom: 5px;
  transform: rotate(-45deg);
}

@keyframes nav-drop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: var(--paper);
  border-top: 3px solid var(--steel);
}

.footer-rack {
  height: 10px;
  overflow: hidden;
  background: repeating-linear-gradient(
    90deg,
    var(--steel) 0 1px,
    transparent 1px 12px
  );
  border-bottom: 1px solid var(--steel);
}

.footer-inner {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 52px var(--gutter) 28px;
}

.footer-masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 22px;
  padding-bottom: 26px;
  border-bottom: var(--edge);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .06em;
  color: var(--paper);
  transition: color .15s var(--ease);
}

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

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  color: rgba(247, 243, 234, .55);
}

.footer-stamp {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid var(--teal);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
  white-space: nowrap;
}

.footer-stamp__dot {
  display: block;
  width: 7px;
  height: 7px;
  background: var(--cyan);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 26px;
  padding: 34px 0 30px;
}

.footer-col__title {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--steel);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber);
}

.footer-links li + li { margin-top: 2px; }

.footer-link {
  display: inline-block;
  min-height: 32px;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 500;
  color: rgba(247, 243, 234, .78);
  transition: color .15s var(--ease);
}

.footer-link:hover {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.footer-contact li {
  padding: 9px 0;
  border-bottom: 1px dashed rgba(27, 58, 90, .95);
}

.footer-contact li:last-child { border-bottom: 0; }

.footer-contact__key {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
}

.footer-contact__value {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(247, 243, 234, .86);
  word-break: break-word;
}

.footer-note {
  margin-bottom: 24px;
  padding: 8px 0 8px 13px;
  border-left: 3px solid var(--orange);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: .04em;
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 20px;
  padding-top: 22px;
  border-top: var(--edge);
}

.footer-legal {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  color: rgba(247, 243, 234, .52);
}

/* ============================================================
   SHARED LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 34px;
  align-items: start;
}

.rail {
  position: relative;
  border-right: var(--edge);
  padding-right: 22px;
}

.stack > * + * { margin-top: 22px; }

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

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

.section { padding: 56px 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 22px;
  padding-bottom: 16px;
  margin-bottom: 26px;
  border-bottom: var(--edge);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal);
}

.eyebrow::before {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cyan);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 800;
}

.num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--steel);
}

.num--lg {
  font-size: clamp(56px, 9vw, 112px);
  color: var(--paper);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 24px;
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background .15s var(--ease), color .15s var(--ease),
    border-color .15s var(--ease), box-shadow .15s var(--ease),
    transform .15s var(--ease);
}

.btn--primary {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
  background: var(--amber);
  border-color: var(--amber);
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 rgba(3, 10, 18, .4);
}

.btn--cyan {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.btn--cyan:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--paper);
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 rgba(3, 10, 18, .4);
}

.btn--ghost {
  background: transparent;
  border-color: var(--steel);
  color: var(--paper);
}

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

.btn--on-paper {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--paper);
}

.btn--on-paper:hover {
  background: var(--ink);
  border-color: var(--ink);
}

/* ---------- status tags ---------- */
.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 2px solid transparent;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-tag::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  background: currentColor;
  flex: 0 0 auto;
}

.status-tag--check {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}

.status-tag--ok {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
}

.status-tag--hold {
  background: transparent;
  border-color: var(--amber);
  color: var(--amber);
}

/* ---------- panels ---------- */
.panel {
  position: relative;
  padding: 24px;
  background: var(--navy);
  border: var(--edge);
  box-shadow: var(--shadow-hard);
}

.panel--paper {
  background: var(--paper);
  border-color: var(--brown);
  color: var(--brown);
  box-shadow: 6px 6px 0 rgba(36, 26, 22, .22);
}

.panel--paper .eyebrow { color: var(--teal); }
.panel--paper .num { color: var(--steel); }

.panel--cut {
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

/* ---------- media frame (图片容器基础规则) ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink);
  border: var(--edge);
  box-shadow: 8px 8px 0 rgba(3, 10, 18, .35);
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, var(--grid-line) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px 26px);
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 3 / 4; }

.media-frame__caption {
  display: block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: rgba(247, 243, 234, .55);
}

/* ---------- breadcrumbs ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: rgba(247, 243, 234, .5);
}

.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }

.breadcrumbs li + li::before {
  content: "/";
  color: var(--steel);
}

.breadcrumb-link {
  color: rgba(247, 243, 234, .72);
  transition: color .15s var(--ease);
}

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

.breadcrumbs [aria-current="page"] { color: var(--amber); }

/* ---------- prose (奶油底长文) ---------- */
.prose {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.78;
  color: var(--brown);
}

.prose > * + * { margin-top: 18px; }

.prose h2,
.prose h3 {
  margin-top: 34px;
  color: var(--brown);
}

.prose h2 {
  font-size: clamp(21px, 2.2vw, 28px);
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(36, 26, 22, .18);
}

.prose h3 { font-size: clamp(17px, 1.7vw, 21px); }

.prose ul,
.prose ol {
  padding-left: 1.4em;
  list-style: disc;
}

.prose ol { list-style: decimal; }

.prose li + li { margin-top: 8px; }

.prose a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.prose blockquote {
  padding: 14px 0 14px 18px;
  border-left: 3px solid var(--orange);
  color: rgba(36, 26, 22, .8);
}

.prose code {
  padding: 2px 6px;
  background: rgba(36, 26, 22, .08);
  color: var(--brown);
}

/* 章节索引协议的高亮态 */
[data-index-link][aria-current="true"] {
  color: var(--cyan);
  border-left-color: var(--cyan);
}

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

@media (max-width: 980px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .rail {
    border-right: 0;
    border-bottom: var(--edge);
    padding-right: 0;
    padding-bottom: 18px;
  }
}

@media (max-width: 860px) {
  :root { --gutter: 16px; }

  .masthead {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 12px;
    padding: 22px var(--gutter) 18px;
    text-align: center;
  }

  .masthead__aside--left { display: none; }

  .masthead__aside--right { justify-content: center; text-align: center; }

  .masthead__domain { letter-spacing: .26em; }

  .nav-dock__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    min-height: 0;
    padding: 0 var(--gutter);
  }

  .nav-toggle {
    visibility: visible;
    margin: 10px 0;
  }

  .header-cta {
    margin: 10px 0;
    padding: 11px 14px;
    font-size: 12px;
  }

  .primary-nav {
    flex: 0 0 100%;
    order: 5;
    display: none;
    border-top: 1px solid var(--steel);
    padding: 4px 0 16px;
  }

  .site-header[data-open] .primary-nav {
    display: block;
    animation: nav-drop .18s var(--ease) both;
  }

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

  .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 4px;
    font-size: 15px;
    border-bottom: 1px solid rgba(27, 58, 90, .9);
    white-space: normal;
  }

  .nav-link::after { display: none; }

  .nav-link[aria-current="page"] {
    padding-left: 12px;
    padding-right: 12px;
    background: rgba(25, 211, 197, .09);
    border-bottom-color: var(--cyan);
  }

  .footer-inner { padding: 40px var(--gutter) 24px; }

  .footer-stamp { margin-left: 0; }

  .section { padding: 40px 0; }

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

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

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

  .panel { padding: 18px; box-shadow: 4px 4px 0 rgba(3, 10, 18, .5); }

  .media-frame { box-shadow: 5px 5px 0 rgba(3, 10, 18, .35); }

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

  .breadcrumbs { font-size: 11px; }
}

/* ---------- reduced 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;
  }

  .nav-link::after,
  .header-cta,
  .btn {
    transform: none !important;
  }
}

/* ---------- print ---------- */
@media print {
  .progress-rail,
  .nav-toggle,
  .skip-link,
  .header-cta { display: none !important; }

  .site-header,
  .site-footer {
    background: #fff !important;
    color: #000 !important;
    border-color: #000 !important;
  }

  .nav-link,
  .footer-link,
  .footer-legal,
  .footer-contact__value { color: #000 !important; }
}
