/* ============================================================
   weiji-trend.com.cn — 共享 Site Kit ( /assets/site.css )
   数据看台 / 深墨蓝 + 奖池金 + 走势绿 / 粗边框硬阴影
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
}

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

ul, ol { padding: 0; }

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

button { font: inherit; color: inherit; }

main { display: block; }

#main-content:focus { outline: none; }

/* ---------- 2. Tokens ---------- */
:root {
  --ink: #0A1628;
  --ink-deep: #08121F;
  --panel: #101F36;
  --panel-soft: #0C1A2E;
  --steel: #1E304A;
  --line: rgba(158, 178, 204, 0.16);
  --fog: #F3F6FA;
  --silver: #9AA9BC;
  --gold: #F2B84B;
  --gold-soft: #FFD98A;
  --trend: #37D6A0;
  --trend-deep: #177D64;
  --coral: #FF7A6B;

  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1280px;
  --gutter: clamp(18px, 4vw, 40px);
  --radius-capsule: 999px;
  --radius-panel: 18px;
  --shadow-hard: 10px 10px 0 rgba(6, 14, 26, 0.62);
  --shadow-hard-sm: 5px 5px 0 rgba(6, 14, 26, 0.55);
  --ease: cubic-bezier(0.22, 0.68, 0.28, 1);
}

/* ---------- 3. Base & typography ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(158, 178, 204, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(158, 178, 204, 0.045) 1px, transparent 1px),
    radial-gradient(1000px 520px at 82% -6%, rgba(55, 214, 160, 0.12), transparent 65%),
    radial-gradient(820px 460px at 4% 0%, rgba(242, 184, 75, 0.10), transparent 68%);
  background-size: 64px 64px, 64px 64px, auto, auto;
  background-repeat: repeat, repeat, no-repeat, no-repeat;
  background-attachment: fixed, fixed, fixed, fixed;
  color: var(--fog);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  color: var(--fog);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-soft); }

::selection { background: rgba(242, 184, 75, 0.32); color: var(--fog); }

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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

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

.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: 1 / -1; }

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--trend);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--trend);
  flex: 0 0 auto;
}

.display {
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--fog);
}

.lede {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.85;
  color: var(--silver);
}

/* ---------- 5. Skip link ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 200;
  transform: translateY(-180%);
  padding: 10px 20px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-capsule);
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #131F30;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
  color: #131F30;
}

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(9, 20, 36, 0.92);
  border-bottom: 2px solid var(--steel);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
}

.header-rail {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(16, 31, 54, 0.92), rgba(10, 22, 40, 0.62));
  border-bottom: 1px solid var(--line);
}

.rail-inner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  height: 40px;
  overflow: hidden;
  transition: height 0.3s var(--ease);
}

.site-header.is-scrolled .rail-inner { height: 30px; }

.rail-cell {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  white-space: nowrap;
}

.rail-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--silver);
}

.rail-value {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.rail-rule {
  flex: 0 0 auto;
  width: 1px;
  height: 14px;
  background: var(--steel);
}

.rail-spacer { flex: 1 1 auto; }

.rail-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--silver);
  white-space: nowrap;
}

.rail-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--trend);
  box-shadow: 0 0 0 3px rgba(55, 214, 160, 0.16);
  animation: rail-pulse 2.4s ease-in-out infinite;
}

@keyframes rail-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.32; }
}

.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(158, 178, 204, 0.1);
}

.header-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--trend-deep), var(--trend) 42%, var(--gold));
  transition: width 0.12s linear;
}

.header-dock {
  padding: 14px 0;
  transition: padding 0.3s var(--ease);
}

.site-header.is-scrolled .header-dock { padding: 8px 0; }

.dock-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* --- 品牌浮岛 --- */
.brand-island {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  padding: 8px 18px 8px 12px;
  border: 2px solid var(--steel);
  border-radius: var(--radius-capsule);
  background: linear-gradient(180deg, #12233C, #0D1B30);
  color: var(--fog);
  box-shadow: var(--shadow-hard-sm);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s ease;
}

.brand-island:hover,
.brand-island:focus-visible {
  color: var(--fog);
  border-color: rgba(242, 184, 75, 0.55);
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(6, 14, 26, 0.6);
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.brand-mark i {
  display: block;
  border-radius: 1px;
  background: var(--steel);
}

.brand-mark i:nth-child(1) { background: var(--gold); }
.brand-mark i:nth-child(4) { background: var(--trend); }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--fog);
}

.brand-sub {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--silver);
}

/* --- 移动导航按钮 --- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 2px solid var(--steel);
  border-radius: var(--radius-capsule);
  background: #0D1B30;
  color: var(--fog);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  box-shadow: var(--shadow-hard-sm);
}

.nav-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}

.nav-toggle-bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transition: transform 0.24s var(--ease), width 0.24s var(--ease);
}

.nav-toggle-bars i:last-child { width: 11px; }

.site-header[data-open] .nav-toggle-bars i:first-child {
  transform: translateY(3px) rotate(45deg);
}

.site-header[data-open] .nav-toggle-bars i:last-child {
  width: 16px;
  transform: translateY(-3px) rotate(-45deg);
}

/* --- 栏目浮岛 --- */
.nav-island {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 2px solid var(--steel);
  border-radius: var(--radius-capsule);
  background: rgba(16, 31, 54, 0.88);
  box-shadow: var(--shadow-hard-sm);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.nav-link {
  display: block;
  padding: 9px 14px;
  border-radius: var(--radius-capsule);
  color: var(--silver);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-link:hover {
  color: var(--fog);
  background: rgba(243, 246, 250, 0.06);
}

.nav-link[aria-current="page"] {
  color: var(--gold);
  font-weight: 700;
  background: rgba(242, 184, 75, 0.13);
  box-shadow: inset 0 0 0 1px rgba(242, 184, 75, 0.42);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
  padding: 10px 18px;
  border-radius: var(--radius-capsule);
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #131F30;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  white-space: nowrap;
  box-shadow: 0 3px 0 rgba(6, 14, 26, 0.6);
  transition: transform 0.18s var(--ease), box-shadow 0.18s ease, filter 0.18s ease;
}

.nav-cta::after {
  content: "→";
  font-family: var(--font-mono);
  font-size: 13px;
}

.nav-cta:hover {
  color: #131F30;
  transform: translateY(-2px);
  box-shadow: 0 5px 0 rgba(6, 14, 26, 0.6);
  filter: brightness(1.04);
}

/* ---------- 7. Footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 120px);
  background:
    linear-gradient(180deg, rgba(16, 31, 54, 0.62), rgba(8, 18, 31, 0.98) 42%),
    var(--ink-deep);
  border-top: 2px solid var(--steel);
  color: var(--silver);
}

.footer-rule {
  height: 10px;
  border-bottom: 1px solid rgba(158, 178, 204, 0.1);
  background: repeating-linear-gradient(90deg, var(--steel) 0 2px, transparent 2px 16px);
  opacity: 0.85;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1.9fr);
  gap: clamp(28px, 5vw, 64px);
  padding-block: clamp(36px, 6vw, 64px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer-pitch {
  margin: 0;
  max-width: 34ch;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--silver);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 26px 24px;
}

.footer-col-title {
  position: relative;
  margin: 0 0 14px;
  padding-left: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--fog);
}

.footer-col-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 14px;
  border-radius: 1px;
  background: var(--gold);
  transform: translateY(-50%);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-link {
  display: inline-block;
  color: var(--silver);
  font-size: 14px;
  transition: color 0.18s ease, transform 0.18s var(--ease);
}

.footer-link:hover {
  color: var(--gold);
  transform: translateX(3px);
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px 28px;
  padding-block: clamp(22px, 4vw, 32px);
  border-top: 1px solid var(--line);
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--fog);
}

.contact-label {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--silver);
}

.contact-value {
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: 0.02em;
  color: var(--fog);
  word-break: break-all;
}

.copy-btn {
  padding: 3px 11px;
  border: 1.5px solid var(--steel);
  border-radius: var(--radius-capsule);
  background: rgba(55, 214, 160, 0.08);
  color: var(--trend);
  font-family: var(--font-sans);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.copy-btn:hover {
  background: rgba(55, 214, 160, 0.18);
  border-color: rgba(55, 214, 160, 0.5);
}

.copy-btn.is-copied {
  background: var(--trend);
  border-color: var(--trend);
  color: #08121F;
}

.copy-status {
  grid-column: 1 / -1;
  margin: 0;
  min-height: 1.4em;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--trend);
}

.footer-contact-note {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 14px;
  border-top: 1px dashed rgba(158, 178, 204, 0.18);
  font-size: 13px;
  line-height: 1.7;
  color: var(--silver);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  background: rgba(6, 13, 24, 0.6);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
  padding-block: 18px;
  font-size: 12.5px;
  color: #7E8DA1;
}

.footer-copy { margin: 0; letter-spacing: 0.04em; }

.footer-legal,
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
}

.footer-icp {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--silver);
}

/* ---------- 8. Components ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius-capsule);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
              background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--gold {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #131F30;
  box-shadow: var(--shadow-hard-sm);
}

.btn--gold:hover {
  color: #131F30;
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(6, 14, 26, 0.55);
}

.btn--line {
  background: transparent;
  color: var(--fog);
  border-color: var(--steel);
}

.btn--line:hover {
  color: var(--gold);
  border-color: rgba(242, 184, 75, 0.55);
  transform: translateY(-2px);
}

.btn--trend {
  background: rgba(55, 214, 160, 0.12);
  color: var(--trend);
  border-color: rgba(55, 214, 160, 0.45);
}

.btn--trend:hover {
  background: rgba(55, 214, 160, 0.2);
  color: var(--trend);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--silver);
}

.crumb {
  color: var(--silver);
  transition: color 0.18s ease;
}

.crumb:hover { color: var(--gold); }

.crumb--current {
  color: var(--fog);
  font-weight: 600;
}

.crumb-sep {
  font-family: var(--font-mono);
  color: rgba(154, 169, 188, 0.5);
}

.panel {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--steel);
  border-radius: var(--radius-panel);
  background: linear-gradient(180deg, rgba(16, 31, 54, 0.96), rgba(12, 26, 46, 0.96));
  box-shadow: var(--shadow-hard);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(158, 178, 204, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(158, 178, 204, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.7;
}

.panel > * { position: relative; }

.panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 18, 31, 0.5);
}

.panel-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--fog);
}

.panel-body { padding: clamp(18px, 3vw, 28px); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid var(--steel);
  border-radius: var(--radius-capsule);
  background: rgba(30, 48, 74, 0.5);
  color: var(--silver);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.tag--gold {
  color: var(--gold);
  border-color: rgba(242, 184, 75, 0.42);
  background: rgba(242, 184, 75, 0.1);
}

.tag--trend {
  color: var(--trend);
  border-color: rgba(55, 214, 160, 0.42);
  background: rgba(55, 214, 160, 0.1);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.stat-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
}

.frame {
  position: relative;
  padding: clamp(22px, 4vw, 52px);
  border: 2px solid var(--steel);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(16, 31, 54, 0.72), rgba(10, 22, 40, 0.52));
  box-shadow: var(--shadow-hard);
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--gold);
  pointer-events: none;
}

.frame::before {
  top: -2px;
  left: -2px;
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: 26px;
}

.frame::after {
  right: -2px;
  bottom: -2px;
  border-left: 0;
  border-top: 0;
  border-bottom-right-radius: 26px;
}

.tick-rule {
  height: 8px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--steel) 0 1px, transparent 1px 14px);
}

.media {
  position: relative;
  display: block;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 2px solid var(--steel);
  border-radius: var(--radius-panel);
  background-color: var(--panel-soft);
  background-image:
    linear-gradient(rgba(158, 178, 204, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(158, 178, 204, 0.07) 1px, transparent 1px),
    radial-gradient(120% 90% at 80% 10%, rgba(55, 214, 160, 0.14), transparent 62%);
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: var(--shadow-hard);
}

.media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
}

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

.media-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--silver);
}

.prose {
  max-width: 72ch;
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--silver);
}

.prose h2 {
  margin: 2.2em 0 0.6em;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--fog);
}

.prose h3 {
  margin: 1.8em 0 0.5em;
  font-size: 1.15rem;
  color: var(--fog);
}

.prose p { margin: 0 0 1.1em; }

.prose strong { color: var(--fog); }

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

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

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

/* ---------- 10. Responsive ---------- */
@media (max-width: 1023px) {
  html { scroll-padding-top: 118px; }

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

  .dock-inner { gap: 10px; }

  .nav-island {
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    padding: 0;
    border-width: 0;
    border-radius: 22px;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transform: translateY(-8px);
    transition: max-height 0.36s var(--ease), opacity 0.22s ease,
                transform 0.3s var(--ease), visibility 0.3s ease;
  }

  .site-header[data-open] .nav-island {
    max-height: min(72vh, 560px);
    padding: 12px;
    border-width: 2px;
    opacity: 1;
    visibility: visible;
    transform: none;
    overflow: auto;
  }

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

  .nav-link {
    padding: 13px 16px;
    border-radius: 14px;
    font-size: 15px;
  }

  .nav-cta {
    margin: 8px 0 0;
    justify-content: center;
    padding: 13px 16px;
    border-radius: 14px;
    font-size: 14px;
  }

  .rail-note { display: none; }

  .col-4, .col-5, .col-6, .col-7, .col-8 { grid-column: 1 / -1; }

  .footer-top { grid-template-columns: 1fr; }
}

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

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

  .footer-contact { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .rail-inner { height: 38px; gap: 10px; }
  .rail-label { font-size: 10px; letter-spacing: 0.1em; }
  .rail-value { font-size: 11.5px; letter-spacing: 0.02em; }
  .rail-rule { height: 12px; }

  .brand-sub { display: none; }
  .brand-island { padding: 8px 14px 8px 10px; }
  .brand-name { font-size: 16px; }

  .nav-toggle { padding: 9px 14px; }

  .frame { border-radius: 18px; padding: 20px; }
}

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

  .rail-dot { animation: none; }

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