:root {
  --ink: #050913;
  --ink-blue: #081525;
  --panel: #0b1728;
  --paper: #e9e8df;
  --paper-bright: #f6f4eb;
  --blue: #1678ff;
  --blue-bright: #31a7ff;
  --cyan: #75ddff;
  --green: #58d85f;
  --gold: #ffc553;
  --white: #f5f9ff;
  --muted: #aab8cb;
  --line: rgba(185, 218, 255, 0.19);
  --pixel: "Pixelify Sans", ui-monospace, monospace;
  --sans: "Plus Jakarta Sans", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--white);
  background: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

.shell {
  width: min(1200px, calc(100% - 56px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--ink);
  background: white;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(3, 7, 14, 0.92), rgba(3, 7, 14, 0.66));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: height 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled,
.site-header.nav-visible {
  height: 62px;
  background: rgba(4, 9, 17, 0.96);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.brand,
.footer-brand {
  display: block;
  width: 104px;
}

.brand {
  grid-column: 1;
  grid-row: 1;
}

.brand img,
.footer-brand img {
  width: 100%;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.48));
}

.site-nav {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 42px);
}

.site-nav a {
  position: relative;
  padding: 24px 0 22px;
  color: rgba(244, 249, 255, 0.74);
  font-family: var(--pixel);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.095em;
  text-transform: uppercase;
  transition: color 150ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 15px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 150ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: white;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-play,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 22px;
  font-family: var(--pixel);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease, color 150ms ease;
}

.nav-play {
  grid-column: 3;
  grid-row: 1;
  min-height: 42px;
  padding-inline: 18px;
  color: white;
  background: linear-gradient(#2997ff, #1265df);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 2px rgba(255, 255, 255, 0.26), inset 0 -3px rgba(0, 34, 112, 0.28);
}

.nav-play:hover,
.nav-play:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--line);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: white;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 760px;
  height: min(100svh, 1040px);
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  background: #184e79;
}

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

.hero-art,
.final-cta-art {
  z-index: -3;
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
}

.hero-shade {
  z-index: -2;
  background:
    radial-gradient(circle at 50% 48%, rgba(3, 9, 18, 0.08) 0 22%, rgba(3, 9, 18, 0.3) 58%, rgba(3, 9, 18, 0.64) 100%),
    linear-gradient(180deg, rgba(3, 8, 16, 0.54) 0%, transparent 24%, transparent 54%, rgba(3, 8, 16, 0.86) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 112px 0 96px;
  text-align: center;
}

.kicker,
.chapter-mark,
.path-number,
.gallery-caption span {
  font-family: var(--pixel);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1265df;
  font-size: 12px;
}

.kicker::before {
  content: "";
  width: 20px;
  height: 3px;
  background: currentColor;
  box-shadow: 7px 0 currentColor;
}

.kicker-light {
  color: var(--cyan);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-logo {
  width: min(490px, 64vw);
  margin: 18px auto 12px;
  filter: drop-shadow(0 14px 0 rgba(0, 0, 0, 0.14)) drop-shadow(0 28px 34px rgba(0, 0, 0, 0.45));
}

.hero h1,
.world-intro h2,
.story h2,
.section-heading h2,
.gallery-heading h2,
.good-to-know h2,
.final-cta h2 {
  margin: 0;
  font-family: var(--pixel);
  line-height: 0.96;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(42px, 5vw, 74px);
  text-shadow: 0 5px 0 rgba(0, 0, 0, 0.2), 0 16px 36px rgba(0, 0, 0, 0.48);
}

.hero-content > p {
  max-width: 650px;
  margin: 22px auto 0;
  color: rgba(246, 251, 255, 0.88);
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.65;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 31px;
}

.button-primary {
  color: white;
  background: linear-gradient(#31a5ff, #146bdf);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 13px 32px rgba(1, 61, 145, 0.42), inset 0 2px rgba(255, 255, 255, 0.35), inset 0 -4px rgba(0, 38, 118, 0.3);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(#48b3ff, #1678ff);
  box-shadow: 0 17px 40px rgba(1, 68, 161, 0.55), inset 0 2px rgba(255, 255, 255, 0.4), inset 0 -4px rgba(0, 38, 118, 0.28);
}

.button-outline {
  color: white;
  background: rgba(4, 10, 18, 0.48);
  border: 1px solid rgba(117, 221, 255, 0.62);
  backdrop-filter: blur(8px);
}

.button-outline:hover,
.button-outline:focus-visible {
  color: var(--ink);
  background: var(--cyan);
}

.button-large {
  min-height: 60px;
  padding-inline: 31px;
  font-size: 16px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: white;
  font-family: var(--pixel);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  transition: color 150ms ease, border-color 150ms ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--cyan);
  border-color: var(--cyan);
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 24px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--pixel);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue i {
  width: 2px;
  height: 21px;
  background: linear-gradient(white, transparent);
  animation: scroll-pulse 1.6s ease-in-out infinite;
}

@keyframes scroll-pulse {
  50% { transform: translateY(5px); opacity: 0.42; }
}

.world-intro {
  position: relative;
  isolation: isolate;
  padding: 116px 0 0;
  color: #0a1421;
  background:
    linear-gradient(rgba(7, 18, 30, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 18, 30, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  text-align: center;
}

.block-edge {
  position: absolute;
  z-index: 2;
  right: 0;
  left: 0;
  height: 24px;
  pointer-events: none;
}

.block-edge-top {
  top: -23px;
  background:
    linear-gradient(90deg, var(--paper) 0 24px, transparent 24px 32px) 0 8px / 32px 16px repeat-x,
    linear-gradient(90deg, transparent 0 16px, var(--paper) 16px 40px, transparent 40px 48px) 0 0 / 48px 16px repeat-x;
}

.world-intro-inner {
  max-width: 920px;
}

.world-intro h2 {
  margin-top: 17px;
  font-size: clamp(50px, 7vw, 92px);
}

.world-intro-inner > p {
  max-width: 760px;
  margin: 27px auto 0;
  color: #465364;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.75;
}

.world-truths {
  width: min(920px, calc(100% - 56px));
  margin: 60px auto 0;
  padding: 24px 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #304052;
  border-top: 1px solid rgba(7, 19, 33, 0.18);
  font-family: var(--pixel);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.world-truths i {
  width: 6px;
  height: 6px;
  background: var(--blue);
  transform: rotate(45deg);
}

.story-stack {
  background: var(--ink);
}

.story {
  position: relative;
  min-height: 720px;
  display: flex;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.story-art {
  z-index: -3;
  object-fit: cover;
}

.story-build .story-art {
  object-position: center;
}

.story-craft .story-art {
  object-position: center;
}

.story-boss .story-art {
  object-position: center;
}

.story-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 8, 15, 0.95) 0%, rgba(3, 8, 15, 0.77) 31%, rgba(3, 8, 15, 0.18) 62%, rgba(3, 8, 15, 0.08) 100%),
    linear-gradient(180deg, rgba(3, 8, 15, 0.28), transparent 38%, rgba(3, 8, 15, 0.45));
}

.story-copy-right .story-shade {
  background:
    linear-gradient(270deg, rgba(3, 8, 15, 0.96) 0%, rgba(3, 8, 15, 0.8) 31%, rgba(3, 8, 15, 0.18) 63%, rgba(3, 8, 15, 0.04) 100%),
    linear-gradient(180deg, rgba(3, 8, 15, 0.25), transparent 40%, rgba(3, 8, 15, 0.45));
}

.story-shell {
  min-height: 720px;
  display: flex;
  align-items: center;
}

.story-copy-right .story-shell {
  justify-content: flex-end;
}

.story-copy {
  width: min(540px, 48%);
  padding: 110px 0;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.62);
}

.chapter-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--cyan);
  font-size: 12px;
}

.chapter-mark::after {
  content: "";
  width: 62px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}

.chapter-mark b {
  color: white;
  font-weight: 700;
}

.story h2 {
  margin-top: 20px;
  font-size: clamp(51px, 5.4vw, 78px);
}

.story-copy > p {
  margin: 24px 0 0;
  color: rgba(235, 244, 255, 0.8);
  font-size: 17px;
  line-height: 1.75;
}

.story-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 0;
  margin: 30px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--pixel);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.story-points li {
  padding: 0 14px;
  border-left: 2px solid var(--cyan);
}

.story-points li:first-child {
  padding-left: 0;
  border-left: 0;
}

.story .button {
  margin-top: 31px;
}

.paths {
  position: relative;
  overflow: hidden;
  padding: 122px 0 128px;
  background:
    radial-gradient(circle at 78% 4%, rgba(24, 120, 255, 0.18), transparent 30rem),
    linear-gradient(180deg, #07111f, #050a13);
}

.paths::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.7) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(135deg, transparent 10%, black, transparent 85%);
}

.paths .shell {
  position: relative;
}

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

.section-heading h2,
.gallery-heading h2 {
  margin-top: 18px;
  font-size: clamp(50px, 6vw, 84px);
}

.section-heading > p {
  max-width: 650px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.path-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 70px;
  border-block: 1px solid var(--line);
}

.path {
  position: relative;
  min-height: 340px;
  padding: 42px 30px 34px;
  border-left: 1px solid var(--line);
}

.path:first-child {
  border-left: 0;
}

.path-icon {
  width: 58px;
  height: 58px;
  display: block;
  image-rendering: pixelated;
  background-position: center;
  background-size: cover;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.texture-grass { background-image: url("/textures/grass.png"); }
.texture-crafting { background-image: url("/textures/crafting.png"); }
.texture-ore { background-image: url("/textures/diamond-ore.png"); }
.texture-redstone { background-image: url("/textures/redstone-ore.png"); }

.path-number {
  position: absolute;
  top: 43px;
  right: 28px;
  color: rgba(117, 221, 255, 0.56);
  font-size: 11px;
}

.path h3 {
  margin: 35px 0 0;
  font-family: var(--pixel);
  font-size: 42px;
  line-height: 1;
}

.path p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.gallery {
  position: relative;
  padding: 120px 0 136px;
  background: #03070d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 48px;
  align-items: end;
}

.gallery-heading > p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 14px;
}

.gallery-stage {
  margin-top: 55px;
}

.gallery-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0c1420;
  border: 1px solid rgba(154, 209, 255, 0.32);
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.52);
}

.gallery-frame::before,
.gallery-frame::after {
  content: "";
  position: absolute;
  z-index: 3;
  width: 34px;
  height: 34px;
  pointer-events: none;
  border-color: var(--cyan);
  opacity: 0.7;
}

.gallery-frame::before {
  top: 14px;
  left: 14px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.gallery-frame::after {
  right: 14px;
  bottom: 14px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.gallery-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 220ms ease, transform 420ms cubic-bezier(.2,.75,.25,1);
}

.gallery-frame > img.is-switching {
  opacity: 0.18;
  transform: scale(1.018);
}

.gallery-caption {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  min-height: 150px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 4px 27px;
  align-content: end;
  padding: 55px 42px 34px;
  background: linear-gradient(transparent, rgba(3, 7, 13, 0.94));
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.gallery-caption span {
  grid-row: 1 / 3;
  align-self: end;
  color: var(--cyan);
  font-size: 11px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.gallery-caption strong {
  font-family: var(--pixel);
  font-size: clamp(27px, 3.2vw, 46px);
  line-height: 1;
}

.gallery-caption p {
  max-width: 650px;
  margin: 8px 0 0;
  color: rgba(237, 245, 255, 0.76);
  font-size: 13px;
}

.gallery-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #09111d;
  border: 1px solid rgba(154, 209, 255, 0.26);
  border-top: 0;
}

.gallery-tabs button {
  min-height: 62px;
  cursor: pointer;
  color: #8fa2b9;
  background: transparent;
  border: 0;
  border-left: 1px solid rgba(154, 209, 255, 0.18);
  font-family: var(--pixel);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 150ms ease, background 150ms ease;
}

.gallery-tabs button:first-child {
  border-left: 0;
}

.gallery-tabs button:hover,
.gallery-tabs button:focus-visible,
.gallery-tabs button.active {
  color: white;
  background: #10233a;
}

.gallery-tabs button.active {
  box-shadow: inset 0 4px var(--blue-bright);
}

.good-to-know {
  position: relative;
  padding: 108px 0;
  color: #0a1421;
  background:
    linear-gradient(rgba(7, 18, 30, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 18, 30, 0.035) 1px, transparent 1px),
    var(--paper-bright);
  background-size: 32px 32px;
}

.know-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  gap: 88px;
  align-items: start;
}

.good-to-know h2 {
  margin-top: 18px;
  font-size: clamp(48px, 5vw, 72px);
}

.know-copy p {
  max-width: 520px;
  margin: 23px 0 0;
  color: #566170;
}

.know-list {
  margin: 0;
  border-top: 2px solid #14243a;
}

.know-list div {
  display: grid;
  grid-template-columns: minmax(130px, 0.34fr) 1fr;
  gap: 30px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(7, 18, 31, 0.18);
}

.know-list dt {
  font-family: var(--pixel);
  font-size: 19px;
  font-weight: 700;
}

.know-list dd {
  margin: 0;
  color: #566170;
  font-size: 14px;
}

.final-cta {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
}

.final-cta-art {
  object-position: center 62%;
  transform: scale(1.05);
}

.final-cta-shade {
  z-index: -2;
  background:
    radial-gradient(circle at 50% 43%, rgba(3, 8, 15, 0.22) 0 18%, rgba(3, 8, 15, 0.75) 65%),
    linear-gradient(180deg, rgba(3, 8, 15, 0.86), rgba(3, 8, 15, 0.26) 44%, rgba(3, 8, 15, 0.9));
}

.final-cta-content {
  position: relative;
  z-index: 2;
  padding: 90px 0;
}

.final-cta-content > img {
  width: min(390px, 62vw);
  margin: 0 auto 22px;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.5));
}

.final-cta h2 {
  font-size: clamp(44px, 6vw, 82px);
  text-shadow: 0 6px 0 rgba(0, 0, 0, 0.18), 0 20px 50px rgba(0, 0, 0, 0.55);
}

.final-cta p {
  margin: 17px 0 30px;
  color: var(--cyan);
  font-family: var(--pixel);
  font-size: 21px;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.site-footer {
  padding: 44px 0;
  color: #8494a9;
  background: #02050a;
  border-top: 1px solid var(--line);
}

.footer-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px 38px;
  align-items: center;
}

.footer-brand {
  width: 90px;
}

.footer-shell p {
  margin: 0;
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 24px;
  color: #c7d4e5;
  font-family: var(--pixel);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: white;
}

.copyright {
  grid-column: 2 / -1;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reveal {
  opacity: 1;
  transform: none;
}

html.js.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms cubic-bezier(.2,.75,.25,1), transform 650ms cubic-bezier(.2,.75,.25,1);
}

html.js.reveal-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1000px) {
  .nav-shell {
    grid-template-columns: auto 1fr auto auto;
    gap: 18px;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 18px 28px 28px;
    background: rgba(3, 8, 15, 0.98);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 28px 45px rgba(0, 0, 0, 0.38);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    padding: 15px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav a::after {
    display: none;
  }

  .nav-toggle {
    display: block;
    grid-column: 4;
    grid-row: 1;
  }

  .nav-play {
    grid-column: 3;
    grid-row: 1;
  }

  .story-copy {
    width: min(530px, 56%);
  }

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

  .path:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .path:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .gallery-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .gallery-heading > p {
    max-width: 620px;
  }

  .know-shell {
    grid-template-columns: 1fr;
    gap: 52px;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 32px, 1200px);
  }

  .site-header,
  .site-header.scrolled,
  .site-header.nav-visible {
    height: 60px;
  }

  .nav-shell {
    width: calc(100% - 24px);
    gap: 9px;
  }

  .brand {
    width: 82px;
  }

  .nav-play {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 11px;
  }

  .nav-play span {
    display: none;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
    padding: 8px;
  }

  .site-nav {
    padding-inline: 18px;
  }

  .hero {
    min-height: 760px;
    height: 100svh;
  }

  .hero-art {
    object-position: 51% center;
    transform: scale(1.04);
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(3, 8, 16, 0.7), rgba(3, 8, 16, 0.06) 28%, rgba(3, 8, 16, 0.24) 54%, rgba(3, 8, 16, 0.94) 100%),
      radial-gradient(circle at 50% 44%, transparent 0 18%, rgba(3, 8, 16, 0.32) 64%);
  }

  .hero-content {
    justify-content: flex-end;
    min-height: 100%;
    padding: 102px 0 105px;
  }

  .hero-logo {
    width: min(330px, 82vw);
    margin-top: 14px;
  }

  .hero h1 {
    font-size: clamp(39px, 11vw, 56px);
  }

  .hero-content > p {
    max-width: 520px;
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.6;
  }

  .hero-actions {
    width: 100%;
    gap: 18px;
    margin-top: 26px;
  }

  .hero-actions .button {
    width: min(100%, 360px);
  }

  .scroll-cue {
    bottom: 14px;
  }

  .world-intro {
    padding-top: 90px;
  }

  .world-intro h2 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .world-intro-inner > p {
    font-size: 16px;
  }

  .world-truths {
    width: calc(100% - 32px);
    flex-direction: column;
    gap: 11px;
    padding-bottom: 29px;
  }

  .world-truths i {
    width: 4px;
    height: 4px;
  }

  .story,
  .story-shell {
    min-height: 720px;
  }

  .story-build .story-art { object-position: 55% center; }
  .story-craft .story-art { object-position: 42% center; }
  .story-boss .story-art { object-position: 66% center; }

  .story-shade,
  .story-copy-right .story-shade {
    background: linear-gradient(180deg, rgba(3, 8, 15, 0.1) 0%, rgba(3, 8, 15, 0.18) 34%, rgba(3, 8, 15, 0.92) 68%, rgba(3, 8, 15, 0.99) 100%);
  }

  .story-shell,
  .story-copy-right .story-shell {
    align-items: flex-end;
    justify-content: flex-start;
  }

  .story-copy {
    width: 100%;
    padding: 260px 0 60px;
  }

  .story h2 {
    margin-top: 15px;
    font-size: clamp(43px, 12vw, 61px);
  }

  .story-copy > p {
    margin-top: 17px;
    font-size: 15px;
  }

  .story-points {
    margin-top: 22px;
    gap: 9px 0;
  }

  .story-points li {
    padding-inline: 9px;
    font-size: 9px;
  }

  .paths,
  .gallery,
  .good-to-know {
    padding-block: 88px;
  }

  .section-heading h2,
  .gallery-heading h2 {
    font-size: clamp(46px, 13vw, 66px);
  }

  .path-list {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .path,
  .path:nth-child(3),
  .path:nth-child(4) {
    min-height: 0;
    padding: 30px 18px 31px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .path:first-child {
    border-top: 0;
  }

  .path-icon {
    width: 52px;
    height: 52px;
  }

  .path-number {
    top: 31px;
    right: 18px;
  }

  .path h3 {
    margin-top: 25px;
  }

  .gallery-stage {
    margin-top: 38px;
  }

  .gallery-frame {
    aspect-ratio: 4 / 5;
  }

  .gallery-frame > img {
    object-position: center;
  }

  .gallery-caption {
    min-height: 190px;
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 64px 24px 25px;
  }

  .gallery-caption span {
    grid-row: auto;
    writing-mode: initial;
    transform: none;
  }

  .gallery-caption strong {
    font-size: 30px;
  }

  .gallery-tabs {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .gallery-tabs button {
    flex: 0 0 126px;
    scroll-snap-align: start;
  }

  .know-shell {
    gap: 42px;
  }

  .good-to-know h2 {
    font-size: clamp(45px, 13vw, 66px);
  }

  .know-list div {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 19px 0;
  }

  .final-cta {
    min-height: 650px;
  }

  .final-cta-art {
    object-position: 55% center;
  }

  .final-cta-content > img {
    width: min(320px, 78vw);
  }

  .final-cta h2 {
    font-size: clamp(45px, 13vw, 64px);
  }

  .footer-shell {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 15px;
  }

  .footer-shell p,
  .copyright {
    grid-column: auto;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  html.js.reveal-ready .reveal,
  html.js.reveal-ready .reveal.visible {
    opacity: 1;
    transform: none;
  }
}
