:root {
  --red: #c8202a;
  --red-dark: #9e1a22;
  --red-soft: #fbeaea;
  --ink: #2a2422;
  --ink-soft: #5c524e;
  --cream: #fbf7f2;
  --paper: #ffffff;
  --line: #ece4dc;
  --warn: #fff4d6;
  --warn-line: #e8c76a;
  --radius: 14px;
  --max: 1120px;
  --serif: "Noto Serif TC", "Songti TC", serif;
  --sans: "Noto Sans TC", "PingFang HK", "Microsoft JhengHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--red); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Scam alert bar */
.alert-bar {
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  text-align: center;
  padding: 9px 16px;
}
.alert-bar a { color: #ffd36b; font-weight: 600; }

/* Header */
header.site {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { height: 46px; width: auto; }
.brand small { display: block; font-size: 12px; color: var(--ink-soft); line-height: 1.3; }
nav.main { display: flex; align-items: center; gap: 4px; }
nav.main a {
  color: var(--ink); text-decoration: none; font-size: 15px;
  padding: 8px 12px; border-radius: 8px;
}
nav.main a:hover { background: var(--red-soft); color: var(--red-dark); }
nav.main a.donate-btn { background: var(--red); color: #fff; font-weight: 600; }
nav.main a.donate-btn:hover { background: var(--red-dark); color: #fff; }
nav.main a.lang { border: 1px solid var(--line); font-size: 14px; }
.menu-toggle { display: none; }

/* Hero */
.hero {
  position: relative; color: #fff;
  background: #3a2a26 center/cover no-repeat;
  min-height: 560px; display: flex; align-items: flex-end;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(28,16,13,.88) 0%, rgba(28,16,13,.72) 55%, rgba(28,16,13,.35) 100%);
}
.hero .wrap { position: relative; padding-bottom: 64px; padding-top: 120px; }
.hero .eyebrow {
  display: inline-block; background: rgba(255,255,255,.16); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.35); padding: 4px 12px; border-radius: 999px;
  font-size: 14px; margin-bottom: 18px;
}
.hero h1 {
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(34px, 6vw, 60px); line-height: 1.25; margin: 0 0 16px;
  max-width: 14em;
}
.hero p { font-size: clamp(17px, 2vw, 20px); max-width: 34em; margin: 0 0 28px; opacity: .95; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 999px;
  font-weight: 600; text-decoration: none; font-size: 16px;
}
.btn.primary { background: var(--red); color: #fff; }
.btn.primary:hover { background: var(--red-dark); }
.btn.ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.6); }
.btn.ghost:hover { background: rgba(255,255,255,.22); }
.btn.outline { border: 1.5px solid var(--red); color: var(--red); background: transparent; }

/* Stats strip */
.stats { background: var(--paper); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 12px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--serif); font-size: 30px; color: var(--red); line-height: 1.2; }
.stat span { font-size: 14px; color: var(--ink-soft); }

/* Sections */
section { padding: 84px 0; scroll-margin-top: 72px; }
section.alt { background: var(--paper); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.kicker { color: var(--red); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
h2 {
  font-family: var(--serif); font-size: clamp(28px, 4vw, 40px);
  line-height: 1.3; margin: 6px 0 14px;
}
h3 { font-size: 20px; margin: 0 0 8px; line-height: 1.4; }
.lead { font-size: 18px; color: var(--ink-soft); margin: 0; }

/* Story */
.story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 26px 26px; }
.timeline li::before {
  content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--paper); border: 3px solid var(--red);
}
.timeline .yr { font-family: var(--serif); font-weight: 700; color: var(--red); font-size: 19px; }
.timeline p { margin: 2px 0 0; color: var(--ink-soft); }
.story-photo { border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px -20px rgba(60,30,20,.45); }
.story-photo img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.quote {
  margin-top: 22px; padding: 20px 22px; background: var(--red-soft); border-radius: var(--radius);
  font-family: var(--serif); font-size: 19px; color: var(--red-dark);
}

/* Services */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px;
}
section.alt .card { background: var(--cream); }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; background: var(--red-soft); color: var(--red);
  display: grid; place-items: center; margin-bottom: 14px;
}
.card .ico svg { width: 24px; height: 24px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.note {
  margin-top: 22px; padding: 16px 20px; border-left: 4px solid var(--red);
  background: var(--paper); border-radius: 0 10px 10px 0; font-size: 16px;
}

/* Station */
.station { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.station .info { padding: 36px; }
.station dl { margin: 18px 0 24px; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; }
.station dt { font-weight: 700; color: var(--ink-soft); font-size: 15px; }
.station dd { margin: 0; }
.station iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.project img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.project .body { padding: 20px 22px 24px; }
.project time { font-size: 14px; color: var(--red); font-weight: 600; }
.project p { margin: 6px 0 0; color: var(--ink-soft); font-size: 15.5px; }
.project a { font-size: 15px; }

/* Founder */
.founder { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.founder-photo img, .founder img { border-radius: var(--radius); aspect-ratio: 1/1; object-fit: cover; object-position: right top; width: 100%; }
.founder .role { color: var(--red); font-weight: 600; margin-bottom: 8px; }

/* Placeholders (remove once filled in) */
.placeholder { background: #fff1b8; border: 1px dashed #d4a017; color: #6b5200; padding: 1px 6px; border-radius: 4px; font-size: .92em; }
.placeholder-block { background: #fff1b8; border: 1px dashed #d4a017; color: #6b5200; padding: 18px; border-radius: 10px; margin: 12px 0; }

.founder-photo { margin: 0; }
.founder-photo figcaption { font-size: 14px; color: var(--ink-soft); margin-top: 8px; text-align: center; }

/* Donate */
.donate { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.donate .panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.donate .panel.highlight { border: 2px solid var(--red); }
.acct {
  font-family: ui-monospace, Menlo, monospace; font-size: 22px; letter-spacing: .04em;
  background: var(--cream); border-radius: 10px; padding: 12px 14px; margin: 10px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
}
.copy {
  font-family: var(--sans); font-size: 14px; border: 1px solid var(--line); background: var(--paper);
  border-radius: 8px; padding: 6px 12px; cursor: pointer; color: var(--ink);
}
.donate ul { padding-left: 1.2em; margin: 10px 0 0; color: var(--ink-soft); }
.small { font-size: 14px; color: var(--ink-soft); }

/* Anti-scam */
.scam { background: var(--warn); border-top: 1px solid var(--warn-line); border-bottom: 1px solid var(--warn-line); }
.scam .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.scam .box { background: var(--paper); border-radius: var(--radius); padding: 28px; border: 1px solid var(--warn-line); }
.scam .box.ok { border: 2px solid #2f8f4e; }
.scam .box.bad { border: 2px solid var(--red); }
.scam h3 .tag { font-size: 13px; padding: 2px 10px; border-radius: 999px; margin-left: 8px; vertical-align: middle; color: #fff; }
.scam .ok .tag { background: #2f8f4e; }
.scam .bad .tag { background: var(--red); }
.scam ul { margin: 10px 0 0; padding-left: 1.2em; }
.scam li { margin: 4px 0; }
.nums { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.nums span {
  font-family: ui-monospace, Menlo, monospace; font-size: 14px; background: var(--red-soft);
  color: var(--red-dark); padding: 3px 9px; border-radius: 6px; font-weight: 600;
}
.scam .rules { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.scam .rules div { background: var(--paper); border-radius: 12px; padding: 18px 20px; border: 1px solid var(--warn-line); font-size: 15.5px; }
.scam .rules b { display: block; color: var(--red-dark); margin-bottom: 4px; }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact .card a { font-weight: 600; text-decoration: none; word-break: break-word; }

footer.site { background: var(--ink); color: #d9d0cb; padding: 44px 0 34px; font-size: 14.5px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer.site a { color: #fff; }
footer.site b { color: #fff; }

/* Responsive */
nav.main a { white-space: nowrap; }
@media (max-width: 1100px) {
  nav.main { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--paper);
    flex-direction: column; align-items: stretch; padding: 10px 16px 18px; border-bottom: 1px solid var(--line); }
  nav.main.open { display: flex; }
  nav.main a { padding: 12px; }
  .menu-toggle { display: inline-flex; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: 15px; cursor: pointer; color: var(--ink); }
}
@media (max-width: 960px) {
  .cards, .contact { grid-template-columns: repeat(2, 1fr); }
  .projects { grid-template-columns: 1fr 1fr; }
  .story, .station, .donate, .scam .grid { grid-template-columns: 1fr; }
  .scam .rules { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .founder-photo img, .founder img { max-width: 320px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  section { padding: 60px 0; }
  .wrap { padding: 0 16px; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cards, .contact, .projects { grid-template-columns: 1fr; }
  .hero { min-height: 520px; }
  .brand small { display: none; }
  .station .info { padding: 24px; }
  .acct { font-size: 18px; }
}
.donate dl.bank { margin: 16px 0 12px; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; }
.donate dl.bank dt { font-weight: 700; color: var(--ink-soft); font-size: 15px; }
.donate dl.bank dd { margin: 0; }
