@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700&family=Noto+Sans:wght@300;400;500;700&display=swap');

/* ===== 重置与基础 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  font-size: 16px;
}

body {
  font-family: 'Figtree', 'Noto Sans', system-ui, -apple-system, sans-serif;
  background: #fff;
  color: #000;
  line-height: 1.6;
  overflow-x: hidden;
}

ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== 全局变量 ===== */
:root {
  --black: #000000;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e0e0e0;
  --gray-400: #999999;
  --gray-700: #333333;
  --nav-h: 72px;
  --accent: #1a1a1a;
  --radius: 4px;
  --transition: 0.3s ease;
}

/* ===== 全屏遮罩菜单 ===== */
.fullscreen-menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.fullscreen-menu.is-open {
  opacity: 1;
  pointer-events: all;
}
.menu-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 8px;
}
.menu-close span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: transform 0.2s;
}
.menu-close span:first-child { transform: rotate(45deg) translate(1px, 1px); }
.menu-close span:last-child  { transform: rotate(-45deg) translate(1px, -1px); }

.fullscreen-nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.fs-nav-link {
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  padding: 10px 20px;
  display: block;
  transition: opacity var(--transition);
  min-height: 44px;
  line-height: 1.3;
}
.fs-nav-link:hover { opacity: 0.6; }

.fs-brand {
  position: absolute;
  bottom: 32px;
  left: 32px;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  opacity: 0.4;
  text-transform: uppercase;
}

/* ===== 顶部导航 ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 2px solid var(--black);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 24px;
  gap: 16px;
}

.header-aside {
  display: flex;
  align-items: center;
}
.header-left { justify-content: flex-start; }
.header-right { justify-content: flex-end; gap: 12px; }

.header-aside nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.header-aside nav ul li a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 10px 10px;
  display: block;
  min-height: 44px;
  line-height: 24px;
  text-transform: uppercase;
  transition: opacity var(--transition);
  white-space: nowrap;
}
.header-aside nav ul li a:hover { opacity: 0.5; }

.header-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.logo-mark { height: 36px; width: auto; }

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 8px;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  align-items: center;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: transform var(--transition);
}

/* ===== Hero ===== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: var(--black);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: var(--nav-h);
}

/* 斜切色带 */
.hero-diagonal {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    118deg,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.92) 52%,
    rgba(0,0,0,0.1) 52.5%,
    transparent 100%
  );
  pointer-events: none;
}

/* 双图错位拼贴 */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.hero-img-wrap { overflow: hidden; position: relative; }
.hero-img-placeholder {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.hero-img-placeholder-a {
  background: linear-gradient(160deg, #111 0%, #2a2a2a 100%);
  transform: translateY(5%);
}
.hero-img-placeholder-b {
  background: linear-gradient(160deg, #1e1e1e 0%, #0a0a0a 100%);
  transform: translateY(-5%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 48px 56px 48px 32px;
  text-align: right;
  color: var(--white);
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 16px;
}
.hero-h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-lead {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 32px;
  max-width: 420px;
  margin-left: auto;
}
.hero-cta {
  display: inline-block;
  background: var(--white);
  color: var(--black);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  min-height: 48px;
  line-height: 1.2;
  transition: background var(--transition), color var(--transition);
  border-radius: var(--radius);
}
.hero-cta:hover {
  background: var(--black);
  color: var(--white);
  outline: 2px solid var(--white);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  writing-mode: horizontal-tb;
}

/* ===== 主体布局 ===== */
.site-main {
  background: var(--white);
  padding: 64px 24px;
}
.main-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
}
.main-article { min-width: 0; }
.content-section { min-width: 0; }

/* ===== 正文排版（印刷感）===== */
.content-section h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 56px;
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--black);
  line-height: 1.3;
}
.content-section h2:first-child { margin-top: 0; }

.content-section p.subtitle,
.content-section p.subhead,
.content-section p.lead,
.content-section p.desc {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--gray-700);
  margin-bottom: 20px;
  line-height: 1.7;
}

.content-section h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 8px;
}
.content-section p {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 16px;
  color: var(--gray-700);
}
.content-section ul,
.content-section ol {
  margin: 0 0 16px 20px;
  color: var(--gray-700);
}
.content-section li { margin-bottom: 6px; line-height: 1.6; }

/* 首字下沉（div 开头）*/
.content-section > div:first-of-type > p:first-of-type::first-letter,
.content-section p.drop-cap::first-letter {
  font-size: 3.5em;
  font-weight: 700;
  float: left;
  line-height: 0.8;
  margin: 4px 8px 0 0;
  color: var(--black);
}

/* Pull quote */
.content-section blockquote {
  border-left: 5px solid var(--black);
  margin: 32px 0;
  padding: 16px 24px;
  background: var(--gray-100);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--black);
  border-radius: var(--radius);
}

.content-section a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.content-section a:hover { opacity: 0.6; }

/* 卡片样式（正文内 .card 或生成的子页列表）*/
.content-section .card,
.card {
  border-bottom: 3px solid var(--black);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--gray-100);
  margin-bottom: 20px;
}

/* 分栏文字（印刷感）*/
@media (min-width: 768px) {
  .content-section .multi-col {
    column-count: 2;
    column-gap: 40px;
  }
}

/* 区块分割 */
.content-section div {
  padding-top: 16px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--gray-200);
}
.content-section div:last-of-type { border-bottom: none; }

/* ===== 侧边栏 ===== */
.sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.sidebar-block {
  border-top: 3px solid var(--black);
  padding-top: 16px;
}
.sidebar-title,
.sidebar-notice-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.sidebar-block p.subtitle {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 14px;
  line-height: 1.5;
}
.sidebar-nav li {
  border-bottom: 1px solid var(--gray-200);
}
.sidebar-nav li:last-child { border-bottom: none; }
.sidebar-nav li a {
  display: block;
  padding: 10px 4px;
  font-size: 0.875rem;
  font-weight: 500;
  min-height: 40px;
  line-height: 1.4;
  transition: opacity var(--transition);
}
.sidebar-nav li a:hover { opacity: 0.55; }

.notice-list { padding-left: 0; }
.notice-list li {
  font-size: 0.82rem;
  color: var(--gray-700);
  line-height: 1.6;
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-200);
}
.notice-list li:last-child { border-bottom: none; }
.notice-list li::before {
  content: "— ";
  font-weight: 700;
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 0;
}
.footer-brand-row {
  padding: 40px 40px 0;
  overflow: hidden;
}
.footer-super-brand {
  display: block;
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(255,255,255,0.08);
  white-space: nowrap;
  overflow: hidden;
  user-select: none;
}
.footer-main-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 24px 40px 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.footer-logo-wrap { flex-shrink: 0; }
.footer-logo-text {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.footer-logo-img img { height: 36px; width: auto; }

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  justify-content: center;
}
.footer-nav ul li a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  padding: 8px 4px;
  min-height: 40px;
  display: block;
  line-height: 24px;
  transition: color var(--transition);
}
.footer-nav ul li a:hover { color: var(--white); }

.footer-copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
  text-align: right;
}

/* ===== scroll-margin-top for sections ===== */
div[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }

/* ===== 动效：Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-stagger .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger .reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger .reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger .reveal:nth-child(6) { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .fullscreen-menu { transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .main-inner {
    grid-template-columns: 1fr 260px;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .site-header {
    grid-template-columns: 1fr auto 44px;
    padding: 0 16px;
    height: var(--nav-h);
  }
  .header-left { display: none; }
  .header-right nav { display: none; }
  .header-right { gap: 8px; }

  .hero-content {
    padding: 32px 20px;
    text-align: right;
    max-width: 100%;
  }
  .hero-lead { max-width: 100%; }

  .main-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .sidebar {
    position: static;
    border-top: 3px solid var(--black);
    padding-top: 32px;
  }

  .footer-main-row {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 20px 20px 28px;
    gap: 16px;
  }
  .footer-copy { text-align: center; }
  .footer-nav ul { justify-content: center; }
  .footer-brand-row { padding: 24px 20px 0; }

  .site-main { padding: 40px 16px; }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: 1.9rem; }
  .content-section h2 { font-size: 1.3rem; }
  .fs-nav-link { font-size: 1.4rem; }
}

button[aria-expanded]{min-width:44px;min-height:44px}
