@import url('https://fonts.googleapis.com/css2?family=Didact+Gothic&family=Poiret+One&display=swap');

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: #000;
  color: #fff;
}

body.kpkr-body {
  font-family: 'Didact Gothic', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.7;
  overflow-x: hidden;
  padding-bottom: 72px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== 页面包装 ===== */
.page-wrapper {
  min-height: 100vh;
  background: #000;
}

/* ===== 底部固定导航 aside > nav > ul > li > a ===== */
.nav-aside {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border-top: 2px solid #000;
}

.bottom-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.nav-right {
  justify-content: flex-end;
}

.nav-left li,
.nav-right li {
  display: flex;
}

.nav-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  min-height: 40px;
  background: #000;
  color: #fff;
  border-radius: 999px;
  font-family: 'Poiret One', serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  text-align: center;
}

.nav-pill:hover,
.nav-pill:focus {
  background: #333;
  color: #fff;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.nav-brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.nav-logo-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 8px;
}

.brand-text {
  font-family: 'Poiret One', serif;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  letter-spacing: 0.08em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
}

.brand-logo {
  height: 36px;
  width: auto;
}

/* ===== Hero 区块 ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #000;
  overflow: hidden;
  scroll-margin-top: 72px;
}

.hero-slash {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: #111;
  clip-path: polygon(18% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px 120px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.eyebrow-label {
  display: inline-block;
  font-family: 'Didact Gothic', sans-serif;
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #aaa;
  border-left: 3px solid #fff;
  padding-left: 12px;
}

.hero-title {
  font-family: 'Poiret One', serif;
  font-size: clamp(48px, 10vw, 120px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #fff;
  max-width: 800px;
}

.hero-sub {
  font-family: 'Didact Gothic', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #ccc;
  max-width: 480px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  min-height: 48px;
  background: #fff;
  color: #000;
  font-family: 'Poiret One', serif;
  font-size: 16px;
  letter-spacing: 0.12em;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
  align-self: flex-start;
}

.hero-cta:hover,
.hero-cta:focus {
  background: #ddd;
  color: #000;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ===== 主内容区 main > article > section ===== */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.main-article {
  padding: 80px 0;
}

.content-section {
  width: 100%;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.content-primary {
  width: 100%;
}

/* ===== 正文内容样式 ===== */
.content-primary h2 {
  font-family: 'Poiret One', serif;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 64px 0 20px;
  padding-top: 32px;
  border-top: 1px solid #333;
}

.content-primary h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.content-primary h3 {
  font-family: 'Poiret One', serif;
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.2;
  color: #eee;
  margin: 40px 0 16px;
}

.content-primary h4 {
  font-family: 'Didact Gothic', sans-serif;
  font-size: 18px;
  color: #ddd;
  margin: 28px 0 12px;
  letter-spacing: 0.05em;
}

.content-primary p {
  font-size: 17px;
  line-height: 1.85;
  color: #ccc;
  margin-bottom: 20px;
  max-width: 72ch;
}

.content-primary > section:first-of-type > p:first-of-type::first-letter,
.content-primary section p:first-of-type::first-letter {
  font-family: 'Poiret One', serif;
  font-size: 4.5em;
  line-height: 0.8;
  float: left;
  margin: 8px 12px 0 0;
  color: #fff;
  font-weight: 400;
}

.content-primary ul,
.content-primary ol {
  padding-left: 24px;
  margin-bottom: 20px;
  color: #ccc;
  font-size: 17px;
  line-height: 1.8;
}

.content-primary li {
  margin-bottom: 8px;
}

.content-primary blockquote {
  border-left: 4px solid #fff;
  padding: 16px 24px;
  margin: 32px 0;
  background: #111;
  font-family: 'Poiret One', serif;
  font-size: clamp(18px, 2.5vw, 26px);
  color: #eee;
  font-style: italic;
  line-height: 1.5;
}

.content-primary blockquote p {
  color: #eee;
  max-width: none;
  margin: 0;
  font-size: inherit;
}

.content-primary a {
  color: #fff;
  border-bottom: 1px solid #555;
  transition: border-color 0.2s;
}

.content-primary a:hover,
.content-primary a:focus {
  border-color: #fff;
  outline: none;
}

.content-primary strong {
  color: #fff;
  font-weight: 700;
}

.content-primary em {
  color: #ddd;
}

.content-primary code {
  background: #1a1a1a;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 14px;
  color: #eee;
}

.content-primary pre {
  background: #111;
  padding: 20px;
  overflow-x: auto;
  border-radius: 4px;
  margin: 24px 0;
}

.content-primary figure {
  margin: 32px 0;
}

.content-primary figcaption {
  font-size: 13px;
  color: #888;
  margin-top: 8px;
  letter-spacing: 0.05em;
}

.content-primary section {
  scroll-margin-top: 80px;
  padding-top: 16px;
}

.content-primary .pull-quote {
  font-family: 'Poiret One', serif;
  font-size: clamp(22px, 3.5vw, 40px);
  line-height: 1.3;
  color: #fff;
  text-align: center;
  padding: 48px 24px;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  margin: 48px 0;
}

@supports (column-count: 2) {
  .content-primary .multi-col {
    column-count: 2;
    column-gap: 40px;
  }
}

.content-primary small {
  display: block;
  font-family: 'Didact Gothic', sans-serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== 页脚 ===== */
.site-footer {
  background: #0a0a0a;
  border-top: 2px solid #222;
  padding-bottom: 8px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 48px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #888;
}

.footer-col small {
  display: block;
  font-family: 'Didact Gothic', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #666;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-nav-title,
.footer-contact-title {
  font-family: 'Poiret One', serif;
  font-size: 20px;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list a {
  font-size: 14px;
  color: #888;
  transition: color 0.2s;
  padding: 4px 0;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.footer-nav-list a:hover,
.footer-nav-list a:focus {
  color: #fff;
}

.footer-contact-item {
  font-size: 14px;
  color: #888;
  margin-bottom: 12px;
}

.footer-contact-item a {
  color: #aaa;
  transition: color 0.2s;
}

.footer-contact-item a:hover {
  color: #fff;
}

.footer-subscribe {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.sub-input {
  flex: 1;
  background: #111;
  border: 1px solid #333;
  color: #fff;
  padding: 10px 14px;
  font-family: 'Didact Gothic', sans-serif;
  font-size: 14px;
  border-radius: 2px;
  min-height: 44px;
  outline: none;
}

.sub-input::placeholder {
  color: #555;
}

.sub-input:focus {
  border-color: #666;
}

.sub-btn {
  background: #fff;
  color: #000;
  border: none;
  padding: 10px 18px;
  font-family: 'Poiret One', serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  cursor: pointer;
  border-radius: 2px;
  min-height: 44px;
  transition: background 0.2s;
  white-space: nowrap;
}

.sub-btn:hover,
.sub-btn:focus {
  background: #ddd;
}

/* 页脚底栏 */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  border-top: 1px solid #1a1a1a;
  flex-wrap: wrap;
}

.footer-bottom-logo a {
  font-family: 'Poiret One', serif;
  font-size: 16px;
  color: #555;
  letter-spacing: 0.1em;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
}

.footer-bottom-logo a:hover {
  color: #fff;
}

.footer-bottom-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom-nav li a {
  font-size: 13px;
  color: #555;
  padding: 4px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.footer-bottom-nav li a:hover {
  color: #fff;
}

.footer-copyright {
  font-size: 13px;
  color: #444;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .hero-inner {
    padding: 60px 20px 100px;
  }

  .hero-slash {
    width: 100%;
    clip-path: polygon(0% 75%, 100% 55%, 100% 100%, 0% 100%);
    height: 100%;
  }

  .main-content {
    padding: 0 16px;
  }

  .main-article {
    padding: 48px 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 16px 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
  }

  .footer-bottom-nav {
    gap: 12px;
  }

  .footer-subscribe {
    flex-direction: column;
  }

  .sub-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .bottom-nav {
    height: 60px;
    padding: 0 4px;
    gap: 0;
  }

  .nav-pill {
    font-size: 10px;
    padding: 6px 7px;
    min-height: 44px;
    border-radius: 999px;
  }

  .nav-brand {
    padding: 0 6px;
  }

  .brand-text {
    font-size: 13px;
    min-height: 44px;
    padding: 0 2px;
  }

  .nav-logo-link {
    min-height: 44px;
    padding: 0 2px;
  }

  body.kpkr-body {
    padding-bottom: 64px;
  }

  .content-primary p {
    font-size: 16px;
  }

  .content-primary ul,
  .content-primary ol {
    font-size: 16px;
  }
}

/* ===== 分区 scroll-margin ===== */
section[id] {
  scroll-margin-top: 80px;
}

/* ===== 装饰线 ===== */
.deco-rule {
  border: none;
  border-top: 1px solid #222;
  margin: 48px 0;
}

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