﻿:root {
  color-scheme: dark;
  --black: #050506;
  --charcoal: #101113;
  --charcoal-2: #17191c;
  --ash: #8e9298;
  --silver: #f0eee8;
  --muted: #c6c1b8;
  --ember: #c67618;
  --ember-bright: #f0962d;
  --line: rgba(240, 238, 232, 0.18);
  --line-strong: rgba(240, 150, 45, 0.55);
  --shadow: rgba(0, 0, 0, 0.7);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--black);
  color: var(--silver);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

img,
video {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px clamp(18px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(5, 5, 6, 0.88), rgba(5, 5, 6, 0.18));
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(240, 150, 45, 0.14);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  color: var(--silver);
  font-weight: 800;
  text-transform: uppercase;
}

.brand-sigil {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #050506 0 36%, transparent 37%),
    radial-gradient(circle at 50% 50%, var(--ember-bright) 0 48%, #2c1708 52% 100%);
  box-shadow: 0 0 24px rgba(240, 150, 45, 0.38);
  animation: sigilPulse 4.5s ease-in-out infinite;
}

.nav-links {
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 14px;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ember-bright);
  text-shadow: 0 0 18px rgba(240, 150, 45, 0.42);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  overflow: hidden;
  padding: 120px clamp(20px, 6vw, 72px) 72px;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, transparent 0 42%, rgba(240, 150, 45, 0.13) 52%, transparent 66%),
    linear-gradient(0deg, rgba(198, 118, 24, 0.18), transparent 42%);
  mix-blend-mode: screen;
  opacity: 0.72;
  animation: heatPulse 6.5s ease-in-out infinite alternate;
}

.hero::after {
  inset: -12%;
  z-index: -1;
  background:
    repeating-linear-gradient(115deg, transparent 0 42px, rgba(240, 150, 45, 0.09) 43px 44px, transparent 45px 92px);
  filter: blur(1px);
  mix-blend-mode: screen;
  opacity: 0.32;
  transform: translate3d(-2%, 0, 0);
  animation: emberVeil 16s linear infinite;
}

.hero-art,
.ember-layer,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-art,
.ember-layer {
  object-fit: cover;
}

.hero-art {
  z-index: -4;
  transform-origin: 60% 34%;
  animation: heroBreathe 28s ease-in-out infinite alternate;
}

.ember-layer {
  z-index: -3;
  mix-blend-mode: screen;
  opacity: 0.78;
  filter: saturate(2.1) contrast(1.34) brightness(1.28);
  transform: scale(1.04);
  animation: emberDrift 18s ease-in-out infinite alternate;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.82) 0%, rgba(5, 5, 6, 0.56) 36%, rgba(5, 5, 6, 0.18) 68%),
    linear-gradient(180deg, rgba(5, 5, 6, 0.38) 0%, rgba(5, 5, 6, 0.18) 42%, rgba(5, 5, 6, 0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  min-width: 0;
  width: min(720px, 100%);
  padding-bottom: clamp(10px, 8vh, 80px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--ember-bright);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  max-width: 760px;
  color: var(--silver);
  font-size: clamp(56px, 10vw, 132px);
  line-height: 0.88;
  text-transform: uppercase;
  text-shadow: 0 10px 40px var(--shadow), 0 0 42px rgba(240, 150, 45, 0.38);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.1;
}

.hero-copy,
.copy-stack p,
.section-heading p,
.access-section p,
.feature-card p,
.lore-card p,
.dark-keep-callout p,
.principle-item p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero-copy {
  min-width: 0;
  max-width: 660px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  min-width: 0;
}

.button {
  min-width: 0;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.button-primary {
  border-color: var(--ember);
  background: linear-gradient(180deg, var(--ember-bright), var(--ember));
  color: #120804;
  box-shadow: 0 0 22px rgba(240, 150, 45, 0.22);
}

.button-secondary {
  background: rgba(16, 17, 19, 0.72);
  color: var(--silver);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}

.button-disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.button-disabled:hover,
.button-disabled:focus-visible {
  transform: none;
  box-shadow: none;
}

.scroll-cue {
  position: absolute;
  right: clamp(20px, 6vw, 72px);
  bottom: 28px;
  color: var(--ash);
  font-size: 12px;
  text-transform: uppercase;
}

.section {
  position: relative;
  background: var(--black);
  border-top: 1px solid rgba(240, 238, 232, 0.08);
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 150, 45, 0.5), transparent);
  opacity: 0.56;
}

.section-inner {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(70px, 10vw, 128px) 0;
}

.split-layout,
.access-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}

.copy-stack {
  display: grid;
  gap: 18px;
}

.copy-stack p,
.access-section p {
  margin-bottom: 0;
}

.systems-section {
  background:
    linear-gradient(180deg, #09090a, #121315 52%, #080808),
    var(--black);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.lore-card,
.access-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(23, 25, 28, 0.78);
  box-shadow: inset 0 1px 0 rgba(240, 238, 232, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-card::before,
.lore-card::before,
.access-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(240, 150, 45, 0.86), transparent);
  opacity: 0.36;
  transform: translateX(-36%);
  transition: opacity 220ms ease, transform 220ms ease;
}

.feature-card:hover,
.lore-card:hover,
.access-panel:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 150, 45, 0.46);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34), 0 0 24px rgba(198, 118, 24, 0.12);
}

.feature-card:hover::before,
.lore-card:hover::before,
.access-panel:hover::before {
  opacity: 0.9;
  transform: translateX(0);
}

.feature-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.feature-number {
  margin-bottom: 36px;
  color: var(--ember-bright);
  font-weight: 800;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 15px;
}


.lore-section {
  background:
    linear-gradient(180deg, #070707, #101113 48%, #070707),
    var(--black);
}

.lore-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.lore-card {
  min-height: 230px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(240, 150, 45, 0.08), rgba(23, 25, 28, 0.78)),
    rgba(23, 25, 28, 0.78);
}

.lore-card p,
.dark-keep-callout p,
.principle-item p {
  margin-bottom: 0;
  font-size: 16px;
}

.dark-keep-callout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-top: 16px;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(5, 5, 6, 0.72);
}

.philosophy-section {
  background:
    linear-gradient(90deg, rgba(198, 118, 24, 0.12), transparent 36%),
    #080808;
}

.principle-list {
  display: grid;
  gap: 14px;
}

.principle-item {
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(240, 238, 232, 0.14);
}

.principle-item h3 {
  color: var(--silver);
}

@keyframes heroBreathe {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.035);
  }
}

@keyframes emberDrift {
  from {
    transform: scale(1.04) translate3d(-1.2%, 0, 0);
  }

  to {
    transform: scale(1.08) translate3d(1.2%, -1.4%, 0);
  }
}

@keyframes heatPulse {
  from {
    opacity: 0.54;
    filter: saturate(1);
  }

  to {
    opacity: 0.86;
    filter: saturate(1.35);
  }
}

@keyframes emberVeil {
  from {
    transform: translate3d(-4%, 2%, 0);
  }

  to {
    transform: translate3d(4%, -2%, 0);
  }
}

@keyframes sigilPulse {
  0%,
  100% {
    box-shadow: 0 0 18px rgba(240, 150, 45, 0.3);
  }

  50% {
    box-shadow: 0 0 30px rgba(240, 150, 45, 0.62);
  }
}

.access-section {
  background:
    linear-gradient(90deg, rgba(198, 118, 24, 0.13), transparent 40%),
    #070707;
}

.access-panel {
  padding: 24px;
}

.access-panel dl {
  display: grid;
  gap: 18px;
  margin: 0 0 24px;
}

.access-panel div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(240, 238, 232, 0.1);
}

.access-panel dt {
  color: var(--ash);
}

.access-panel dd {
  margin: 0;
  color: var(--silver);
  text-align: right;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 6vw, 72px);
  border-top: 1px solid rgba(240, 238, 232, 0.1);
  background: #050506;
  color: var(--ash);
}

@media (max-width: 920px) {
  .site-header {
    min-height: 64px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 92vh;
    padding-top: 96px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(5, 5, 6, 0.22), rgba(5, 5, 6, 0.92)),
      linear-gradient(90deg, rgba(5, 5, 6, 0.68), rgba(5, 5, 6, 0.2));
  }

  .split-layout,
  .access-layout,
  .feature-grid,
  .lore-grid,
  .dark-keep-callout {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 220px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-content,
  .hero-actions {
    width: 100%;
    max-width: calc(100vw - 36px);
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
    overflow-wrap: break-word;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    padding: 0 16px;
    font-size: clamp(13px, 3.7vw, 16px);
    text-align: center;
    white-space: normal;
  }

  .section-inner {
    width: min(100% - 32px, var(--max-width));
  }

  .access-panel div,
  .site-footer {
    flex-direction: column;
  }

  .access-panel dd {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ember-layer {
    display: none;
  }

  .button:hover,
  .button:focus-visible {
    transform: none;
  }

  .brand-sigil,
  .hero-art,
  .ember-layer,
  .hero::before,
  .hero::after {
    animation: none;
  }

  .hero::after {
    display: none;
  }
}

