/* ─── TOKENS ─────────────────────────────────────── */
:root {
  --bg:       #111111;
  --fg:       #f5f0e8;
  --muted:    #6e6860;
  --accent:   #c8a96e;
  --accent-d: rgba(200,169,110,0.20);
  --accent-b: rgba(200,169,110,0.45);
}

/* ─── RESET ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Cormorant Garamond', serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

/* ─── NAV ────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem 2.5rem;
}
.nav-brand {
  font-family: 'Montserrat', sans-serif;
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .32em;
  color: var(--muted);
}
.nav-cta {
  font-family: 'Montserrat', sans-serif;
  font-size: .6rem;
  font-weight: 400;
  letter-spacing: .25em;
  color: var(--muted);
  transition: color .3s;
}
.nav-cta:hover { color: var(--accent); }

/* ─── HERO ───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* SVG noise grain — charcoal texture */
.noise {
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .055;
  pointer-events: none;
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%,100% { background-position: 0 0; }
  10%      { background-position: -5% -10%; }
  20%      { background-position: -15% 5%; }
  30%      { background-position: 7% -25%; }
  40%      { background-position: -5% 25%; }
  50%      { background-position: -15% 10%; }
  60%      { background-position: 15% 0; }
  70%      { background-position: 0 15%; }
  80%      { background-position: 3% 35%; }
  90%      { background-position: -10% 10%; }
}

.hero-body {
  position: relative;
  text-align: center;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(.5rem, 1.1vw, .68rem);
  font-weight: 400;
  letter-spacing: .3em;
  color: var(--muted);
  margin-bottom: 2.5rem;
}
.hero-wordmark {
  font-size: clamp(5.5rem, 22vw, 20rem);
  font-weight: 300;
  line-height: .86;
  letter-spacing: .07em;
  color: var(--fg);
}
.hero-chi {
  margin-top: 2rem;
  font-size: clamp(1.4rem, 3.5vw, 2.8rem);
  font-weight: 400;
  letter-spacing: .55em;
  color: var(--accent);
}

/* bottom scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 4rem;
  background: linear-gradient(to bottom, transparent, var(--accent-b));
}

/* ─── ELEMENTS 火土技时 ───────────────────────────── */
.elements {
  border-top: 1px solid var(--accent-d);
  border-bottom: 1px solid var(--accent-d);
}
.elements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.el {
  padding: 4.5rem 2rem;
  border-right: 1px solid var(--accent-d);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  text-align: center;
  transition: background .4s;
}
.el:last-child { border-right: none; }
.el:hover { background: rgba(200,169,110,.04); }
.el-glyph {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--fg);
}
.el-en {
  font-family: 'Montserrat', sans-serif;
  font-size: .58rem;
  font-weight: 400;
  letter-spacing: .32em;
  color: var(--accent);
}
.el-line {
  font-size: clamp(.9rem, 1.4vw, 1rem);
  color: var(--fg);
  margin-top: .6rem;
}
.el-line-en {
  font-family: 'Montserrat', sans-serif;
  font-size: .58rem;
  font-weight: 300;
  letter-spacing: .08em;
  color: var(--muted);
  font-style: italic;
}

/* ─── STATEMENT ──────────────────────────────────── */
.statement {
  padding: 9rem 2.5rem;
}
.statement-inner {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}
.stmt-zh {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 400;
  line-height: 1.75;
  color: var(--fg);
}
.stmt-en {
  margin-top: 1.75rem;
  font-size: clamp(.8rem, 1.3vw, .95rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.9;
  color: var(--muted);
}

/* ─── INFO ───────────────────────────────────────── */
.info {
  padding: 6rem 2.5rem 8rem;
  border-top: 1px solid var(--accent-d);
}
.info-grid {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.info-label {
  font-family: 'Montserrat', sans-serif;
  font-size: .58rem;
  font-weight: 400;
  letter-spacing: .28em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.info-val {
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 300;
  color: var(--fg);
  line-height: 1.3;
}
.info-note {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: .58rem;
  font-weight: 300;
  letter-spacing: .2em;
  color: var(--muted);
  margin-top: .65rem;
}

/* ─── FOOTER ─────────────────────────────────────── */
.footer {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 2.5rem 2.5rem;
}
.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand {
  font-size: .75rem;
  letter-spacing: .1em;
  color: var(--muted);
}
.footer-beian {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.footer-beian a,
.footer-beian span {
  font-family: 'Montserrat', sans-serif;
  font-size: .58rem;
  letter-spacing: .1em;
  color: var(--muted);
}
.footer-beian a:hover { color: var(--accent); }

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 900px) {
  .elements-grid { grid-template-columns: repeat(2, 1fr); }
  .el { border-bottom: 1px solid var(--accent-d); }
  .el:nth-child(even) { border-right: none; }
  .el:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 640px) {
  .nav { padding: 1.25rem 1.5rem; }
  .elements { padding: 0; }
  .elements-grid { grid-template-columns: repeat(2, 1fr); }
  .el { padding: 3rem 1.25rem; }
  .statement { padding: 6rem 1.5rem; }
  .info { padding: 4.5rem 1.5rem 6rem; }
  .info-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer { padding: 2rem 1.5rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .footer-beian { flex-direction: column; align-items: flex-start; gap: .5rem; }
}
