:root {
  color-scheme: light;
  --paper: #f4ead7;
  --ink: #211d18;
  --orange: #ff8b29;
  --dark: #221e1b;
  --cream: #fff0d6;
  --gutter: clamp(1.25rem, 5.4vw, 5.5rem);
  --measure: 90rem;
  --display: "Arial Black", "Arial", sans-serif;
  font-family: system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.55; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
main:focus { outline: none; }
.wrap { width: min(100%, var(--measure)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; top: .75rem; left: .75rem; z-index: 5; transform: translateY(-180%); padding: .7rem 1rem; background: var(--ink); color: var(--cream); }
.skip:focus { transform: none; }

.masthead { border-bottom: 1px solid #cfc0a6; }
.masthead-inner, .footer-inner { min-height: 5rem; display: flex; justify-content: space-between; align-items: center; gap: .65rem 1rem; }
.wordmark { display: inline-flex; align-items: center; gap: .6rem; flex: none; text-decoration: none; }
.wordmark span { font: 900 1.17rem/1 var(--display); letter-spacing: -.065em; }
.wordmark b { font: 800 .68rem/1 system-ui, sans-serif; letter-spacing: .12em; }
nav { display: flex; gap: clamp(.8rem, 3.1vw, 2.65rem); align-items: center; flex-wrap: wrap; }
nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .94rem; font-weight: 700; text-decoration: none; }
nav a:hover, .contact a:hover { text-decoration: underline; }


.game-hero {
  background: #21152d;
  color: #f8efdf;
  overflow: hidden;
}
.hero-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  padding-block: clamp(3rem, 4.8vw, 5rem);
}
.hero-copy { position: relative; z-index: 1; }
.eyebrow { font-size: .84rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.game-hero .eyebrow { color: #edbeff; }
.game-hero h1 {
  margin-block: .2em .25em;
  font: 900 clamp(4rem, 9.3vw, 9rem)/.9 var(--display);
  letter-spacing: -.075em;
}
.game-hero h1 em { display: block; color: #baa0ed; font-style: normal; }
.intro { max-width: 31ch; font-size: clamp(1.03rem, 1.55vw, 1.2rem); color: #e1d4e8; }
.hero-actions { margin-top: 1.55rem; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 3.05rem;
  padding: .66rem 1.16rem;
  border: 2px solid var(--ink);
  background: var(--orange);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 800;
  text-decoration: none;
  transition: box-shadow .16s ease, transform .16s ease;
}
.game-hero .button { background: #f2ce89; box-shadow: 4px 4px 0 #8861ac; }
.button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.game-hero .button:hover { box-shadow: 2px 2px 0 #8861ac; }
.game-hero a:focus-visible { outline-color: #f8efdf; }

.hero-scene {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-width: 0;
  aspect-ratio: 1.15;
}
.scene-grid {
  position: absolute;
  z-index: -3;
  inset: 8% -5% 10% -1%;
  transform: skewY(-8deg);
  background:
    linear-gradient(#ce9aff28 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(90deg, #ce9aff28 1px, transparent 1px) 0 0 / 36px 36px,
    radial-gradient(ellipse at center, #704699 0, #4c2f66 55%, #21152d 100%);
  mask-image: radial-gradient(ellipse at center, #000 24%, #000d 48%, transparent 76%);
}
.scene-board {
  position: relative;
  z-index: 1;
  width: 46%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  border: 3px solid #d6a9f2;
  border-radius: clamp(.7rem, 1.4vw, 1.25rem);
  background: #240f34;
  box-shadow: 10px 11px 0 #180e20, 10px 22px 45px #140d1ce0;
  transform: translate(9%, -2%) rotate(8deg);
}
.scene-block {
  position: absolute;
  display: grid;
  place-items: center;
  width: var(--block-size);
  aspect-ratio: 1;
  color: var(--block-ink);
  background: linear-gradient(144deg, #fff5, transparent 70%), var(--block-face);
  border-radius: 18%;
  border: 1px solid #ffffff65;
  box-shadow: inset 0 -5px 0 #15072122, var(--depth) var(--depth) 0 var(--block-edge), calc(var(--depth) * 1.5) calc(var(--depth) * 1.85) 1rem #1a1026ad;
  transform: rotate(var(--angle));
  font: 900 clamp(1.25rem, 4.1vw, 3.7rem)/1 var(--display);
  letter-spacing: -.06em;
}
.block-two { --block-size: 17%; --depth: 7px; --angle: -13deg; --block-face: #faa46c; --block-edge: #934526; --block-ink: #522328; left: 9%; top: 14%; }
.block-eight { --block-size: 22%; --depth: 9px; --angle: 13deg; --block-face: #f5d18a; --block-edge: #8f592e; --block-ink: #4f341f; right: -2%; top: 23%; }
.block-sixteen { --block-size: 19%; --depth: 8px; --angle: 15deg; --block-face: #b293ee; --block-edge: #614485; --block-ink: #352049; right: 0; bottom: 13%; }
.block-four { --block-size: 26%; --depth: 11px; --angle: -13deg; --block-face: #a6e5bc; --block-edge: #417a69; --block-ink: #254639; z-index: 2; left: 1%; bottom: 18%; }
.hero-scene figcaption { position: absolute; bottom: 0; right: 0; color: #e1d4e8; font-size: .8rem; }

.next { padding-block: clamp(2.75rem, 6vw, 5.25rem); border-top: 1px solid #66867a; background: #273b36; color: #f8efdf; }
.next .eyebrow { color: #b7dbcf; }
.next h2 { margin-top: .24em; font: 900 clamp(1.75rem, 4vw, 3.25rem)/1 var(--display); letter-spacing: -.06em; }

.studio h2, .contact h2 { font: 900 clamp(2.6rem, 5.4vw, 5rem)/.98 var(--display); letter-spacing: -.06em; }
.studio, .contact-inner { display: grid; align-items: start; grid-template-columns: .9fr 1.1fr; gap: 1.4rem 4rem; padding-block: clamp(3.25rem, 7vw, 6.5rem); }
.studio p { max-width: 45ch; font-size: clamp(1.04rem, 1.6vw, 1.25rem); }
.contact { background: var(--orange); }
.contact-inner { align-items: center; }
.contact h2 { margin-bottom: .32em; }
.contact-links { min-width: 0; }
.email { font: 900 clamp(1.25rem, 3.35vw, 3.05rem)/1.15 var(--display); letter-spacing: -.065em; text-decoration-thickness: 2px; overflow-wrap: anywhere; }
.social { margin: .75rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .15rem 1.4rem; }
.social a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 700; }
.site-footer { background: var(--dark); color: var(--cream); }
.footer-inner { min-height: 5.3rem; }


@media (max-width: 720px) {
  .hero-layout { grid-template-columns: 1fr; gap: 1.6rem; padding-block: 2.7rem 1.65rem; }
  .game-hero h1 { font-size: clamp(3.1rem, 13vw, 5.9rem); }
  .game-hero h1 em { display: inline; }
  .hero-scene { width: min(100%, 30rem); justify-self: center; }
  .hero-actions { margin-top: 1.15rem; }
  .scene-block { font-size: clamp(1.5rem, 6.4vw, 2.75rem); }
  .block-eight { right: 2%; }
  .hero-scene figcaption { bottom: -1.1rem; }
  .studio, .contact-inner { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .masthead-inner, .footer-inner { gap: .35rem; }
  .masthead nav, .site-footer nav { gap: .62rem; }
  nav a { font-size: .82rem; }
  .wordmark { gap: .35rem; }
  .wordmark img { width: 34px; }
  .wordmark span { font-size: 1rem; }
  .wordmark b { font-size: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
body:has(.prose) { min-height: 100dvh; display: flex; flex-direction: column; }
.prose { flex: 1; padding-block: clamp(2.75rem, 7vw, 6.5rem); }
.prose h1 { margin-bottom: .5em; font: 900 clamp(2.65rem, 6vw, 5.2rem)/.95 var(--display); letter-spacing: -.075em; }
.prose h2 { margin-top: 1.3em; }
.prose p { max-width: 68ch; margin-top: .7em; }
