/* ── 共用變數 ── */
:root {
  --ink: #1a1610;
  --paper: #f5f0e8;
  --gold: #c9a84c;
  --gold-light: #e8c96a;
  --muted: #7a7268;
  --border: rgba(201,168,76,0.22);
  --card-bg: rgba(245,240,232,0.04);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 300;
  line-height: 1.9;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Ccircle cx='1' cy='1' r='0.4' fill='%23ffffff07'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(26,22,16,0.97) 70%, transparent);
  border-bottom: 1px solid rgba(201,168,76,0.1);
}

.nav-logo {
  font-family: 'Noto Serif TC', serif;
  font-size: 16px;
  font-weight: 900;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 2px;
}

.nav-links { display: flex; gap: 28px; list-style: none; flex-wrap: wrap; }
.nav-links a {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

/* ── SECTION LABELS ── */
.section-label {
  font-size: 10px;
  letter-spacing: 5px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

/* ── CARDS ── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 40px 36px;
  transition: background 0.3s, border-color 0.3s;
}
.card:hover { background: rgba(201,168,76,0.07); border-color: rgba(201,168,76,0.45); }

/* ── BLOCKQUOTES ── */
blockquote {
  border-left: 2px solid var(--gold);
  padding-left: 20px;
  margin: 20px 0;
  font-family: 'Noto Serif TC', serif;
  font-size: 14px;
  color: var(--gold-light);
  line-height: 1.85;
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── FOOTER ── */
footer {
  padding: 56px 24px 40px;
  text-align: center;
  border-top: 1px solid var(--border);
  margin-top: 80px;
}
footer p { font-size: 12px; color: var(--muted); letter-spacing: 1.5px; line-height: 2; }
footer a { color: var(--gold); text-decoration: none; }

/* ── BREADCRUMB ── */
.breadcrumb {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
  margin-bottom: 28px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); margin: 0 8px; }

/* ── GA ── */
/* Google Analytics placeholder — replace G-XXXXXXXXXX */

@media (max-width: 640px) {
  nav { padding: 14px 18px; }
  .nav-links { gap: 14px; }
  .card { padding: 28px 22px; }
}
