/* OB-ashgrovechain — dark metallic gold · modular blockchain infra */
:root {
  --void: #050505;
  --void-2: #0c0c0e;
  --panel: #121214;
  --gold: #d4af37;
  --gold-bright: #f0c14b;
  --gold-dim: #a8892e;
  --glow: rgba(212, 175, 55, 0.35);
  --cream: #f2efe6;
  --muted: #9a9588;
  --line: rgba(212, 175, 55, 0.18);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--void);
  color: var(--cream);
  line-height: 1.55;
  min-height: 100vh;
}
a { color: var(--gold-bright); text-decoration: none; }
a:hover { color: #ffe08a; }
.wrap { width: min(1100px, 92vw); margin: 0 auto; }

.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 0;
}
.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--cream); }
.brand img {
  border-radius: 10px;
  box-shadow: 0 0 18px var(--glow);
}
.brand strong {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand span { display: block; font-size: 0.7rem; color: var(--muted); letter-spacing: 0.02em; }
.site-nav { display: flex; gap: 1.25rem; align-items: center; font-size: 0.92rem; }
.site-nav a { color: var(--muted); }
.site-nav a:hover { color: var(--cream); }
.nav-cta {
  background: linear-gradient(135deg, var(--gold), #b8922a);
  color: #0a0804 !important;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-weight: 600;
}
.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--cream);
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  font-family: inherit;
}

.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 70% center;
  opacity: 0.72;
  animation: heroDrift 28s ease-in-out infinite alternate;
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(5,5,5,0.92) 0%, rgba(5,5,5,0.72) 42%, rgba(5,5,5,0.35) 70%, rgba(5,5,5,0.55) 100%),
    linear-gradient(180deg, rgba(5,5,5,0.15) 0%, rgba(5,5,5,0.88) 92%);
}
.hero-grid-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 40% at 75% 55%, rgba(212,175,55,0.18), transparent 70%);
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}
.hero-inner {
  position: relative;
  padding: 5rem 0 3.4rem;
  animation: riseIn 0.9s ease-out both;
}
.hero-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1rem;
  text-shadow: 0 0 24px var(--glow);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 14ch;
  line-height: 1.02;
  margin: 0 0 1.1rem;
  text-transform: uppercase;
}
.h-white { display: block; color: #f7f4ec; }
.h-gold {
  display: block;
  background: linear-gradient(105deg, #f5e6b8 0%, var(--gold) 40%, #8a6b1f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  max-width: 34rem;
  color: rgba(242, 239, 230, 0.82);
  font-size: 1.08rem;
  margin-bottom: 1.6rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(212, 175, 55, 0.45);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.78rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-dim));
  color: #0a0804 !important;
  box-shadow: 0 0 28px rgba(212, 175, 55, 0.28);
}
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--cream) !important;
  background: rgba(5, 5, 5, 0.35);
}
.btn-x {
  width: 48px; height: 48px; padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--cream) !important;
  background: rgba(5, 5, 5, 0.4);
}
.btn-x:hover {
  border-color: var(--gold);
  color: var(--gold-bright) !important;
  box-shadow: 0 0 20px var(--glow);
}

.pillars {
  list-style: none;
  display: flex; flex-wrap: wrap;
  gap: 1.4rem 2.2rem;
}
.pillars li {
  display: flex; align-items: center; gap: 0.55rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.pillars svg { color: var(--gold-bright); filter: drop-shadow(0 0 6px var(--glow)); }

.block { padding: 4.4rem 0; border-bottom: 1px solid var(--line); }
.block-alt { background: linear-gradient(180deg, var(--void-2), var(--void)); }
.block-head { max-width: 40rem; margin-bottom: 2.2rem; }
.kicker {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}
.block-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
  line-height: 1.15;
}
.block-head p { color: var(--muted); }

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.module {
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(165deg, rgba(212,175,55,0.07), transparent 55%),
    var(--panel);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.module:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 0 32px rgba(212, 175, 55, 0.12);
}
.module-icon {
  color: var(--gold-bright);
  margin-bottom: 0.9rem;
  filter: drop-shadow(0 0 8px var(--glow));
}
.module h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.module p { color: var(--muted); font-size: 0.95rem; }

.rail-list { display: grid; gap: 0; }
.rail-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}
.rail-row:last-child { border-bottom: 1px solid var(--line); }
.rail-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  padding-top: 0.15rem;
}
.rail-row h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}
.rail-row p { color: var(--muted); max-width: 40rem; }

.origin-spread {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 2rem;
  align-items: start;
}
.origin-meta {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.45rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.origin-meta strong {
  display: block;
  color: var(--cream);
  margin-bottom: 0.65rem;
  font-family: var(--font-display);
}
.origin-copy p { color: var(--muted); margin-bottom: 0.9rem; }

.contact-panel {
  background:
    radial-gradient(ellipse 60% 80% at 90% 20%, rgba(212,175,55,0.12), transparent 55%),
    linear-gradient(145deg, #141412, #0a0a0c);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.3rem;
}
.contact-panel .tagline {
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}
.contact-panel h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 0.6rem;
}
.contact-panel .addr { color: var(--muted); margin-bottom: 1.25rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.site-footer { padding: 2.3rem 0 2.9rem; }
.footer-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1rem;
}
.footer-brand { display: flex; gap: 0.85rem; align-items: center; }
.footer-brand img {
  width: 36px; height: 36px; border-radius: 8px;
  box-shadow: 0 0 14px var(--glow);
}
.footer-brand strong { display: block; font-family: var(--font-display); }
.footer-brand span { font-size: 0.82rem; color: var(--muted); }
.footer-nav { display: flex; gap: 1rem; align-items: center; }
.footer-nav a { color: var(--muted); font-size: 0.9rem; }
.footer-x {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--cream) !important;
}
.footer-x:hover {
  border-color: var(--gold);
  color: var(--gold-bright) !important;
}
.footer-copy { color: var(--muted); font-size: 0.8rem; }

.legal-page { padding: 3rem 0 4rem; }
.legal-page h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 1rem;
}
.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 1.6rem 0 0.5rem;
  color: var(--gold-bright);
}
.legal-page p, .legal-page li {
  color: var(--muted);
  margin-bottom: 0.7rem;
  max-width: 42rem;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}
@keyframes heroDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-1.5%, 1%, 0); }
}

@media (max-width: 860px) {
  .module-grid, .origin-spread { grid-template-columns: 1fr; }
  .rail-row { grid-template-columns: 3.2rem 1fr; }
  .menu-btn { display: inline-block; }
  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 4vw;
    top: 3.5rem;
    background: var(--panel);
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    min-width: 11rem;
  }
  .hero-bg img { object-position: 80% center; opacity: 0.55; }
  .hero h1 { max-width: 18ch; }
}
