* {
  box-sizing: border-box;
}

:root {
  --bg: #080b0d;
  --bg-soft: #11171a;
  --panel: rgba(19, 25, 28, 0.86);
  --panel-light: #171e21;
  --text: #f2eee4;
  --muted: #b9b4a9;
  --gold: #d4a75f;
  --gold-light: #f0d69c;
  --line: rgba(212, 167, 95, 0.25);
  --blue: #8fb2b8;
  --max: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(61, 87, 91, .12), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

a {
  color: inherit;
}

.ambient {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .08;
  pointer-events: none;
  z-index: -1;
}

.ambient-one {
  background: #2d7c86;
  left: -120px;
  top: 35%;
}

.ambient-two {
  background: #9b5c22;
  right: -160px;
  top: 55%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  padding: 0 5vw;
  background: linear-gradient(to bottom, rgba(4, 7, 8, .96), rgba(4, 7, 8, .72), transparent);
  transition: background .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(6, 9, 10, .92);
  backdrop-filter: blur(18px);
  border-color: rgba(212, 167, 95, .18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand strong,
.site-footer strong {
  display: block;
  font-family: "Cinzel", serif;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.primary-nav a {
  color: #ded8ca;
  text-decoration: none;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  transition: color .2s ease;
}

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

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-backdrop,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-backdrop svg {
  width: 100%;
  height: 100%;
}

.hero-overlay {
  background:
    linear-gradient(to right, rgba(4, 6, 7, .9) 0%, rgba(4, 6, 7, .6) 44%, rgba(4, 6, 7, .18) 100%),
    linear-gradient(to bottom, rgba(4,6,7,.08), rgba(4,6,7,.15) 55%, #080b0d 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), 90vw);
  padding-top: 84px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  font-weight: 700;
}

.hero h1,
.section h2 {
  font-family: "Cinzel", serif;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -.02em;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(3.6rem, 8.5vw, 7.5rem);
  text-transform: uppercase;
  text-shadow: 0 10px 40px rgba(0,0,0,.6);
}

.hero h1 span {
  color: var(--gold-light);
}

.hero-copy {
  max-width: 680px;
  margin: 28px 0 0;
  color: #ddd7cb;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--gold);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .76rem;
  font-weight: 700;
  transition: .2s ease;
}

.button-primary {
  color: #17120b;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 12px 32px rgba(157, 99, 36, .2);
}

.button-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.button-secondary {
  color: var(--text);
  background: rgba(6, 9, 10, .45);
  backdrop-filter: blur(8px);
}

.button-secondary:hover {
  background: rgba(212, 167, 95, .1);
}

.hero-note {
  margin-top: 22px;
  color: #b8b1a3;
  font-family: "Cinzel", serif;
  letter-spacing: .04em;
  font-size: .9rem;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #a7a196;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .68rem;
}

.scroll-cue span {
  width: 44px;
  height: 1px;
  background: var(--gold);
}

.section {
  position: relative;
  padding: 120px 5vw;
}

.section > * {
  width: min(var(--max), 100%);
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  max-width: 820px;
}

.section-heading.centered {
  text-align: center;
  margin-bottom: 60px;
}

.section h2 {
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  color: #f4efe4;
}

.section-heading > p:last-child {
  color: var(--muted);
  max-width: 720px;
  margin: 22px auto 0;
}

.intro-section {
  background:
    linear-gradient(rgba(255,255,255,.012), rgba(255,255,255,.012)),
    #0b0f11;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 80px;
  margin-top: 55px;
  align-items: center;
}

.intro-copy p {
  color: var(--muted);
}

.lead {
  font-size: 1.2rem;
  color: #e3ded4 !important;
}

.quote-card {
  position: relative;
  padding: 42px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(212,167,95,.08), rgba(255,255,255,.015)),
    var(--panel);
  box-shadow: 0 25px 70px rgba(0,0,0,.28);
}

.quote-card::before,
.quote-card::after {
  content: "";
  position: absolute;
  width: 32px;
  height: 32px;
  border-color: var(--gold);
}

.quote-card::before {
  left: -1px;
  top: -1px;
  border-left: 2px solid;
  border-top: 2px solid;
}

.quote-card::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.rune {
  color: var(--gold);
  font-size: 1.5rem;
}

.quote-card blockquote {
  margin: 24px 0;
  font-family: "Cinzel", serif;
  font-size: 1.45rem;
  line-height: 1.5;
}

.quote-card span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .67rem;
}

.dark-section {
  background:
    radial-gradient(circle at 50% 0, rgba(84, 124, 130, .1), transparent 38%),
    #070a0b;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  min-height: 245px;
  padding: 34px;
  border: 1px solid rgba(255,255,255,.07);
  background: linear-gradient(145deg, rgba(255,255,255,.025), rgba(255,255,255,.008));
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--line);
  background: linear-gradient(145deg, rgba(212,167,95,.07), rgba(255,255,255,.01));
}

.feature-icon {
  color: var(--gold);
  font-size: 1.7rem;
  margin-bottom: 28px;
}

.feature-card h3,
.timeline-item h3 {
  margin: 0 0 12px;
  font-family: "Cinzel", serif;
  font-size: 1.18rem;
}

.feature-card p,
.timeline-item p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.dm-section {
  background:
    linear-gradient(90deg, rgba(12,15,16,.98), rgba(12,15,16,.85)),
    #101516;
}

.dm-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 80px;
  align-items: center;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
}

.check-list li {
  position: relative;
  padding: 15px 0 15px 34px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: #d5d0c5;
}

.check-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.artifact-panel {
  min-height: 460px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle, rgba(212,167,95,.11), transparent 45%),
    linear-gradient(145deg, rgba(255,255,255,.025), rgba(255,255,255,.008));
}

.artifact-ring {
  width: 230px;
  height: 230px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  box-shadow:
    0 0 80px rgba(212,167,95,.12),
    inset 0 0 45px rgba(212,167,95,.08);
}

.artifact-ring::before,
.artifact-ring::after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(212,167,95,.4);
  transform: rotate(45deg);
}

.artifact-ring::after {
  inset: 45px;
  transform: rotate(22.5deg);
}

.artifact-core {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 2;
  font-family: "Cinzel", serif;
  color: #18110a;
  font-weight: 700;
  font-size: 1.45rem;
  background: radial-gradient(circle at 30% 30%, var(--gold-light), var(--gold) 58%, #8f5620);
  box-shadow: 0 0 35px rgba(240,214,156,.25);
}

.artifact-panel p {
  margin-top: 38px;
  color: var(--gold);
  font-family: "Cinzel", serif;
  letter-spacing: .22em;
  font-size: .72rem;
}

.path-section {
  background: #0a0e10;
}

.timeline {
  margin-top: 60px;
  border-top: 1px solid var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.timeline-item > span {
  color: var(--gold);
  font-family: "Cinzel", serif;
  font-size: 1.2rem;
  letter-spacing: .1em;
}

.join-section {
  padding-top: 60px;
  background:
    radial-gradient(circle at 50% 50%, rgba(212,167,95,.08), transparent 40%),
    #080b0d;
}

.join-card {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 60px;
  align-items: center;
  padding: 60px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.025), rgba(255,255,255,.008));
}

.join-card h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.join-card p {
  color: var(--muted);
}

.interest-form {
  padding: 28px;
  background: rgba(0,0,0,.2);
  border: 1px solid rgba(255,255,255,.06);
}

.interest-form label {
  display: block;
  margin-bottom: 14px;
  font-family: "Cinzel", serif;
  color: #eee6d6;
}

.form-row {
  display: flex;
}

.form-row input {
  flex: 1;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(212,167,95,.3);
  border-right: 0;
  background: #0c1012;
  color: var(--text);
  font: inherit;
}

.form-row button {
  border: 0;
  padding: 0 20px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #1a1209;
  font-weight: 700;
  cursor: pointer;
}

.interest-form small {
  display: block;
  margin-top: 12px;
  color: #8e897f;
}

.site-footer {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 60px;
  padding: 55px 5vw;
  border-top: 1px solid rgba(255,255,255,.06);
  background: #050708;
}

.site-footer > * {
  max-width: 760px;
}

.site-footer p {
  margin: 8px 0 0;
  color: #8f8a82;
  font-size: .8rem;
}

.footer-meta {
  justify-self: end;
}

@media (max-width: 900px) {
  .primary-nav {
    position: absolute;
    top: 84px;
    left: 4vw;
    right: 4vw;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    background: rgba(6,9,10,.97);
    border: 1px solid var(--line);
  }

  .primary-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
    border: 1px solid rgba(212,167,95,.4);
    background: transparent;
    color: var(--text);
    padding: 10px 14px;
    text-transform: uppercase;
    letter-spacing: .1em;
  }

  .intro-grid,
  .dm-layout,
  .join-card,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-meta {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 0 20px;
  }

  .brand small {
    display: none;
  }

  .hero-content {
    width: calc(100% - 40px);
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .section {
    padding: 90px 20px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .join-card {
    padding: 30px;
  }

  .form-row {
    flex-direction: column;
  }

  .form-row input {
    border-right: 1px solid rgba(212,167,95,.3);
  }

  .form-row button {
    min-height: 50px;
  }

  .timeline-item {
    grid-template-columns: 72px 1fr;
  }

  .artifact-panel {
    min-height: 380px;
  }

  .artifact-ring {
    width: 190px;
    height: 190px;
  }
}
