/* ==========================================================================
   亚娱真人会馆 — 共享站点样式 /assets/site.css
   墨夜黑底 · 暗金描边 · 会馆夜色下的档案式信息系统
   ========================================================================== */

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

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

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, dl, dd, figure, blockquote, pre {
  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%; height: auto; }

table { border-collapse: collapse; }

hr { border: 0; }

/* ---------- 2. Tokens ---------- */
:root {
  --ink: #0B0C10;
  --hall: #15171D;
  --gold: #C9A227;
  --gold-bright: #F1D582;
  --cinnabar: #C34A32;
  --jade: #2FA48A;
  --jade-bright: #4FD3B4;
  --paper: #F3EEE4;
  --mist: #8B9099;
  --glaze: #3E7FA6;
  --copper: #6B4A2F;

  --radius-xl: 28px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;

  --container: 1220px;
  --gutter: clamp(18px, 4vw, 40px);
  --section-gap: clamp(64px, 9vw, 132px);

  --font-head: "Noto Serif SC", "Songti SC", "STSong", "Source Han Serif SC", serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", "Menlo", "Consolas", monospace;

  --line-gold: rgba(201, 162, 39, 0.42);
  --line-copper: rgba(107, 74, 47, 0.55);
  --line-soft: rgba(201, 162, 39, 0.16);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. Base typography ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    radial-gradient(1180px 720px at 80% -12%, rgba(201, 162, 39, 0.10), transparent 62%),
    radial-gradient(900px 640px at 4% 14%, rgba(62, 127, 166, 0.07), transparent 60%),
    radial-gradient(760px 520px at 52% 108%, rgba(47, 164, 138, 0.05), transparent 62%);
  background-repeat: no-repeat;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.012em;
}

h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 2.2vw, 1.5rem); }
h3 { font-size: 1.05rem; }

p { color: rgba(243, 238, 228, 0.82); }

::selection {
  background: rgba(201, 162, 39, 0.35);
  color: #FFF8E4;
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

[id] { scroll-margin-top: 132px; }

/* ---------- 4. Layout utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid { display: grid; gap: clamp(20px, 2.6vw, 32px); }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.col-7 { grid-column: span 7; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
.col-8 { grid-column: span 8; }

.section { padding-block: clamp(48px, 6vw, 88px); }
.section + .section { padding-top: 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  opacity: 0.75;
}

.lead {
  max-width: 62ch;
  font-size: 1.0625rem;
  line-height: 1.9;
  color: rgba(243, 238, 228, 0.86);
}

.text-mist { color: var(--mist); }
.text-mono { font-family: var(--font-mono); font-size: 0.875rem; }

.list-plain { display: grid; gap: 10px; }
.list-plain li {
  position: relative;
  padding-left: 20px;
  color: rgba(243, 238, 228, 0.82);
}
.list-plain li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: 0.8;
}

/* ---------- 5. Skip link ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 200;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #1B1503;
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline-color: #FFF8E4;
}

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background-color: transparent;
  background-image: linear-gradient(
    180deg,
    rgba(11, 12, 16, 0.94) 0%,
    rgba(11, 12, 16, 0.72) 58%,
    rgba(11, 12, 16, 0.05) 100%
  );
  border-bottom: 1px solid transparent;
  transition: background-color 0.2s linear, border-color 0.2s linear, box-shadow 0.2s linear;
}

.site-header.is-solid {
  background-image: none;
  background-color: rgba(21, 23, 29, 0.97);
  border-bottom-color: var(--line-gold);
  box-shadow: 0 22px 52px -34px rgba(0, 0, 0, 0.95);
}

.header-bar { position: relative; }

.header-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(12px, 2vw, 30px);
  padding-block: 12px;
}

.header-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
}

.header-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 42%, var(--jade-bright) 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s linear;
}

.site-header.is-solid .header-progress { opacity: 1; }

/* ---------- 7. Brand ---------- */
.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 13px;
  border: 1px solid var(--line-gold);
  background: radial-gradient(circle at 30% 24%, rgba(241, 213, 130, 0.30), rgba(11, 12, 16, 0.92) 72%);
  box-shadow: inset 0 0 14px rgba(201, 162, 39, 0.14);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(241, 213, 130, 0.45);
}

.brand-text { display: grid; gap: 1px; }

.brand-line {
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--paper);
  line-height: 1.3;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--mist);
  line-height: 1.4;
}

.brand--footer { margin-bottom: 16px; }

/* ---------- 8. Primary navigation ---------- */
.nav-primary {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
}

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

.nav-list a {
  position: relative;
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(243, 238, 228, 0.8);
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.nav-list a:hover {
  color: var(--gold-bright);
  background: rgba(201, 162, 39, 0.08);
}

.nav-list a[aria-current="page"] { color: var(--gold-bright); }

.nav-list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ---------- 9. Chip buttons ---------- */
.chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 15px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(201, 162, 39, 0.32);
  background: rgba(11, 12, 16, 0.42);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(243, 238, 228, 0.9);
  white-space: nowrap;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.chip-btn:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: rgba(201, 162, 39, 0.10);
}

.chip-btn--gold {
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #1B1503;
  font-weight: 600;
}

.chip-btn--gold:hover {
  color: #1B1503;
  background: linear-gradient(135deg, #FFF0C2, var(--gold-bright));
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mist);
  transition: background-color 0.18s var(--ease);
}

.chip-btn[aria-pressed="true"] {
  border-color: rgba(47, 164, 138, 0.6);
  color: var(--jade-bright);
}

.chip-btn[aria-pressed="true"] .chip-dot {
  background: var(--jade-bright);
  box-shadow: 0 0 8px rgba(79, 211, 180, 0.8);
}

/* ---------- 10. Nav toggle ---------- */
.nav-toggle {
  position: relative;
  display: none;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid var(--line-gold);
  background: rgba(11, 12, 16, 0.5);
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.5px;
  margin-left: -9px;
  background: var(--paper);
  border-radius: 2px;
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 24px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- 11. Scroll rail ---------- */
.scroll-rail {
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(11, 12, 16, 0.34), rgba(11, 12, 16, 0.05));
}

.rail-track {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}

.rail-track::-webkit-scrollbar { display: none; }
.rail-track.is-dragging { cursor: grabbing; scroll-behavior: auto; user-select: none; }

.rail-card {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 15px;
  border-radius: var(--radius-pill);
  border: 1px dashed rgba(139, 144, 153, 0.4);
  background: rgba(21, 23, 29, 0.66);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(243, 238, 228, 0.82);
  white-space: nowrap;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.rail-card:hover {
  border-style: solid;
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.10);
  color: var(--gold-bright);
}

.rail-glyph {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--gold);
  opacity: 0.85;
}

/* ---------- 12. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
              border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #1B1503;
}

.btn--gold:hover { transform: translateY(-2px); }

.btn--outline {
  border-color: rgba(201, 162, 39, 0.45);
  color: var(--paper);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: rgba(201, 162, 39, 0.08);
}

.btn--jade {
  border-color: rgba(47, 164, 138, 0.5);
  color: var(--jade-bright);
}

.btn--jade:hover { background: rgba(47, 164, 138, 0.10); }

.btn--sm {
  height: 38px;
  padding: 0 20px;
  font-size: 13.5px;
}

/* ---------- 13. Footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(72px, 9vw, 128px);
  padding-block: clamp(56px, 7vw, 92px) 36px;
  border-top: 1px solid rgba(201, 162, 39, 0.22);
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 130% at 10% 0%, rgba(201, 162, 39, 0.10), transparent 56%),
    radial-gradient(90% 100% at 96% 18%, rgba(47, 164, 138, 0.06), transparent 58%),
    linear-gradient(180deg, #0B0C10 0%, #15171D 100%);
  color: rgba(243, 238, 228, 0.78);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.05fr 2fr;
  gap: clamp(32px, 5vw, 76px);
}

.footer-brand { max-width: 34ch; }

.footer-note {
  font-size: 14px;
  line-height: 1.9;
  color: var(--mist);
}

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

.footer-col-title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold);
}

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

.footer-links a {
  font-size: 14px;
  color: rgba(243, 238, 228, 0.7);
  transition: color 0.18s var(--ease);
}

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

.footer-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 28px;
  margin-top: clamp(34px, 5vw, 60px);
  padding: 24px 28px;
  border: 1px solid var(--line-copper);
  border-radius: var(--radius-lg);
  background: rgba(21, 23, 29, 0.72);
}

.contact-item { display: grid; gap: 4px; min-width: 0; }
.contact-item--wide { grid-column: 1 / -1; }

.contact-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--mist);
}

.contact-value {
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--paper);
  word-break: break-word;
}

.footer-subscribe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding: 18px 24px;
  border: 1px dashed rgba(201, 162, 39, 0.38);
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.09), rgba(21, 23, 29, 0.4) 62%);
}

.subscribe-text {
  flex: 1 1 320px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(243, 238, 228, 0.84);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(107, 74, 47, 0.5);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

/* ---------- 14. Utility dock ---------- */
.utility-dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dock-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 17px;
  border: 1px solid rgba(201, 162, 39, 0.4);
  background: rgba(11, 12, 16, 0.86);
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  box-shadow: 0 16px 34px -22px rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(6px);
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.dock-btn:hover {
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.16);
  transform: translateY(-2px);
}

/* ---------- 15. Dossier card ---------- */
.dossier {
  position: relative;
  padding: 26px 28px 28px;
  border: 1px solid var(--line-copper);
  border-radius: var(--radius-xl);
  background-image: linear-gradient(165deg, rgba(21, 23, 29, 0.94), rgba(11, 12, 16, 0.96));
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.dossier::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 0;
  width: 46px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.dossier:hover {
  border-color: var(--line-gold);
  transform: translateY(-2px);
}

.dossier__index {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.dossier__title {
  margin-bottom: 10px;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--paper);
}

.dossier__body {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: rgba(243, 238, 228, 0.76);
}

/* ---------- 16. Tags ---------- */
.tag-pill {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 13px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(201, 162, 39, 0.4);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  white-space: nowrap;
}

.tag-pill--jade {
  border-color: rgba(47, 164, 138, 0.5);
  color: var(--jade-bright);
}

.tag-pill--red {
  border-color: rgba(195, 74, 50, 0.55);
  color: #E4866E;
}

/* ---------- 17. Data table ---------- */
.data-table {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.7;
}

.data-table caption {
  padding-bottom: 12px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--mist);
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(107, 74, 47, 0.4);
}

.data-table thead th {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--gold);
  border-bottom-color: rgba(201, 162, 39, 0.45);
}

.data-table tbody tr:nth-child(odd) { background: rgba(21, 23, 29, 0.72); }
.data-table tbody tr:hover { background: rgba(201, 162, 39, 0.07); }
.data-table td[data-state="done"] { color: var(--jade-bright); }
.data-table td[data-state="alert"] { color: #E4866E; }

/* ---------- 18. Breadcrumbs ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.breadcrumbs a { color: rgba(243, 238, 228, 0.7); transition: color 0.18s var(--ease); }
.breadcrumbs a:hover { color: var(--gold-bright); }
.breadcrumbs .sep { opacity: 0.45; }
.breadcrumbs [aria-current="page"] { color: var(--gold); }

/* ---------- 19. Media frame ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-copper);
  background-image: linear-gradient(160deg, #15171D 0%, #0B0C10 100%);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 12, 16, 0.06) 0%, rgba(11, 12, 16, 0.42) 100%);
}

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

.media-frame[data-ratio="21x9"] { aspect-ratio: 21 / 9; }
.media-frame[data-ratio="16x9"] { aspect-ratio: 16 / 9; }
.media-frame[data-ratio="4x3"] { aspect-ratio: 4 / 3; }
.media-frame[data-ratio="1x1"] { aspect-ratio: 1 / 1; }
.media-frame[data-ratio="3x4"] { aspect-ratio: 3 / 4; }

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

/* ---------- 21. Responsive ---------- */
@media (max-width: 1020px) {
  .nav-toggle { display: block; }

  .header-actions { display: none; }

  .nav-primary {
    display: none;
    flex-basis: 100%;
    order: 5;
  }

  .nav-primary[data-open] {
    display: block;
    margin: 6px 0 4px;
    padding: 12px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
    background: rgba(11, 12, 16, 0.98);
  }

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

  .nav-list a {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 15px;
  }

  .nav-list a[aria-current="page"] {
    background: rgba(201, 162, 39, 0.10);
  }

  .nav-list a[aria-current="page"]::after { display: none; }

  .brand-sub { display: none; }

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

  .grid--12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .col-7, .col-8 { grid-column: span 6; }
  .col-5, .col-4 { grid-column: span 6; }
}

@media (max-width: 760px) {
  body { font-size: 0.9688rem; }

  .header-shell { gap: 10px; padding-block: 10px; }
  .brand-line { font-size: 1rem; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
  .footer-contact { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .footer-subscribe { padding: 18px 20px; border-radius: var(--radius-md); }
  .footer-legal { flex-direction: column; align-items: flex-start; }

  .grid--2, .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .grid--12 { grid-template-columns: minmax(0, 1fr); }
  .col-7, .col-8, .col-5, .col-4, .col-6 { grid-column: span 1; }

  .data-table { display: block; overflow-x: auto; white-space: nowrap; }

  .utility-dock { right: 12px; bottom: 12px; }
  .dock-btn { width: 44px; height: 44px; border-radius: 15px; }
}

@media (max-width: 420px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .chip-btn { padding: 0 12px; }
}

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

  .reveal-ready[data-reveal] { opacity: 1; transform: none; }
  .rail-track { scroll-behavior: auto; }
}
