:root {
  color-scheme: light;
  --ink: #142220;
  --muted: #5f6f69;
  --paper: #f6f2e9;
  --mist: #dce8df;
  --reed: #738c5a;
  --water: #2f7d82;
  --deep: #123f3e;
  --night: #0b2525;
  --gold: #c79a54;
  --line: rgba(20, 34, 32, 0.16);
  --shadow: 0 24px 70px rgba(9, 29, 28, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 54px);
  color: #fffaf0;
  background: linear-gradient(to bottom, rgba(8, 30, 29, 0.72), rgba(8, 30, 29, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(12, 68, 64, 0.72);
}

nav {
  display: flex;
  gap: clamp(8px, 1.1vw, 18px);
  font-size: 0.9rem;
  font-weight: 650;
}

nav a {
  text-decoration: none;
  opacity: 0.9;
}

nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--night);
}

.hero-media,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: 50% 52%;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(5, 20, 20, 0.88), rgba(5, 20, 20, 0.42) 46%, rgba(5, 20, 20, 0.08)),
    linear-gradient(0deg, rgba(5, 20, 20, 0.82), rgba(5, 20, 20, 0.04) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  padding: 0 clamp(22px, 6vw, 74px) 14svh;
  color: #fffaf0;
}

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

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(4.6rem, 12vw, 10.5rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.12;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  font-size: clamp(1.14rem, 2vw, 1.48rem);
  color: rgba(255, 250, 240, 0.9);
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  color: #0d2423;
  background: #f6c46c;
}

.button.secondary {
  color: #fffaf0;
  border-color: rgba(255, 250, 240, 0.72);
  background: rgba(255, 250, 240, 0.08);
}

.button.disabled {
  color: rgba(255, 250, 240, 0.68);
  border-color: rgba(255, 250, 240, 0.26);
  background: rgba(255, 250, 240, 0.08);
}

.section-band {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 4vw, 54px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.two-column,
.split-media,
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: center;
}

.prose {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
}

.dark {
  color: #f6f2e9;
  background:
    radial-gradient(circle at 25% 0%, rgba(56, 126, 119, 0.34), transparent 34%),
    linear-gradient(135deg, #0a2424, #153b38 46%, #243f33);
}

.dark .section-kicker {
  color: #f6c46c;
}

.section-heading {
  max-width: 850px;
  margin-bottom: clamp(34px, 5vw, 62px);
}

.section-heading.narrow {
  max-width: 730px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.12rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.feature,
.gallery figure {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
}

.feature img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.feature div {
  padding: 24px;
}

.feature p {
  margin-bottom: 0;
  color: rgba(246, 242, 233, 0.76);
}

.experience {
  background:
    linear-gradient(180deg, #fffaf0, #f0efe5);
}

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

.tile {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf0;
  box-shadow: 0 18px 44px rgba(9, 29, 28, 0.08);
}

.tile-index {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 50%;
  color: #fffaf0;
  background: var(--water);
  font-weight: 900;
}

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

.split-media img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.split-media p {
  color: var(--muted);
  font-size: 1.08rem;
}

.signal-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.signal-list li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.signal-list span {
  color: var(--muted);
}

.muted {
  background: #e7ece2;
}

.gallery {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
}

.gallery figure {
  margin: 0;
  border-color: rgba(20, 34, 32, 0.12);
  background: #fffaf0;
}

.gallery img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.artbooks {
  background:
    linear-gradient(180deg, #f8f3e8, #e9efe6);
}

.artbook-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.artbook-grid figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(20, 34, 32, 0.12);
  border-radius: 8px;
  background: #fffaf0;
  box-shadow: 0 18px 44px rgba(9, 29, 28, 0.08);
}

.artbook-grid img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

figcaption {
  padding: 16px 18px 18px;
  color: var(--muted);
  font-size: 0.96rem;
}

.roadmap {
  background:
    linear-gradient(180deg, rgba(246, 242, 233, 0.98), rgba(228, 235, 225, 0.98)),
    url("/assets/world-zones-01.jpg") center / cover;
}

.roadmap-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: roadmap;
}

.roadmap-list li {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 22px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(20, 34, 32, 0.14);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.82);
  box-shadow: 0 18px 48px rgba(9, 29, 28, 0.1);
}

.roadmap-step {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  color: #fffaf0;
  background: var(--deep);
  font-weight: 900;
}

.roadmap-list h3 {
  margin-bottom: 6px;
}

.roadmap-list p {
  max-width: 790px;
  margin-bottom: 0;
  color: var(--muted);
}

.team {
  background:
    linear-gradient(135deg, rgba(8, 28, 28, 0.96), rgba(18, 63, 62, 0.93)),
    url("/assets/world-zones-02.jpg") center / cover;
}

.team .section-heading p {
  color: rgba(255, 250, 240, 0.76);
}

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

.team-card {
  min-height: 270px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.08);
  box-shadow: 0 20px 58px rgba(4, 18, 18, 0.24);
}

.team-card.human {
  background: rgba(246, 196, 108, 0.14);
}

.team-role {
  display: inline-flex;
  margin-bottom: 26px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 250, 240, 0.22);
  border-radius: 999px;
  color: #f6c46c;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.team-card p {
  margin-bottom: 0;
  color: rgba(255, 250, 240, 0.74);
}

.team-note {
  max-width: 780px;
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 250, 240, 0.2);
  color: rgba(255, 250, 240, 0.78);
  font-weight: 750;
}

.cta {
  color: #fffaf0;
  background:
    linear-gradient(135deg, rgba(12, 50, 50, 0.96), rgba(31, 74, 59, 0.96)),
    url("/assets/palunor-environment.jpg") center / cover;
}

.cta p {
  color: rgba(255, 250, 240, 0.76);
  font-size: 1.1rem;
}

.status-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.status-list li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 250, 240, 0.2);
}

.status-list span {
  color: rgba(255, 250, 240, 0.72);
}

.tester-panel {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 8px;
  background: rgba(7, 27, 27, 0.54);
  box-shadow: var(--shadow);
}

.tester-panel h3 {
  margin-bottom: 16px;
}

.tester-panel ol {
  display: grid;
  gap: 12px;
  padding-left: 1.25rem;
  margin: 0 0 24px;
  color: rgba(255, 250, 240, 0.82);
}

.cta-actions {
  justify-content: flex-end;
}

.devlog {
  background: #fffaf0;
}

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

.devlog-entry {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f2e9;
}

.devlog-entry time {
  display: block;
  margin-bottom: 18px;
  color: var(--water);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.devlog-entry p {
  margin-bottom: 0;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid rgba(20, 34, 32, 0.12);
  border-radius: 8px;
  background: #fffaf0;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 850;
}

.faq-list p {
  padding: 0 20px 20px;
  margin-bottom: 0;
  color: var(--muted);
}

.media-kit {
  color: #fffaf0;
  background:
    linear-gradient(135deg, rgba(8, 28, 28, 0.94), rgba(18, 63, 62, 0.9)),
    url("/assets/papomons-families.jpg") center / cover;
}

.media-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 74px);
  align-items: center;
}

.media-layout p {
  color: rgba(255, 250, 240, 0.78);
  font-size: 1.08rem;
}

.media-note {
  max-width: 620px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 250, 240, 0.22);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.media-link {
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 20px;
  border: 1px solid rgba(255, 250, 240, 0.2);
  border-radius: 8px;
  align-content: end;
  text-decoration: none;
  background: rgba(255, 250, 240, 0.1);
}

.media-link:hover {
  background: rgba(255, 250, 240, 0.16);
}

.media-link span {
  color: rgba(255, 250, 240, 0.66);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 4vw, 54px);
  color: rgba(255, 250, 240, 0.72);
  background: #071b1b;
  font-size: 0.92rem;
}

.site-footer a {
  color: #f6c46c;
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    padding-top: 16px;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-content {
    padding-bottom: 10svh;
  }

  .two-column,
  .split-media,
  .cta-grid,
  .feature-grid,
  .gallery,
  .tile-grid,
  .team-grid,
  .devlog-list,
  .artbook-grid,
  .media-layout,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .split-media img {
    order: -1;
  }

  .signal-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .status-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .roadmap-list li {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
