:root {
  --ink: #1b2430;
  --gold: #c48a3a;
  --teal: #1aa7a0;
  --paper: #fbfaf7;
  --panel: rgba(255, 255, 255, 0.72);
  --line: rgba(27, 36, 48, 0.08);
  --muted: #66707c;
  --shadow: 0 18px 50px rgba(27, 36, 48, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(196, 138, 58, 0.14), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(26, 167, 160, 0.12), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f7f4ee 42%, #ffffff 100%);
  font-family: "Iowan Old Style", "Palatino Linotype", "Songti SC", "STSong", "SimSun", serif;
  line-height: 1.7;
  overflow-x: hidden;
}

.aurora,
.orb,
.hex,
.drift-grid {
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

.aurora {
  inset: -20%;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(196, 138, 58, 0.18), transparent 40%),
    radial-gradient(ellipse at 80% 70%, rgba(26, 167, 160, 0.16), transparent 42%);
  filter: blur(30px);
  animation: aurora 16s ease-in-out infinite alternate;
}

.orb {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(8px);
  mix-blend-mode: multiply;
}

.orb-a {
  top: 8%;
  right: 8%;
  background: rgba(26, 167, 160, 0.22);
  animation: float 11s ease-in-out infinite;
}

.orb-b {
  top: 48%;
  left: -60px;
  background: rgba(196, 138, 58, 0.2);
  animation: float 14s ease-in-out infinite reverse;
}

.orb-c {
  bottom: 6%;
  right: 18%;
  width: 180px;
  height: 180px;
  background: rgba(26, 167, 160, 0.14);
  animation: float 12s ease-in-out 1s infinite;
}

.hex {
  width: 220px;
  height: 220px;
  border: 1px solid rgba(196, 138, 58, 0.35);
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
}

.hex-a {
  top: 18%;
  left: 42%;
  animation: spin 28s linear infinite;
}

.hex-b {
  bottom: 12%;
  left: 12%;
  width: 140px;
  height: 140px;
  border-color: rgba(26, 167, 160, 0.28);
  animation: spin 36s linear infinite reverse;
}

.drift-grid {
  inset: 0;
  background-image:
    linear-gradient(rgba(27, 36, 48, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 36, 48, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  animation: drift 22s linear infinite;
  mask-image: radial-gradient(circle at 50% 30%, #000 20%, transparent 78%);
}

a { color: inherit; text-decoration: none; }

.topbar, main, footer { position: relative; z-index: 1; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 28px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img,
.foot-brand img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.brand strong,
.foot-brand strong {
  display: block;
  font-size: 20px;
  letter-spacing: 0.18em;
}

.brand small {
  color: var(--gold);
  letter-spacing: 0.22em;
  font-size: 11px;
}

nav { display: flex; gap: 28px; }

nav a {
  color: var(--muted);
  letter-spacing: 0.12em;
  font-size: 15px;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

nav a:hover { color: var(--gold); }
nav a:hover::after { width: 100%; }

.hero, section, footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 28px;
}

.hero { padding-top: 88px; }

.rise {
  animation: rise 0.9s ease both;
}

.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.16s; }
.d3 { animation-delay: 0.28s; }
.d4 { animation-delay: 0.4s; }
.d5 { animation-delay: 0.52s; }

.kicker {
  color: var(--teal);
  letter-spacing: 0.28em;
  font-size: 13px;
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: 0.06em;
  background: linear-gradient(120deg, #1b2430 20%, #1aa7a0 55%, #c48a3a 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 8s ease-in-out infinite;
}

.lead {
  max-width: 680px;
  margin: 24px 0 32px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid var(--gold);
  letter-spacing: 0.12em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn.primary {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 10px 24px rgba(196, 138, 58, 0.25);
}

.btn.ghost { color: var(--gold); background: rgba(255, 255, 255, 0.6); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(27, 36, 48, 0.12); }

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.facts div {
  padding: 18px 0 0;
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--gold), var(--teal)) 1;
}

.facts dt {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.facts dd { margin-top: 6px; font-size: 16px; }

.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2, .about-grid h2 { font-size: 34px; letter-spacing: 0.08em; font-weight: 500; }
.section-head p:last-child, .about-grid p { color: var(--muted); margin-top: 12px; }

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.cards article,
.contact-box,
.about-grid aside {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 28px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cards article:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(26, 167, 160, 0.12);
}

.cards span {
  color: var(--gold);
  letter-spacing: 0.16em;
  font-size: 13px;
}

.cards h3 { margin: 10px 0 12px; font-size: 22px; font-weight: 500; }
.cards p { color: var(--muted); }

.alt { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.steps li {
  padding: 18px 0 0;
  border-top: 2px solid var(--gold);
  transition: transform 0.3s ease;
}

.steps li:hover { transform: translateY(-6px); }
.steps strong { display: block; margin-bottom: 10px; letter-spacing: 0.08em; }
.steps p { color: var(--muted); }

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: start;
}

.about-grid aside ul { list-style: none; }
.about-grid aside li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.about-grid aside span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.contact-box p {
  display: flex;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.contact-box span { width: 88px; color: var(--gold); }
.contact-box a:hover { color: var(--teal); }

footer {
  display: grid;
  gap: 16px;
  padding-top: 40px;
  padding-bottom: 48px;
}

.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand p, .legal { color: var(--muted); font-size: 13px; }

@keyframes aurora {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.08); }
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(24px, -28px, 0); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes drift {
  from { background-position: 0 0; }
  to { background-position: 52px 52px; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes sheen {
  0%, 100% { background-position: 0 50%; }
  50% { background-position: 100% 50%; }
}

@media (max-width: 800px) {
  .topbar { flex-direction: column; align-items: flex-start; }
  .facts, .cards, .steps, .about-grid { grid-template-columns: 1fr; }
  .hero, section, footer { padding: 48px 20px; }
  h1 { font-size: 40px; }
  .orb, .hex { opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
