:root {
  color-scheme: dark;
  --ink: #f3f0e7;
  --muted: #9da398;
  --green: #b4ce83;
  --green-deep: #22362c;
  --orange: #df9b63;
  --bg: #101410;
  --line: rgba(243, 240, 231, 0.13);
  font-family: "DM Sans", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(ellipse at 76% 30%, rgba(63, 91, 62, 0.12), transparent 37rem),
    var(--bg);
  color: var(--ink);
}

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

.page-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 0 7.2%;
  overflow: hidden;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  height: 94px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -1px;
}

.wordmark-icon {
  width: 29px;
  height: 29px;
  color: var(--green);
}

.wordmark-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #c8cec2;
  font-size: 12px;
  transition: color 180ms ease;
}

.header-link:hover,
.back-to-top:hover {
  color: var(--green);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(180, 206, 131, 0.75);
}

.arrow {
  margin-left: 3px;
  color: var(--green);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.94fr;
  align-items: center;
  min-height: 690px;
  padding: 50px 0 84px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 16px 0 0;
}

.eyebrow,
.manifesto-label {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--green);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.eyebrow span,
.section-number {
  color: var(--orange);
  font-family: "Space Grotesk", sans-serif;
}

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

h1,
h2 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
}

h1 {
  max-width: 630px;
  margin: 27px 0 22px;
  font-size: clamp(48px, 5.5vw, 78px);
  letter-spacing: -5.1px;
  line-height: 0.99;
}

h1 em {
  color: var(--green);
  font-weight: 400;
}

.hero-description {
  max-width: 405px;
  margin-bottom: 31px;
  color: #aeb4a9;
  font-size: 14px;
  line-height: 1.85;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 14px 16px 14px 19px;
  border: 1px solid rgba(180, 206, 131, 0.55);
  border-radius: 2px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  transition: background 180ms ease, border-color 180ms ease;
}

.primary-link:hover {
  border-color: var(--green);
  background: rgba(180, 206, 131, 0.1);
}

.link-icon {
  color: var(--green);
  font-size: 16px;
}

.hero-note {
  margin: 18px 0 0;
  color: #757e73;
  font-size: 10px;
  letter-spacing: 0.4px;
}

.artwork {
  position: relative;
  display: grid;
  min-height: 540px;
  place-items: center;
  isolation: isolate;
}

.artwork::before {
  position: absolute;
  z-index: -2;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(148, 172, 111, 0.18), rgba(40, 62, 45, 0.04) 60%, transparent 72%);
  content: "";
}

.orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(180, 206, 131, 0.12);
  border-radius: 50%;
  transform: rotate(-28deg);
}

.orbit-one {
  width: 490px;
  height: 210px;
}

.orbit-two {
  width: 460px;
  height: 300px;
  transform: rotate(43deg);
}

.back-card {
  position: absolute;
  width: 220px;
  height: 332px;
  overflow: hidden;
  padding: 9px;
  border: 1px solid rgba(238, 229, 191, 0.6);
  border-radius: 11px;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.35);
}

.custom-card-image {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.is-customized .back-frame {
  visibility: hidden;
}

.back-frame {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: stretch;
  padding: 9px;
  border: 1px solid rgba(238, 229, 191, 0.32);
  border-radius: 6px;
}

.back-creatures {
  z-index: 1;
  background: #355948;
  color: #e9d69a;
  transform: rotate(-13deg) translate(-92px, 10px);
  animation: cards-arrive-left 850ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.back-arcana {
  z-index: 3;
  background: #503e5d;
  color: #edcf91;
  transform: rotate(-2deg) translateY(-10px);
  animation: cards-arrive-center 850ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.back-frontier {
  z-index: 2;
  background: #203c52;
  color: #e8b478;
  transform: rotate(12deg) translate(92px, 10px);
  animation: cards-arrive-right 850ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.back-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 20px;
  padding: 0 2px 4px;
  color: rgba(245, 236, 211, 0.78);
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.back-art {
  position: relative;
  display: grid;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(245, 236, 211, 0.3);
  border-radius: 4px;
}

.back-art svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 72%;
  height: 72%;
}

.creature-art {
  background:
    radial-gradient(circle at 50% 48%, rgba(223, 207, 135, 0.24), transparent 39%),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(239, 221, 164, 0.07) 12px 13px),
    #416852;
  color: #e9d69a;
}

.creature-orbit {
  position: absolute;
  width: 69%;
  aspect-ratio: 1;
  border: 1px solid rgba(239, 221, 164, 0.65);
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(239, 221, 164, 0.08), 0 0 0 20px rgba(239, 221, 164, 0.05);
}

.creature-spark {
  position: absolute;
  top: 18%;
  right: 18%;
  font-size: 14px;
}

.arcana-art {
  background:
    radial-gradient(circle, rgba(238, 206, 151, 0.18), transparent 55%),
    repeating-linear-gradient(45deg, transparent 0 15px, rgba(235, 205, 155, 0.06) 15px 16px),
    #594767;
  color: #efd39b;
}

.arcana-ring {
  position: absolute;
  width: 62%;
  aspect-ratio: 1;
  border: 1px solid rgba(239, 211, 155, 0.7);
  border-radius: 50%;
}

.ring-two {
  width: 80%;
  transform: rotate(45deg) scaleY(0.52);
}

.ring-three {
  width: 80%;
  transform: rotate(-45deg) scaleY(0.52);
}

.frontier-art {
  background:
    radial-gradient(circle at 50% 50%, rgba(126, 174, 195, 0.2), transparent 52%),
    repeating-linear-gradient(-45deg, transparent 0 15px, rgba(179, 206, 209, 0.06) 15px 16px),
    #29465c;
  color: #e6b77d;
}

.planet {
  position: absolute;
  z-index: 2;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f0cf9a;
  box-shadow: 0 0 12px rgba(240, 207, 154, 0.8);
}

.planet-one {
  top: 27%;
  left: 25%;
}

.planet-two {
  right: 22%;
  bottom: 26%;
  width: 4px;
  height: 4px;
}

.back-title {
  margin: 9px 0 1px;
  color: rgba(248, 238, 213, 0.94);
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-align: center;
}

.back-caption {
  margin-bottom: 8px;
  color: rgba(248, 238, 213, 0.68);
  font-family: Georgia, serif;
  font-size: 7px;
  font-style: italic;
  text-align: center;
}

.back-footer {
  display: flex;
  justify-content: space-between;
  padding-top: 6px;
  border-top: 1px solid rgba(248, 238, 213, 0.24);
  color: rgba(248, 238, 213, 0.78);
  font-size: 6px;
  font-weight: 600;
  letter-spacing: 0.8px;
}

.spark {
  position: absolute;
  z-index: 3;
  color: var(--green);
}

.spark-one {
  top: 82px;
  right: 19%;
  font-size: 23px;
}

.spark-two {
  bottom: 117px;
  left: 15%;
  color: var(--orange);
  font-size: 20px;
}

.spark-three {
  top: 145px;
  left: 9%;
  color: #d8d8a4;
  font-size: 15px;
}

.art-caption {
  position: absolute;
  right: 1%;
  bottom: 28px;
  left: 14%;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #aeb4a9;
  font-size: 9px;
  letter-spacing: 0.4px;
}

.caption-line {
  width: 23px;
  height: 1px;
  background: var(--green);
}

.caption-index {
  margin-left: auto;
  color: #727b70;
  font-size: 8px;
  letter-spacing: 1px;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #747d72;
  font-size: 9px;
  letter-spacing: 0.6px;
}

.scroll-cue span {
  display: block;
  width: 1px;
  height: 26px;
  background: linear-gradient(var(--green), transparent);
}

.manifesto {
  display: grid;
  grid-template-columns: 0.75fr 2fr;
  gap: 40px;
  padding: 60px 0 75px;
  border-top: 1px solid var(--line);
}

.manifesto-label {
  align-items: flex-start;
  padding-top: 12px;
  color: #8c9588;
  font-size: 9px;
}

.manifesto-content h2 {
  max-width: 690px;
  margin-bottom: 24px;
  font-size: clamp(35px, 4vw, 54px);
  letter-spacing: -2.6px;
  line-height: 1.05;
}

.manifesto-content h2 span {
  color: var(--green);
}

.manifesto-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
}

.manifesto-bottom > p {
  max-width: 420px;
  margin-bottom: 0;
  color: #aeb4a9;
  font-size: 12px;
  line-height: 1.9;
}

.coming-soon {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  color: #98a093;
  font-size: 9px;
  line-height: 1.65;
}

.coming-soon b {
  color: var(--ink);
  font-size: 10px;
}

.coming-icon {
  color: var(--orange);
  font-size: 25px;
}

.site-footer {
  min-height: 82px;
  border-top: 1px solid var(--line);
}

.footer-wordmark {
  font-size: 15px;
}

.footer-wordmark .wordmark-icon {
  width: 23px;
  height: 23px;
}

.footer-note {
  color: #788075;
  font-size: 9px;
}

.back-to-top {
  color: #aeb4a9;
  font-size: 17px;
  transition: color 180ms ease;
}

@keyframes cards-arrive-left {
  from {
    opacity: 0;
    transform: rotate(-4deg) translate(-70px, 40px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: rotate(-13deg) translate(-92px, 10px) scale(1);
  }
}

@keyframes cards-arrive-center {
  from {
    opacity: 0;
    transform: rotate(0deg) translateY(25px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: rotate(-2deg) translateY(-10px) scale(1);
  }
}

@keyframes cards-arrive-right {
  from {
    opacity: 0;
    transform: rotate(4deg) translate(70px, 40px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: rotate(12deg) translate(92px, 10px) scale(1);
  }
}

@media (max-width: 900px) {
  .page-shell {
    padding: 0 5%;
  }

  .hero {
    grid-template-columns: 1fr 0.85fr;
    min-height: 625px;
  }

  h1 {
    font-size: clamp(47px, 7vw, 64px);
    letter-spacing: -3.8px;
  }

  .artwork {
    transform: scale(0.83);
  }

  .manifesto {
    grid-template-columns: 0.65fr 2fr;
    gap: 20px;
  }

  .manifesto-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 21px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 0 22px;
  }

  .site-header {
    height: 72px;
  }

  .wordmark {
    font-size: 18px;
  }

  .header-link {
    gap: 7px;
    font-size: 9px;
  }

  .hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 69px 0 66px;
  }

  .hero-copy {
    padding: 0;
  }

  .eyebrow {
    font-size: 9px;
  }

  h1 {
    max-width: 460px;
    margin: 24px 0 17px;
    font-size: clamp(49px, 13vw, 68px);
    letter-spacing: -3.8px;
  }

  .hero-description {
    max-width: 440px;
    font-size: 13px;
  }

  .artwork {
    min-height: 475px;
    margin: 5px -20px 0;
    transform: scale(0.88);
  }

  .art-caption {
    right: 7%;
    bottom: 15px;
    left: 12%;
  }

  .scroll-cue {
    bottom: 5px;
  }

  .manifesto {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 39px 0 48px;
  }

  .manifesto-label {
    padding-top: 0;
  }

  .manifesto-content h2 {
    margin-bottom: 17px;
    font-size: 42px;
    letter-spacing: -2.2px;
  }

  .manifesto-bottom > p {
    font-size: 11px;
  }

  .site-footer {
    min-height: 72px;
  }

  .footer-note {
    max-width: 135px;
    text-align: center;
    line-height: 1.5;
  }
}

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