/* ============================================================
   西雅图华人艺术团 PNAPA — Classic Chinese Aesthetic
   宣纸纸色 · 墨色 · 朱砂红 · 鎏金
   ============================================================ */
:root {
  --paper: #f6f1e3;
  --paper-deep: #efe6cf;
  --paper-card: #faf7ec;
  --ink: #2b251b;
  --ink-soft: #57503f;
  --ink-faint: #8a8171;
  --cinnabar: #a83a28;
  --cinnabar-deep: #8c2e20;
  --gold: #a8853f;
  --gold-soft: #c8a95e;
  --jade: #3e5a4c;
  --line: #d9cba6;
  --shadow: 0 10px 30px rgba(43, 37, 27, 0.10);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(200, 169, 94, 0.14), transparent),
    radial-gradient(ellipse 60% 40% at 100% 110%, rgba(168, 58, 40, 0.06), transparent),
    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.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.55 0 0 0 0 0.50 0 0 0 0 0.42 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.9;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cinnabar); text-decoration: none; }
a:hover { color: var(--cinnabar-deep); }

/* ---------- display & serif type ---------- */
.display, h1, h2, h3, .serif {
  font-family: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  line-height: 1.5;
  color: var(--ink);
}
.brush {
  font-family: "Ma Shan Zheng", "Noto Serif SC", "Kaiti SC", "STKaiti", cursive;
  font-weight: 400;
}

/* ---------- layout ---------- */
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 72px 0; }
.section.tight { padding: 48px 0; }

/* thin double rules framing the page content */
.rule-double {
  border-top: 1px solid var(--line);
  position: relative;
}
.rule-double::after {
  content: "";
  display: block;
  border-top: 3px double var(--gold-soft);
  margin-top: 3px;
}

/* ---------- seal stamp ---------- */
.seal {
  display: inline-block;
  background: var(--cinnabar);
  color: #f9f3e4;
  font-family: "Ma Shan Zheng", "Noto Serif SC", serif;
  border-radius: 7px;
  padding: 6px 10px 8px;
  line-height: 1.15;
  text-align: center;
  transform: rotate(-3deg);
  box-shadow: 0 3px 10px rgba(140, 46, 32, 0.35), inset 0 0 0 2px rgba(249, 243, 228, 0.55);
  letter-spacing: 2px;
  user-select: none;
}
.seal.small { font-size: 15px; padding: 4px 7px 5px; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 227, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 0 -2px var(--gold-soft), 0 10px 24px rgba(43, 37, 27, 0.06);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand .seal { font-size: 19px; }
.brand-name { line-height: 1.35; }
.brand-name .cn { font-family: "Noto Serif SC", serif; font-weight: 900; font-size: 19px; letter-spacing: 2px; }
.brand-name .en { font-size: 10.5px; letter-spacing: 1.5px; color: var(--ink-faint); text-transform: uppercase; }

.nav { display: flex; gap: 2px; align-items: center; }
.nav a {
  color: var(--ink);
  font-size: 15px;
  letter-spacing: 1px;
  padding: 8px 11px;
  border-radius: 6px;
  white-space: nowrap;
}
.nav a:hover { background: rgba(168, 58, 40, 0.08); color: var(--cinnabar-deep); }
.nav a.active { color: var(--cinnabar-deep); font-weight: 700; box-shadow: inset 0 -2px 0 var(--cinnabar); border-radius: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 18px;
  color: var(--ink);
  cursor: pointer;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(168, 58, 40, 0.10), transparent 60%),
    linear-gradient(180deg, #f8f3e6 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 84px 24px 72px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--cinnabar-deep);
  margin-bottom: 18px;
}
.hero-kicker::before, .hero-kicker::after {
  content: "";
  width: 34px;
  border-top: 1px solid var(--gold-soft);
}
.hero h1 {
  font-family: "Ma Shan Zheng", "Noto Serif SC", cursive, serif;
  font-size: clamp(44px, 7vw, 76px);
  letter-spacing: 6px;
  margin: 0 0 10px;
  font-weight: 400;
}
.hero .hero-en {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.hero p.lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 0 30px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-side {
  writing-mode: vertical-rl;
  font-family: "Ma Shan Zheng", "Kaiti SC", cursive;
  font-size: 30px;
  letter-spacing: 12px;
  color: var(--ink-faint);
  opacity: 0.85;
  user-select: none;
}
.hero-side .seal { writing-mode: horizontal-tb; margin-top: 18px; font-size: 22px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-size: 15px;
  letter-spacing: 2px;
  padding: 12px 30px;
  border-radius: 4px;
  border: 1px solid var(--cinnabar);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--cinnabar); color: #faf3e2; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--cinnabar-deep); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--cinnabar-deep); }
.btn-ghost:hover { background: rgba(168, 58, 40, 0.08); transform: translateY(-1px); }

/* ---------- section headings ---------- */
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .dot {
  display: inline-block;
  width: 9px; height: 9px;
  background: var(--cinnabar);
  transform: rotate(45deg);
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 8px;
  text-indent: 8px;
  margin: 0 0 8px;
}
.section-head .sub {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.section-head p.desc { color: var(--ink-soft); max-width: 640px; margin: 14px auto 0; font-size: 15px; }

/* ---------- cards ---------- */
.card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(168, 133, 63, 0.35);
  border-radius: 3px;
  pointer-events: none;
}
.card-body { padding: 30px 32px; position: relative; }

/* corner ornaments */
.corners i { position: absolute; width: 22px; height: 22px; border-color: var(--gold); border-style: solid; opacity: 0.9; }
.corners i:nth-child(1) { top: 10px; left: 10px; border-width: 2px 0 0 2px; }
.corners i:nth-child(2) { top: 10px; right: 10px; border-width: 2px 2px 0 0; }
.corners i:nth-child(3) { bottom: 10px; left: 10px; border-width: 0 0 2px 2px; }
.corners i:nth-child(4) { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; }

/* ---------- poster grid ---------- */
.poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.poster {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.poster:hover { transform: translateY(-4px); }
.poster .frame { padding: 10px 10px 0; background: var(--paper-deep); }
.poster img { border: 1px solid var(--line); border-radius: 2px; width: 100%; }
.poster .cap { padding: 14px 16px 18px; text-align: center; }
.poster .cap .t { font-family: "Noto Serif SC", serif; font-weight: 700; letter-spacing: 2px; }
.poster .cap .s { font-size: 12px; color: var(--ink-faint); letter-spacing: 2px; margin-top: 4px; }

/* ---------- schedule table ---------- */
.schedule { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.schedule th, .schedule td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.schedule th {
  font-family: "Noto Serif SC", serif;
  letter-spacing: 3px;
  color: var(--cinnabar-deep);
  background: rgba(168, 133, 63, 0.10);
  white-space: nowrap;
}
.schedule tr:last-child th, .schedule tr:last-child td { border-bottom: none; }
.schedule td .where { display: block; font-size: 13.5px; color: var(--ink-faint); margin-top: 2px; }

/* ---------- team grid ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.team-card {
  display: block;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: var(--ink);
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(43,37,27,0.14); }
.team-card .pic { aspect-ratio: 16/9; overflow: hidden; background: var(--paper-deep); }
.team-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.team-card:hover .pic img { transform: scale(1.05); }
.team-card .pic.placeholder {
  display: flex; align-items: center; justify-content: center;
  font-family: "Ma Shan Zheng", cursive; font-size: 44px; color: var(--gold);
  background:
    radial-gradient(circle at 50% 40%, rgba(168,133,63,0.18), transparent 65%),
    var(--paper-deep);
}
.team-card .info { padding: 20px 22px 24px; }
.team-card .info h3 { margin: 0 0 4px; font-size: 20px; letter-spacing: 3px; font-weight: 900; }
.team-card .info .en { font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-faint); }
.team-card .info p { font-size: 14px; color: var(--ink-soft); margin: 10px 0 0; }
.team-card .more { display: inline-block; margin-top: 12px; font-size: 14px; letter-spacing: 2px; color: var(--cinnabar-deep); }
.team-card .more::after { content: " →"; }

/* ---------- article / prose ---------- */
.prose { font-size: 16.5px; color: var(--ink); }
.prose p { margin: 0 0 1.2em; }
.prose h3 {
  font-size: 22px; font-weight: 900; letter-spacing: 3px;
  margin: 2em 0 0.8em; padding-left: 14px;
  border-left: 4px solid var(--cinnabar);
}
.prose ul { padding-left: 1.4em; }
.prose li { margin-bottom: 0.5em; }
.prose figure { margin: 28px 0; }
.prose figure img { border: 1px solid var(--line); border-radius: 4px; box-shadow: var(--shadow); }
.prose figcaption { text-align: center; font-size: 13px; color: var(--ink-faint); margin-top: 8px; letter-spacing: 1px; }
.lead { font-size: 18px; color: var(--ink-soft); }

/* roster */
.roster { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 28px; margin: 18px 0; }
.roster div { border-bottom: 1px dotted var(--line); padding-bottom: 8px; font-size: 15.5px; }
.roster .role { color: var(--cinnabar-deep); font-weight: 700; letter-spacing: 1px; margin-right: 8px; }

/* ---------- plan timeline ---------- */
.plan-list { list-style: none; margin: 0; padding: 0; counter-reset: plan; }
.plan-list li {
  counter-increment: plan;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.plan-list li:last-child { border-bottom: none; }
.plan-num {
  width: 52px; height: 52px;
  border: 1.5px solid var(--cinnabar);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: "Noto Serif SC", serif; font-weight: 900; font-size: 20px;
  color: var(--cinnabar-deep);
  background: rgba(168, 58, 40, 0.06);
}
.plan-num::before { content: counter(plan); }
.plan-list h4 { margin: 2px 0 6px; font-size: 18px; letter-spacing: 1px; font-family: "Noto Serif SC", serif; }
.plan-list .meta { font-size: 14px; color: var(--ink-soft); }
.plan-list .meta span { display: inline-block; margin-right: 18px; }
.plan-list .meta .label { color: var(--ink-faint); letter-spacing: 1px; margin-right: 4px; }

/* ---------- news list ---------- */
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 20px 8px;
  color: var(--ink);
}
.news-list a:hover { background: rgba(168, 133, 63, 0.08); }
.news-list .t { font-family: "Noto Serif SC", serif; font-size: 18px; font-weight: 700; letter-spacing: 1px; }
.news-list .d { font-size: 13px; color: var(--ink-faint); white-space: nowrap; letter-spacing: 1px; }

/* ---------- gallery ---------- */
.album { margin-bottom: 56px; }
.album h3 { font-size: 22px; letter-spacing: 3px; font-weight: 900; margin: 0 0 6px; }
.album .count { font-size: 13px; color: var(--ink-faint); letter-spacing: 2px; margin-bottom: 18px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.photo-grid a {
  display: block; border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  background: var(--paper-deep); aspect-ratio: 4/3;
}
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.photo-grid a:hover img { transform: scale(1.06); }

/* ---------- video ---------- */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  background: #14110c;
  margin: 24px 0;
}
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* ---------- footer ---------- */
.site-footer {
  background: #241f16;
  color: #d8cdb2;
  margin-top: 40px;
  border-top: 4px double var(--gold);
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 24px 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.site-footer h4 {
  font-family: "Noto Serif SC", serif;
  color: #f0e6c8;
  letter-spacing: 4px;
  font-size: 17px;
  margin: 0 0 14px;
}
.site-footer p, .site-footer li { font-size: 14px; line-height: 2; color: #c9bfa4; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { color: #e5d6ab; }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.footer-brand .seal { font-size: 20px; flex-shrink: 0; }
.footer-brand .cn { font-family: "Noto Serif SC", serif; font-weight: 900; color: #f0e6c8; letter-spacing: 2px; font-size: 18px; }
.footer-brand .en { font-size: 11px; letter-spacing: 1.5px; color: #9a8f73; text-transform: uppercase; }
.footer-base {
  border-top: 1px solid rgba(216, 205, 178, 0.18);
  margin-top: 36px;
  padding-top: 20px;
  text-align: center;
  font-size: 12.5px;
  color: #9a8f73;
  letter-spacing: 1px;
}

/* ---------- breadcrumb ---------- */
.crumb { font-size: 13.5px; color: var(--ink-faint); letter-spacing: 1px; margin-bottom: 22px; }
.crumb a { color: var(--ink-soft); }
.crumb a:hover { color: var(--cinnabar-deep); }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  text-align: center;
  padding: 64px 24px 40px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(168, 58, 40, 0.08), transparent 65%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 900;
  letter-spacing: 10px;
  text-indent: 10px;
  margin: 14px 0 8px;
}
.page-hero .en { font-size: 12px; letter-spacing: 4px; text-transform: uppercase; color: var(--ink-faint); }

/* ---------- misc ---------- */
.venue-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.venue-box h3 { margin-top: 0; }
.map-link { display: inline-block; margin-top: 10px; font-size: 14px; letter-spacing: 1px; }
.notice {
  border: 1px dashed var(--gold);
  background: rgba(168, 133, 63, 0.08);
  border-radius: 6px;
  padding: 18px 22px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.center { text-align: center; }
.mt { margin-top: 28px; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20, 16, 10, 0.92);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; border: 1px solid var(--gold-soft); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox .close {
  position: absolute; top: 22px; right: 30px;
  color: #f0e6c8; font-size: 34px; cursor: pointer; background: none; border: none;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 8px 12px 14px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 11px 14px; font-size: 16px; }
  .nav-toggle { display: block; }
  .header-inner { position: relative; }
  .hero-inner { grid-template-columns: 1fr; padding: 60px 24px 52px; }
  .hero-side { display: none; }
  .two-col, .venue-box { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 52px 0; }
  .plan-list li { grid-template-columns: 48px 1fr; gap: 14px; }
  .plan-num { width: 42px; height: 42px; font-size: 17px; }
}
