/* ==========================================================================
   assets/site.css — 澳门王牌网 · 共享站点样式
   深空黑 × 曜石紫 × 奶油纸 × 霓虹紫 / 电光蓝 / 琥珀金 / 红橙
   ========================================================================== */

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

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

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

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

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

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

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

:where(h1, h2, h3, h4, h5) {
  font-weight: 800;
  line-height: 1.2;
}

hr {
  border: 0;
}

/* ---------- 02. Design tokens ---------- */
:root {
  /* 色彩体系 */
  --ink: #07070C;          /* 深空黑 */
  --ink-2: #1B1035;        /* 曜石紫 */
  --paper: #F4E9D8;        /* 奶油纸 */
  --paper-ink: #241A14;    /* 深棕黑 */
  --violet: #A855F7;       /* 霓虹紫 */
  --blue: #38BDF8;         /* 电光蓝 */
  --amber: #F5B84B;        /* 琥珀金 */
  --coral: #FF5A3C;        /* 红橙点色 */
  --fog: #A8A3B8;          /* 雾灰 */
  --mint: #6EE7D8;         /* 薄荷青 */

  /* 字体 */
  --font-sans: "Noto Sans SC", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", "Cascadia Code", "Roboto Mono", monospace;

  /* 形状与节奏 */
  --radius-pill: 999px;
  --radius-card: 26px;
  --radius-soft: 16px;
  --shell-max: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --gap-block: clamp(48px, 8vw, 104px);

  /* 光影 */
  --shadow-float: 0 30px 70px -40px rgba(0, 0, 0, 0.9);
  --shadow-pill: 0 22px 48px -32px rgba(0, 0, 0, 0.95);
  --glow-violet: 0 0 26px rgba(168, 85, 247, 0.48);
  --glow-amber: 0 6px 22px -8px rgba(245, 184, 75, 0.85);

  /* 动效 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 220ms;
}

/* ---------- 03. Base ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--paper);
  background-color: var(--ink);
  background-image:
    radial-gradient(ellipse 70% 50% at 12% -10%, rgba(168, 85, 247, 0.28), transparent 62%),
    radial-gradient(ellipse 55% 40% at 92% 4%, rgba(56, 189, 248, 0.16), transparent 58%),
    radial-gradient(ellipse 60% 40% at 50% 118%, rgba(245, 184, 75, 0.09), transparent 62%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--violet);
  color: #0B0714;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 10px;
}

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

/* ---------- 04. Layout primitives ---------- */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(40px, 7vw, 96px);
}

.grid-2 {
  display: grid;
  gap: clamp(20px, 3vw, 40px);
  grid-template-columns: 1fr;
}

.grid-3 {
  display: grid;
  gap: clamp(20px, 3vw, 40px);
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .grid-2 {
    grid-template-columns: 7fr 5fr;
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- 05. Typography utilities ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.h-display {
  font-size: clamp(34px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.lede {
  max-width: 46ch;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.8;
  color: var(--fog);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mint);
  background: rgba(110, 231, 216, 0.1);
  box-shadow: inset 0 0 0 1px rgba(110, 231, 216, 0.35);
}

/* ---------- 06. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease),
    color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.btn-compact {
  padding: 9px 18px;
  font-size: 13px;
}

.btn-amber {
  color: #1A1206;
  background: var(--amber);
  box-shadow: var(--glow-amber);
}

.btn-amber:hover {
  background: #FFCB63;
  transform: translateY(-1px);
}

.btn-amber:active {
  transform: translateY(0);
  background: #E7A93B;
}

.btn-ghost {
  color: var(--paper);
  background: rgba(244, 233, 216, 0.06);
  box-shadow: inset 0 0 0 1px rgba(244, 233, 216, 0.22);
}

.btn-ghost:hover {
  background: rgba(168, 85, 247, 0.2);
  box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.62);
  transform: translateY(-1px);
}

.btn-violet {
  color: var(--paper);
  background: linear-gradient(135deg, var(--violet), #7C3AED);
  box-shadow: 0 12px 30px -16px rgba(168, 85, 247, 0.9);
}

.btn-violet:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px -16px rgba(168, 85, 247, 1);
}

/* ---------- 07. Editorial blocks ---------- */
.paper-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 56px);
  border-radius: clamp(18px, 3vw, 32px);
  color: var(--paper-ink);
  background: var(--paper);
  box-shadow: var(--shadow-float);
}

.paper-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--coral), var(--amber));
}

.paper-panel :where(h2, h3) {
  color: var(--paper-ink);
}

.paper-panel :where(p, li) {
  color: #3B2C22;
}

.paper-panel a {
  color: #7C3AED;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ribbon {
  height: 6px;
  background: linear-gradient(90deg, var(--coral), var(--violet) 34%, var(--blue) 66%, transparent);
  transform: skewX(-24deg);
  transform-origin: left center;
  border-radius: 4px;
}

.data-list {
  display: grid;
  gap: 2px;
  margin: 0;
}

.data-list > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: baseline;
  padding-block: 12px;
  border-bottom: 1px dashed rgba(168, 85, 247, 0.24);
}

.data-list dt {
  min-width: 118px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--violet);
}

.data-list dd {
  margin: 0;
  flex: 1 1 220px;
  font-size: 15px;
  color: var(--paper);
}

/* ---------- 08. Media containers ---------- */
.media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-card);
  background:
    linear-gradient(135deg, rgba(27, 16, 53, 0.95), rgba(7, 7, 12, 0.95));
  box-shadow: var(--shadow-float);
  isolation: isolate;
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(158deg, rgba(168, 85, 247, 0.28), transparent 46%, rgba(56, 189, 248, 0.18)),
    repeating-linear-gradient(115deg, rgba(244, 233, 216, 0.05) 0 1px, transparent 1px 14px);
  pointer-events: none;
  mix-blend-mode: screen;
}

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

.media--landscape { aspect-ratio: 16 / 9; }
.media--square    { aspect-ratio: 1 / 1; }
.media--portrait  { aspect-ratio: 3 / 4; }
.media--tall      { aspect-ratio: 4 / 5; }

/* ---------- 09. Skip link ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 999;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  color: var(--paper-ink);
  background: var(--paper);
  box-shadow: var(--shadow-float);
  transform: translate(-50%, -240%);
  transition: transform var(--dur) var(--ease);
}

.skip-link:focus {
  transform: translate(-50%, 0);
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}

/* ---------- 10. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  padding-block: 14px 10px;
  background: linear-gradient(
    180deg,
    rgba(7, 7, 12, 0.95) 0%,
    rgba(7, 7, 12, 0.72) 58%,
    rgba(7, 7, 12, 0) 100%
  );
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.header-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  padding: 8px 10px 8px 20px;
  border-radius: var(--radius-pill);
  background: rgba(27, 16, 53, 0.66);
  box-shadow:
    inset 0 0 0 1px rgba(168, 85, 247, 0.34),
    var(--shadow-pill);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.header-shell::after {
  content: "";
  position: absolute;
  inset: auto 14% -1px auto;
  width: 26%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber));
  opacity: 0.7;
  pointer-events: none;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: var(--paper);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 13px;
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #0B0714;
  background: linear-gradient(135deg, var(--violet), var(--blue) 56%, var(--amber));
  box-shadow: var(--glow-violet);
  transition: transform var(--dur) var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(-6deg) scale(1.04);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.brand-name {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.brand-line {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fog);
}

/* 版本徽章 */
.edition-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  flex-shrink: 0;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: var(--mint);
  background: rgba(110, 231, 216, 0.09);
  box-shadow: inset 0 0 0 1px rgba(110, 231, 216, 0.34);
}

.edition-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 9px var(--mint);
}

/* 导航 */
.site-nav {
  margin-left: auto;
}

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

.nav-list a {
  display: inline-block;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  color: var(--fog);
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.nav-list a:hover {
  color: var(--paper);
  background: rgba(168, 85, 247, 0.18);
}

.nav-list a[aria-current="page"] {
  color: var(--paper);
  font-weight: 700;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.38), rgba(56, 189, 248, 0.2));
  box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.62);
}

.nav-cta-item {
  display: none;
}

/* 头部工具 */
.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  margin-left: auto;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.16);
  box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.48);
  transition: background-color var(--dur) var(--ease);
}

.nav-toggle:hover {
  background: rgba(168, 85, 247, 0.3);
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--paper);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

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

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

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

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

/* ---------- 11. Footer ---------- */
.site-footer {
  position: relative;
  margin-top: var(--gap-block);
  padding-block: clamp(48px, 8vw, 96px) 0;
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(180deg, rgba(27, 16, 53, 0.94) 0%, rgba(11, 7, 20, 0.98) 52%, var(--ink) 100%);
  box-shadow: inset 0 1px 0 rgba(168, 85, 247, 0.3);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -140px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.26), transparent 68%);
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 22px;
  background:
    repeating-linear-gradient(
      115deg,
      rgba(255, 90, 60, 0.9) 0 6px,
      transparent 6px 26px
    );
  opacity: 0.25;
  pointer-events: none;
}

.footer-shell {
  position: relative;
  z-index: 1;
}

.footer-lead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 56px);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--paper);
}

.footer-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 16px;
  font-family: var(--font-mono);
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  color: #0B0714;
  background: linear-gradient(135deg, var(--violet), var(--blue) 56%, var(--amber));
  box-shadow: var(--glow-violet);
}

.footer-brandtext {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-name {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
}

.footer-line {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fog);
}

.footer-heading {
  max-width: 24ch;
  font-size: clamp(20px, 2.7vw, 33px);
  font-weight: 800;
  line-height: 1.34;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(38px, 6vw, 68px);
  padding-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid rgba(168, 85, 247, 0.24);
}

.footer-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet);
}

.footer-label::before {
  content: "";
  width: 14px;
  height: 1px;
  background: currentColor;
}

.footer-meta {
  display: grid;
  gap: 0;
}

.footer-meta li {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: baseline;
  padding-block: 9px;
  border-bottom: 1px dashed rgba(168, 85, 247, 0.18);
}

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

.footer-meta-key {
  flex-shrink: 0;
  min-width: 46px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--fog);
}

.footer-meta-value {
  flex: 1 1 160px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--paper);
  overflow-wrap: anywhere;
}

.footer-service {
  display: flex;
  align-items: center;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--paper);
}

.footer-service::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px rgba(110, 231, 216, 0.9);
}

.footer-note {
  max-width: 42ch;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.72;
  color: var(--fog);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  position: relative;
  display: inline-block;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--paper);
  transition: color var(--dur) var(--ease);
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--coral);
  transition: right var(--dur) var(--ease);
}

.footer-links a:hover {
  color: var(--amber);
}

.footer-links a:hover::after {
  right: 0;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: clamp(34px, 5vw, 60px);
  padding-block: 22px 28px;
  border-top: 1px solid rgba(168, 85, 247, 0.22);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--fog);
}

.footer-copy {
  color: var(--fog);
}

.footer-icp {
  color: var(--fog);
}

/* ---------- 12. Reading progress ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 400;
  pointer-events: none;
  background: rgba(168, 85, 247, 0.14);
}

.scroll-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--violet), var(--blue) 52%, var(--amber));
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.7);
}

/* ---------- 13. Reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.js [data-reveal][data-reveal-delay="1"] { transition-delay: 0.07s; }
.js [data-reveal][data-reveal-delay="2"] { transition-delay: 0.14s; }
.js [data-reveal][data-reveal-delay="3"] { transition-delay: 0.21s; }

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 14. Tablet ---------- */
@media (max-width: 1080px) {
  .header-shell {
    padding: 8px 10px 8px 16px;
  }

  .edition-badge,
  .header-tools {
    display: none;
  }

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

  .site-nav {
    display: none;
    margin-left: 0;
  }

  .site-nav[data-open] {
    display: block;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 30;
    padding: 12px;
    border-radius: 24px;
    background: rgba(15, 9, 28, 0.98);
    box-shadow:
      inset 0 0 0 1px rgba(168, 85, 247, 0.4),
      0 32px 64px -28px rgba(0, 0, 0, 0.95);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    animation: nav-drop 0.26s var(--ease) both;
  }

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

  .nav-list a {
    display: block;
    padding: 13px 16px;
    border-radius: 14px;
    font-size: 15px;
  }

  .nav-list a[aria-current="page"] {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.34), rgba(56, 189, 248, 0.16));
  }

  .nav-cta-item {
    display: block;
    margin-top: 8px;
  }

  .nav-cta-item .btn {
    width: 100%;
    padding: 13px 18px;
    font-size: 14px;
  }

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

  .footer-col--legal {
    grid-column: 1 / -1;
  }
}

/* ---------- 15. Mobile ---------- */
@media (max-width: 640px) {
  body {
    font-size: 16px;
    line-height: 1.7;
  }

  .site-header {
    padding-block: 10px 8px;
  }

  .header-shell {
    gap: 8px;
    padding: 6px 8px 6px 12px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    font-size: 15px;
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-line {
    display: none;
  }

  .footer-lead {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .footer-heading {
    max-width: none;
    font-size: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-col--legal {
    grid-column: auto;
  }

  .footer-base {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .paper-panel {
    border-radius: 20px;
  }

  .data-list > div {
    flex-direction: column;
    gap: 4px;
  }
}

/* ---------- 16. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

  .brand:hover .brand-mark,
  .btn:hover {
    transform: none;
  }
}
