:root {
  --ink: #f3f7f4;
  --muted: rgba(243, 247, 244, 0.72);
  --line: rgba(243, 247, 244, 0.14);
  --accent: #4db887;
  --gold: #d4b45a;
  --font-display: "Noto Serif SC", "Songti SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body.page-edr {
  font-family: var(--font-body);
  color: var(--ink);
  background: #07110c;
}
.stage {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  animation: drift 18s ease-in-out infinite alternate;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 12, 0.88) 0%, rgba(7, 17, 12, 0.55) 48%, rgba(7, 17, 12, 0.35) 100%),
    linear-gradient(180deg, rgba(7, 17, 12, 0.35) 0%, rgba(7, 17, 12, 0.75) 100%);
}
@keyframes drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-1.2%, -0.8%, 0); }
}
.top-bar, .hero-copy, .bottom-bar {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 2.5rem));
  margin-left: auto;
  margin-right: auto;
}
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 0 0;
}
.brand-lock {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: .06em;
}
.brand-lock img { width: 36px; height: 36px; object-fit: contain; }
.nav-links { display: flex; gap: 1rem; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  padding: .25rem .2rem;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav-links a:hover { color: var(--ink); border-color: var(--accent); }
.hero-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 0 3rem;
  max-width: 38rem;
  margin-left: max(calc((100% - min(1120px, calc(100% - 2.5rem))) / 2), 1.25rem);
  animation: rise .9s ease both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.eyebrow {
  margin: 0 0 .85rem;
  color: var(--gold);
  letter-spacing: .14em;
  font-size: .86rem;
}
.hero-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.2rem, 9vw, 5.4rem);
  line-height: 1.05;
  letter-spacing: .08em;
}
.lede {
  margin: .85rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  line-height: 1.6;
}
.actions { margin-top: 1.8rem; }
.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10.5rem;
  padding: .9rem 1.4rem;
  border-radius: 4px;
  background: var(--accent);
  color: #06110b;
  font-weight: 600;
  text-decoration: none;
  transition: filter .15s ease, transform .15s ease;
}
.btn-main:hover { filter: brightness(1.06); transform: translateY(-1px); }
.meta {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: .86rem;
}
.bottom-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0 0 1.4rem;
  color: var(--muted);
  font-size: .78rem;
  border-top: 0;
}
@media (max-width: 720px) {
  .hero-copy { padding-top: 3rem; }
  .hero-copy h1 { letter-spacing: .04em; }
}
