:root {
  --copper: #d4783a;
  --copper-2: #8e4318;
  --ink: #f6efe6;
  --mute: rgba(246, 239, 230, .68);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body.home {
  min-height: 100vh;
  color: var(--ink);
  font: 16px/1.55 "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  background: #070605;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

.home-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.home-bg-hero {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.08);
  animation: homeKen 28s ease-in-out infinite alternate;
  filter: saturate(1.05) contrast(1.08);
}
.home-bg-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,6,5,.55) 0%, rgba(7,6,5,.28) 28%, rgba(7,6,5,.55) 58%, #070605 100%),
    linear-gradient(90deg, rgba(7,6,5,.55) 0%, transparent 42%, rgba(7,6,5,.35) 100%);
}
.home-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(212,120,58,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,120,58,.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
  opacity: .45;
}
.home-bg-glow {
  position: absolute; width: 52vw; height: 52vw; left: -8vw; top: -18vw;
  background: radial-gradient(circle, rgba(212,120,58,.28), transparent 62%);
  filter: blur(8px);
  animation: homePulse 8s ease-in-out infinite;
}
.home-bg-grain {
  position: absolute; inset: 0;
  opacity: .12;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
}

.home-bar, .home-main, .home-foot { position: relative; z-index: 1; }
.home-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 36px;
}
.home-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: .12em;
}
.home-mark {
  width: 12px; height: 12px; border-radius: 2px;
  background: linear-gradient(135deg, #f0b27a, var(--copper-2));
  box-shadow: 0 0 16px rgba(212,120,58,.7);
}
.home-nav { display: flex; gap: 22px; align-items: center; font-size: 13px; color: var(--mute); }
.home-nav a:hover { color: #fff; }
.home-nav-sup {
  padding: 7px 14px;
  border: 1px solid rgba(212,120,58,.45);
  border-radius: 999px;
  color: #f0b27a !important;
}

.home-main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 72px;
}
.home-hero { max-width: 760px; animation: homeUp .9s ease both; }
.home-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px; font-size: 12px; letter-spacing: .28em;
  text-transform: uppercase; color: #f0b27a;
}
.home-kicker span {
  width: 28px; height: 1px; background: linear-gradient(90deg, var(--copper), transparent);
}
.home-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.05;
  font-weight: 650;
  letter-spacing: .02em;
  font-family: "Songti SC", "Source Han Serif SC", "Noto Serif SC", serif;
  text-shadow: 0 10px 40px rgba(0,0,0,.45);
}
.home-hero h1 span {
  background: linear-gradient(90deg, #fff6ea, #f0b27a 55%, #d4783a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.home-lead {
  margin: 0 0 28px;
  max-width: 36em;
  color: var(--mute);
  font-size: 17px;
}
.home-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.home-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #e08a4a, var(--copper-2));
  color: #fff; font-weight: 650;
  box-shadow: 0 10px 30px rgba(142,67,24,.45);
  transition: transform .18s ease, box-shadow .18s ease;
}
.home-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(142,67,24,.55); }
.home-btn.ghost {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: none;
}

.home-flow {
  list-style: none; margin: 64px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  animation: homeUp .9s ease .12s both;
}
.home-flow li {
  padding: 18px 16px 16px;
  border: 1px solid rgba(240,178,122,.18);
  background: rgba(12,10,8,.42);
  backdrop-filter: blur(10px);
  border-radius: 14px;
}
.home-flow em {
  display: block; font-style: normal; font-size: 11px; letter-spacing: .18em;
  color: #f0b27a; margin-bottom: 8px;
}
.home-flow strong { display: block; font-size: 16px; margin-bottom: 4px; }
.home-flow span { color: var(--mute); font-size: 13px; }

.home-gates {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 16px;
  animation: homeUp .9s ease .22s both;
}
.home-gate {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: flex; align-items: stretch;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(18,14,12,.55);
  backdrop-filter: blur(16px);
  transition: transform .2s ease, border-color .2s ease;
}
.home-gate:hover { transform: translateY(-4px); border-color: rgba(240,178,122,.45); }
.home-gate img {
  width: 42%; object-fit: cover; filter: saturate(1.1);
}
.home-gate div { padding: 28px 26px; display: flex; flex-direction: column; justify-content: center; }
.home-gate small { letter-spacing: .2em; text-transform: uppercase; color: #f0b27a; font-size: 11px; }
.home-gate h2 { margin: 8px 0 8px; font-size: 28px; font-family: "Songti SC", "Noto Serif SC", serif; }
.home-gate p { margin: 0 0 16px; color: var(--mute); font-size: 14px; }
.home-gate span { color: #f0b27a; font-weight: 650; }
.home-gate.is-sup {
  background:
    linear-gradient(180deg, rgba(22, 64, 40, .35), rgba(12,10,8,.6));
  border-color: rgba(90, 160, 110, .25);
}
.home-gate.is-sup:hover { border-color: rgba(120, 190, 140, .5); }
.home-gate.is-sup span, .home-gate.is-sup small { color: #9fdbb3; }

.home-foot {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto; padding: 0 0 28px;
  color: rgba(246,239,230,.45); font-size: 12px; letter-spacing: .08em;
}

@keyframes homeKen {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}
@keyframes homePulse {
  0%, 100% { opacity: .7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes homeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 860px) {
  .home-bar { padding: 16px 18px; }
  .home-nav { gap: 12px; }
  .home-flow, .home-gates { grid-template-columns: 1fr; }
  .home-gate { min-height: 0; }
  .home-gate img { display: none; }
  .home-hero h1 { font-size: 42px; }
}
