:root {
  --ink: #0e0a16;
  --ink-deep: #09070e;
  --surface: #17101f;
  --surface-2: #1d1428;
  --line: #342548;
  --text: #f5f2fa;
  --muted: #aaa0b9;
  --lime: #d3f400;
  --pink: #ff4fba;
  --purple: #7d31c8;
  --max: 1248px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--ink);
  font-family: "Instrument Sans", sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: #111;
  background: var(--lime);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
  padding: 0 max(32px, calc((100vw - var(--max)) / 2));
  transition: background .3s ease, border-color .3s ease, height .3s ease;
}
.site-header.scrolled {
  height: 68px;
  background: rgba(9, 7, 14, .84);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
}
.brand { width: 92px; }
.brand img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; color: #c8bfd4; font-weight: 600; font-size: 14px; }
.site-nav a { transition: color .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--text); }
.site-nav .nav-cta { padding: 12px 20px; color: #111; background: var(--lime); border-radius: 999px; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(900px, 100svh);
  padding: 132px max(32px, calc((100vw - var(--max)) / 2)) 76px;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14,10,22,.45) 0%, rgba(14,10,22,.08) 48%, transparent 72%),
    linear-gradient(0deg, var(--ink) 0%, transparent 19%);
}
.hero-image {
  position: absolute;
  z-index: -3;
  inset: 0;
  background: url("assets/world/hero-impact-v2.jpg") center / cover no-repeat;
  transform: scale(1.005);
}
.hero-noise {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .12;
  background-image: radial-gradient(circle at 20% 20%, #fff 0 1px, transparent 1.5px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 30%, #000);
}
.hero-content { width: min(800px, 58vw); }
.eyebrow {
  margin: 0 0 18px;
  color: var(--lime);
  font: 700 12px/1.4 "Space Mono", monospace;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.eyebrow--pink { color: var(--pink); }
h1, h2, h3 { margin: 0; font-family: Anton, sans-serif; font-weight: 400; letter-spacing: -.015em; text-transform: uppercase; }
h1 { max-width: 800px; font-size: clamp(60px, 5.5vw, 82px); line-height: .94; }
h1 em, h2 em { color: var(--lime); font-style: normal; }
.hero-copy { max-width: 560px; margin: 26px 0 0; color: #c9c0d2; font-size: clamp(17px, 1.55vw, 20px); line-height: 1.5; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 32px; min-height: 56px; padding: 0 25px; border-radius: 999px; font-weight: 700; }
.button--primary { color: #111; background: var(--lime); box-shadow: 0 0 0 rgba(211,244,0,0); transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.button--primary:hover, .button--primary:focus-visible { transform: translateY(-2px); background: #e7ff3d; box-shadow: 0 0 40px rgba(211,244,0,.27); }
.text-link { color: #fff; border-bottom: 1px solid rgba(255,255,255,.45); font-weight: 600; }
.signal { display: flex; align-items: center; gap: 10px; margin: 28px 0 0; color: #9a90a8; font: 400 11px/1.4 "Space Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
.signal span { width: 7px; height: 7px; background: var(--pink); border-radius: 50%; box-shadow: 0 0 14px var(--pink); }
.hero-hint { position: absolute; right: 40px; bottom: 38px; margin: 0; color: rgba(255,255,255,.55); font: 400 10px/1.4 "Space Mono", monospace; letter-spacing: .1em; text-transform: uppercase; writing-mode: vertical-rl; }

.section { padding: 112px max(32px, calc((100vw - var(--max)) / 2)); }
.section[id] { scroll-margin-top: 68px; }
.section-heading { max-width: 850px; }
.section-heading h2, .coop h2, .join h2 { font-size: clamp(44px, 6vw, 78px); line-height: .98; }
.section-heading > p:last-child { max-width: 780px; margin: 24px 0 0; color: var(--muted); font-size: 19px; line-height: 1.58; }
.intro { background: var(--ink); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 0; margin: 58px 0 0; list-style: none; }
.steps li { min-height: 220px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.steps span { color: var(--pink); font: 400 18px/1 "Space Mono", monospace; }
.steps h3 { margin-top: 24px; font-size: 27px; }
.steps p { margin: 14px 0 0; color: var(--muted); line-height: 1.5; }

.skills { overflow: hidden; background: var(--ink); }
.skill-story { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr) 180px; gap: 34px; align-items: center; margin-top: 72px; padding: 28px; background: rgba(23,16,31,.8); border: 1px solid var(--line); border-radius: 24px; }
.skill-story--draw { grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr) 180px; }
.skill-visual { position: relative; min-height: 410px; overflow: hidden; border-radius: 16px; }
.skill-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,6,12,.65), transparent 55%); }
.skill-visual img { width: 100%; height: 100%; object-fit: cover; position: absolute; }
.visual-tag { position: absolute; z-index: 1; left: 22px; bottom: 18px; color: #fff; font: 400 32px/1 Anton, sans-serif; letter-spacing: .03em; }
.skill-copy h3 { font-size: clamp(32px, 3.5vw, 50px); line-height: 1.04; }
.skill-copy > p:not(.eyebrow) { margin: 22px 0 0; color: var(--muted); line-height: 1.58; }
.micro-flow { display: flex; align-items: center; gap: 11px; margin-top: 28px; color: #d7cfe0; font: 400 11px/1.4 "Space Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.micro-flow b { color: var(--pink); font-size: 21px; font-weight: 400; }
.skill-card { width: 180px; max-height: 340px; object-fit: cover; object-position: top; border: 1px solid #7d5f34; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.skill-card--draw { object-position: 52% 48%; }

.coop { position: relative; min-height: 760px; display: flex; align-items: center; padding: 100px max(32px, calc((100vw - var(--max)) / 2)); overflow: hidden; }
.coop > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.coop-overlay { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(7,6,10,.96), rgba(7,6,10,.7) 52%, rgba(7,6,10,.2)), linear-gradient(0deg, var(--ink), transparent 25%, transparent 70%, #100b19); }
.coop-copy { max-width: 680px; }
.coop-copy > p:not(.eyebrow) { max-width: 620px; margin: 24px 0; color: #c8bfd4; font-size: 19px; line-height: 1.58; }
.coop blockquote { margin: 40px 0 0; color: var(--lime); font: 400 clamp(30px, 4.2vw, 54px)/1 Anton, sans-serif; text-transform: uppercase; }

.world {
  position: relative;
  padding: 0;
  overflow: hidden;
  scroll-margin-top: 68px;
  background: var(--ink);
}
.world-layout {
  position: relative;
  width: 100%;
  min-height: min(820px, 64vw);
}
.world-text {
  position: absolute;
  z-index: 2;
  top: clamp(82px, 9vw, 132px);
  left: max(32px, calc((100vw - var(--max)) / 2));
  width: min(650px, 48vw);
}
.world-title {
  position: static;
  width: 100%;
  padding: 0;
}
.world-title .eyebrow {
  position: static;
  width: auto;
  margin: 0 0 20px;
  padding: 0;
}
.world-title h2 {
  max-width: 650px;
  font-size: clamp(50px, 4.2vw, 68px);
  line-height: .98;
}
.world-image {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
}
.world-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(14,10,22,.82) 0%, rgba(14,10,22,.44) 37%, transparent 65%),
    linear-gradient(0deg, var(--ink) 0%, transparent 18%, transparent 86%, var(--ink) 100%);
}
.world-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.world-copy {
  position: static;
  width: min(500px, 100%);
  margin-top: 20px;
  padding: 0;
}
.world-copy > p { margin: 0; }
.world-copy > p:first-child {
  max-width: 480px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.play { padding-top: 116px; padding-bottom: 126px; }
.play .section-heading { max-width: 920px; }
.play .section-heading h2 { font-size: clamp(46px, 5vw, 70px); }

.play-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 46px);
  margin-top: 72px;
}
.play-card {
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.play-card__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink);
}
.play-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s ease, filter .65s ease;
}
.play-card:hover .play-card__visual img {
  transform: scale(1.018);
  filter: saturate(1.08);
}
.play-card__copy { padding: 24px 0 0; }
.play-card__copy h3 { font-size: clamp(28px, 2.5vw, 36px); line-height: 1.05; }
.play-card__copy p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.characters { overflow: hidden; background: linear-gradient(180deg, #140c20, var(--ink)); }
.section-heading--row { display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 60px; max-width: none; }
.section-heading--row > p:last-child { margin: 0; }
.character-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(245px, 22vw); gap: 18px; margin-top: 56px; padding: 0 max(24px, calc((100vw - var(--max)) / 2)) 24px; margin-left: min(-32px, calc((var(--max) - 100vw) / 2)); margin-right: min(-32px, calc((var(--max) - 100vw) / 2)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-color: var(--pink) #21162e; scrollbar-width: thin; }
.character-card { position: relative; min-height: 520px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; scroll-snap-align: start; background: #120d19; }
.character-card::after { content: ""; position: absolute; inset: 38% 0 0; background: linear-gradient(0deg, rgba(9,7,14,.98) 20%, rgba(9,7,14,.05)); }
.character-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .6s ease; }
.character-card:hover img { transform: scale(1.035); filter: saturate(1.15); }
.character-card div { position: absolute; z-index: 1; inset: auto 24px 22px; }
.character-card span { color: var(--pink); font: 400 10px/1.4 "Space Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
.character-card h3 { margin-top: 6px; font-size: 38px; }
.character-card p { margin: 8px 0 0; color: #bcb2c8; font-size: 14px; line-height: 1.45; }
.rail-hint { margin: 18px 0 0; color: #8d819b; font: 400 11px/1.4 "Space Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }

.join { position: relative; min-height: 440px; display: grid; place-items: center; padding: 88px 32px; overflow: hidden; text-align: center; background: radial-gradient(circle at 50% 28%, rgba(125,49,200,.2), transparent 38%), #09070e; }
.join > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.join-overlay { position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 65% 50%, rgba(117,18,127,.18), transparent 30%), linear-gradient(0deg, #0c0812 0%, rgba(12,8,18,.7) 55%, #0e0a16 100%); }
.join-content { width: min(680px, 100%); }
.join-content > p:not(.eyebrow):not(.form-note) { width: min(560px, 100%); margin: 24px auto 0; color: #d7cede; font-size: 19px; line-height: 1.55; }
.contact-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 34px;
}

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 42px max(32px, calc((100vw - var(--max)) / 2)); color: #968a9f; background: var(--ink-deep); border-top: 1px solid rgba(255,255,255,.06); font-size: 14px; }
.brand--footer { width: 76px; }
.site-footer a:not(.brand) { color: #d8d0df; }
.site-footer p { margin: 0; }

.success-page {
  min-height: 100svh;
  background: var(--ink-deep);
}
.success-header .site-nav { margin-left: auto; }
.success-main {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 140px 24px 70px;
  overflow: hidden;
  isolation: isolate;
}
.success-main::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: 0;
  background: url("assets/world/expedition-portal.png") center 55% / cover no-repeat;
  filter: saturate(.9) brightness(.52);
  transform: scale(1.02);
}
.success-main::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: radial-gradient(circle at 64% 53%, rgba(255,79,186,.2), transparent 24%), linear-gradient(0deg, rgba(9,7,14,.97), rgba(9,7,14,.42) 55%, rgba(9,7,14,.86));
}
.success-card {
  position: relative;
  width: min(680px, 100%);
  padding: clamp(42px, 7vw, 76px);
  overflow: hidden;
  text-align: center;
  background: rgba(17, 11, 27, .84);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  box-shadow: 0 40px 120px rgba(0,0,0,.55), 0 0 80px rgba(150,40,110,.14);
  backdrop-filter: blur(18px);
}
.success-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pink), transparent);
  box-shadow: 0 0 22px var(--pink);
}
.success-mark {
  position: relative;
  display: grid;
  width: 76px;
  height: 76px;
  margin: 0 auto 30px;
  place-items: center;
  color: var(--lime);
  border: 1px solid rgba(211,244,0,.55);
  border-radius: 50%;
  box-shadow: inset 0 0 24px rgba(211,244,0,.08), 0 0 30px rgba(211,244,0,.15);
}
.success-mark::before {
  content: "";
  width: 23px;
  height: 12px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: translateY(-3px) rotate(-45deg);
}
.success-card h1 { font-size: clamp(52px, 8vw, 82px); line-height: .96; }
.success-card > p:not(.eyebrow):not(.success-detail) { max-width: 520px; margin: 24px auto 0; color: #d6cedd; font-size: 18px; line-height: 1.55; }
.success-detail { margin: 18px 0 0; color: #93879e; font-size: 14px; }
.success-detail strong { color: #c9bfd2; font-weight: 600; }
.success-actions { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 34px; }
.success-card .button { gap: 16px; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .play-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .skill-story, .skill-story--draw { grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); }
  .skill-card { display: none; }
  .world-layout { min-height: 720px; }
  .world-title { width: min(690px, 50vw); }
  .world-copy { width: min(460px, 40vw); }
  .section-heading--row { grid-template-columns: 1fr; gap: 24px; }
  .character-rail { grid-auto-columns: minmax(245px, 34vw); }
}

@media (max-width: 760px) {
  .site-header { height: 72px; padding-inline: 20px; }
  body.menu-open .site-header { backdrop-filter: none; }
  .brand { width: 82px; }
  .menu-toggle { display: grid; gap: 5px; width: 42px; height: 42px; place-content: center; color: #fff; background: rgba(18,13,26,.75); border: 1px solid var(--line); border-radius: 50%; }
  .menu-toggle span:not(.sr-only) { display: block; width: 17px; height: 1px; background: currentColor; transition: transform .25s ease, opacity .25s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: center; gap: 24px; color: #fff; background: rgba(9,7,14,.97); font: 400 32px/1 Anton, sans-serif; text-transform: uppercase; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-nav .nav-cta { margin-top: 12px; font: 700 14px/1 "Instrument Sans", sans-serif; }
  .hero { align-items: flex-end; min-height: 760px; padding: 130px 22px 70px; }
  .hero::after { background: linear-gradient(90deg, rgba(14,10,22,.9), rgba(14,10,22,.3)), linear-gradient(0deg, var(--ink), transparent 52%); }
  .hero-image { background-position: 69% center; }
  .hero-content { width: 100%; }
  h1 { max-width: 520px; font-size: clamp(52px, 15.8vw, 68px); }
  .hero-copy { font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-hint { display: none; }
  .section { padding: 82px 22px; }
  .section[id] { scroll-margin-top: 72px; }
  .section-heading h2, .coop h2, .join h2 { font-size: clamp(44px, 14vw, 62px); }
  .section-heading > p:last-child { font-size: 17px; }
  .steps { grid-template-columns: 1fr; margin-top: 40px; }
  .world { padding-top: 0; padding-bottom: 60px; }
  .world { scroll-margin-top: 72px; }
  .world-layout { min-height: 760px; }
  .world-text {
    position: absolute;
    top: 58px;
    left: 22px;
    width: calc(100% - 44px);
  }
  .world-title {
    position: static;
    width: 100%;
    padding: 0;
  }
  .world-title .eyebrow { width: auto; margin-bottom: 16px; padding: 0; }
  .world-title h2 { font-size: clamp(40px, 11.4vw, 50px); }
  .world-image::after {
    background:
      linear-gradient(90deg, rgba(9,7,14,.72), rgba(9,7,14,.18) 82%),
      linear-gradient(0deg, rgba(9,7,14,.72), transparent 45%);
  }
  .world-image { bottom: auto; height: 720px; }
  .world-image img { object-position: 68% center; }
  .world-copy {
    position: static;
    width: min(350px, 100%);
    margin-top: 20px;
    padding: 0;
  }
  .world-copy > p:first-child { font-size: 16px; }
  .play .section-heading h2 { font-size: clamp(40px, 11vw, 52px); }
  .play { padding-top: 78px; padding-bottom: 88px; }
  .play-grid { grid-template-columns: 1fr; gap: 54px; margin-top: 48px; }
  .play-card__visual { aspect-ratio: 4 / 5; }
  .steps li { min-height: 0; }
  .skill-story, .skill-story--draw { grid-template-columns: 1fr; gap: 28px; margin-top: 42px; padding: 16px 16px 28px; }
  .skill-visual { min-height: 280px; }
  .skill-copy { padding-inline: 8px; }
  .coop { min-height: 700px; padding: 80px 22px; }
  .coop > img { object-position: 64% center; }
  .character-rail { grid-auto-columns: minmax(245px, 78vw); margin-left: -22px; margin-right: -22px; padding-left: 22px; }
  .character-card { min-height: 500px; }
  .join { min-height: 600px; padding-inline: 22px; }
  .contact-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .site-footer { align-items: flex-start; flex-direction: column; padding: 36px 22px; }
  .success-header .site-nav { display: flex; position: static; z-index: auto; width: auto; flex-direction: row; font: 700 13px/1 "Instrument Sans", sans-serif; opacity: 1; visibility: visible; background: transparent; text-transform: none; }
  .success-header .menu-toggle { display: none; }
  .success-main { padding: 110px 18px 30px; }
  .success-card { padding: 44px 22px; border-radius: 22px; }
  .success-actions { align-items: stretch; flex-direction: column; gap: 18px; }
}

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