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

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Figtree', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  background: #000;
  color: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, menu {
  list-style: none;
}

/* ===== Site Wrapper ===== */
.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #000;
  border-bottom: 1px solid #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 72px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* Brand */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1100;
  position: relative;
}

.logo-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-text {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  text-transform: none;
  white-space: nowrap;
}

/* ===== Navigation: details > summary + menu > li > a ===== */
.nav-details {
  position: static;
}

.nav-details[open] .nav-overlay {
  display: flex;
}

.nav-details[open] .hamburger-bar {
  opacity: 0;
}

.nav-details[open] .close-icon {
  display: block;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  list-style: none;
  padding: 12px;
  min-height: 48px;
  min-width: 48px;
  align-items: center;
  position: relative;
  z-index: 1100;
}

.nav-toggle::-webkit-details-marker {
  display: none;
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: opacity 0.2s;
}

.close-icon {
  display: none;
  font-size: 1.5rem;
  font-weight: 300;
  color: #fff;
  line-height: 1;
  position: absolute;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 1050;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nav-menu-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 600px;
  padding: 0 2rem;
}

.nav-menu-list li {
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.nav-menu-list li:first-child {
  border-top: 1px solid rgba(255,255,255,0.15);
}

.nav-link {
  display: block;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  padding: 1.2rem 0;
  transition: color 0.2s, letter-spacing 0.2s;
  text-align: center;
}

.nav-link:hover {
  color: #ccc;
  letter-spacing: 0.02em;
}

/* ===== Main ===== */
.site-main {
  flex: 1;
  margin-top: 72px;
}

/* ===== Wrap (正文容器: main > article.wrap > section > div) ===== */
.wrap {
  width: 100%;
}

/* ===== Hero ===== */
.hero-section {
  min-height: 70vh;
  border-bottom: 1px solid #fff;
  display: flex;
  align-items: stretch;
}

.hero-article {
  width: 100%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 4rem 6rem 0;
  gap: 1.5rem;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid #fff;
  padding: 0.4rem 0.8rem;
  color: #fff;
  align-self: flex-start;
}

.hero-h1 {
  font-size: clamp(2.5rem, 7vw, 8rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.05em;
  color: #fff;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
}

.cta-btn {
  display: inline-block;
  background: #fff;
  color: #000;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 1rem 2.5rem;
  align-self: flex-start;
  min-height: 48px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.cta-btn:hover {
  background: #e0e0e0;
  transform: translateY(-2px);
}

.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #fff;
  overflow: hidden;
}

.hero-media--empty {
  background: #111;
}

.hero-deco {
  font-size: clamp(4rem, 12vw, 14rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  color: rgba(255,255,255,0.08);
  user-select: none;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Content Section ===== */
.content-section {
  width: 100%;
}

.content-article {
  width: 100%;
}

.content-with-aside {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  align-items: start;
}

/* ===== Content Main ===== */
.content-main {
  padding: 5rem 3rem 5rem 0;
  border-right: 1px solid rgba(255,255,255,0.15);
  min-width: 0;
}

/* page.content 内容排版 */
.content-main section {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  scroll-margin-top: 90px;
}

.content-main section:last-child {
  border-bottom: none;
}

.content-main h2 {
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.5rem;
}

.content-main h2 span {
  display: inline;
}

.content-main h3 {
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #fff;
  margin: 2rem 0 1rem;
}

.content-main h3 span {
  display: inline;
}

.content-main p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.2rem;
  max-width: 68ch;
}

.content-main ul,
.content-main ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

.content-main li {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.5rem;
}

.content-main a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.content-main a:hover {
  opacity: 0.7;
}

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

.content-main em {
  font-style: italic;
  color: rgba(255,255,255,0.9);
}

.content-main blockquote {
  border-left: 3px solid #fff;
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  color: rgba(255,255,255,0.7);
  font-style: italic;
}

.content-main table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.content-main th,
.content-main td {
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.85);
}

.content-main th {
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,0.05);
}

/* ===== Aside ===== */
.content-aside {
  padding: 5rem 0 5rem 2rem;
  position: sticky;
  top: 90px;
}

.aside-inner {
  border: 1px solid rgba(255,255,255,0.2);
  padding: 1.5rem;
}

.aside-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.aside-title span {
  display: inline;
}

.aside-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.aside-nav li {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.aside-nav li:last-child {
  border-bottom: none;
}

.aside-link {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  padding: 0.7rem 0;
  transition: color 0.2s, padding-left 0.2s;
  line-height: 1.4;
}

.aside-link:hover {
  color: #fff;
  padding-left: 0.4rem;
}

/* ===== Cards (通用，内容里可能出现) ===== */
.card {
  border: 1px solid rgba(255,255,255,0.15);
  border-bottom: 3px solid #fff;
  border-radius: 4px;
  padding: 1.5rem;
  background: #0a0a0a;
  transition: transform 0.2s, border-bottom-color 0.2s;
}

.card:hover {
  transform: translateY(-3px);
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid #fff;
  background: #000;
  padding: 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand-big {
  font-size: clamp(2rem, 5vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #fff;
  line-height: 1.0;
}

.footer-desc {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 360px;
}

.footer-address {
  font-style: normal;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.5rem;
}

.footer-links-col {
  padding-top: 0.5rem;
}

.footer-links-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer-links-title span {
  display: inline;
}

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

.footer-nav-list li {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-nav-list li:first-child {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-link {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  padding: 0.75rem 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}

.footer-keywords {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  text-align: right;
}

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

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===== Prefers Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .cta-btn:hover,
  .card:hover {
    transform: none;
  }
  .nav-link,
  .aside-link,
  .footer-link,
  .cta-btn {
    transition: none;
  }
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: 1fr;
    padding: 0 1.5rem;
  }

  .hero-text {
    padding: 5rem 0 3rem;
  }

  .hero-media {
    display: none;
  }

  .content-with-aside {
    grid-template-columns: 1fr;
    padding: 0 1.5rem;
  }

  .content-main {
    padding: 3rem 0;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }

  .content-aside {
    padding: 2rem 0;
    position: static;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 1.5rem 2.5rem;
  }

  .footer-brand-big {
    font-size: clamp(2rem, 8vw, 4rem);
  }
}

@media (max-width: 600px) {
  .header-inner {
    padding: 0 1rem;
  }

  .hero-h1 {
    font-size: clamp(2.2rem, 10vw, 4rem);
  }

  .hero-text {
    padding: 4rem 0 2.5rem;
  }

  .hero-sub {
    font-size: 0.9375rem;
  }

  .cta-btn {
    padding: 0.9rem 2rem;
    align-self: stretch;
    text-align: center;
  }

  .content-main {
    padding: 2.5rem 0;
  }

  .content-main h2 {
    font-size: clamp(1.5rem, 7vw, 2.5rem);
  }

  .content-main section {
    scroll-margin-top: 80px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem 1rem;
  }

  .footer-keywords {
    text-align: left;
  }

  .footer-top {
    padding: 2.5rem 1rem 2rem;
  }

  .nav-link {
    font-size: 1.3rem;
    padding: 1rem 0;
  }
}

@media (max-width: 375px) {
  .brand-text {
    font-size: 0.9rem;
  }

  .hero-h1 {
    font-size: 2rem;
  }
}

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