:root {
  --bg: #0b0b0c;
  --panel: #111110;
  --text: #f0f0ee;
  --muted: #a3a3a0;
  --dim: #777773;
  --faint: #555552;
  --line: #2a2a28;
  --hairline: #20201e;
  --accent: #a9c6e2;
  --accent-soft: rgba(169, 198, 226, 0.09);
  --sans: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", Georgia,
    serif;
  --mono: "SFMono-Regular", "SF Mono", "JetBrains Mono", ui-monospace, Menlo,
    Consolas, monospace;
  --container: 1120px;
  --gutter: clamp(22px, 4vw, 48px);
  --header: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html.snap {
  scroll-snap-type: y mandatory;
  scroll-padding-top: var(--header);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
figure,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--text);
  color: var(--bg);
  font-size: 13px;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  background: rgba(11, 11, 12, 0.78);
  border-bottom: 1px solid var(--hairline);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: var(--header);
}

.brand img {
  width: auto;
  height: 23px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 32px);
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
}

.nav-links a.is-active::after {
  transform: scaleX(1);
}

/* Panels */
.panel {
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: calc(var(--header) + 42px) 0 56px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 44px);
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.section-head .eyebrow:last-child {
  color: var(--dim);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

/* Full-bleed hero */
.hero-panel {
  position: relative;
  overflow: hidden;
  align-items: flex-end;
  padding-bottom: clamp(64px, 8vw, 104px);
  background: radial-gradient(60% 70% at 75% 20%, #1c2029, #0b0b0c 70%);
}

.hero-bg,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg .file {
  position: absolute;
  right: 20px;
  bottom: 18px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.32);
}

.hero-scrim {
  background: linear-gradient(
    180deg,
    rgba(11, 11, 12, 0.25) 0%,
    rgba(11, 11, 12, 0.5) 50%,
    rgba(11, 11, 12, 0.94) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  max-width: 900px;
  margin: 20px 0 24px;
  font-family: var(--serif);
  font-size: clamp(58px, 9vw, 132px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-content h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.9;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-meta {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(64px, 8vw, 104px);
  z-index: 2;
  max-width: 280px;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.68);
}

.hero-meta strong {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 14px;
  line-height: 1;
  color: var(--text);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.btn-primary {
  border-color: var(--text);
  background: var(--text);
  color: var(--bg);
}

.btn-primary:hover {
  border-color: #ffffff;
  background: #ffffff;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.link-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Carousel */
.carousel {
  border-top: 1px solid var(--line);
}

.slide {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
}

.slide-media {
  position: relative;
  min-height: 52vh;
  overflow: hidden;
  background: radial-gradient(60% 70% at 65% 40%, #1d2430, #0e0e10 72%);
}

.slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-media .file,
.news-thumb .file {
  position: absolute;
  right: 14px;
  bottom: 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.35);
}

.slide-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 0;
}

.slide-copy .index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.slide-copy h3 {
  margin: 18px 0 16px;
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.slide-copy p {
  max-width: 440px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}

.slide-copy .meta {
  display: flex;
  gap: 18px;
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
}

.slide-copy .link-arrow {
  align-self: flex-start;
  margin-top: 26px;
}

.carousel-ui {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.carousel-dots button {
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--dim);
  cursor: pointer;
}

.carousel-dots button.is-active {
  border-color: var(--accent);
  color: var(--accent);
}

.carousel-arrows {
  display: flex;
  gap: 8px;
}

.carousel-arrows button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.carousel-arrows button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Home news */
.news-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.news-home {
  border-top: 1px solid var(--line);
}

.news-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
  transition: background 0.2s ease;
}

.news-card:hover {
  background: var(--panel);
}

.news-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: radial-gradient(60% 70% at 50% 50%, #20232a, #0d0d0f 72%);
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-body h3 {
  margin: 6px 0 8px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.news-card-body p {
  max-width: 620px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

.news-meta {
  display: flex;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
}

.news-meta span:last-child {
  color: var(--accent);
}

.news-arrow {
  color: var(--dim);
  transition: color 0.2s ease, transform 0.2s ease;
}

.news-card:hover .news-arrow {
  color: var(--accent);
  transform: translate(3px, -3px);
}

/* About / Join */
.about-panel .about-content {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: start;
}

.about-content h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 4.6vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.about-copy p {
  max-width: 620px;
  font-size: 16px;
  line-height: 1.95;
  color: var(--muted);
}

.about-copy p + p {
  margin-top: 16px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.stat {
  padding: 20px 22px 18px 0;
  border-right: 1px solid var(--hairline);
}

.stat:last-child {
  border-right: 0;
}

.stat .num {
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
}

.stat .label {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--dim);
}

.join-panel .join-content {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: end;
}

.join-content h2 {
  font-family: var(--serif);
  font-size: clamp(42px, 5.4vw, 78px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.join-content p {
  max-width: 620px;
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.95;
  color: var(--muted);
}

.join-side {
  padding: 6px 0;
}

.join-side h3 {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

.join-side li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 14px;
  color: var(--muted);
}

.join-side li span {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--faint);
}

.join-mail {
  margin-top: 24px;
}

.join-note {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--faint);
}

/* Footer */
.site-footer {
  padding: 48px 0 30px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
}

.footer-mark {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
}

.footer-line {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--muted);
}

.eco-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px;
}

.eco-links a,
.eco-links span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 12px;
  color: var(--muted);
}

.eco-links a:hover {
  color: var(--accent);
}

.eco-links a::after {
  content: "↗";
  font-size: 10px;
  color: var(--faint);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--faint);
}

/* News archive / article pages */
.news-page,
.article-page {
  padding-top: 64px;
  padding-bottom: 80px;
}

.news-page-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  margin-bottom: 32px;
  border-top: 1px solid var(--line);
}

.news-page-head h1,
.article-head h1 {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.archive {
  border-top: 1px solid var(--line);
}

.archive-item {
  display: grid;
  grid-template-columns: 120px 90px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
}

.archive-item:hover h2 {
  color: var(--accent);
}

.archive-item time,
.archive-item .tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
}

.archive-item .tag {
  color: var(--accent);
}

.archive-item h2 {
  font-size: 20px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.archive-item p {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--muted);
}

.article-head {
  max-width: 860px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.article-meta {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
}

.article-meta span:first-child {
  color: var(--accent);
}

.article-body {
  max-width: 780px;
  margin-top: 44px;
}

.article-body p {
  font-size: 16.5px;
  line-height: 1.95;
  color: var(--muted);
}

.article-body p + p {
  margin-top: 18px;
}

.article-body h2 {
  margin: 42px 0 14px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.article-body ul {
  margin: 16px 0 0 20px;
  list-style: disc;
}

.article-body li {
  margin: 7px 0;
  font-size: 15.5px;
  color: var(--muted);
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  max-width: 780px;
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .slide,
  .about-panel .about-content,
  .join-panel .join-content,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .slide-media {
    min-height: 38vh;
  }

  .news-card {
    grid-template-columns: 150px minmax(0, 1fr) auto;
    gap: 18px;
  }

  .hero-meta {
    display: none;
  }

  .news-page-head,
  .archive-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 760px) {
  html.snap {
    scroll-snap-type: y proximity;
  }

  .nav {
    gap: 14px;
  }

  .brand img {
    height: 20px;
  }

  .nav-links {
    gap: 15px;
  }

  .nav-links a {
    font-size: 12.5px;
  }

  .panel {
    min-height: auto;
    padding-top: 84px;
    padding-bottom: 48px;
  }

  .hero-panel {
    min-height: 100svh;
    padding-bottom: 56px;
  }

  .hero-content h1 {
    font-size: clamp(52px, 16vw, 84px);
  }

  .hero-sub {
    font-size: 15px;
  }

  .hero-meta {
    display: none;
  }

  .section-title {
    font-size: 32px;
  }

  .slide-media {
    min-height: 34vh;
  }

  .slide-copy {
    padding: 0;
  }

  .slide-copy h3 {
    font-size: 34px;
  }

  .carousel-ui {
    flex-wrap: wrap;
  }

  .news-card {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "thumb arrow"
      "body body";
    gap: 10px 16px;
  }

  .news-thumb {
    grid-area: thumb;
    max-width: 200px;
  }

  .news-card-body {
    grid-area: body;
  }

  .news-arrow {
    grid-area: arrow;
  }

  .news-card-body h3 {
    font-size: 18px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stat {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .eco-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .archive-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
  }
}


/* Interaction sizing and motion */
.nav-links a {
  font-size: 15px;
  padding: 8px 0;
}

.btn {
  height: 50px;
  padding: 0 26px;
  font-size: 16px;
}

.link-arrow {
  font-size: 16px;
}

.carousel-dots button {
  height: 36px;
  padding: 0 12px;
  font-size: 12px;
}

.carousel-arrows button {
  width: 44px;
  height: 44px;
  font-size: 16px;
}

.news-meta {
  font-size: 12px;
}

.news-card-body h3 {
  font-size: 22px;
}

.join-side li {
  padding: 16px 0;
  font-size: 16px;
}

.join-side li span {
  font-size: 11px;
}

.eco-links a,
.eco-links span {
  padding: 10px 0;
  font-size: 14px;
}

.footer-bottom {
  font-size: 12px;
}

.hero-meta {
  font-size: 12px;
}

.reveal {
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

html.reveal-ready .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(26px);
}

.hero-content .eyebrow,
.hero-content h1,
.hero-sub,
.hero-actions {
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-content h1 {
  animation-delay: 0.08s;
}

.hero-sub {
  animation-delay: 0.16s;
}

.hero-actions {
  animation-delay: 0.24s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 760px) {
  .nav-links a {
    font-size: 14px;
    padding: 6px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.reveal-ready .reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
  }

  .hero-content .eyebrow,
  .hero-content h1,
  .hero-sub,
  .hero-actions {
    animation: none;
  }
}


/* Unified non-linear motion */
*, *::before, *::after {
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
}


.slide.is-active {
  animation: slide-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes slide-in {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: none; }
}


/* HarmonyOS Sans + unified light/dark system */

@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("assets/fonts/HarmonyOS_SansSC_Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}



:root {
  --font: "HarmonyOS Sans SC", "HarmonyOS Sans", -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --bg: #f9fafb;
  --panel: #ffffff;
  --text: #1f2937;
  --muted: #4b5563;
  --dim: #6b7280;
  --faint: #9ca3af;
  --line: #e5e7eb;
  --hairline: #eef1f5;
  --accent: #1a56db;
  --accent-soft: rgba(26, 86, 219, 0.08);
  --header-bg: rgba(249, 250, 251, 0.92);
  --sans: var(--font);
  --serif: var(--font);
  --mono: var(--font);
  color-scheme: light dark;
}



html,
body,
button,
input,
textarea,
select {
  font-family: var(--font) !important;
}

body {
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

.site-header {
  background: var(--header-bg);
  border-bottom-color: var(--line);
}

.brand img {
  filter: invert(1) brightness(0.2);
}



.nav-links a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--accent);
}

.nav-links a::after {
  background: var(--accent);
}

.panel {
  background: var(--bg);
}

.section-head {
  border-top-color: var(--line);
}

.section-title {
  font-family: var(--font);
  font-size: clamp(28px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-panel {
  color: #ffffff;
}

.hero-content h1 {
  color: #ffffff;
  font-family: var(--font);
  font-weight: 700;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.72);
}

.hero-meta {
  color: rgba(255, 255, 255, 0.68);
}

.hero-meta strong {
  color: #93c5fd;
}

.hero-actions .btn {
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.hero-actions .btn-primary {
  border-color: #3b82f6;
  background: #3b82f6;
  color: #ffffff;
}

.carousel,
.carousel-ui {
  border-color: var(--line);
}

.slide-media,
.news-thumb {
  background: #0f172a;
}

.slide-copy h3,
.news-card-body h3 {
  color: var(--text);
}

.slide-copy p,
.news-card-body p {
  color: var(--muted);
}

.slide-copy .index,
.slide-copy .meta,
.news-meta {
  color: var(--dim);
}

.news-card {
  border-bottom-color: var(--hairline);
}

.news-card:hover {
  background: var(--panel);
}

.about-copy p,
.join-content p {
  color: var(--muted);
}

.stats {
  border-top-color: var(--line);
}

.stat {
  border-right-color: var(--hairline);
}

.btn {
  min-height: 48px;
  border-color: var(--line);
  color: var(--text);
}

.btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.btn-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  border-color: var(--accent);
  background: var(--accent);
}

.link-arrow {
  border-bottom-color: var(--line);
  color: var(--muted);
}

.link-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.site-footer {
  background: var(--bg);
  border-top-color: var(--line);
}

.footer-mark {
  color: var(--text);
}

.footer-line {
  color: var(--muted);
}

.eco-links a,
.eco-links span {
  border-bottom-color: var(--hairline);
  color: var(--muted);
}

.eco-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top-color: var(--hairline);
  color: var(--dim);
}

.carousel-dots button {
  min-height: 44px;
  border-color: var(--line);
  color: var(--dim);
}

.carousel-dots button.is-active {
  border-color: var(--accent);
  color: var(--accent);
}

.carousel-arrows button {
  border-color: var(--line);
  color: var(--muted);
}

.carousel-arrows button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.eyebrow {
  font-size: 14px;
  color: var(--dim);
}

/* Main page keeps the cinematic dark hero; all content below follows light/dark. */
.hero-panel {
  background: radial-gradient(60% 70% at 75% 20%, #1a2740, #0f172a 70%);
}


/* Every element uses HarmonyOS Sans */
*, *::before, *::after {
  font-family: var(--font) !important;
}


/* Light-only text contrast */
html { color-scheme: light !important; }
.brand img { filter: none !important; }
body { background: #ffffff !important; color: #1a1a1a !important; }
.doc-section, .doc-products, .page, .doc-footer, .site-footer,
.subpage, .section, .home-overview, .game-tech, .reading, .archive-home {
  color: #1a1a1a !important;
}
.doc-section h1, .doc-section h2, .doc-section h3, .doc-section p,
.doc-products h1, .doc-products h2, .doc-products h3,
.page h1, .page h2, .page h3, .page p,
.doc-footer, .doc-footer a,
.subpage h1, .subpage h2, .subpage h3, .subpage p,
.section h1, .section h2, .section h3, .section p,
.home-overview h1, .home-overview h2, .home-overview h3, .home-overview p,
.game-tech h1, .game-tech h2, .game-tech h3, .game-tech p,
.reading h1, .reading h2, .reading h3, .reading p,
.archive-home h1, .archive-home h2, .archive-home h3, .archive-home p {
  color: #1a1a1a !important;
}
.doc-section p, .page p, .doc-footer, .site-footer,
.subpage p, .section p, .home-overview p, .game-tech p,
.reading p, .archive-home p {
  color: #666666 !important;
}
.hero-cinema h1, .hero-center h1, .hero-full h1, .hero-full p.lead,
.game-hero-full h1, .game-hero-full .game-lead,
.art-hero-full h1, .art-hero-full .art-lead,
.hero-full .hero-sub { color: #ffffff !important; }
.hero-center .eyebrow, .hero-scroll, .hero-full-meta,
.game-entries a, .art-hero-meta { color: rgba(255,255,255,.72) !important; }
.product-entry h2, .product-entry p, .product-entry .entry-index,
.doc-news-item h3, .doc-news-item time, .doc-news-item .doc-tag,
.doc-news-item .doc-arrow { color: #ffffff !important; }
.site-header { background: #ffffff !important; border-bottom: 1px solid #e5e7eb !important; }
.site-header .container { width: 100% !important; max-width: none !important; padding-left: 32px !important; padding-right: 32px !important; }
.nav-links a { color: #1a1a1a !important; }
.nav-links a:hover, .nav-links a.is-active { color: #2563eb !important; }
@media (max-width: 760px) {
  .site-header .container { padding-left: 20px !important; padding-right: 20px !important; }
}
