:root {
  --paper: #f3eadc;
  --ink: #231c16;
  --muted: #6b5e52;
  --line: #d8cbb8;
  --accent: #9a3412;
  --card: #fffaf3;
  --shadow: 0 18px 40px rgba(35, 28, 22, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(154, 52, 18, 0.08), transparent 55%),
    var(--paper);
  color: var(--ink);
  font-family: "Noto Sans TC", "Newsreader", Georgia, serif;
  line-height: 1.65;
  padding: 1.5rem clamp(1.25rem, 5vw, 4rem) 3rem;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.8rem;
  z-index: 10;
}
.skip:focus { top: 1rem; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
  animation: rise 0.8s ease both;
}

.mark {
  font-family: "Fraunces", "Noto Sans TC", serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.lang { color: var(--muted); font-size: 0.95rem; font-style: italic; font-family: "Newsreader", serif; }

.hero {
  max-width: 38rem;
  padding: 4.5rem 0 3.25rem;
  animation: rise 0.9s ease 0.08s both;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}

h1 {
  font-family: "Fraunces", "Noto Sans TC", serif;
  font-size: clamp(2.6rem, 8vw, 5rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
}

.lead { font-size: 1.12rem; color: var(--ink); }
.lead.en { margin-top: 0.7rem; color: var(--muted); font-family: "Newsreader", Georgia, serif; font-style: italic; }

.featured { animation: rise 1s ease 0.16s both; }
.featured .card + .card { margin-top: 1.15rem; }

h2 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  font-weight: 600;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(1.3rem, 3vw, 2rem);
  box-shadow: var(--shadow);
  max-width: 46rem;
}

.card-kicker {
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.card h3 {
  font-family: "Fraunces", "Newsreader", serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  margin-bottom: 0.7rem;
}

.card p { color: var(--muted); max-width: 40rem; }

.topics {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.2rem 0 1.1rem;
}

.topics li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  font-size: 0.82rem;
  background: rgba(243, 234, 220, 0.7);
}

.status {
  font-size: 0.9rem;
  color: var(--ink);
}

footer {
  margin-top: 3.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  animation: rise 1s ease 0.22s both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .hero { padding-top: 2.8rem; }
  .lead { font-size: 1.02rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .top, .hero, .featured, footer { animation: none; }
}

.card-cta {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--paper);
  background: var(--accent);
  text-decoration: none;
  border-radius: 999px;
  padding: 0.55rem 1.05rem;
  font-size: 0.92rem;
  font-weight: 600;
}
.card-cta:hover,
.card-cta:focus {
  text-decoration: none;
  filter: brightness(1.08);
}
footer a {
  color: var(--ink);
}
