:root {
  --bg: #05060a;
  --bg-2: #0a0c12;
  --panel: rgba(16, 18, 26, 0.72);
  --panel-border: rgba(212, 175, 55, 0.28);
  --ink: #e9e7e2;
  --muted: #9aa0aa;
  --gold-1: #f7e7a6;
  --gold-2: #d8b158;
  --gold-3: #a9781f;
  --accent: #e6a63c;
  --gold-grad: linear-gradient(180deg, #f7e7a6 0%, #d8b158 45%, #a9781f 78%, #7a520f 100%);
  --maxw: 1120px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1100px 520px at 50% -120px, rgba(80,56,20,.55) 0%, rgba(80,56,20,0) 60%),
    radial-gradient(900px 760px at 84% 10%, rgba(22,38,64,.34) 0%, rgba(22,38,64,0) 60%),
    radial-gradient(820px 760px at 10% 40%, rgba(64,44,16,.26) 0%, rgba(64,44,16,0) 60%),
    radial-gradient(900px 820px at 88% 72%, rgba(24,36,60,.24) 0%, rgba(24,36,60,0) 60%),
    radial-gradient(1200px 1000px at 50% 128%, rgba(8,10,18,.7), rgba(5,6,10,0) 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; border: 0; clip: rect(0 0 0 0); overflow: hidden;
  white-space: nowrap;
}

/* ---------- accessibility: skip link + focus ---------- */
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--gold-grad); color: #241803; font-weight: 600;
  font-family: "Oswald", sans-serif; letter-spacing: 1px;
  padding: 10px 16px; border-radius: 8px; transition: top .18s ease;
}
.skip-link:focus { top: 12px; }

a:focus-visible, button:focus-visible, .socials a:focus-visible {
  outline: 2px solid var(--gold-1); outline-offset: 3px; border-radius: 6px;
}

/* ---------- starfield (dense cosmic backdrop, like the artwork) ---------- */
.starfield {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    /* bright accent stars */
    radial-gradient(1.6px 1.6px at 20% 12%, rgba(255,255,255,.95), transparent),
    radial-gradient(1.5px 1.5px at 78% 8%, rgba(255,246,224,.9), transparent),
    radial-gradient(1.7px 1.7px at 63% 26%, rgba(255,255,255,.85), transparent),
    radial-gradient(1.5px 1.5px at 88% 40%, rgba(214,231,255,.85), transparent),
    radial-gradient(1.6px 1.6px at 8% 52%, rgba(255,255,255,.8), transparent),
    /* two tiled fields for density */
    radial-gradient(1.1px 1.1px at 30% 30%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1px 1px at 70% 65%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1.3px 1.3px at 15% 80%, rgba(255,246,224,.6), transparent 60%),
    radial-gradient(0.9px 0.9px at 50% 15%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1px 1px at 85% 88%, rgba(214,231,255,.55), transparent 60%);
  background-size:
    100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%,
    240px 240px, 180px 180px, 300px 300px, 150px 150px, 210px 210px;
  background-repeat:
    no-repeat, no-repeat, no-repeat, no-repeat, no-repeat,
    repeat, repeat, repeat, repeat, repeat;
  opacity: 0.85;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: "Oswald", sans-serif; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; cursor: pointer; border-radius: 8px;
  padding: 12px 22px; font-size: 13px; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  border: 1px solid transparent;
}
.btn:active { transform: translateY(1px); }

.btn-outline {
  border-color: var(--gold-2); color: var(--gold-1);
  background: rgba(216, 177, 88, 0.06);
}
.btn-outline:hover { background: rgba(216, 177, 88, 0.16); box-shadow: 0 0 22px rgba(216,177,88,.18); }

.btn-gold {
  background: var(--gold-grad); color: #241803; font-weight: 600;
  box-shadow: 0 8px 26px rgba(169, 120, 31, 0.35);
}
.btn-gold:hover { box-shadow: 0 10px 34px rgba(216, 177, 88, 0.5); transform: translateY(-1px); }
.btn-block { width: 100%; padding: 16px; font-size: 15px; }
.arrow { font-family: Inter, sans-serif; font-weight: 400; }

/* ---------- nav ---------- */
.nav {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  max-width: var(--maxw); margin: 0 auto; padding: 22px 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(216,177,88,.4)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: "Oswald", sans-serif; font-weight: 600; letter-spacing: 3px; font-size: 18px; }
.brand-sub { font-family: "Cinzel", serif; font-size: 8.5px; letter-spacing: 3px; color: var(--gold-2); }

.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-family: "Oswald", sans-serif; font-weight: 300; letter-spacing: 2px;
  font-size: 13px; color: #d8dae0; position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px;
  background: var(--gold-grad); transition: width .25s ease;
}
.nav-links a:hover { color: var(--gold-1); }
.nav-links a:hover::after { width: 100%; }

/* ---------- hero ---------- */
.hero { position: relative; z-index: 2; text-align: center; padding: 6px 12px 0; }
.hero-horizon {
  position: absolute; top: -40px; left: 50%; transform: translateX(-50%);
  width: 140%; height: 380px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 120px at 50% 100%, rgba(230,166,60,.5), rgba(230,166,60,0) 70%),
    radial-gradient(70% 260px at 50% 130%, rgba(120,70,20,.55), rgba(120,70,20,0) 70%);
  filter: blur(2px);
}
.hero-inner { max-width: 1240px; margin: 0 auto; }
.hero-identity {
  display: block; width: 100%; max-width: 1180px; height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 14px 60px rgba(216,177,88,.22));
  -webkit-mask-image: radial-gradient(140% 130% at 50% 44%, #000 82%, rgba(0,0,0,0) 100%);
          mask-image: radial-gradient(140% 130% at 50% 44%, #000 82%, rgba(0,0,0,0) 100%);
}
.hero-mark {
  margin: 0 auto 6px; width: 96px; height: 96px;
  filter: drop-shadow(0 6px 26px rgba(216,177,88,.45));
}

.wordmark {
  font-family: "Oswald", sans-serif; font-weight: 700; letter-spacing: 8px;
  font-size: clamp(44px, 9vw, 104px); margin: 0; line-height: 1;
  background: linear-gradient(180deg, #fbf3d4 0%, #e4c674 30%, #a9781f 62%, #d9be7c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 2px 30px rgba(216,177,88,.25);
}

.rule-heading {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin: 20px auto 6px; color: var(--gold-1);
  font-family: "Cinzel", serif; font-weight: 600;
  letter-spacing: clamp(2px, 1vw, 6px); font-size: clamp(13px, 2.2vw, 20px);
}
.rule-heading .rule { height: 1px; width: clamp(24px, 8vw, 90px); background: linear-gradient(90deg, transparent, var(--gold-2)); }
.rule-heading .rule:last-child { background: linear-gradient(90deg, var(--gold-2), transparent); }

.hero-sub {
  margin: 0; color: #cfd2d8; font-family: "Cinzel", serif;
  letter-spacing: clamp(2px, 1vw, 6px); font-size: clamp(11px, 1.8vw, 16px);
}
.cycle {
  margin: 20px 0 0; color: var(--accent);
  font-family: "Oswald", sans-serif; font-weight: 500;
  letter-spacing: clamp(3px, 1.5vw, 8px); font-size: clamp(14px, 2.4vw, 22px);
}

.orbit { position: relative; width: 54px; height: 54px; margin: 16px auto; }
.orbit-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid var(--gold-2);
  transform: rotateX(66deg); box-shadow: 0 0 14px rgba(216,177,88,.4);
}
.orbit-core {
  position: absolute; inset: 16px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #6db1e6, #14406b 70%, #0a2038);
  box-shadow: 0 0 16px rgba(109,177,230,.4);
}

.tagline {
  margin: 14px 0 0; color: #d5d8de; font-family: "Cinzel", serif;
  letter-spacing: clamp(2px, 1vw, 5px); font-size: clamp(12px, 2vw, 18px);
}

/* ---------- coming soon ---------- */
.coming { position: relative; z-index: 2; text-align: center; padding: 8px 20px 4px; margin-top: -4px; }
.eyebrow {
  font-family: "Cinzel", serif; color: var(--gold-2);
  letter-spacing: 5px; font-size: 12px; margin: 0 0 8px;
}
.eyebrow.center { text-align: center; }
.coming-title {
  font-family: "Oswald", sans-serif; font-weight: 700; margin: 0;
  font-size: clamp(40px, 8vw, 94px); line-height: .95; letter-spacing: 6px;
  background: linear-gradient(180deg, #ffffff 0%, #d7dbe1 34%, #9aa0aa 60%, #5c616b 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 1px rgba(9,10,14,.35);
  filter: drop-shadow(0 3px 2px rgba(0,0,0,.55)) drop-shadow(0 10px 34px rgba(0,0,0,.5));
}
.coming-copy { max-width: 620px; margin: 10px auto 0; color: var(--muted); font-size: 16px; }
.accent { color: var(--accent); font-weight: 500; }

/* ---------- split: waitlist + visionaries ---------- */
.split {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 20px auto 8px; padding: 0 24px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; align-items: start;
}
.card {
  background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: var(--radius); padding: 22px 24px;
  backdrop-filter: blur(6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.03);
}
.card-title {
  font-family: "Cinzel", serif; color: var(--gold-1); letter-spacing: 4px;
  font-size: 18px; margin: 0 0 4px; text-align: center;
}
.card-title.center { margin-bottom: 22px; }
.card-sub { text-align: center; color: var(--muted); margin: 0 0 20px; font-size: 14px; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin-bottom: 14px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 9px;
  background: rgba(6, 8, 13, 0.7); color: var(--ink);
  border: 1px solid rgba(212,175,55,.22); font-family: inherit; font-size: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; }
.field select { appearance: none; color: var(--muted);
  background-image: linear-gradient(45deg, transparent 50%, var(--gold-2) 50%), linear-gradient(135deg, var(--gold-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.field select:valid { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 3px rgba(216,177,88,.14);
}
.field input::placeholder, .field textarea::placeholder { color: #71767f; }

.privacy { text-align: center; color: var(--muted); font-size: 12.5px; margin: 14px 0 0; }
.lock { opacity: .8; }
.form-status { text-align: center; font-size: 13.5px; margin: 10px 0 0; min-height: 18px; }
.form-status.ok { color: var(--gold-1); }
.form-status.err { color: #e88; }

/* ---------- visionaries ---------- */
.vis-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.vis-list li { display: flex; align-items: center; gap: 16px; }
/* Icons are the actual metallic marks extracted from the approved artwork.
   Visionaries include their circular frame; ecosystem are frameless. */
.vis-icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; }
.eco-icon { flex: none; display: grid; place-items: center; width: 50px; height: 50px; }
.vis-icon img { width: 56px; height: 56px; }
.eco-icon img { width: 48px; height: 48px; }
.vis-icon img, .eco-icon img {
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.5));
}
.vis-list strong { display: block; font-family: "Oswald", sans-serif; letter-spacing: 2px; color: var(--gold-1); font-size: 14px; }
.vis-list span { color: var(--muted); font-size: 13.5px; }

/* ---------- ecosystem ---------- */
.ecosystem { position: relative; z-index: 2; max-width: var(--maxw); margin: 6px auto 22px; padding: 12px 24px; text-align: center; }
.eco-grid {
  list-style: none; margin: 16px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px;
}
.eco-grid li { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.eco-grid strong { font-family: "Oswald", sans-serif; letter-spacing: 1.5px; font-size: 12.5px; color: #e7e2d3; }
.eco-grid span { color: var(--muted); font-size: 11.5px; }

/* ---------- footer / seal imprint ---------- */
.footer {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(212,175,55,.2);
  background: linear-gradient(180deg, rgba(10,10,14,.4), rgba(4,5,9,.9));
}
.footer-main {
  max-width: var(--maxw); margin: 0 auto; padding: 30px 24px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center;
}
.footer-seal img { height: 118px; width: auto; filter: drop-shadow(0 4px 20px rgba(216,177,88,.35)); }
.footer-copy { color: var(--muted); font-size: 13.5px; max-width: 520px; margin: 0; }
.socials { display: flex; gap: 14px; }
.socials a {
  width: 40px; height: 40px; border-radius: 9px; display: grid; place-items: center;
  border: 1px solid rgba(212,175,55,.3); background: rgba(216,177,88,.06);
  transition: background .2s ease, transform .15s ease;
}
.socials a:hover { background: rgba(216,177,88,.18); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; fill: var(--gold-1); }

.footer-bottom {
  max-width: var(--maxw); margin: 0 auto; padding: 16px 24px 26px;
  border-top: 1px solid rgba(255,255,255,.05);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  color: var(--muted); font-size: 12.5px;
}
.legal { display: flex; gap: 20px; }
.legal a { letter-spacing: 1.5px; }
.legal a:hover { color: var(--gold-1); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .split { grid-template-columns: 1fr; }
  .eco-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 520px) {
  .row { grid-template-columns: 1fr; }
  .eco-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; }
  .nav { padding: 18px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}
