/* =========================================================
   大神棋牌娱乐 · 共享 Site Kit
   墨夜牌桌 × 鎏金铜牌 × 玻璃信息层
   ========================================================= */

:root {
  --ink: #0A0D0B;
  --felt-deep: #0E2A22;
  --felt: #14563F;
  --gold: #D4AF37;
  --gold-lit: #F0D27C;
  --chip-red: #D24B3F;
  --red-deep: #7E2A24;
  --ivory: #F4EEDF;
  --sage: #9BAF9F;
  --glass: rgba(244, 238, 223, 0.08);
  --hairline: rgba(212, 175, 55, 0.35);
  --hairline-soft: rgba(212, 175, 55, 0.16);
  --shadow-plate: 0 18px 44px -30px rgba(0, 0, 0, 0.95);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "JetBrains Mono", "SFMono-Regular", Consolas, "Courier New", monospace;
  --wrap: 1440px;
  --gut: clamp(16px, 3vw, 36px);
  --gap: 24px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.78;
  color: var(--ivory);
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 80% at 50% -10%, rgba(20, 86, 63, 0.32), transparent 62%),
    radial-gradient(70% 55% at 105% 12%, rgba(212, 175, 55, 0.07), transparent 70%),
    radial-gradient(60% 50% at -5% 78%, rgba(126, 42, 36, 0.14), transparent 72%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1, h2, h3, h4 {
  margin: 0 0 0.55em;
  font-family: var(--serif);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 0.01em;
  color: var(--ivory);
}
h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; }
h4 { font-size: 18px; font-weight: 700; }

p { margin: 0 0 1em; }

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
a:hover { color: var(--gold-lit); }

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

strong { color: var(--gold-lit); }

hr {
  border: 0;
  height: 1px;
  background: var(--hairline-soft);
  margin: 2em 0;
}

:where(a, button, [tabindex], summary):focus-visible {
  outline: 2px solid var(--gold-lit);
  outline-offset: 3px;
  border-radius: 1px;
}

/* ---------- 排版与工具 ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

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

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

.eyebrow {
  display: inline-block;
  margin: 0 0 0.9em;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  border-radius: 2px;
  transition: top 0.18s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--ink); }

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.78em 1.3em;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  background: var(--glass);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  color: var(--gold-lit);
  background: rgba(212, 175, 55, 0.1);
}
.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.btn--gold:hover {
  background: var(--gold-lit);
  border-color: var(--gold-lit);
  color: var(--ink);
}
.btn--line {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
.btn--line:hover {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-lit);
}
.btn--felt {
  background: var(--felt);
  border-color: var(--felt);
  color: var(--ivory);
}
.btn--felt:hover {
  background: #186a4c;
  border-color: var(--gold);
  color: var(--ivory);
}

/* ---------- 内容块 plate ---------- */

.plate {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--hairline);
  border-radius: 2px;
  background: var(--glass);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow-plate);
}
.plate--solid {
  background: var(--felt-deep);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.plate--felt {
  background: var(--felt);
  border-color: rgba(244, 238, 223, 0.14);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.plate--gold {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.18), var(--shadow-plate);
}
.plate__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin: 0 0 0.85em;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.plate__label::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: rgba(212, 175, 55, 0.25);
}
.plate__title {
  margin: 0 0 0.4em;
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 900;
}
.plate__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--sage);
}

/* ---------- 图片容器 ---------- */

.media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  background:
    radial-gradient(120% 120% at 28% 0%, #14563F 0%, #0E2A22 46%, #0A0D0B 100%);
}
.media--wide { aspect-ratio: 21 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 3 / 4; }
.media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.05);
  transition: transform 0.4s var(--ease);
}
.media:hover .media__img { transform: scale(1.02); }
.media__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 13, 11, 0) 34%, rgba(10, 13, 11, 0.84) 100%);
}
.media__tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 4px 9px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-lit);
  background: rgba(10, 13, 11, 0.74);
  border: 1px solid var(--hairline);
  border-radius: 2px;
}

/* ---------- 12 列网格 ---------- */

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

/* ---------- 面包屑 ---------- */

.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55em;
  margin: 0 0 1.4em;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
}
.crumb li {
  display: flex;
  align-items: center;
  gap: 0.55em;
}
.crumb li + li::before {
  content: "/";
  color: var(--hairline);
}
.crumb a { color: var(--sage); }
.crumb a:hover { color: var(--gold-lit); }
.crumb [aria-current="page"] { color: var(--gold); }

/* ---------- 正文列 ---------- */

.prose {
  max-width: 72ch;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(244, 238, 223, 0.92);
}
.prose h2 { margin-top: 1.6em; font-size: clamp(24px, 2.6vw, 32px); }
.prose h3 { margin-top: 1.4em; }
.prose ul,
.prose ol {
  margin: 0 0 1.2em;
  padding-left: 1.35em;
  list-style: disc;
}
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.42em; }

/* ---------- 横向主题带 ---------- */

.band {
  padding-block: clamp(24px, 4vw, 46px);
  border-block: 1px solid var(--hairline);
  background:
    linear-gradient(90deg, rgba(20, 86, 63, 0.55) 0%, rgba(14, 42, 34, 0.92) 48%, rgba(10, 13, 11, 0.96) 100%);
}
.band__label {
  margin: 0 0 0.7em;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- 左侧分类轨 ---------- */

.rail {
  position: sticky;
  top: 24px;
  align-self: start;
}
.rail__title {
  margin: 0 0 0.9em;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
}
.rail__list { display: grid; gap: 6px; }
.rail__tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6em;
  padding: 10px 12px;
  font-size: 15px;
  color: var(--ivory);
  background: rgba(244, 238, 223, 0.04);
  border: 1px solid transparent;
  border-left: 2px solid var(--hairline);
  border-radius: 2px;
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease),
    color 0.18s var(--ease), transform 0.18s var(--ease);
}
.rail__tag:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  border-left-color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-lit);
}
.rail__tag[aria-current="page"] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  font-weight: 700;
}
.rail__tag[aria-current="page"] .rail__count { color: rgba(10, 13, 11, 0.72); }
.rail__count {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--sage);
}

/* ---------- 一键复制 ---------- */

.copy-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 8px 12px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ivory);
  background: rgba(244, 238, 223, 0.05);
  border: 1px solid var(--hairline);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease),
    color 0.18s var(--ease);
}
.copy-chip:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-lit);
}
.copy-chip.is-copied {
  border-color: var(--gold-lit);
  color: var(--gold-lit);
}
.copy-chip__hint {
  padding-left: 0.7em;
  border-left: 1px solid var(--hairline);
  font-family: var(--sans);
  font-size: 12px;
  color: var(--gold);
}

/* ---------- 滚动进度丝带 ---------- */

.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 120;
  pointer-events: none;
  background: rgba(10, 13, 11, 0.6);
}
.scroll-meter__bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--chip-red) 0%, var(--gold) 55%, var(--gold-lit) 100%);
}
@media (prefers-reduced-motion: no-preference) {
  .scroll-meter__bar { transition: transform 0.12s linear; }
}

/* =========================================================
   页头：居中刊头导航
   ========================================================= */

.site-head {
  position: relative;
  z-index: 40;
  background:
    linear-gradient(180deg, rgba(10, 13, 11, 0.99) 0%, rgba(14, 42, 34, 0.94) 72%, rgba(10, 13, 11, 0.98) 100%);
  border-bottom: 1px solid var(--hairline);
}
.site-head::after {
  content: "";
  display: block;
  height: 3px;
  background-image: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 18px);
  opacity: 0.42;
}

.head-main { position: relative; }

.head-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 10px;
  border-bottom: 1px solid var(--hairline-soft);
}
.head-strip__note {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
}
.head-utils {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.head-utils li + li { position: relative; }
.head-utils li + li::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--hairline);
  transform: translateY(-50%);
}
.head-utils a {
  color: var(--sage);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.head-utils a:hover {
  color: var(--gold-lit);
  border-bottom-color: var(--gold);
}

.masthead {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding-block: clamp(18px, 3vw, 34px) clamp(14px, 2.2vw, 24px);
  text-align: center;
}
.masthead::before,
.masthead::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px dashed var(--hairline);
  background: rgba(212, 175, 55, 0.06);
  box-shadow: inset 0 0 0 5px rgba(212, 175, 55, 0.08);
  transform: translateY(-50%);
}
.masthead::before { left: 6%; }
.masthead::after { right: 6%; }

.masthead__brand {
  font-family: var(--serif);
  font-size: clamp(26px, 4.4vw, 46px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.1em;
  color: var(--ivory);
  text-shadow: 0 1px 0 rgba(212, 175, 55, 0.3);
}
.masthead__brand:hover { color: var(--gold-lit); }
.masthead__tag {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px 18px;
  padding-bottom: 14px;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(10px, 2vw, 26px);
}
.site-nav a {
  position: relative;
  display: inline-block;
  padding: 9px 2px;
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--ivory);
  border-bottom: 2px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.site-nav a:hover {
  color: var(--gold-lit);
  border-bottom-color: var(--gold);
}
.site-nav a[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
  font-weight: 700;
}
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-lit);
  transform: translateX(-50%);
}

.head-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid var(--gold);
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(10, 13, 11, 0.45);
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease),
    transform 0.18s var(--ease), color 0.18s var(--ease);
}
.head-cta::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}
.head-cta:hover {
  background: var(--gold-lit);
  border-color: var(--gold-lit);
  color: var(--ink);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55em;
  justify-self: start;
  padding: 9px 13px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.07);
  border: 1px solid var(--hairline);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease),
    background-color 0.18s var(--ease);
}
.nav-toggle:hover {
  color: var(--gold-lit);
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.14);
}
.nav-toggle__bars {
  display: inline-grid;
  gap: 3px;
  width: 16px;
}
.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* =========================================================
   页脚
   ========================================================= */

.site-foot {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  background: linear-gradient(180deg, #0A0D0B 0%, #0E2A22 58%, #0A0D0B 100%);
  border-top: 1px solid var(--hairline);
  color: var(--ivory);
}
.foot-edge {
  height: 4px;
  background-image: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 22px);
  opacity: 0.5;
}
.foot-inner {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  padding-block: clamp(32px, 5vw, 64px) clamp(24px, 3vw, 36px);
}

.foot-top {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.foot-brand__name {
  margin: 0 0 0.3em;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--ivory);
}
.foot-brand__line {
  margin: 0 0 1em;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--sage);
}
.foot-chips {
  display: flex;
  gap: 8px;
  margin: 0 0 1em;
}
.foot-chip {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px dashed rgba(10, 13, 11, 0.5);
  box-shadow: 0 0 0 1px var(--hairline);
}
.foot-chip--gold { background: var(--gold); }
.foot-chip--red { background: var(--chip-red); }
.foot-chip--felt { background: var(--felt); }
.foot-brand__meta {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}

.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 32px);
}
.foot-col__title {
  margin: 0 0 0.9em;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.foot-col ul { display: grid; gap: 0.55em; }
.foot-col a {
  display: inline-block;
  padding-bottom: 2px;
  font-size: 15px;
  color: var(--ivory);
  border-bottom: 1px solid transparent;
}
.foot-col a:hover {
  color: var(--gold-lit);
  border-bottom-color: var(--gold);
}

.foot-contact {
  display: grid;
  gap: 0.75em;
  padding: clamp(18px, 2.6vw, 26px);
  background: rgba(244, 238, 223, 0.05);
  border: 1px solid var(--hairline);
  border-radius: 2px;
}
.foot-contact__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7em;
}
.foot-contact__addr,
.foot-contact__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--sage);
}
.foot-contact__note {
  padding-top: 0.75em;
  border-top: 1px dashed var(--hairline);
}

.foot-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6em 1.4em;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--sage);
}
.foot-legal__item { margin: 0; }

/* =========================================================
   响应式
   ========================================================= */

@media (max-width: 1080px) {
  .span-3 { grid-column: span 6; }
  .span-4 { grid-column: span 6; }
  .span-8 { grid-column: span 12; }
  .foot-top { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .nav-row {
    grid-template-columns: auto 1fr;
    row-gap: 10px;
    align-items: center;
  }
  .nav-toggle {
    display: inline-flex;
    grid-column: 1;
    grid-row: 1;
  }
  .head-cta {
    grid-column: 2;
    grid-row: 1;
  }
  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: none;
    padding-top: 6px;
    border-top: 1px solid var(--hairline);
  }
  .site-nav[data-open] { display: block; }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  .site-nav li + li { border-top: 1px solid var(--hairline-soft); }
  .site-nav a {
    display: block;
    padding: 12px 6px;
    border-bottom: 0;
    border-left: 2px solid transparent;
  }
  .site-nav a:hover {
    background: rgba(212, 175, 55, 0.1);
    border-left-color: var(--gold);
    border-bottom: 0;
  }
  .site-nav a[aria-current="page"] {
    background: var(--gold);
    color: var(--ink);
    border-left-color: var(--gold);
  }
  .site-nav a[aria-current="page"]::after { display: none; }
  .masthead::before,
  .masthead::after { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .span-3,
  .span-4,
  .span-6,
  .span-8 {
    grid-column: 1 / -1;
  }
  .foot-cols { grid-template-columns: 1fr; gap: 22px; }
  .head-strip { justify-content: flex-start; }
  .head-utils { gap: 6px 14px; }
  .head-utils li + li::before { left: -8px; }
  .head-cta { padding: 9px 12px; font-size: 13px; }
  .masthead__brand { letter-spacing: 0.06em; }
  .foot-legal { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .head-cta::after { display: none; }
  .copy-chip {
    width: 100%;
    justify-content: space-between;
  }
}

@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;
  }
  .btn:hover,
  .head-cta:hover,
  .rail__tag:hover,
  .media:hover .media__img {
    transform: none;
  }
}
