/* 全球太极非遗健康传播中心 · 2026 UI */
:root {
  --crimson: #6B1515;
  --crimson-deep: #3D0808;
  --ink: #0C0C0E;
  --ink-soft: #1A1A1F;
  --gold: #C4A052;
  --gold-glow: rgba(196, 160, 82, 0.45);
  --stone: #4A6272;
  --stone-light: #6B8494;
  --rice: #F3EDE3;
  --rice-card: rgba(255, 251, 245, 0.78);
  --text: #3A3835;
  --text-muted: #6B6760;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", Georgia, serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-en: "Inter", "Montserrat", system-ui, sans-serif;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-soft: 0 12px 40px rgba(12, 12, 14, 0.08);
  --shadow-glow: 0 8px 32px rgba(107, 21, 21, 0.12), 0 0 0 1px rgba(196, 160, 82, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1280px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --drawer-w: 75vw;
  --drawer-max: 320px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body.taiji-site {
  font-family: var(--font-sans);
  background: var(--rice);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
}
body.lang-en { font-family: var(--font-en); }
body.lang-en h1, body.lang-en h2, body.lang-en h3, body.lang-en .font-serif { font-family: var(--font-en); font-weight: 600; }
body.nav-open { overflow: hidden; }

body.taiji-site::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}
body.taiji-site > * { position: relative; z-index: 1; }

.font-serif { font-family: var(--font-serif); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--crimson); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--gold); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }

/* 顶栏 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s;
  /* 初始状态：半透明深色背景，确保在 hero 深色区域可见 */
  background: rgba(12, 12, 14, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.site-header.is-scrolled {
  background: rgba(12, 12, 14, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
.site-header.is-scrolled .header-top { max-height: 0; opacity: 0; padding: 0; overflow: hidden; }
/* 确保导航文字始终是浅色，在深色背景下清晰可见 */
.site-header .site-title h1,
.site-header .site-title p,
.site-header .main-nav a { 
  color: #F5F0E8;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.site-header.is-scrolled .site-title h1,
.site-header.is-scrolled .site-title p,
.site-header.is-scrolled .main-nav a { 
  color: #F5F0E8;
  text-shadow: none;
}
.site-header .main-nav a:hover,
.site-header .main-nav a.active,
.site-header.is-scrolled .main-nav a:hover,
.site-header.is-scrolled .main-nav a.active { 
  color: var(--gold); 
}
.site-header .nav-toggle,
.site-header.is-scrolled .nav-toggle { 
  color: var(--gold); 
}
.site-header .lang-switch button:not(.active),
.site-header.is-scrolled .lang-switch button:not(.active) { 
  color: rgba(245, 240, 232, 0.85); 
}

.header-top {
  background: linear-gradient(90deg, var(--crimson-deep), var(--crimson));
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 7px 16px;
  text-align: center;
  transition: all 0.35s var(--ease);
}
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 40px);
  max-width: var(--max);
  margin: 0 auto;
  flex-wrap: wrap;
}

.logo-group { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), rgba(196, 160, 82, 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: bold;
  box-shadow: 0 0 24px var(--gold-glow), 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}
.logo-mark:hover {
  transform: scale(1.05);
  box-shadow: 0 0 32px var(--gold-glow), 0 4px 12px rgba(0, 0, 0, 0.25);
}
.site-title h1 {
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  transition: color 0.35s;
}
.site-title p { font-size: 0.72rem; color: rgba(245, 240, 232, 0.8); margin-top: 2px; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 3px;
  border: 1px solid rgba(196, 160, 82, 0.4);
}
.lang-switch button {
  border: none;
  background: transparent;
  color: #F5F0E8;
  padding: 5px 14px;
  font-size: 0.8rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.lang-switch button.active {
  background: linear-gradient(135deg, var(--gold), #b38f3f);
  color: var(--ink);
  box-shadow: 0 2px 12px rgba(196, 160, 82, 0.4);
  font-weight: 600;
}
.btn-global {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(135deg, var(--gold), #b38f3f);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(196, 160, 82, 0.3);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.btn-global:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(74, 98, 114, 0.35); }

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(196, 160, 82, 0.3);
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--gold);
  border-radius: 8px;
  padding: 6px 12px;
  transition: background 0.3s, border-color 0.3s;
}
.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(196, 160, 82, 0.5);
}
.main-nav ul { display: flex; flex-wrap: wrap; list-style: none; gap: 2px 4px; }
.main-nav a {
  position: relative;
  color: var(--ink-soft);
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(196, 160, 82, 0.4));
  transform: scaleX(0);
  transition: transform 0.35s var(--ease);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--gold-glow);
}
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--gold); }

.nav-overlay {
  display: none !important;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(12, 12, 14, 0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none !important;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.nav-overlay[hidden] {
  display: none !important;
}
.nav-overlay.is-active:not([hidden]) {
  display: block !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto !important;
}

/* 移动端主内容容器（侧栏推开） */
.site-shell {
  position: relative;
  width: 100%;
  min-height: 100vh;
  transition: transform 0.35s var(--ease);
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

@media (min-width: 1101px) {
  .nav-toggle { display: none !important; }
  .main-nav { display: block !important; }
}

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    width: 100%;
    order: 10;
    background: rgba(255, 251, 245, 0.98);
    backdrop-filter: blur(12px);
    border-radius: var(--radius);
    padding: 12px;
    margin-top: 8px;
    box-shadow: var(--shadow-soft);
  }
  .main-nav.open { display: block; }
  .site-header.is-scrolled .main-nav { background: rgba(26, 26, 31, 0.98); }
  .main-nav ul { flex-direction: column; }
  .main-nav a::after {
    display: none;
  }
}

/* 按钮 */
.btn-primary {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(135deg, var(--crimson) 0%, var(--crimson-deep) 100%);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(107, 21, 21, 0.3);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(107, 21, 21, 0.4); color: #fff; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 26px;
  font-size: 0.9rem;
  color: var(--crimson);
  background: transparent;
  border: 1.5px solid rgba(107, 21, 21, 0.4);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.btn-outline:hover {
  background: var(--crimson);
  color: #fff;
  border-color: var(--crimson);
}
.btn-ripple .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple 0.6s ease-out;
  pointer-events: none;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* Hero */
.hero-full {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  margin-top: 0;
  overflow: hidden;
}
.hero-full .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.hero-full .slide.active { opacity: 1; z-index: 1; }
.hero-full .slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s linear;
}
.hero-full .slide.active .slide-bg { transform: scale(1); }
.hero-full .slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(12, 12, 14, 0.75) 0%, rgba(61, 8, 8, 0.45) 45%, transparent 70%),
    radial-gradient(ellipse at 70% 80%, rgba(196, 160, 82, 0.15), transparent 50%);
}
.hero-taichi-deco {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  opacity: 0.08;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='100' r='98' fill='none' stroke='%23C4A052' stroke-width='1'/%3E%3Cpath d='M100 2 A98 98 0 0 1 100 198 A49 49 0 0 0 100 100 A49 49 0 0 1 100 2' fill='%23C4A052' opacity='0.3'/%3E%3C/svg%3E") center/contain no-repeat;
  animation: taiji-spin 120s linear infinite;
  pointer-events: none;
}
@keyframes taiji-spin { to { transform: translateY(-50%) rotate(360deg); } }

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(100px, 12vh, 140px) clamp(16px, 4vw, 40px) 80px;
  max-width: var(--max);
  margin: 0 auto;
}
.hero-content .section-label { color: var(--gold) !important; margin-bottom: 12px; }
.hero-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  max-width: 14ch;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
.hero-content p {
  margin-top: 20px;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(243, 237, 227, 0.88);
  max-width: 36em;
}
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-cta .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.hero-cta .btn-outline:hover {
  background: #fff;
  color: var(--crimson);
  border-color: #fff;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  animation: bounce 2s ease infinite;
}
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

.slider-dots {
  position: absolute;
  bottom: 100px;
  left: clamp(16px, 4vw, 40px);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.slider-dots button {
  width: 40px;
  height: 4px;
  border: none;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.35s var(--ease);
}
.slider-dots button.active {
  background: linear-gradient(90deg, var(--gold), #fff);
  width: 56px;
  box-shadow: 0 0 12px var(--gold-glow);
}

/* 内页 Banner */
.page-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(120px, 14vh, 160px) 24px 64px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--ink) 0%, var(--crimson-deep) 50%, #2a1818 100%);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0 Q45 30 30 60 Q15 30 30 0' fill='none' stroke='%23C4A052' stroke-width='0.3' opacity='0.15'/%3E%3C/svg%3E");
  opacity: 0.5;
}
.page-hero .ink-wash {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(196, 160, 82, 0.12), transparent);
}
.page-hero h1 {
  position: relative;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: #fff;
  font-weight: 600;
}
.page-hero .breadcrumb {
  position: relative;
  margin-top: 12px;
  font-size: 0.88rem;
  color: rgba(243, 237, 227, 0.65);
}
.page-hero .breadcrumb a { color: var(--gold); }

/* 区块 */
.section { padding: clamp(64px, 10vw, 100px) 0; }
.section-head {
  margin-bottom: clamp(36px, 5vw, 56px);
  max-width: 640px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 10px;
}
.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
}
.section-head .lead { margin-top: 12px; color: var(--text-muted); font-size: 1.02rem; }
.divider-gradient {
  height: 1px;
  border: none;
  margin: 48px 0;
  background: linear-gradient(90deg, transparent, var(--gold), var(--stone-light), transparent);
  opacity: 0.5;
}

/* 玻璃卡片 */
.glass-card {
  background: var(--rice-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  color: var(--text);
}
.glass-card h3, .glass-card h4 { color: var(--ink); }
.glass-card p { color: var(--text-muted); }
.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow), 0 20px 50px rgba(12, 12, 14, 0.1);
}
.glass-card.glow-edge { position: relative; }
.glass-card.glow-edge::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(196, 160, 82, 0.4), transparent, rgba(107, 21, 21, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.glass-card.glow-edge:hover::before { opacity: 1; }

.bento {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(12, 1fr);
}
.bento > * { min-height: 0; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }
@media (max-width: 992px) {
  .span-4, .span-5, .span-6, .span-7, .span-8 { grid-column: span 12; }
}

.core-bento .glass-card { padding: clamp(24px, 4vw, 36px); height: 100%; }
.core-bento .card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(107, 21, 21, 0.12), rgba(196, 160, 82, 0.15));
}
.core-bento h3 { font-family: var(--font-serif); font-size: 1.25rem; color: var(--ink); margin-bottom: 10px; }
.core-bento p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 16px; }
.core-bento .link-arrow {
  font-size: 0.88rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.core-bento .link-arrow::after { content: "→"; transition: transform 0.3s; }
.core-bento .glass-card:hover .link-arrow::after { transform: translateX(4px); }
.link-arrow {
  font-size: 0.88rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--crimson);
}
.link-arrow::after { content: "→"; transition: transform 0.3s; }
.link-arrow:hover::after { transform: translateX(4px); }

.timeline-pro {
  position: relative;
  padding-left: 32px;
  color: var(--text-muted);
}
.timeline-pro::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--crimson), var(--gold), var(--stone));
  border-radius: 2px;
}
.timeline-pro .tl-item { position: relative; padding-bottom: 28px; }
.timeline-pro .tl-item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--rice);
  border: 3px solid var(--gold);
  box-shadow: 0 0 12px var(--gold-glow);
}
.timeline-pro strong { color: var(--crimson); font-family: var(--font-serif); }

.card-media {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--ink-soft), var(--crimson-deep));
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.glass-card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 22px 24px 26px; }
.card-body h3 { font-family: var(--font-serif); font-size: 1.12rem; color: var(--ink); margin-bottom: 8px; }
.card-body p { color: var(--text-muted); }
.card-body .meta {
  font-size: 0.8rem;
  color: var(--stone);
  margin-bottom: 8px;
  display: inline-block;
  padding: 3px 10px;
  background: rgba(74, 98, 114, 0.1);
  border-radius: 999px;
}
.tag-pill {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(196, 160, 82, 0.3);
  color: var(--text);
  transition: all 0.3s var(--ease);
  cursor: pointer;
}
.tag-pill:hover, .tag-pill.active {
  background: linear-gradient(135deg, var(--crimson), var(--crimson-deep));
  color: #fff;
  border-color: transparent;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }

.honor-glow {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
}
.honor-glow .glass-card { padding: 24px 16px; text-align: center; }
.honor-glow .honor-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(196, 160, 82, 0.2), rgba(107, 21, 21, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 0 24px var(--gold-glow);
}
.honor-glow span { color: var(--ink); }

.quick-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 768px) { .quick-links { grid-template-columns: repeat(4, 1fr); } }
.quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  text-align: center;
  border-radius: var(--radius);
  background: var(--rice-card);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(196, 160, 82, 0.2);
  transition: all 0.35s var(--ease);
}
.quick-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); color: inherit; }
.quick-link .ql-icon { font-size: 1.75rem; margin-bottom: 10px; opacity: 0.9; }
.quick-link span { font-size: 0.9rem; font-weight: 500; color: var(--ink); }

.news-list .news-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(196, 160, 82, 0.15);
  transition: padding-left 0.3s var(--ease);
}
.news-list .news-item:hover { padding-left: 8px; }
.news-date {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--crimson);
  line-height: 1.4;
}
.news-date em { display: block; font-size: 1.5rem; font-style: normal; font-weight: 600; }
.news-item h3 { font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: 6px; }
.news-item h3 a { color: var(--ink); }
.news-item h3 a:hover { color: var(--crimson); }

.form-glass { padding: clamp(28px, 4vw, 40px); border-radius: var(--radius-lg); }
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  border: 1px solid rgba(196, 160, 82, 0.25);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 160, 82, 0.2);
}
.form-msg { margin-top: 14px; font-size: 0.9rem; color: var(--stone); }
.form-msg.success { color: #2d6a4f; }

.media-bento { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.media-card .play-wrap {
  aspect-ratio: 16/9;
  background: linear-gradient(145deg, var(--ink), var(--crimson-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}
.media-card .play-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(12, 12, 14, 0.5));
}
.play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: transform 0.35s, box-shadow 0.35s;
}
.media-card:hover .play-btn { transform: scale(1.08); box-shadow: 0 0 30px var(--gold-glow); }

.team-bento {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}
.team-card { text-align: center; padding: 28px 20px; }
.team-card .avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--crimson-deep), var(--stone));
  box-shadow: 0 8px 24px rgba(107, 21, 21, 0.2);
}
.team-card h4 { font-family: var(--font-serif); color: var(--ink); }
.team-card p { font-size: 0.88rem; color: var(--text-muted); margin-top: 4px; }

.asymmetric-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) { .asymmetric-split { grid-template-columns: 1fr; } }
.org-block { padding: 36px; }
.org-block.accent {
  background: linear-gradient(160deg, rgba(107, 21, 21, 0.06), rgba(74, 98, 114, 0.08));
  border-radius: var(--radius-lg);
}

.masonry-ish {
  columns: 2;
  column-gap: 20px;
}
@media (min-width: 768px) { .masonry-ish { columns: 3; } }
.masonry-ish .art-piece {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.45s var(--ease);
}
.masonry-ish .art-piece:hover { transform: scale(1.02); }
.art-piece .art-img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--stone-light), var(--ink-soft));
}

.site-footer {
  background: linear-gradient(180deg, var(--ink) 0%, #050506 100%);
  color: rgba(243, 237, 227, 0.85);
  padding: clamp(56px, 8vw, 80px) 0 calc(28px + var(--safe-bottom));
  margin-top: 0;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}
.footer-bento {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { .footer-bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-bento { grid-template-columns: 1fr; } }
.site-footer h4 {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 16px;
  font-weight: 600;
}
.site-footer a { color: rgba(243, 237, 227, 0.75); }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; font-size: 0.9rem; color: rgba(243, 237, 227, 0.75); }
.charity-badge {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 14px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  border: 1px solid rgba(196, 160, 82, 0.35);
  border-radius: 999px;
  color: var(--gold);
}
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.82rem;
  color: rgba(243, 237, 227, 0.5);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.charity-modal {
  display: none !important;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(12, 12, 14, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  pointer-events: none !important;
  opacity: 0;
}
.charity-modal[hidden] {
  display: none !important;
}
.charity-modal.show:not([hidden]) {
  display: flex !important;
  visibility: visible;
  pointer-events: auto !important;
  opacity: 1;
}
.charity-modal .modal-box {
  max-width: 520px;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--rice-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(196, 160, 82, 0.3);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
  color: var(--text);
}
.charity-modal h3 {
  font-family: var(--font-serif);
  color: var(--crimson);
  margin-bottom: 16px;
  font-size: 1.35rem;
}
.charity-modal .modal-actions,
.charity-modal .modal-box > div:last-child {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

img[loading="lazy"] { opacity: 0; transition: opacity 0.5s; }
img[loading="lazy"].loaded { opacity: 1; }

.section-alt { background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent); }
.section-dark {
  background: linear-gradient(160deg, var(--ink-soft) 0%, var(--crimson-deep) 100%);
  color: rgba(243, 237, 227, 0.9);
}
.section-dark .section-head h2,
.section-dark .section-head .lead { color: #F3EDE3; }
.section-dark .section-label { color: var(--gold); }
.section-dark .glass-card {
  background: rgba(255, 251, 245, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(243, 237, 227, 0.9);
}
.section-dark .glass-card h3 { color: #F3EDE3; }
.section-dark .glass-card p,
.section-dark .glass-card li { color: rgba(243, 237, 227, 0.75); }
.section-dark .glass-card a { color: var(--gold); }
.section-dark .glass-card a:hover { color: #fff; }
.section-dark .timeline-pro { color: rgba(243, 237, 227, 0.8); }
.section-dark .timeline-pro strong { color: var(--gold); }
.section-dark .timeline-pro .tl-item::before { background: var(--ink-soft); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* 移动端优化：左侧固定侧栏 + 主内容右推 */
@media (max-width: 768px) {
  html {
    font-size: 15px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
  }
  body.taiji-site {
    overflow-x: hidden;
  }
  body.nav-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
    touch-action: none;
  }

  .header-main { padding: 10px 16px; padding-top: calc(10px + var(--safe-top)); gap: 10px; }
  .site-title h1 { font-size: 0.88rem; }
  .site-title p { font-size: 0.65rem; }
  .btn-global { display: none; }

  /* 平板折叠菜单在移动端禁用，改由 body 级侧栏承担 */
  .header-main .main-nav { display: none !important; }

  .nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(107, 21, 21, 0.08);
    position: relative;
    z-index: 2;
  }

  /* 侧栏：固定左侧，脱离文档流 */
  body > .main-nav.mobile-drawer {
    display: block !important;
    position: fixed !important;
    top: 0;
    left: 0;
    right: auto;
    bottom: 0;
    width: var(--drawer-w) !important;
    max-width: var(--drawer-max);
    margin: 0 !important;
    padding: calc(16px + var(--safe-top)) 14px calc(16px + var(--safe-bottom)) !important;
    border-radius: 0 !important;
    background: rgba(255, 251, 245, 0.98) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 4px 0 32px rgba(12, 12, 14, 0.15);
    transform: translate3d(-105%, 0, 0);
    transition: transform 0.35s var(--ease);
    z-index: 1001;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  body > .main-nav.mobile-drawer.open {
    transform: translate3d(0, 0, 0);
  }
  body > .main-nav.mobile-drawer ul {
    flex-direction: column;
    gap: 4px;
  }
  body > .main-nav.mobile-drawer a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--ink-soft);
  }
  body > .main-nav.mobile-drawer a::after { display: none; }
  body > .main-nav.mobile-drawer a:hover,
  body > .main-nav.mobile-drawer a.active {
    background: rgba(107, 21, 21, 0.08);
    color: var(--crimson);
  }

  /* 主页面右推，宽度与侧栏一致，避免重叠 */
  body.nav-open .site-shell {
    transform: translate3d(clamp(0px, var(--drawer-w), var(--drawer-max)), 0, 0);
  }

  #nav-placeholder { display: none; }

  .hero-full { min-height: 90vh; min-height: 90dvh; }
  .hero-content { padding-bottom: 96px; justify-content: flex-end; }
  .hero-content h2 { max-width: none; font-size: 1.75rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn-primary,
  .hero-cta .btn-outline { width: 100%; }
  .hero-taichi-deco { display: none; }
  .slider-dots { left: 50%; transform: translateX(-50%); bottom: 72px; }

  .page-hero { min-height: 34vh; padding-bottom: 48px; }
  .section { padding: 48px 0; }
  .core-bento .glass-card[style*="margin-top"] { margin-top: 0 !important; }
  .bento .glass-card.org-block[style*="margin-top"] { margin-top: 0 !important; }

  .news-list .news-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px 0;
  }
  .news-list .news-item:hover { padding-left: 0; }
  .news-date { display: flex; gap: 8px; align-items: baseline; }
  .news-date em { display: inline; font-size: 1.35rem; }

  .tag-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .tag-row::-webkit-scrollbar { display: none; }
  .tag-pill { flex-shrink: 0; padding: 10px 16px; }

  .masonry-ish { columns: 1; }
  .honor-glow { grid-template-columns: repeat(2, 1fr); }
  .footer-bento { grid-template-columns: 1fr; gap: 28px; }

  .form-group input,
  .form-group textarea,
  .form-group select { font-size: 16px; }

  .charity-modal { align-items: flex-end; padding: 0; }
  .charity-modal .modal-box {
    width: 100%;
    max-width: none;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding-bottom: calc(28px + var(--safe-bottom));
  }
  .charity-modal .modal-actions { flex-direction: column; }
  .charity-modal .modal-actions .btn-primary,
  .charity-modal .modal-actions .btn-outline { width: 100%; }

  .glass-card:hover { transform: none; }
}

@media (max-width: 390px) {
  .site-title p { display: none; }
  .honor-glow { grid-template-columns: 1fr; }
}
