:root {
  color-scheme: dark;
  --ink: #07120f;
  --pine: #10291f;
  --moss: #2c6656;
  --jade: #8bd6b7;
  --paper: #f5efe8;
  --muted: #b7c7bb;
  --red: #9d2430;
  --gold: #f1d989;
  --line: rgba(245, 239, 232, 0.18);
  --shadow: 0 22px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Inter, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

section {
  scroll-margin-top: 76px;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(7, 18, 15, 0.72), rgba(7, 18, 15, 0));
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  border-bottom: 1px solid var(--line);
  background: rgba(7, 18, 15, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 700;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.brand span {
  font-size: 1rem;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  color: rgba(245, 239, 232, 0.82);
  font-size: 0.94rem;
}

.nav-links a {
  padding: 8px 0;
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 126px clamp(22px, 7vw, 92px) 78px;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 18, 15, 0.88) 0%, rgba(7, 18, 15, 0.36) 45%, rgba(7, 18, 15, 0.08) 100%),
    linear-gradient(0deg, rgba(7, 18, 15, 0.92) 0%, rgba(7, 18, 15, 0.2) 44%, rgba(7, 18, 15, 0.28) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.kicker,
.section-label {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.2rem, 14vw, 10.5rem);
  line-height: 0.84;
  font-weight: 400;
  letter-spacing: 0;
  text-shadow: 0 14px 52px rgba(0, 0, 0, 0.46);
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 30px;
  color: rgba(245, 239, 232, 0.88);
  font-size: clamp(1.02rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 22px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--paper);
  color: var(--pine);
}

.button-secondary {
  border-color: rgba(245, 239, 232, 0.42);
  background: rgba(7, 18, 15, 0.26);
  color: var(--paper);
}

.intro-band,
.media-band,
.feature-band,
.story-band,
.screens-section {
  padding: clamp(72px, 10vw, 132px) clamp(22px, 7vw, 92px);
}

.media-band {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(139, 214, 183, 0.12), transparent 42%),
    #0b1714;
}

.media-copy {
  max-width: 560px;
}

.media-copy p {
  color: var(--muted);
}

.video-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #050b09;
  box-shadow: var(--shadow);
}

.video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050b09;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(38px, 7vw, 90px);
  background:
    linear-gradient(135deg, rgba(157, 36, 48, 0.18), transparent 38%),
    linear-gradient(180deg, #07120f, #10291f);
}

.intro-copy h2,
.media-copy h2,
.art-copy h2,
.story-copy h2,
.section-heading h2,
.demo-band h2,
.moon-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.intro-copy p,
.art-copy p:last-child,
.story-copy p,
.demo-band p,
.moon-copy p {
  color: var(--muted);
  font-size: 1.02rem;
}

.quote-list {
  display: grid;
  gap: 16px;
  align-content: center;
}

.quote-list blockquote {
  margin: 0;
  border-left: 2px solid rgba(241, 217, 137, 0.78);
  padding: 16px 0 16px 22px;
  color: rgba(245, 239, 232, 0.9);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.18rem, 2.2vw, 1.72rem);
  line-height: 1.38;
}

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

.feature-list article {
  border-top: 1px solid var(--line);
  padding: 22px 0 12px;
}

.feature-list span {
  color: var(--jade);
  font-size: 0.78rem;
  font-weight: 900;
}

.feature-list h3 {
  margin: 8px 0 6px;
  font-size: 1.18rem;
}

.feature-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.art-split {
  display: grid;
  grid-template-columns: minmax(0, 1.26fr) minmax(300px, 0.74fr);
  min-height: 680px;
  background: var(--paper);
  color: #231d1b;
}

.wide-art {
  min-height: 520px;
  margin: 0;
}

.wide-art img,
.moon-band > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art-copy {
  align-self: center;
  padding: clamp(38px, 7vw, 82px);
}

.art-copy .section-label {
  color: var(--red);
}

.art-copy p:last-child {
  color: #4b3f3d;
  font-size: 1.04rem;
}

.feature-band {
  background:
    linear-gradient(180deg, #0b1714, #10291f),
    #10291f;
}

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

.feature-band .feature-list article {
  min-height: 270px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(245, 239, 232, 0.045);
}

.feature-band .feature-list h3 {
  min-height: 3.2em;
}

.story-band {
  min-height: 560px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(7, 18, 15, 0.78), rgba(7, 18, 15, 0.28)),
    url("assets/key-art-red.jpg") center / cover;
}

.story-copy {
  width: min(720px, 100%);
}

.screens-section {
  background: #0b1714;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

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

.screen-tile {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #13231d;
  color: var(--paper);
}

.image-tile {
  padding: 0;
  cursor: zoom-in;
}

.image-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.image-tile:hover img {
  transform: scale(1.035);
}

.empty-tile {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(139, 214, 183, 0.16), transparent),
    repeating-linear-gradient(135deg, rgba(245, 239, 232, 0.06) 0 1px, transparent 1px 12px),
    #13231d;
}

.empty-tile span {
  color: rgba(245, 239, 232, 0.58);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.demo-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(58px, 8vw, 98px) clamp(22px, 7vw, 92px);
  background: linear-gradient(135deg, #7e1c27, #10291f 58%, #0b1714);
}

.demo-band > div {
  max-width: 760px;
}

.button-download {
  flex: 0 0 auto;
  background: var(--gold);
  color: #24170f;
}

.button-download.is-disabled {
  border-color: rgba(245, 239, 232, 0.2);
  background: rgba(245, 239, 232, 0.12);
  color: rgba(245, 239, 232, 0.68);
  pointer-events: none;
}

.moon-band {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(58px, 9vw, 112px) clamp(22px, 7vw, 92px);
}

.moon-band > img {
  position: absolute;
  inset: 0;
}

.moon-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 18, 15, 0.85), rgba(7, 18, 15, 0.14) 52%, rgba(7, 18, 15, 0.7)),
    linear-gradient(0deg, rgba(7, 18, 15, 0.92), rgba(7, 18, 15, 0.05) 60%);
}

.moon-copy {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.world-copy {
  max-width: 760px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(245, 239, 232, 0.18);
  border-radius: 8px;
  background: rgba(7, 18, 15, 0.54);
  backdrop-filter: blur(12px);
}

.world-copy p {
  margin-bottom: 12px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(22px, 7vw, 92px);
  background: #050b09;
  color: rgba(245, 239, 232, 0.62);
  font-size: 0.92rem;
}

.lightbox {
  width: min(1180px, calc(100vw - 32px));
  border: 1px solid rgba(245, 239, 232, 0.22);
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  background: #040706;
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.lightbox img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(245, 239, 232, 0.34);
  border-radius: 999px;
  background: rgba(7, 18, 15, 0.72);
  color: var(--paper);
  cursor: pointer;
}

@media (max-width: 920px) {
  .intro-band,
  .media-band,
  .art-split {
    grid-template-columns: 1fr;
  }

  .art-split {
    min-height: 0;
  }

  .screens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-band .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .nav-links {
    gap: 10px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: 92svh;
    padding: 108px 18px 54px;
  }

  .hero-media {
    object-position: 51% 50%;
  }

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

  .intro-band,
  .media-band,
  .feature-band,
  .story-band,
  .screens-section {
    padding: 64px 18px;
  }

  .art-copy,
  .demo-band,
  .moon-band,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .wide-art {
    min-height: 360px;
  }

  .screens-grid {
    grid-template-columns: 1fr;
  }

  .feature-band .feature-list {
    grid-template-columns: 1fr;
  }

  .feature-band .feature-list article,
  .feature-band .feature-list h3 {
    min-height: 0;
  }

  .moon-band {
    min-height: 620px;
  }
}
