@font-face { font-family: Cinzel; src: url(/fonts/cinzel-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Cinzel; src: url(/fonts/cinzel-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Garamond; src: url(/fonts/eb-garamond-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Garamond; src: url(/fonts/eb-garamond-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: Garamond; src: url(/fonts/eb-garamond-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #0d0806;
  --bg2: #160c09;
  --card: #1d110d;
  --line: #4a2a1c;
  --text: #ead9c4;
  --muted: #b39a82;
  --gold: #ffd08a;
  --gold-hi: #ffecc8;
  --ember: #e0582a;
  --ok: #9fd08a;
  --err: #ff8a70;
  --r: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 19px/1.6 Garamond, Georgia, serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--gold); }
h1, h2, h3, .eyebrow, .btn, .nav { font-family: Cinzel, Georgia, serif; }
h2 { font-size: clamp(30px, 4.5vw, 46px); line-height: 1.15; margin: 0 0 16px; color: var(--gold); font-weight: 700; }
h3 { font-size: 20px; margin: 0 0 8px; color: var(--gold-hi); letter-spacing: .02em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.small { font-size: 16px; color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: 14px; color: var(--ember); margin: 0 0 10px; }
.intro { font-size: 21px; color: var(--muted); max-width: 760px; margin: 0 0 40px; }
.center .intro { margin-left: auto; margin-right: auto; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; background: rgba(13, 8, 6, .82); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 208, 138, .1); }
.nav-logo { display: flex; align-items: center; gap: 10px; color: var(--gold); text-decoration: none; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.nav-logo img { width: 32px; height: 32px; border-radius: 7px; }
.nav nav { display: flex; align-items: center; gap: 22px; font-size: 14px; letter-spacing: .08em; }
.nav nav a { color: var(--text); text-decoration: none; }
.nav nav a:hover { color: var(--gold); }
.nav .nav-cta { color: var(--gold); border: 1px solid var(--gold); padding: 7px 14px; border-radius: 999px; }
@media (max-width: 760px) { .nav nav a:not(.nav-cta) { display: none; } }
@media (max-width: 520px) { .nav .nav-cta { font-size: 12px; padding: 6px 12px; white-space: nowrap; } .nav-logo { letter-spacing: .08em; } }

/* hero */
.hero { position: relative; min-height: min(92vh, 900px); display: grid; place-items: center; text-align: center; padding: 80px 20px; background: linear-gradient(180deg, rgba(13, 8, 6, .2), rgba(13, 8, 6, .35) 60%, var(--bg)), url(/img/hero.webp) center 35% / cover no-repeat; }
.hero-inner { max-width: 1040px; min-width: 0; }
.wordmark { font-size: clamp(36px, 10vw, 112px); letter-spacing: .14em; margin: 0 0 4px; padding-left: .14em; color: var(--gold); text-transform: uppercase; text-shadow: 0 0 40px rgba(10, 2, 4, .95), 0 2px 6px rgba(0, 0, 0, .8); }
.tagline { font-family: Cinzel, serif; font-size: clamp(16px, 2.4vw, 24px); color: var(--gold-hi); margin: 0 0 26px; letter-spacing: .06em; text-shadow: 0 0 20px #000; }
.lede { font-size: clamp(19px, 2.2vw, 23px); margin: 0 auto 30px; max-width: 640px; text-shadow: 0 0 18px #000, 0 0 4px #000; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 16px; color: var(--gold-hi); letter-spacing: .04em; text-shadow: 0 0 10px #000; }

.btn { display: inline-block; font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding: 14px 26px; border-radius: 999px; border: 1px solid var(--gold); cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn-gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: #2a1406; box-shadow: 0 0 30px rgba(255, 160, 60, .25); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 0 40px rgba(255, 160, 60, .45); }
.btn-ghost { background: rgba(0, 0, 0, .45); color: var(--gold); }
.btn-ghost:hover { background: rgba(255, 208, 138, .12); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* sections */
.section { padding: 96px 0; }
.section-dark { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rifts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 40px; }
.rifts figure { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.rifts img { width: 100%; height: 100%; object-fit: cover; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.features article, .perks article, .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.features p, .perks p { margin: 0; color: var(--muted); font-size: 18px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features, .rifts { grid-template-columns: 1fr; } .rifts figure:nth-child(n+2) { display: none; } }

.ancients { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.ancient { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.ancient img { width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; }
.ancient > div { padding: 20px 24px 24px; }
.ancient h3 { font-size: 24px; margin: 0; }
.epithet { margin: 0 0 10px; color: var(--ember); font-style: italic; }
.ancient p:last-child { margin: 0; color: var(--muted); font-size: 18px; }
@media (max-width: 760px) { .ancients { grid-template-columns: 1fr; } }

/* creators */
.creators { background: linear-gradient(180deg, rgba(13, 8, 6, .92), rgba(13, 8, 6, .97)), url(/img/mystery.webp) center / cover; }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 40px; }
.perk-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--gold); border-radius: 50%; font-family: Cinzel, serif; color: var(--gold); margin-bottom: 12px; }
@media (max-width: 860px) { .perks { grid-template-columns: 1fr; } }

.form { max-width: 820px; margin: 0 auto 18px; }
.form h3 { font-size: 24px; }
.form-sub { margin: 0 0 20px; color: var(--muted); font-size: 17px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }
label { display: block; font-size: 16px; color: var(--gold-hi); margin-bottom: 16px; }
.opt { color: var(--muted); font-size: 14px; }
input, select, textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 13px; font: inherit; font-size: 17px; color: var(--text); background: #120a08; border: 1px solid var(--line); border-radius: 8px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
textarea { resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.check input { width: 18px; height: 18px; margin: 4px 0 0; flex: none; accent-color: var(--gold); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.6em; margin: 12px 0 0; font-size: 17px; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }

/* join */
.join { background: linear-gradient(180deg, var(--bg), rgba(13, 8, 6, .85) 40%, rgba(13, 8, 6, .85)), url(/img/research.webp) center / cover; }
.join-form { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; }
.join-form input { margin: 0; border-radius: 999px; padding: 13px 20px; }
@media (max-width: 520px) { .join-form { flex-direction: column; } }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.socials a { font-family: Cinzel, serif; font-size: 14px; letter-spacing: .08em; color: var(--text); text-decoration: none; border: 1px solid var(--line); background: rgba(0, 0, 0, .4); padding: 8px 16px; border-radius: 999px; }
.socials a:hover { border-color: var(--gold); color: var(--gold); }

.footer { text-align: center; padding: 50px 20px 60px; border-top: 1px solid var(--line); }
.footer-mark { width: 220px; height: auto; margin: 0 auto 14px; opacity: .85; }
.footer p { margin: 6px 0; }

/* privacy page */
.page { max-width: 760px; margin: 0 auto; padding: 60px 20px 80px; }
.page h1 { color: var(--gold); font-size: 36px; }
.page h2 { font-size: 24px; margin-top: 36px; }
