:root {
  color-scheme: dark;
  --basalt: #0a0d10;
  --basalt-soft: #11161a;
  --obsidian: #161b22;
  --line: #2a3138;
  --gold: #d5a24b;
  --gold-bright: #e6c074;
  --gold-soft: #806235;
  --jade: #38b58b;
  --turquoise: #31abb0;
  --vermilion: #df5542;
  --cream: #f2e7c9;
  --muted: #93a6a5;
  --shadow: 0 24px 60px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 72% 4%, rgba(49, 171, 176, .08), transparent 36rem),
    radial-gradient(circle at 12% 92%, rgba(213, 162, 75, .06), transparent 30rem),
    linear-gradient(160deg, #0a0d10 0%, #050709 100%);
  color: var(--cream);
  font-family: Inter, "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

.glyph-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(213, 162, 75, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(213, 162, 75, .022) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
  pointer-events: none;
}

a {
  color: var(--turquoise);
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Topbar */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid var(--gold-soft);
  background: rgba(10, 13, 16, .86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--cream);
  font-weight: 900;
  letter-spacing: -.02em;
  text-decoration: none;
  font-size: 19px;
}

.brand-mark {
  position: relative;
  width: 28px;
  height: 28px;
  border: 2px solid var(--gold);
  transform: rotate(45deg);
}

.brand-mark::before {
  position: absolute;
  inset: 5px;
  border: 2px solid var(--gold);
  content: "";
}

.brand-mark::after {
  position: absolute;
  inset: 10px;
  background: var(--gold);
  content: "";
}

.topbar-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

.topbar-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color .18s ease;
}

.topbar-nav a:hover {
  color: var(--gold);
}

.topbar-cta {
  padding: 9px 16px;
  border: 1px solid var(--gold);
  border-radius: 3px;
  background: rgba(213, 162, 75, .08);
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}

.topbar-cta:hover {
  background: linear-gradient(135deg, #e4b75d, #b98234);
  color: #171006;
}

/* Sections */

main {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

section {
  padding: clamp(56px, 9vw, 110px) 0;
  border-bottom: 1px solid rgba(42, 49, 56, .55);
}

section:last-child { border-bottom: 0; }

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  letter-spacing: -.02em;
}

h1 {
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

h3 {
  font-size: 18px;
}

.lede {
  max-width: 64ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.section-head { max-width: 760px; }

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-top: clamp(64px, 10vw, 120px);
  padding-bottom: clamp(56px, 9vw, 100px);
}

.tagline {
  max-width: 30ch;
  margin: 18px 0 0;
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--cream);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-pills li {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .03em;
}

.hero-art {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(17, 22, 26, .9), rgba(8, 11, 14, .95));
  box-shadow: var(--shadow);
}

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.hero-art figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .04em;
  text-decoration: none;
  transition: filter .18s ease, background .18s ease, border-color .18s ease;
}

.button-primary {
  border-color: #e3b65e;
  background: linear-gradient(135deg, #e4b75d, #b98234);
  color: #171006;
}

.button-primary:hover { filter: brightness(1.08); }

.button-ghost {
  border-color: var(--gold-soft);
  background: transparent;
  color: var(--cream);
}

.button-ghost:hover {
  border-color: var(--gold);
  background: rgba(213, 162, 75, .08);
}

/* Play */

.play-frame {
  position: relative;
  margin-top: 32px;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.play-frame::before {
  position: absolute;
  inset: -1px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  border-right: 2px solid var(--gold-soft);
  border-bottom: 2px solid var(--gold-soft);
  content: "";
  pointer-events: none;
  z-index: 1;
}

.play-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.play-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.play-note.build-error {
  color: #f2a58d;
}

/* Pillars */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.pillar {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(17, 22, 26, .7), rgba(8, 11, 14, .85));
  box-shadow: var(--shadow);
}

.pillar-no {
  color: var(--gold-soft);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.pillar h3 {
  margin: 14px 0 8px;
  color: var(--gold-bright);
}

.pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Art */

.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.art-card {
  display: block;
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(17, 22, 26, .7);
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}

.art-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.art-card img {
  display: block;
  width: 100%;
  height: auto;
}

.art-card span {
  display: block;
  margin-top: 10px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Status */

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.status-col h3 {
  margin: 0 0 12px;
  color: var(--gold-bright);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.status-col h3:not(:first-child) {
  margin-top: 24px;
}

.status-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.status-col li {
  position: relative;
  padding: 6px 0 6px 22px;
  border-bottom: 1px solid rgba(42, 49, 56, .4);
  color: var(--muted);
  font-size: 14px;
}

.status-col li::before {
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--jade);
  transform: rotate(45deg);
  content: "";
}

/* Footer */

footer {
  border-top: 1px solid var(--gold-soft);
  padding: 24px clamp(20px, 4vw, 56px);
  color: var(--muted);
  font-size: 12px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  width: min(1280px, 100%);
  margin: 0 auto;
}

.footer-meta {
  display: flex;
  gap: 8px;
}

/* Responsive */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .topbar-nav { display: none; }
}

@media (max-width: 560px) {
  .topbar-cta { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
}
