:root {
  color-scheme: dark;
  --bg: #040404;
  --ink: #f4f1ea;
  --muted: #b8ada1;
  --dim: #756d66;
  --line: rgba(244, 241, 234, 0.18);
  --line-strong: rgba(244, 241, 234, 0.34);
  --ember: #d14f37;
  --steel: #9ca18f;
  --gold: #d7b06a;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-x: hidden;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  color: #050505;
  background: var(--gold);
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 30;
  padding: 10px 14px;
  color: #050505;
  background: var(--gold);
  border-radius: 4px;
  font-weight: 800;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #090807 url("/assets/sword-poster.jpg") center / cover no-repeat;
}

.scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/sword-poster.jpg") right center / auto 100% no-repeat;
  opacity: 1;
  filter: contrast(1.04) saturate(0.96) brightness(0.92);
}

.scene-video {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
  opacity: 0;
  filter: contrast(1.04) saturate(0.9) brightness(0.84);
  mix-blend-mode: screen;
  transition: opacity 800ms ease;
}

.video-ready .scene-video {
  opacity: 0.42;
}

.scene-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 4, 4, 0.94) 0%, rgba(4, 4, 4, 0.7) 32%, rgba(4, 4, 4, 0.08) 70%, rgba(4, 4, 4, 0.26) 100%),
    linear-gradient(180deg, rgba(4, 4, 4, 0.54) 0%, rgba(4, 4, 4, 0) 46%, #040404 100%);
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
}

main {
  position: relative;
  z-index: 1;
}

.brand,
.header-link,
.launch-slate a,
.site-footer a {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: 64px;
  height: 36px;
  object-fit: contain;
}

.header-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(4, 4, 4, 0.34);
  font-size: 0.92rem;
  font-weight: 800;
}

.header-link:hover,
.launch-slate a:hover,
.site-footer a:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}

.hero {
  min-height: 82svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: center;
  gap: clamp(28px, 7vw, 120px);
  padding: 118px clamp(20px, 6vw, 86px) 42px;
}

.hero-copy {
  max-width: 920px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--gold);
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
  font-weight: 900;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(5.4rem, 15.5vw, 15rem);
  line-height: 0.78;
  font-weight: 950;
  letter-spacing: 0;
}

.lede {
  max-width: 720px;
  margin: 30px 0 0;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.4vw, 2.55rem);
  line-height: 1.1;
  font-weight: 820;
}

.launch-slate {
  align-self: end;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(5, 5, 5, 0.58);
  backdrop-filter: blur(16px);
}

.launch-slate dl {
  display: grid;
  gap: 1px;
  margin: 0;
}

.launch-slate div {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(244, 241, 234, 0.12);
}

.launch-slate div:first-child {
  padding-top: 0;
}

.launch-slate dt {
  color: var(--dim);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.launch-slate dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.3;
  font-weight: 820;
}

.launch-slate a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  color: var(--muted);
  font-weight: 800;
}

.brief {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(28px, 5vw, 80px);
  padding: 42px clamp(20px, 6vw, 86px) 56px;
  border-top: 1px solid rgba(244, 241, 234, 0.14);
  background:
    linear-gradient(180deg, rgba(4, 4, 4, 0.22), #040404 52%),
    rgba(4, 4, 4, 0.64);
  backdrop-filter: blur(18px);
}

.brief p {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.2vw, 2.2rem);
  line-height: 1.16;
  font-weight: 840;
}

.brief ul {
  display: grid;
  gap: 12px;
  align-content: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brief li {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  border-bottom: 1px solid rgba(244, 241, 234, 0.13);
  font-size: 1rem;
  font-weight: 780;
}

.brief li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--ember);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 6vw, 86px) 38px;
  color: var(--dim);
  background: #040404;
  font-size: 0.9rem;
  font-weight: 780;
}

.site-footer a {
  color: var(--muted);
}

@media (max-width: 920px) {
  .scene-video {
    object-position: 68% 50%;
  }

  .scene-shade {
    background:
      linear-gradient(90deg, rgba(4, 4, 4, 0.94) 0%, rgba(4, 4, 4, 0.48) 72%, rgba(4, 4, 4, 0.58) 100%),
      linear-gradient(180deg, rgba(4, 4, 4, 0.68) 0%, rgba(4, 4, 4, 0.18) 48%, #040404 100%);
  }

  .site-header {
    padding-top: 20px;
  }

  .brand img {
    width: 58px;
    height: 33px;
  }

  .header-link {
    min-height: 34px;
    padding: 0 12px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 118px;
    padding-bottom: 40px;
  }

  h1 {
    font-size: clamp(4.25rem, 21vw, 7rem);
  }

  .lede {
    max-width: 520px;
  }

  .launch-slate {
    max-width: 430px;
  }

  .brief {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 540px) {
  .site-header {
    gap: 14px;
    padding-inline: 18px;
  }

  .header-link {
    color: var(--ink);
  }

  .hero {
    padding-inline: 22px;
    padding-top: 106px;
  }

  .eyebrow {
    margin-bottom: 18px;
  }

  h1 {
    font-size: clamp(3.55rem, 20vw, 5rem);
  }

  .lede {
    margin-top: 22px;
    font-size: 1.5rem;
  }

  .launch-slate {
    padding: 16px;
  }

  .launch-slate div {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
  }

  .brief {
    padding-inline: 22px;
    padding-top: 34px;
  }

  .site-footer {
    flex-direction: column;
    padding-inline: 22px;
  }
}

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