:root {
  --black: #050505;
  --ink: #111111;
  --paper: #f4f1ea;
  --white: #f7f7f5;
  --muted: rgba(255, 255, 255, 0.56);
  --muted-ink: rgba(17, 17, 17, 0.55);
  --line: rgba(255, 255, 255, 0.14);
  --line-ink: rgba(17, 17, 17, 0.12);
  --accent: #e10600;
  --accent-soft: #ff4d3a;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 84px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--black);
  color: var(--white);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

img { max-width: 100%; display: block; }
button, a { color: inherit; }
button { background: none; border: 0; cursor: pointer; font: inherit; }

.site { position: relative; }

/* ========== INTRO ========== */
.intro {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #000;
  overflow: hidden;
  transition: opacity 1s var(--ease), visibility 1s;
}

.intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-film {
  position: absolute;
  inset: 0;
}

.intro-shot {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.12);
  animation: introKen 7.2s var(--ease) forwards;
}

.intro-shot:nth-child(1) { animation-delay: 0s; }
.intro-shot:nth-child(2) { animation-delay: 2.1s; }
.intro-shot:nth-child(3) { animation-delay: 4.2s; }

@keyframes introKen {
  0% { opacity: 0; transform: scale(1.16); }
  12% { opacity: 1; }
  38% { opacity: 1; transform: scale(1); }
  52% { opacity: 0; }
  100% { opacity: 0; transform: scale(1); }
}

.intro-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.55) 55%, #000),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,.08) 3px);
}

.intro-center {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}

.intro-kicker {
  letter-spacing: 0.42em;
  font-size: 11px;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 22px;
  opacity: 0;
  animation: rise 1s var(--ease) .4s forwards;
}

.intro-logo {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(42px, 7vw, 92px);
  font-weight: 700;
  letter-spacing: 0.28em;
  opacity: 0;
  animation: rise 1.1s var(--ease) .7s forwards;
}

.intro-sub {
  margin-top: 18px;
  font-size: 14px;
  letter-spacing: 0.34em;
  color: var(--accent-soft);
  opacity: 0;
  animation: rise 1.1s var(--ease) 1s forwards;
}

.intro-skip {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 3;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.18em;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 36px;
  color: #fff;
}

.nav-brand {
  font-family: "Noto Serif SC", serif;
  font-size: 22px;
  letter-spacing: 0.18em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.16em;
  opacity: 0.78;
}

.nav-links a:hover { opacity: 1; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-size: 13px;
  mix-blend-mode: normal;
}

.nav-cta i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  mix-blend-mode: normal;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  padding: var(--nav-h) 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #000;
  position: relative;
}

.hero-title {
  font-family: "Noto Sans SC", sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 9.4vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  max-width: 16ch;
}

.hero-row {
  margin-top: 36px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.more::before {
  content: "";
  width: 2px;
  height: 28px;
  background: var(--accent);
}

.hero-copy {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 32px;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero-stats b {
  display: block;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero-stats span { color: var(--muted); font-size: 13px; letter-spacing: 0.16em; }
.hero-stats em { font-style: normal; font-size: 0.45em; margin-right: 4px; }

/* ========== SHARED SECTIONS ========== */
.section {
  position: relative;
  padding: 120px 48px;
}

.section.dark { background: #000; color: var(--white); }
.section.paper { background: var(--paper); color: var(--ink); }
.section.white { background: #fff; color: var(--ink); }

.kicker {
  display: block;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.display {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(40px, 6.4vw, 88px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.lead {
  max-width: 720px;
  margin-top: 24px;
  line-height: 1.9;
  font-size: 16px;
  color: inherit;
  opacity: 0.68;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: end;
}

/* ========== BELIEF ========== */
.belief {
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.belief-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
}

.belief-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.72));
}

.belief-inner { position: relative; width: min(1120px, 100%); }

.belief-chars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.glyph {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(72px, 12vw, 160px);
  line-height: 0.9;
}

.belief-chars p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,.72);
}

.belief-foot {
  margin-top: 64px;
  text-align: center;
}

.belief-foot h3 {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 16px;
}

.belief-foot p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255,255,255,.7);
  line-height: 1.9;
}

/* ========== LAYOUT / MAPS ========== */
.maps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 56px;
}

.map-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  background: #111;
}

.map-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.map-card figcaption {
  position: absolute;
  left: 24px;
  bottom: 22px;
  font-size: 18px;
  letter-spacing: 0.12em;
}

/* ========== TIMELINE ========== */
.timeline-wrap {
  margin-top: 72px;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  scrollbar-width: none;
}
.timeline-wrap::-webkit-scrollbar { display: none; }

.timeline-track {
  display: flex;
  gap: 8vw;
  width: max-content;
  padding-bottom: 20px;
}

.year-slide {
  width: min(72vw, 860px);
  flex: none;
}

.year-num {
  font-size: clamp(80px, 14vw, 180px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: var(--accent);
}

.year-slide p {
  margin-top: 24px;
  max-width: 34em;
  line-height: 1.9;
  font-size: 16px;
  color: rgba(17,17,17,.72);
}

.year-slide img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  margin-top: 28px;
  filter: grayscale(20%);
}

.timeline-hint {
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 0.2em;
  opacity: 0.45;
}

/* ========== HONORS / CAPACITY ========== */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 28px; }

.pill {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-ink);
  font-size: 13px;
}

.pill.is-on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.honor-grid, .stat-grid, .factory-grid, .sys-grid, .env-grid, .charity-grid {
  display: grid;
  gap: 18px;
}

.honor-grid { grid-template-columns: repeat(3, 1fr); }
.stat-grid { grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
.factory-grid { grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
.sys-grid { grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
.env-grid { grid-template-columns: repeat(4, 1fr); margin-top: 36px; }
.charity-grid { grid-template-columns: repeat(3, 1fr); margin-top: 48px; }

.honor-card, .stat-card, .sys-card {
  padding: 28px 24px;
  border: 1px solid var(--line-ink);
  background: rgba(255,255,255,.5);
}

.dark .stat-card, .dark .sys-card, .dark .factory-card {
  border-color: var(--line);
  background: rgba(255,255,255,.03);
}

.honor-card img { height: 140px; object-fit: contain; margin: 0 auto 16px; }
.honor-card h4, .sys-card h4, .factory-card h3 { font-size: 16px; margin-bottom: 8px; }
.honor-card p, .sys-card p, .factory-card p, .stat-card p { font-size: 13px; opacity: 0.6; line-height: 1.6; }

.stat-card b {
  display: block;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.factory-card { position: relative; overflow: hidden; min-height: 420px; }
.factory-card img { width: 100%; height: 420px; object-fit: cover; }
.factory-card .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
}

.env-card { position: relative; overflow: hidden; min-height: 360px; }
.env-card img { width: 100%; height: 360px; object-fit: cover; }
.env-card .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,.8));
}

.quote {
  margin-top: 40px;
  max-width: 820px;
  font-size: 18px;
  line-height: 1.9;
  border-left: 3px solid var(--accent);
  padding-left: 22px;
  color: rgba(255,255,255,.82);
}

/* ========== CASES / PARTNERS / CHARITY ========== */
.coming {
  margin-top: 48px;
  min-height: 280px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-ink);
  letter-spacing: 0.2em;
  opacity: 0.5;
}

.partners img {
  width: min(880px, 100%);
  margin: 48px auto 0;
  filter: grayscale(1) contrast(1.05);
}

.charity-card { overflow: hidden; background: #fff; }
.charity-card img { width: 100%; height: 200px; object-fit: cover; }
.charity-card div { padding: 20px 20px 24px; }
.charity-card small { color: var(--accent); letter-spacing: 0.08em; }
.charity-card h3 { margin: 8px 0; font-size: 18px; }
.charity-card p { font-size: 14px; line-height: 1.7; opacity: 0.68; }

/* ========== FOOTER ========== */
.footer {
  padding: 72px 48px 32px;
  background: #000;
  color: #fff;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  font-family: "Noto Serif SC", serif;
  font-size: 28px;
  letter-spacing: 0.18em;
}

.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; font-size: 13px; opacity: 0.65; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  font-size: 12px;
  opacity: 0.45;
}

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: 900ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .hero, .section, .footer { padding-left: 22px; padding-right: 22px; }
  .split, .maps, .honor-grid, .stat-grid, .factory-grid, .sys-grid, .env-grid, .charity-grid {
    grid-template-columns: 1fr;
  }
  .env-grid, .honor-grid, .charity-grid { grid-template-columns: 1fr 1fr; }
  .hero-row, .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .year-slide { width: 86vw; }
  .belief-chars { gap: 12px; }
}

@media (max-width: 640px) {
  .env-grid, .honor-grid, .charity-grid, .hero-stats { grid-template-columns: 1fr; }
  .map-card, .map-card img, .factory-card img, .env-card img { min-height: 240px; height: 240px; }
}

/* ========== VIDEO HERO ========== */
body.is-intro { overflow: hidden; }
body.is-intro .nav,
body.is-intro .hero-content { opacity: 0; pointer-events: none; }

.nav, .hero-content {
  opacity: 1;
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
}

.hero {
  min-height: 100vh;
  padding: 0;
  position: relative;
  overflow: hidden;
  display: block;
}

.hero-media, .hero-media video, .hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.6s var(--ease), filter 1.6s var(--ease);
}

body.is-home .hero-media video {
  transform: scale(1.08);
  filter: brightness(0.22) saturate(0.7);
}

.hero-shade {
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.78) 100%);
  opacity: 0.25;
  transition: opacity 1.2s var(--ease);
}

body.is-home .hero-shade { opacity: 1; }

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: 120px 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

body.is-home .hero-content { transform: none; }

.hero-kicker {
  letter-spacing: 0.42em;
  font-size: 12px;
  color: rgba(255,255,255,.62);
  margin-bottom: 16px;
}

.hero-vision {
  margin: 18px 0 20px;
  font-size: clamp(18px, 2vw, 28px);
  letter-spacing: 0.28em;
  color: var(--accent-soft);
}

.enter-btn {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  z-index: 3;
  padding: 12px 22px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  letter-spacing: 0.22em;
  font-size: 12px;
  opacity: 1;
  transition: opacity .6s var(--ease);
}

body.is-home .enter-btn { opacity: 0; pointer-events: none; }

.culture {
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 120px 48px;
}

.culture-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.culture-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.4), rgba(0,0,0,.75));
}

.culture-inner { position: relative; width: min(1040px, 100%); }
.display.light { color: #fff; margin-bottom: 48px; }

.mobile-open .nav-links {
  display: flex;
  position: fixed;
  inset: 0;
  background: #000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  z-index: 35;
}

.mobile-open .nav-links a { font-size: 22px; opacity: 1; }

@media (max-width: 980px) {
  .hero-content, .culture { padding-left: 22px; padding-right: 22px; }
}

.hero-stats { width: 100%; }
.nav { mix-blend-mode: normal; }
.nav-links a { color: #fff; }

.nav { color: #fff; }
.nav.is-light, .nav.is-light a, .nav.is-light .nav-brand, .nav.is-light .nav-links a { color: #111 !important; }
.nav.is-light .nav-cta { background: #111; color: #fff; }
.nav.is-light .nav-cta i { background: #e10600; }
.belief-chars { grid-template-columns: 1fr 1fr; }
.dark .stat-card { background: #141414; border-color: #2a2a2a; }
.map-card { background: #fff; }
.map-card img { object-fit: contain; background: #fff; }
