:root {
  color-scheme: dark;
  --ink: #eef0e8;
  --muted: #aab1aa;
  --deep: #0b1117;
  --panel: #15222b;
  --line: rgba(238, 240, 232, 0.16);
  --gold: #e5bc73;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--deep);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.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;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 16px;
  background: var(--ink);
  color: var(--deep);
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  width: var(--shell);
  min-height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}
.wordmark {
  display: flex;
  align-items: baseline;
  gap: 18px;
  text-decoration: none;
}
.wordmark span { font-family: var(--serif); font-size: 1.45rem; }
.wordmark small, .eyebrow {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.site-nav { display: flex; gap: 34px; }
.site-nav a {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.site-nav a:hover { color: var(--ink); }
.menu-button { display: none; }

.hero {
  width: var(--shell);
  min-height: calc(100vh - 96px);
  min-height: calc(100svh - 96px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-copy {
  max-width: 720px;
  padding: 72px 0 96px;
  position: relative;
  z-index: 2;
}
.eyebrow { margin: 0 0 22px; }
h1 {
  margin-bottom: 34px;
  font-size: clamp(4rem, 8vw, 7.6rem);
  max-width: 10ch;
}
.hero-intro {
  max-width: 600px;
  color: #c4c9c2;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}
.hero-actions {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}
.button-primary { background: var(--gold); color: var(--deep); }
.button-primary:hover { background: #f4ce87; }
.text-link { text-underline-offset: 7px; text-decoration-color: var(--gold); }
.hero-visual {
  width: min(45vw, 580px);
  aspect-ratio: 1;
  justify-self: end;
  position: relative;
}
.orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.orb-one {
  inset: 8%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 228, 172, 0.86), transparent 12%),
    radial-gradient(circle at 55% 48%, #c87c64, #5d3747 44%, #162a37 72%);
  box-shadow: 0 0 100px rgba(207, 116, 94, 0.22);
}
.orb-two {
  width: 48%;
  height: 48%;
  right: -8%;
  bottom: 0;
  background: radial-gradient(circle at 40% 35%, #99c4ba, #2b6570 48%, #11232c 76%);
  opacity: 0.74;
  mix-blend-mode: screen;
}
.orbit {
  position: absolute;
  inset: 1%;
  border: 1px solid rgba(229, 188, 115, 0.42);
  border-radius: 50%;
  transform: rotate(-21deg) scaleY(0.35);
}
.orbit-two {
  inset: -8%;
  transform: rotate(31deg) scaleY(0.52);
  border-color: rgba(116, 169, 168, 0.32);
}
.signal {
  position: absolute;
  width: 42%;
  height: 30%;
  bottom: 8%;
  left: -7%;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.75;
}
.signal span { width: 2px; height: 35%; background: var(--gold); }
.signal span:nth-child(3n) { height: 75%; }
.signal span:nth-child(4n) { height: 100%; }
.signal span:nth-child(5n) { height: 56%; }
.hero-index {
  position: absolute;
  right: 0;
  bottom: 18px;
  color: #667078;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
}

.section-shell {
  width: var(--shell);
  margin: 0 auto;
  padding: 130px 0;
}
.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(3.2rem, 6vw, 6rem);
}
.featured, .worlds, .about { border-top: 1px solid var(--line); }
.release-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: minmax(280px, 520px) 1fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}
.release-art {
  aspect-ratio: 1;
  padding: clamp(28px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(150deg, transparent 25%, rgba(11, 17, 23, 0.64)),
    linear-gradient(135deg, #233d47, #aa6657 54%, #d9a96a);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.3);
}
.release-art::before, .release-art::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 240, 206, 0.4);
  border-radius: 50%;
  transform: rotate(-22deg) scaleY(0.34);
}
.release-art::before { inset: -12%; }
.release-art::after { inset: 8%; }
.release-sun {
  position: absolute;
  width: 38%;
  aspect-ratio: 1;
  top: 15%;
  right: 12%;
  border-radius: 50%;
  background: #f0c77d;
  box-shadow: 0 0 70px rgba(240, 199, 125, 0.42);
}
.release-path {
  position: absolute;
  width: 62%;
  height: 85%;
  left: -7%;
  bottom: -48%;
  border: 2px solid rgba(245, 223, 180, 0.38);
  border-radius: 50%;
}
.release-art p, .release-art small { position: relative; z-index: 2; }
.release-art p {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.85;
}
.release-art small { letter-spacing: 0.18em; text-transform: uppercase; }
.release-copy {
  max-width: 510px;
  color: #c8cdc7;
  font-size: 1.08rem;
}
.release-kicker, .release-note {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.release-note { margin-top: 38px; color: var(--muted); }
.service-links { border-top: 1px solid var(--line); }
.service-links a {
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.service-links a:hover { color: var(--gold); }

.heading-split {
  display: grid;
  grid-template-columns: 1.6fr 0.6fr;
  gap: 70px;
  align-items: end;
}
.heading-split > p { color: var(--muted); }
.world-list {
  margin-top: 86px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.world-list article {
  min-height: 310px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}
.world-list article:first-child { padding-left: 0; }
.world-list article:last-child { border-right: 0; }
.world-list span {
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}
.world-list h3 {
  min-height: 80px;
  margin: 58px 0 22px;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.05;
}
.world-list p { color: var(--muted); font-size: 0.91rem; }

.about {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(50px, 9vw, 140px);
}
.about-mark {
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(4rem, 10vw, 9rem);
  position: relative;
}
.about-mark::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(116, 169, 168, 0.33);
  border-radius: 50%;
}
.about-copy h2 {
  margin-bottom: 44px;
  font-size: clamp(3rem, 5vw, 5.4rem);
}
.about-copy p { max-width: 720px; color: var(--muted); }
.about-copy .lead {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.4;
}
.principle {
  padding: 130px max(24px, calc((100vw - 1180px) / 2));
  background: var(--gold);
  color: var(--deep);
}
.principle p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 5.2vw, 5.2rem);
  line-height: 1.14;
}
.principle p:nth-child(2) { margin-left: 7vw; }
.principle p:nth-child(3) { margin-left: 14vw; }

.contact {
  min-height: 610px;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 50px;
  align-content: center;
}
.contact h2 { font-size: clamp(3rem, 5vw, 5.4rem); }
.contact-link {
  align-self: center;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 2.5rem);
  text-decoration: none;
}
.contact-link:hover { color: var(--gold); }
.identity-note {
  grid-column: 2;
  max-width: 680px;
  color: var(--muted);
  font-size: 0.88rem;
}
.site-footer {
  width: var(--shell);
  margin: 0 auto;
  padding: 70px 0 36px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 50px;
  border-top: 1px solid var(--line);
  color: #7f8989;
  font-size: 0.75rem;
}
.site-footer p { margin-bottom: 10px; }
.site-footer .footer-name {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.35rem;
}
.copyright { align-self: end; white-space: nowrap; }
.error-page {
  width: min(760px, calc(100% - 40px));
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.error-page h1 {
  margin-bottom: 28px;
  font-size: clamp(3.2rem, 9vw, 7rem);
}
.error-page > p:not(.eyebrow) {
  margin-bottom: 38px;
  color: var(--muted);
  font-size: 1.1rem;
}

@media (max-width: 900px) {
  :root { --shell: min(100% - 36px, 720px); }
  .wordmark small { display: none; }
  .menu-button {
    width: 44px;
    height: 44px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    border: 0;
    background: transparent;
    color: var(--ink);
  }
  .menu-button span:not(.sr-only) {
    width: 100%;
    height: 1px;
    background: currentColor;
  }
  .site-nav {
    position: absolute;
    top: 80px;
    right: 0;
    left: 0;
    padding: 24px;
    display: none;
    flex-direction: column;
    gap: 20px;
    background: var(--panel);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.36);
  }
  .site-nav.is-open { display: flex; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 20px; }
  .hero-visual {
    width: min(90vw, 520px);
    margin: 0 auto 80px;
    justify-self: center;
  }
  .section-shell { padding: 94px 0; }
  .release-grid, .heading-split, .about, .contact { grid-template-columns: 1fr; }
  .release-art { max-width: 560px; }
  .world-list { grid-template-columns: 1fr 1fr; }
  .world-list article { border-bottom: 1px solid var(--line); }
  .world-list article:nth-child(2) { border-right: 0; }
  .world-list article:nth-child(3) { padding-left: 0; }
  .about-mark { max-width: 360px; }
  .contact { min-height: auto; }
  .identity-note { grid-column: auto; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 28px); }
  .site-header { min-height: 80px; }
  h1 { font-size: clamp(3.4rem, 17vw, 5rem); }
  .hero-copy { padding-top: 54px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-visual { width: 96%; }
  .section-shell { padding: 76px 0; }
  .section-heading h2, .about-copy h2, .contact h2 { font-size: 3rem; }
  .release-grid, .world-list { margin-top: 48px; }
  .world-list { grid-template-columns: 1fr; }
  .world-list article,
  .world-list article:first-child,
  .world-list article:nth-child(3) {
    min-height: auto;
    padding: 30px 0;
    border-right: 0;
  }
  .world-list h3 { min-height: auto; margin: 24px 0 12px; }
  .principle { padding-top: 82px; padding-bottom: 82px; }
  .principle p:nth-child(n) { margin: 0 0 14px; }
  .contact-link { overflow-wrap: anywhere; }
  .site-footer { grid-template-columns: 1fr; gap: 24px; }
  .copyright { align-self: auto; }
}

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