:root {
  --ink: #030705;
  --ink-soft: #07100c;
  --panel: #0a1510;
  --panel-light: #102119;
  --emerald: #55f3a0;
  --emerald-bright: #9affc8;
  --emerald-deep: #0d9f61;
  --gold: #d8b56a;
  --ivory: #f0eee5;
  --muted: #9bab9f;
  --line: rgba(129, 255, 186, 0.16);
  --shell: min(1180px, calc(100vw - 40px));
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Bahnschrift", "Aptos", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 70% 45%, rgba(25, 113, 68, 0.09), transparent 30%),
    var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: var(--emerald);
  color: #021109;
  font-weight: 800;
}
.skip-link:focus { transform: none; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px max(26px, calc((100vw - 1320px) / 2));
  border-bottom: 1px solid transparent;
  transition: background 240ms ease, border-color 240ms ease, padding 240ms ease;
}
.site-header.is-scrolled {
  padding-top: 11px;
  padding-bottom: 11px;
  border-color: rgba(126, 255, 183, 0.12);
  background: rgba(3, 8, 5, 0.88);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.14em;
}
.brand img {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(119, 255, 180, 0.45);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 28px rgba(59, 241, 142, 0.22);
}
.site-header nav { display: flex; align-items: center; gap: 30px; }
.site-header nav a {
  position: relative;
  color: #c8d1ca;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
.site-header nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--emerald);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}
.site-header nav a:hover::after,
.site-header nav a:focus-visible::after { transform: scaleX(1); }
.nav-cta {
  padding: 9px 16px;
  border: 1px solid rgba(113, 255, 175, 0.38);
  border-radius: 999px;
  background: rgba(32, 122, 77, 0.18);
}

.hero {
  position: relative;
  display: grid;
  min-height: 840px;
  isolation: isolate;
  overflow: hidden;
  place-items: center;
}
.hero-art {
  position: absolute;
  z-index: -3;
  inset: 0;
  background: url("assets/hero.jpg") 61% center / cover no-repeat;
  filter: saturate(1.04) contrast(1.05);
  transform: scale(1.01);
}
.hero-vignette {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 4, 0.98) 0%, rgba(2, 6, 4, 0.86) 26%, rgba(2, 6, 4, 0.36) 53%, rgba(2, 6, 4, 0.08) 75%),
    linear-gradient(180deg, rgba(2, 6, 4, 0.52) 0%, transparent 24%, transparent 68%, var(--ink) 100%);
}
.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.34'/%3E%3C/svg%3E");
  content: "";
  pointer-events: none;
}
.hero-content {
  width: var(--shell);
  padding: 150px 0 95px;
}
.hero-content > * { max-width: 670px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--emerald-bright);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow span {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
}
h1, h2, h3 { margin-top: 0; }
h1, h2 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
h1 {
  margin-bottom: 27px;
  font-size: clamp(64px, 7.3vw, 112px);
  text-shadow: 0 5px 36px rgba(0, 0, 0, 0.74);
}
h1 em, h2 em { color: var(--emerald-bright); font-style: italic; font-weight: 500; }
.hero-lede {
  margin: 0 0 34px;
  color: #d9dfda;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  text-shadow: 0 2px 16px #000;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 46px; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary {
  background: linear-gradient(135deg, #8fffc0, #31d17d);
  box-shadow: 0 13px 42px rgba(43, 221, 122, 0.2);
  color: #03150b;
}
.button-primary:hover, .button-primary:focus-visible { box-shadow: 0 16px 52px rgba(43, 221, 122, 0.34); }
.button-secondary {
  border-color: rgba(225, 238, 228, 0.28);
  background: rgba(3, 12, 7, 0.48);
  color: var(--ivory);
  backdrop-filter: blur(9px);
}
.play-icon { font-size: 10px; }
.hero-facts { display: flex; gap: 0; margin: 0 0 20px; }
.hero-facts div { min-width: 145px; padding: 0 22px; border-left: 1px solid rgba(152, 255, 199, 0.2); }
.hero-facts div:first-child { padding-left: 0; border-left: 0; }
.hero-facts dt { color: var(--ivory); font-family: var(--serif); font-size: 27px; font-weight: 700; line-height: 1.1; }
.hero-facts dd { margin: 4px 0 0; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.status-note { color: #9daf9f; font-size: 12px; letter-spacing: 0.04em; }
.scroll-cue {
  position: absolute;
  bottom: 27px;
  left: 50%;
  width: 25px;
  height: 40px;
  border: 1px solid rgba(164, 255, 204, 0.3);
  border-radius: 999px;
  transform: translateX(-50%);
}
.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 7px;
  border-radius: 5px;
  background: var(--emerald);
  transform: translateX(-50%);
  animation: scroll-cue 1.8s ease-in-out infinite;
}
@keyframes scroll-cue { 0%, 100% { opacity: 0.25; transform: translate(-50%, 0); } 45% { opacity: 1; } 70% { opacity: 0; transform: translate(-50%, 13px); } }

.section { width: var(--shell); margin-inline: auto; padding-block: 120px; }
.section-heading { max-width: 760px; margin: 0 auto 50px; text-align: center; }
.section-heading .eyebrow { justify-content: center; }
h2 { margin-bottom: 24px; font-size: clamp(44px, 5vw, 76px); }
.trailer-section { padding-top: 90px; }
.trailer-frame {
  position: relative;
  padding: 10px;
  border: 1px solid rgba(91, 255, 162, 0.2);
  background: linear-gradient(145deg, rgba(48, 177, 103, 0.14), rgba(5, 13, 8, 0.3));
  box-shadow: 0 45px 120px rgba(0, 0, 0, 0.62), 0 0 80px rgba(41, 189, 106, 0.08);
}
.trailer-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; object-fit: cover; }
.frame-corners::before,
.frame-corners::after {
  position: absolute;
  width: 52px;
  height: 52px;
  border-color: var(--emerald);
  content: "";
  pointer-events: none;
}
.frame-corners::before { top: -5px; left: -5px; border-top: 1px solid; border-left: 1px solid; }
.frame-corners::after { right: -5px; bottom: -5px; border-right: 1px solid; border-bottom: 1px solid; }

.world-section { border-top: 1px solid var(--line); }
.world-intro { display: grid; grid-template-columns: 0.88fr 1.12fr; column-gap: 85px; align-items: end; margin-bottom: 70px; }
.world-intro .eyebrow { grid-column: 1 / -1; }
.world-intro h2 { margin-bottom: 0; }
.world-intro > p:last-child { margin: 0 0 9px; color: #afbbb2; font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.feature-card {
  min-height: 305px;
  padding: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(155deg, rgba(20, 48, 34, 0.72), rgba(7, 16, 11, 0.5));
  transition: border-color 200ms ease, transform 200ms ease, background 200ms ease;
}
.feature-card:hover { border-color: rgba(105, 255, 172, 0.38); background: linear-gradient(155deg, rgba(25, 65, 44, 0.77), rgba(7, 16, 11, 0.65)); transform: translateY(-4px); }
.feature-number { display: block; margin-bottom: 52px; color: var(--emerald); font-family: var(--serif); font-size: 14px; }
.feature-card h3 { margin-bottom: 15px; font-family: var(--serif); font-size: 27px; line-height: 1.1; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }

.clans-section {
  display: grid;
  width: 100%;
  max-width: 1500px;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  padding-inline: max(20px, calc((100vw - 1380px) / 2));
  background:
    radial-gradient(circle at 76% 48%, rgba(36, 217, 119, 0.13), transparent 32%),
    linear-gradient(90deg, #06100b 0%, #030705 100%);
}
.clans-copy { position: relative; z-index: 2; padding-right: 55px; }
.clans-copy > p:not(.eyebrow) { max-width: 520px; color: var(--muted); font-size: 18px; }
.clan-list { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 32px 0 0; list-style: none; }
.clan-list li { padding: 7px 11px; border: 1px solid rgba(111, 255, 175, 0.19); color: #c7d1c9; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.clans-art { position: relative; margin: 0; }
.clans-art::before { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, #06100b 0%, transparent 24%, transparent 78%, rgba(3, 7, 5, 0.5) 100%); content: ""; pointer-events: none; }
.clans-art img { display: block; width: 100%; min-height: 640px; object-fit: cover; }
.clans-art figcaption { position: absolute; z-index: 2; right: 18px; bottom: 14px; color: rgba(227, 235, 228, 0.72); font-size: 10px; letter-spacing: 0.11em; text-transform: uppercase; }

.rootkey-section { display: grid; grid-template-columns: 1fr 0.9fr; gap: 80px; align-items: center; }
.rootkey-art { position: relative; margin: 0; }
.rootkey-art img { position: relative; z-index: 1; display: block; border: 1px solid rgba(95, 255, 167, 0.18); }
.rootkey-glow { position: absolute; z-index: 0; top: 20%; left: 18%; width: 64%; aspect-ratio: 1; border-radius: 50%; background: rgba(46, 231, 131, 0.22); filter: blur(80px); }
.rootkey-copy > p:not(.eyebrow):not(.concept-note) { color: #b7c2ba; font-size: 18px; }
.rootkey-specs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 35px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rootkey-specs div { padding: 20px 12px; border-left: 1px solid var(--line); }
.rootkey-specs div:first-child { border-left: 0; }
.rootkey-specs strong { display: block; color: var(--emerald-bright); font-family: var(--serif); font-size: 30px; }
.rootkey-specs span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.concept-note { color: #819087; font-size: 12px; }

.final-cta {
  position: relative;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 70px;
  align-items: center;
  margin-bottom: 90px;
  overflow: hidden;
  border: 1px solid rgba(96, 255, 167, 0.2);
  background: linear-gradient(120deg, #0b1a12, #051009);
  padding: 0 70px 0 0;
}
.final-cta::after { position: absolute; right: -10%; bottom: -90%; width: 55%; aspect-ratio: 1; border-radius: 50%; background: rgba(43, 218, 125, 0.1); content: ""; filter: blur(70px); }
.final-cta img { display: block; width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.final-cta-copy { position: relative; z-index: 1; padding-block: 50px; }
.final-cta-copy p:not(.eyebrow) { max-width: 650px; color: #b0bcb3; font-size: 17px; }
.final-cta-copy .button { margin-top: 12px; }

.site-footer {
  display: grid;
  width: var(--shell);
  grid-template-columns: 0.6fr 1.4fr;
  gap: 60px;
  margin-inline: auto;
  padding: 45px 0 60px;
  border-top: 1px solid var(--line);
}
.footer-brand strong { display: block; font-size: 15px; letter-spacing: 0.15em; }
.footer-brand span { color: var(--emerald); font-family: var(--serif); font-size: 14px; font-style: italic; }
.footer-legal { max-width: 760px; }
.footer-legal p { margin: 0 0 8px; color: #718078; font-size: 10px; line-height: 1.55; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero { min-height: 780px; }
  .hero-art { background-position: 67% center; }
  .world-intro { grid-template-columns: 1fr; gap: 20px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .clans-section { grid-template-columns: 1fr; padding: 100px 20px 0; }
  .clans-copy { width: min(760px, 100%); padding: 0; margin-inline: auto; }
  .clans-art { width: min(880px, 100%); margin: 40px auto 0; }
  .clans-art::before { background: linear-gradient(180deg, #06100b 0%, transparent 22%, transparent 84%, #030705 100%); }
  .clans-art img { min-height: 0; }
  .rootkey-section { gap: 45px; }
  .final-cta { grid-template-columns: 300px 1fr; gap: 40px; padding-right: 40px; }
}

@media (max-width: 720px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .site-header { padding: 12px 14px; }
  .brand { font-size: 12px; letter-spacing: 0.09em; }
  .brand img { width: 38px; height: 38px; }
  .nav-cta { padding: 7px 11px !important; font-size: 10px !important; }
  .hero { min-height: 760px; align-items: end; }
  .hero-art { background-position: 72% top; }
  .hero-vignette { background: linear-gradient(180deg, rgba(2, 6, 4, 0.24) 0%, rgba(2, 6, 4, 0.25) 25%, rgba(2, 6, 4, 0.97) 67%, var(--ink) 100%); }
  .hero-content { padding: 300px 0 65px; }
  h1 { font-size: clamp(52px, 16vw, 74px); }
  .hero-lede { font-size: 16px; }
  .hero-actions { display: grid; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-facts div { min-width: 0; padding: 0 9px; }
  .hero-facts dt { font-size: 20px; }
  .hero-facts dd { font-size: 8px; }
  .scroll-cue { display: none; }
  .section { padding-block: 82px; }
  .trailer-section { padding-top: 65px; }
  .trailer-frame { padding: 5px; }
  h2 { font-size: clamp(40px, 12vw, 58px); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-number { margin-bottom: 35px; }
  .clans-section { padding-top: 80px; }
  .clans-art figcaption { position: static; padding: 10px 0; }
  .rootkey-section { grid-template-columns: 1fr; }
  .rootkey-copy { order: -1; }
  .final-cta { display: block; width: calc(100% - 28px); padding: 0; }
  .final-cta img { width: 100%; min-height: 0; aspect-ratio: 1; }
  .final-cta-copy { padding: 36px 24px 42px; }
  .site-footer { grid-template-columns: 1fr; gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
