@font-face {
  font-family: 'Nunito Sans';
  src: url('/assets/nunito-sans.c50b44660f9f.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Serif Display';
  src: url('/assets/dm-serif-display.410fa0628b78.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Serif Display';
  src: url('/assets/dm-serif-display-italic.399a8233b693.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('/assets/space-grotesk.e5e1adfaca3c.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('/assets/nunito.1e0fb46b1eeb.woff2') format('woff2');
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #142f36;
  --panel: #1c3c42;
  --ink: #f3e4c3;
  --muted: #b9ccc6;
  --amber: #e6a35e;
  --line: #466169;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  overflow-wrap: break-word;
  background: var(--bg);
  color: var(--ink);
  font:
    16px/1.7 'Nunito Sans',
    system-ui,
    sans-serif;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
a:hover {
  color: var(--amber);
}
a:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 6px;
  border-radius: 3px;
}
p {
  margin: 0 0 22px;
  color: var(--muted);
}
h1,
h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0;
}
h1 {
  font-size: clamp(44px, 5.25vw, 76px);
}
h2 {
  font-size: clamp(38px, 4.2vw, 60px);
}
h3 {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
  margin: 13px 0 10px;
}
em {
  font-weight: inherit;
  color: var(--amber);
}
.wrap {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  left: 24px;
  top: -100px;
  padding: 12px 22px;
  background: var(--ink);
  color: var(--bg);
  z-index: 5;
}
.skip-link:focus {
  top: 12px;
}
.preview-notice {
  padding: 8px 24px;
  margin: 0;
  background: #f3e4c3;
  color: #142f36;
  text-align: center;
  font-size: 13px;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font:
    700 21px/1.05 'Space Grotesk',
    system-ui,
    sans-serif;
  letter-spacing: 0.045em;
  text-decoration: none;
}
.brand-sub {
  display: block;
  color: var(--amber);
  font-size: 10px;
  letter-spacing: 0.43em;
  margin-top: 6px;
}
.brand img {
  flex: 0 0 44px;
}
nav {
  display: flex;
  gap: 36px;
  align-items: center;
}
nav a {
  padding-block: 12px;
  text-decoration: none;
  font-size: 14px;
}
nav a:last-child {
  color: var(--amber);
}
.hero {
  padding-top: 62px;
}
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 650;
  color: var(--amber);
  margin: 0 0 24px;
}
.spark {
  margin-right: 10px;
  font-size: 17px;
}
.hero-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin: 0 0 42px;
}
.hero-intro {
  flex: 0 0 240px;
  padding-bottom: 3px;
  font-size: 16px;
}
.hero-intro p {
  margin-bottom: 18px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  font-size: 14px;
  color: var(--ink);
  padding-block: 8px;
}
figure {
  margin: 0;
}
.hero-art {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.hero-art img {
  width: 100%;
  height: auto;
}
figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 20px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.03em;
}
.hero-art figcaption {
  padding: 16px 24px;
  background: #18343a;
}
.tiny-star {
  color: var(--amber);
  margin-right: 8px;
}
.section {
  padding-block: 92px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 38px;
}
.section-heading p {
  margin: 0;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 6px 13px;
  font-size: 12px;
}
.status span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
}
.collection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.collection-copy h2 {
  margin-bottom: 24px;
}
.lead {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.6;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 52px;
  padding: 13px 23px;
  border: 1px solid var(--amber);
  border-radius: 8px;
  background: var(--amber);
  color: var(--bg);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}
.button:hover {
  background: #f0bb80;
  color: #142f36;
}
.release-note {
  font-size: 12px;
  margin: 18px 0 0;
}
.spellbox-art {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 412px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 30%, #365453, #1c3c42 75%);
}
.spellbox-art img {
  width: 128px;
  height: 128px;
  position: relative;
  margin-bottom: 16px;
}
.spellbox-wordmark {
  font:
    800 48px/1.2 'Nunito',
    system-ui,
    sans-serif;
  letter-spacing: -0.045em;
}
.art-caption {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-top: 9px;
}
.orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid #6b8b802e;
  border-radius: 50%;
  width: 330px;
  height: 330px;
}
.orbit-two {
  width: 440px;
  height: 440px;
}
.art-star {
  position: absolute;
  top: 47px;
  right: 66px;
  color: var(--amber);
  font-size: 15px;
}
.art-water {
  position: absolute;
  bottom: -165px;
  left: -10%;
  width: 125%;
  height: 215px;
  border-radius: 50%;
  background: #28484b;
  z-index: -1;
  transform: rotate(-8deg);
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 58px;
  border-top: 1px solid var(--line);
}
.principles > div {
  padding: 28px 28px 0;
  border-right: 1px solid var(--line);
}
.principles > div:first-child {
  padding-left: 0;
}
.principles > div:last-child {
  border-right: 0;
  padding-right: 0;
}
.number {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--amber);
}
.principles p {
  font-size: 14px;
  margin: 0;
  max-width: 300px;
}
.game-section {
  background: #1a363c;
  border-block: 1px solid var(--line);
}
.small-note {
  font-size: 12px;
}
.game-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 76px;
  align-items: center;
}
.game-art img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: 62% 50%;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.game-art figcaption {
  padding-top: 12px;
}
.game-copy h2 {
  font-size: clamp(52px, 5.2vw, 74px);
  margin-bottom: 26px;
}
.game-copy .eyebrow {
  margin-bottom: 20px;
}
.game-copy p {
  font-size: 15px;
}
.game-copy .lead {
  font-size: 19px;
}
.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 6px;
}
.game-meta span {
  border: 1px solid #5d7577;
  padding: 4px 13px;
  border-radius: 100px;
  font-size: 11px;
}
.game-copy .release-note {
  font-size: 12px;
}
.studio-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 76px;
}
.studio-grid h2 {
  font-size: clamp(36px, 3.6vw, 51px);
}
.studio-grid p:last-child {
  margin: 0;
}
.contact-section {
  border-block: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  padding-block: 52px;
}
.contact-section h2 {
  margin-bottom: 18px;
}
.contact-section p:last-child {
  margin: 0;
}
.contact-details {
  max-width: 48%;
  overflow-wrap: anywhere;
}
.contact-details a {
  font-size: 21px;
  color: var(--amber);
}
.site-footer {
  padding-block: 38px 32px;
  font-size: 12px;
  color: var(--muted);
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  font-size: 11px;
}
.footer-bottom > p {
  max-width: 275px;
  text-align: right;
}
.legal {
  overflow-wrap: anywhere;
}
.legal p {
  margin: 0 0 6px;
}
.legal address {
  font-style: normal;
}
.not-found {
  padding-block: 90px 100px;
  min-height: 65vh;
}
.not-found h1 {
  margin-bottom: 28px;
}
.not-found > p {
  max-width: 440px;
}
.not-found .button {
  margin: 8px 0 24px;
}
@media (min-width: 1500px) {
  .hero-heading h1 {
    font-size: 78px;
  }
}
@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .hero-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }
  .hero-intro {
    flex-basis: auto;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
  }
  .hero-intro p {
    margin: 0;
  }
  .collection-grid,
  .game-grid,
  .studio-grid {
    gap: 40px;
  }
  .spellbox-art {
    min-height: 390px;
  }
  .section {
    padding-block: 68px;
  }
}
@media (max-width: 650px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    flex-wrap: wrap;
    gap: 18px;
    padding-block: 22px 12px;
  }
  .brand {
    font-size: 19px;
  }
  nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }
  nav a {
    font-size: 12px;
  }
  .hero {
    padding-top: 36px;
  }
  .hero-heading {
    margin-bottom: 28px;
    gap: 22px;
  }
  h1 {
    font-size: clamp(37px, 8.6vw, 54px);
  }
  .hero-intro {
    display: block;
    font-size: 15px;
  }
  .hero-intro p {
    margin-bottom: 10px;
  }
  .hero-art img {
    aspect-ratio: 1.3;
    object-fit: cover;
    object-position: 59% 50%;
  }
  .hero-art figcaption {
    padding: 13px 16px;
    font-size: 10px;
  }
  .section {
    padding-block: 52px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
  }
  .collection-grid,
  .game-grid,
  .studio-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .spellbox-art {
    min-height: 340px;
  }
  .principles {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }
  .principles > div,
  .principles > div:first-child,
  .principles > div:last-child {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .principles > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }
  .principles p {
    max-width: none;
  }
  .game-grid {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .game-copy h2 {
    font-size: 58px;
  }
  .game-art img {
    height: auto;
    aspect-ratio: 1.25;
  }
  .contact-section {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 36px;
    gap: 25px;
  }
  .contact-details {
    max-width: 100%;
  }
  .contact-details a {
    font-size: 19px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
  }
  .footer-bottom > p {
    text-align: left;
    max-width: none;
  }
  .footer-top {
    gap: 16px;
  }
  .site-footer .brand {
    font-size: 17px;
  }
  .eyebrow {
    font-size: 10px;
  }
  .preview-notice {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
