:root {
  --bg: #0b1014;
  --panel: #141b21;
  --ink: #eef2f4;
  --muted: #aeb8bf;
  --line: rgba(255, 255, 255, 0.12);
  --warm: #c49a6c;
  --cool: #7bc6bf;
  --sand: #f4efe8;
  --white: #fbfcfd;
  --dark-ink: #12171b;
  --radius: 8px;
  --shadow: 0 28px 80px rgba(8, 12, 16, 0.2);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--white);
  color: var(--dark-ink);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 2vw, 28px);
  min-height: 73px;
  padding: 14px clamp(18px, 2.35vw, 34px);
  background: rgba(9, 13, 17, 0.82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  justify-self: start;
}

.brand-logo {
  width: 132px;
  height: auto;
  flex: 0 0 auto;
  padding: 4px 8px 5px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.brand-text strong,
.brand-text em {
  display: block;
  color: var(--ink);
}

.brand-text strong {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.brand-text em {
  font-style: normal;
  font-size: 11px;
  color: rgba(238, 242, 244, 0.7);
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  min-width: 0;
  gap: clamp(8px, 0.9vw, 15px);
}

.nav-link {
  flex: 0 0 auto;
  color: rgba(238, 242, 244, 0.76);
  font-size: clamp(11px, 0.78vw, 12px);
  line-height: 1;
  white-space: nowrap;
  padding: 10px 0;
  border-bottom: 1px solid transparent;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
  border-color: rgba(196, 154, 108, 0.7);
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--ink);
}

.inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: calc(100svh - 73px);
  background-position: center;
  background-size: cover;
  color: var(--ink);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 12, 16, 0.78) 0%, rgba(8, 12, 16, 0.48) 42%, rgba(8, 12, 16, 0.18) 100%),
    linear-gradient(180deg, rgba(8, 12, 16, 0.12) 0%, rgba(8, 12, 16, 0.48) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 73px);
  padding: 64px 0 72px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cool);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow em {
  display: inline-block;
  margin-left: 10px;
  color: rgba(238, 242, 244, 0.58);
  font-style: normal;
  text-transform: none;
}

.band-white .eyebrow em,
.band-light .eyebrow em,
.band-sand .eyebrow em {
  color: #7b858c;
}

h1,
h2,
h3,
blockquote {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 5.6vw, 78px);
  line-height: 1.04;
  font-weight: 600;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.12;
  font-weight: 600;
}

h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.25;
}

p {
  margin: 0;
  line-height: 1.82;
  font-size: 14px;
}

.hero-title-en {
  margin-top: 18px;
  max-width: 640px;
  color: rgba(238, 242, 244, 0.7);
  font-size: clamp(18px, 2vw, 27px);
  line-height: 1.28;
}

.hero-summary {
  margin-top: 24px;
  font-size: 16px;
  max-width: 660px;
  color: rgba(238, 242, 244, 0.88);
}

.hero-summary-en {
  margin-top: 12px;
  max-width: 620px;
  color: rgba(238, 242, 244, 0.66);
  font-size: 14px;
  line-height: 1.65;
}

.hero-thesis {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-top: 26px;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-thesis p:first-child {
  color: rgba(238, 242, 244, 0.84);
}

.hero-thesis p:last-child {
  color: rgba(238, 242, 244, 0.58);
  font-size: 13px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14px;
}

.btn-primary {
  background: var(--warm);
  color: #121212;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--ink);
}

.band {
  display: flex;
  align-items: center;
  min-height: 78svh;
  padding: 96px 0;
}

.band-white {
  background: var(--white);
}

.band-light {
  background: #f3f5f6;
}

.band-sand {
  background: var(--sand);
}

.band-dark {
  background: var(--bg);
  color: var(--ink);
}

.section-head {
  display: grid;
  gap: 16px;
  max-width: 940px;
  margin-bottom: 40px;
}

.section-head p {
  color: #5f6c76;
}

.section-en {
  max-width: 760px;
  color: #70808a;
  font-size: clamp(17px, 1.9vw, 23px);
  line-height: 1.42;
}

.section-lead {
  max-width: 900px;
  color: #2b353c;
  font-size: 15px;
  line-height: 1.92;
}

.section-lead-en,
.column-en,
.feature-en,
.quote-en {
  color: #75818a;
  font-size: 13px;
  line-height: 1.7;
}

.band-dark .section-lead {
  color: rgba(238, 242, 244, 0.84);
}

.band-dark .section-en,
.band-dark .section-lead-en,
.band-dark .feature-en,
.band-dark .quote-en {
  color: rgba(238, 242, 244, 0.62);
}

.band-dark .section-head p,
.band-dark .feature-copy > p {
  color: rgba(238, 242, 244, 0.76);
}

.stat-grid,
.card-grid,
.link-grid,
.article-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.stat-card,
.info-card,
.page-link-card,
.article-card {
  min-height: 180px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(18, 23, 27, 0.08);
  border-radius: var(--radius);
}

.stat-card,
.info-card,
.article-card {
  display: grid;
  align-content: start;
  gap: 12px;
}

.card-en {
  display: inline-block;
  color: #8b6b44;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.wide-note {
  display: grid;
  gap: 10px;
  max-width: 860px;
  margin: -16px 0 34px;
  padding-left: 18px;
  border-left: 2px solid rgba(196, 154, 108, 0.7);
  color: #44525b;
}

.wide-note p:last-child {
  color: #75818a;
  font-size: 13px;
}

.page-link-card {
  display: grid;
  align-content: space-between;
}

.page-link-card strong {
  margin-top: 22px;
  font-size: 12px;
  color: #5d7078;
  font-weight: 600;
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 52px;
  align-items: center;
}

.feature-copy {
  display: grid;
  gap: 18px;
}

.feature-media {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.feature-media img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.bullet-list {
  margin: 4px 0 0;
  padding-left: 0;
  display: grid;
  gap: 12px;
  color: rgba(238, 242, 244, 0.84);
  font-size: 14px;
  list-style: none;
}

.bullet-list li {
  display: grid;
  gap: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bullet-list em {
  color: rgba(238, 242, 244, 0.5);
  font-style: normal;
  font-size: 12px;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid rgba(18, 23, 27, 0.1);
}

.timeline-item:first-child {
  border-top: 0;
}

.timeline-index {
  color: var(--warm);
  font-size: 12px;
  font-weight: 600;
}

.text-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.text-columns > div {
  display: grid;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(18, 23, 27, 0.1);
}

.quote-wrap {
  max-width: 980px;
}

blockquote {
  margin: 18px 0 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.4;
  color: rgba(238, 242, 244, 0.92);
}

.site-footer {
  background: #0c1014;
  color: rgba(238, 242, 244, 0.76);
  padding: 30px 0 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.footer-inner strong {
  display: block;
  color: var(--ink);
  margin-bottom: 10px;
}

.footer-brand img {
  width: 132px;
  height: auto;
  margin-bottom: 14px;
  padding: 5px 9px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  max-width: 500px;
  justify-content: flex-end;
}

@media (max-width: 1390px) {
  .brand {
    max-width: 150px;
  }

  .brand-text {
    display: none;
  }

  .brand-logo {
    width: 124px;
  }
}

@media (max-width: 1240px) {
  .site-header {
    gap: 16px;
    padding-inline: 20px;
  }

  .brand-logo {
    width: 116px;
  }

  .site-nav {
    gap: 9px;
  }

  .nav-link {
    font-size: 11px;
  }
}

@media (max-width: 1160px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 73px;
    right: 16px;
    left: 16px;
    display: none;
    justify-content: start;
    align-items: stretch;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 18px;
    background: rgba(10, 14, 18, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: var(--shadow);
    max-height: calc(100svh - 110px);
    overflow: auto;
  }

  body.menu-open .site-nav {
    display: grid;
  }

  .nav-link {
    padding: 13px 4px;
    font-size: 13px;
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .feature-layout,
  .text-columns,
  .stat-grid,
  .card-grid,
  .link-grid,
  .article-list,
  .footer-inner {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .feature-layout {
    gap: 30px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 16px 18px;
  }

  .brand {
    gap: 10px;
    max-width: none;
  }

  .brand-logo {
    width: 104px;
    padding: 4px 7px 5px;
  }

  .brand-text strong {
    font-size: 12px;
  }

  .brand-text em {
    display: none;
  }

  .inner {
    width: min(100% - 28px, 1180px);
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    padding: 56px 0 64px;
    align-items: end;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(8, 12, 16, 0.26) 0%, rgba(8, 12, 16, 0.76) 72%, rgba(8, 12, 16, 0.92) 100%);
  }

  .hero-summary {
    font-size: 15px;
  }

  .hero-title-en {
    font-size: 18px;
  }

  .hero-thesis {
    padding-top: 18px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .band {
    display: block;
    min-height: auto;
    padding: 56px 0;
  }

  .stat-card,
  .info-card,
  .page-link-card,
  .article-card {
    min-height: auto;
    padding: 20px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .section-head {
    gap: 12px;
    margin-bottom: 28px;
  }

  .section-lead {
    font-size: 14px;
    line-height: 1.82;
  }

  .eyebrow em {
    display: block;
    margin: 5px 0 0;
  }

  .feature-media img {
    aspect-ratio: 16 / 10;
  }
}

/* Premium motion layer */
.site-header {
  transition: padding 360ms ease, background 360ms ease, border-color 360ms ease, box-shadow 360ms ease;
}

.site-header.is-scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(9, 13, 17, 0.92);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

.brand-logo,
.nav-link,
.btn,
.timeline-item {
  transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease, background 320ms ease, color 320ms ease;
}

.brand:hover .brand-logo,
.nav-link:hover,
.btn:hover {
  transform: translateY(-2px);
}

.hero {
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% 44% -20% -12%;
  z-index: 0;
  background: linear-gradient(110deg, rgba(123, 198, 191, 0.16), rgba(196, 154, 108, 0.08) 42%, transparent 72%);
  filter: blur(18px);
  transform: skewX(-10deg);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, black 18%, black 70%, transparent);
  pointer-events: none;
}

.hero-overlay {
  z-index: 0;
}

.hero-copy {
  will-change: transform;
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.28) 45%, transparent 72%);
  transform: translateX(-120%);
  transition: transform 720ms ease;
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn-primary {
  box-shadow: 0 18px 44px rgba(196, 154, 108, 0.22);
}

.band {
  position: relative;
  overflow: hidden;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, rgba(196, 154, 108, 0.08), transparent 34%, rgba(123, 198, 191, 0.06));
  transition: opacity 700ms ease;
}

.band.motion-in::before {
  opacity: 1;
}

.stat-grid,
.card-grid,
.link-grid,
.article-list {
  grid-auto-flow: dense;
}

.stat-card,
.info-card,
.page-link-card,
.article-card {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), border-color 520ms ease, box-shadow 520ms ease, background 520ms ease;
}

.stat-card::after,
.info-card::after,
.page-link-card::after,
.article-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  opacity: 0;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(196, 154, 108, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.4), transparent 42%);
  transition: opacity 420ms ease;
  pointer-events: none;
}

.stat-card:hover,
.info-card:hover,
.page-link-card:hover,
.article-card:hover {
  transform: translateY(-8px);
  border-color: rgba(196, 154, 108, 0.28);
  box-shadow: 0 28px 70px rgba(20, 27, 33, 0.12);
  background: rgba(255, 255, 255, 0.92);
}

.stat-card:hover::after,
.info-card:hover::after,
.page-link-card:hover::after,
.article-card:hover::after {
  opacity: 1;
}

.feature-layout {
  min-height: 82svh;
}

.feature-media {
  transform: translateZ(0);
}

.feature-media img {
  filter: saturate(0.9) contrast(1.08);
  transform: scale(1.02);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1), filter 900ms ease;
}

.feature-media:hover img {
  transform: scale(1.08);
  filter: saturate(1.02) contrast(1.12);
}

.timeline-item:hover {
  transform: translateX(8px);
  border-color: rgba(196, 154, 108, 0.35);
}

.site-footer {
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(196, 154, 108, 0.12), transparent 40%, rgba(123, 198, 191, 0.1));
  opacity: 0.35;
  pointer-events: none;
}

.footer-inner {
  position: relative;
}

@media (max-width: 1080px) {
  .feature-layout {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .hero,
  .hero-inner {
    min-height: 84svh;
  }

  .hero {
    background-position: center top;
  }

  .stat-card:hover,
  .info-card:hover,
  .page-link-card:hover,
  .article-card:hover,
  .timeline-item:hover,
  .btn:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
