:root {
  --black: #080604;
  --espresso: #120d08;
  --espresso-2: #1a1510;
  --bronze: #8a6238;
  --gold: #c8a45d;
  --amber: #b67a2f;
  --ivory: #e6d6b8;
  --stone: #7a6a55;
  --muted: #9e8d74;
  --border: rgba(200, 164, 93, 0.24);
  --soft-border: rgba(230, 214, 184, 0.12);
  --shadow: 0 30px 80px rgba(0,0,0,.55);
  --serif: 'Cinzel', Georgia, serif;
  --sans: 'Inter', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--sans);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.bg-texture {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(180deg, rgba(8,6,4,.64), rgba(8,6,4,.94)),
    url('./assets/background-texture.png');
  background-size: cover;
  background-position: center;
  opacity: .86;
}
.page-vignette {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 65% 18%, rgba(200, 164, 93, .15), transparent 28%),
    radial-gradient(circle at 8% 40%, rgba(182, 122, 47, .08), transparent 32%),
    linear-gradient(90deg, rgba(0,0,0,.62), transparent 22%, transparent 78%, rgba(0,0,0,.62));
}

.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: 820px; }
.section-pad { padding: 118px 0; }

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: 74px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 5vw, 56px);
  background: rgba(8,6,4,.72);
  border-bottom: 1px solid rgba(200,164,93,.16);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 13px; letter-spacing: .24em; text-transform: uppercase; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(200,164,93,.28); background: rgba(18,13,8,.82); overflow: hidden; box-shadow: 0 0 28px rgba(200,164,93,.12); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav-links { display: flex; gap: 28px; }
.nav-links a, .nav-cta { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(230,214,184,.64); transition: .25s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { border: 1px solid var(--border); color: var(--gold); padding: 12px 18px; background: rgba(200,164,93,.08); }
.nav-cta:hover { background: rgba(200,164,93,.14); border-color: rgba(200,164,93,.55); }

.hero { min-height: 100vh; display: flex; align-items: center; position: relative; padding-top: 148px; }
.hero-glow { position: absolute; right: 10%; top: 18%; width: 520px; height: 520px; border-radius: 999px; background: radial-gradient(circle, rgba(200,164,93,.22), rgba(182,122,47,.08) 38%, transparent 70%); filter: blur(38px); opacity: .85; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; position: relative; }
.eyebrow { margin: 0 0 18px; color: var(--gold); text-transform: uppercase; letter-spacing: .32em; font-size: 11px; font-weight: 700; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; }
h1 { font-size: clamp(62px, 10vw, 126px); line-height: .88; letter-spacing: -.05em; text-shadow: 0 22px 70px rgba(0,0,0,.6); }
h1 span { color: var(--gold); }
h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -.04em; }
h3 { font-size: 25px; line-height: 1.1; }
p { color: rgba(230,214,184,.72); line-height: 1.86; font-size: 15.5px; }
.hero-subtext { max-width: 620px; font-size: 18px; color: rgba(230,214,184,.78); margin: 28px 0 0; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border: 1px solid transparent; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; transition: .25s ease; }
.btn-primary { color: #090704; background: linear-gradient(135deg, #e1c47d, var(--gold) 50%, #9c6c2f); box-shadow: 0 14px 40px rgba(200,164,93,.18); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 60px rgba(200,164,93,.28); }
.btn-secondary { color: var(--ivory); border-color: rgba(200,164,93,.38); background: rgba(200,164,93,.05); }
.btn-secondary:hover { border-color: rgba(200,164,93,.72); background: rgba(200,164,93,.1); transform: translateY(-2px); }
.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 620px; margin-top: 42px; border: 1px solid rgba(200,164,93,.18); background: rgba(18,13,8,.56); box-shadow: inset 0 0 40px rgba(0,0,0,.38); }
.stat-strip div { padding: 22px 20px; border-right: 1px solid rgba(200,164,93,.14); }
.stat-strip div:last-child { border-right: 0; }
.stat-strip strong { display: block; font-family: var(--serif); color: var(--ivory); font-size: 23px; }
.stat-strip span { display: block; margin-top: 4px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); }

.hero-art { position: relative; }
.relic-frame { position: relative; padding: 14px; background: linear-gradient(145deg, rgba(200,164,93,.34), rgba(255,255,255,.05), rgba(138,98,56,.24)); border: 1px solid rgba(200,164,93,.24); box-shadow: var(--shadow); }
.relic-frame::before { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(230,214,184,.13); pointer-events: none; z-index: 2; }
.relic-frame img { aspect-ratio: 1/1; object-fit: cover; width: 100%; filter: contrast(1.06) saturate(.95); }
.floating-tag { position: absolute; z-index: 3; background: rgba(8,6,4,.82); border: 1px solid rgba(200,164,93,.32); color: rgba(230,214,184,.86); padding: 11px 14px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 18px 46px rgba(0,0,0,.42); backdrop-filter: blur(12px); }
.tag-top { top: -18px; left: 24px; }
.tag-mid { right: -20px; top: 36%; color: var(--gold); }
.tag-bottom { bottom: -18px; left: 50%; transform: translateX(-50%); white-space: nowrap; }

.thesis { padding: 24px 0 100px; }
.thesis-card { border: 1px solid rgba(200,164,93,.2); background: linear-gradient(135deg, rgba(18,13,8,.86), rgba(26,21,16,.74)); padding: clamp(34px, 5vw, 68px); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.thesis-card::after { content: ''; position: absolute; right: -18%; top: -70%; width: 560px; height: 560px; background: radial-gradient(circle, rgba(200,164,93,.18), transparent 66%); }
.thesis-card h2 { max-width: 940px; }
.thesis-card p:last-child { max-width: 830px; margin-top: 24px; }

.split-grid, .vault-grid, .mint-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 68px; align-items: center; }
.section-copy p { max-width: 690px; }
.relic-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.spec-card, .trait-grid article, .timeline-item, details, .mint-plaque { background: linear-gradient(150deg, rgba(26,21,16,.92), rgba(12,9,6,.86)); border: 1px solid rgba(200,164,93,.22); box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 20px 55px rgba(0,0,0,.34); }
.spec-card { padding: 30px; min-height: 132px; display: flex; flex-direction: column; justify-content: space-between; }
.spec-card span { color: var(--stone); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.spec-card strong { font-family: var(--serif); font-size: 33px; color: var(--ivory); }
.trait-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 54px; }
.trait-grid article { padding: 34px; transition: .25s; }
.trait-grid article:hover { transform: translateY(-4px); border-color: rgba(200,164,93,.45); }
.trait-grid span { color: var(--gold); font-size: 12px; letter-spacing: .22em; }
.trait-grid h3 { margin-top: 42px; }
.trait-grid p { margin-bottom: 0; }

.vault-section { background: linear-gradient(180deg, rgba(18,13,8,.58), rgba(8,6,4,.92)); border-top: 1px solid rgba(200,164,93,.1); border-bottom: 1px solid rgba(200,164,93,.1); }
.vault-image { position: relative; padding: 12px; border: 1px solid rgba(200,164,93,.24); background: rgba(18,13,8,.72); box-shadow: var(--shadow); }
.vault-image img { aspect-ratio: 4/3; object-fit: cover; opacity: .9; filter: contrast(1.05) saturate(.82); }
.vault-image::after { content: ''; position: absolute; inset: 12px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.36)); pointer-events: none; }

.pathway-section { min-height: 720px; position: relative; display: flex; align-items: center; padding: 118px 0; overflow: hidden; border-bottom: 1px solid rgba(200,164,93,.12); }
.pathway-bg { position: absolute; inset: 0; z-index: -2; }
.pathway-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.05); opacity: .54; }
.pathway-section::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,6,4,.92), rgba(8,6,4,.68) 46%, rgba(8,6,4,.92)), radial-gradient(circle at 36% 45%, rgba(182,122,47,.2), transparent 34%); }
.pathway-card { max-width: 760px; margin-left: max(calc((100vw - 1160px)/2), 20px); padding: clamp(34px, 5vw, 58px); background: rgba(18,13,8,.74); border: 1px solid rgba(200,164,93,.26); box-shadow: var(--shadow); backdrop-filter: blur(10px); }

.roadmap-section { background: rgba(8,6,4,.4); }
.timeline { margin-top: 54px; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; gap: 15px; }
.timeline::before { content: ''; position: absolute; left: 8%; right: 8%; top: 25px; height: 1px; background: linear-gradient(90deg, transparent, rgba(200,164,93,.7), transparent); }
.timeline-item { position: relative; padding: 34px 24px 28px; min-height: 260px; }
.timeline-item span { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 28px; border: 1px solid rgba(200,164,93,.46); background: #100c08; color: var(--gold); font-family: var(--serif); position: relative; z-index: 1; }
.timeline-item h3 { font-size: 21px; }
.timeline-item p { font-size: 14px; line-height: 1.72; }

.mint-section { background: linear-gradient(180deg, rgba(18,13,8,.7), rgba(8,6,4,.94)); }
.mint-grid { grid-template-columns: .85fr 1.15fr; }
.mint-plaque { padding: clamp(28px, 4vw, 46px); position: relative; overflow: hidden; }
.mint-plaque::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(230,214,184,.08); pointer-events: none; }
.plaque-header { font-family: var(--serif); color: var(--gold); font-size: 24px; margin-bottom: 24px; letter-spacing: .08em; }
.mint-row { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid rgba(200,164,93,.16); }
.mint-row span { color: var(--stone); text-transform: uppercase; letter-spacing: .18em; font-size: 11px; }
.mint-row strong { font-size: 15px; color: var(--ivory); text-align: right; }

.community-section { padding: 118px 0; background: radial-gradient(circle at 50% 20%, rgba(200,164,93,.14), transparent 34%), linear-gradient(180deg, rgba(8,6,4,.98), rgba(18,13,8,.82)); }
.community-card { text-align: center; max-width: 890px; padding: clamp(40px, 6vw, 76px); border: 1px solid rgba(200,164,93,.22); background: rgba(18,13,8,.72); box-shadow: var(--shadow); }
.community-card p { max-width: 660px; margin-left: auto; margin-right: auto; }
.center-actions { justify-content: center; }

.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 48px; }
details { padding: 26px 28px; }
summary { cursor: pointer; font-family: var(--serif); font-size: 18px; color: var(--ivory); list-style: none; }
summary::-webkit-details-marker { display: none; }
details p { margin-bottom: 0; font-size: 14px; }

.footer { border-top: 1px solid rgba(200,164,93,.16); padding: 38px 0; background: rgba(8,6,4,.92); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer strong { font-family: var(--serif); letter-spacing: .12em; color: var(--ivory); }
.footer p { margin: 6px 0 0; color: var(--stone); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--stone); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.footer-links a:hover { color: var(--gold); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; } .delay-2 { transition-delay: .18s; } .delay-3 { transition-delay: .26s; } .delay-4 { transition-delay: .34s; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero-grid, .split-grid, .vault-grid, .mint-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 620px; margin: 0 auto; }
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { top: 0; bottom: 0; left: 25px; right: auto; width: 1px; height: auto; }
  .timeline-item { min-height: 0; display: grid; grid-template-columns: 70px 1fr; column-gap: 8px; }
  .timeline-item span { grid-row: span 2; margin: 0; }
  .faq-grid, .trait-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .section-pad { padding: 82px 0; }
  .nav { height: 66px; }
  .brand span:last-child { display: none; }
  .nav-cta { padding: 10px 12px; }
  .stat-strip, .relic-specs { grid-template-columns: 1fr; }
  .stat-strip div { border-right: 0; border-bottom: 1px solid rgba(200,164,93,.14); }
  .stat-strip div:last-child { border-bottom: 0; }
  .floating-tag { display: none; }
  .mint-row { flex-direction: column; gap: 6px; }
  .mint-row strong { text-align: left; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
