@font-face {
  font-family: "Lilita One";
  src: url("./assets/LilitaOne-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Nunito Sans";
  src: url("./assets/NunitoSans-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #1c2928;
  --paper: #f6f3e9;
  --pink: #ff91c0;
  --lime: #d7ff60;
  --blue: #2151ee;
  font-family: "Nunito Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }
::selection { color: var(--ink); background: var(--lime); }
a { color: inherit; }

.page-shell {
  width: min(100% - 6.5rem, 91rem);
  margin-inline: auto;
}

.site-header {
  min-height: 8.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1.5px solid var(--ink);
}

.studio { display: flex; align-items: center; gap: .8rem; }

.studio-mark {
  display: grid;
  place-items: center;
  width: 3.65rem;
  height: 3.65rem;
  padding-top: .1rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font: 400 2.15rem / 1 "Lilita One", sans-serif;
  letter-spacing: -.09em;
  transform: rotate(-10deg);
}

.studio-name {
  font-size: .94rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.035em;
}

.studio-motto {
  margin: 0;
  text-align: right;
  font-size: .72rem;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.studio-motto strong { font-weight: 900; }

.hero {
  display: grid;
  grid-template-columns: .95fr 1.15fr;
  gap: clamp(2rem, 4vw, 4.75rem);
  align-items: center;
  min-height: min(46rem, calc(100svh - 17rem));
  padding: 5rem 0 6rem;
}

.hero-copy { position: relative; z-index: 2; min-width: 0; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1.5rem;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.status-dot { width: .55rem; height: .55rem; background: var(--blue); border-radius: 50%; flex: 0 0 auto; }
.eyebrow-line { width: 1.4rem; height: 1px; background: currentColor; flex: 0 0 auto; }

h1 {
  margin: 0 0 1.65rem;
  font: 400 clamp(3.85rem, 7.05vw, 7rem) / .96 "Lilita One", Impact, sans-serif;
  letter-spacing: -.025em;
}

h1 span { color: var(--blue); }

.intro {
  margin: 0 0 1.9rem;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  font-weight: 600;
  line-height: 1.6;
}

.steam-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  min-height: 4.25rem;
  max-width: 100%;
  padding: .8rem 1.15rem .8rem 1.4rem;
  border: 2px solid var(--ink);
  border-radius: .4rem;
  background: var(--lime);
  box-shadow: .3rem .35rem 0 var(--ink);
  text-decoration: none;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.link-arrow { font-family: Arial, sans-serif; font-size: 1.85rem; font-weight: 400; line-height: 1; }
.steam-link:hover { background: #e2ff8f; transform: translate(-2px, -2px); box-shadow: .42rem .47rem 0 var(--ink); }
.steam-link:active { transform: translate(3px, 3px); box-shadow: .1rem .15rem 0 var(--ink); }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; }
.release-note { margin: 1rem 0 0; font-size: .75rem; font-weight: 700; }

.art-stage {
  position: relative;
  min-width: 0;
  width: 100%;
  padding: 1.5rem 0;
  perspective: 1400px;
}

.art-offset {
  position: absolute;
  inset: 2rem -.65rem 1.3rem 1rem;
  border: 2px solid var(--ink);
  border-radius: .8rem;
  background: var(--blue);
  transform: rotate(5deg);
}

.game-poster {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: .8rem;
  background: #57c9ff;
  box-shadow: .5rem .65rem 0 var(--ink);
  transform: rotate(-4deg) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 240ms ease-out;
}

.poster-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.4rem;
  padding: .6rem 1rem;
  border-bottom: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: .57rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.game-art { display: block; width: 100%; height: auto; aspect-ratio: 2464 / 1412; }

figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.8rem;
  padding: .6rem 1.1rem;
  border-top: 2px solid var(--ink);
  background: var(--paper);
  font: 400 clamp(1rem, 1.8vw, 1.6rem) / 1.1 "Lilita One", sans-serif;
}

.coming-soon {
  position: absolute;
  top: -1.9rem;
  right: -.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 7.6rem;
  height: 7.6rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--pink);
  box-shadow: .2rem .25rem 0 var(--ink);
  font: 400 1.3rem / 1 "Lilita One", sans-serif;
  text-align: center;
  transform: rotate(12deg);
}

.coming-soon span { margin-bottom: .4rem; font: 900 .56rem / 1.2 "Nunito Sans", sans-serif; letter-spacing: .1em; text-transform: uppercase; }

.art-note {
  position: absolute;
  bottom: -1.8rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .7rem;
  border: 1.5px solid var(--ink);
  background: var(--lime);
  font-size: .65rem;
  font-weight: 900;
  transform: rotate(3deg);
}

.art-note span { font: 400 1.1rem / 1 "Lilita One", sans-serif; }

.play-strip {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  padding: 1.7rem 0;
  border-block: 1.5px solid var(--ink);
  font: 400 clamp(1.7rem, 4vw, 3.9rem) / 1 "Lilita One", sans-serif;
  text-transform: uppercase;
}

.strip-star { color: var(--blue); font-size: .58em; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.2rem;
  font-size: .66rem;
  font-weight: 800;
}

.site-footer p { margin: 0; }
.site-footer span { color: var(--blue); }

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  padding: 1rem;
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: .3rem;
  transform: translateY(-200%);
}

.skip-link:focus { transform: translateY(0); }

@media (min-width: 1500px) {
  .hero { min-height: 43rem; }
}

@media (max-width: 1000px) {
  .page-shell { width: calc(100% - 4rem); }
  .hero { gap: 2rem; padding: 5rem 0; }
  h1 { font-size: clamp(3.6rem, 7.05vw, 4.5rem); }
  .eyebrow { font-size: .59rem; gap: .4rem; }
  .coming-soon { width: 6.4rem; height: 6.4rem; right: -.4rem; font-size: 1.15rem; }
  .poster-bar { font-size: .47rem; gap: .5rem; padding-inline: .7rem; }
}

@media (max-width: 740px) {
  .page-shell { width: calc(100% - 2.5rem); }
  .site-header { min-height: 6.5rem; }
  .studio-mark { width: 3rem; height: 3rem; font-size: 1.8rem; }
  .studio-name { font-size: .8rem; }
  .studio-motto { font-size: .6rem; }
  .hero { grid-template-columns: 1fr; gap: 4.7rem; padding: 3.4rem 0 4.8rem; }
  .hero-copy { text-align: center; }
  .eyebrow { justify-content: center; margin-bottom: 1.15rem; font-size: .63rem; }
  h1 { font-size: clamp(3.65rem, 13.2vw, 6rem); margin-bottom: 1.4rem; }
  .intro { font-size: 1.03rem; margin-bottom: 1.55rem; }
  .steam-link { min-height: 4rem; }
  .art-stage { width: min(100% - 1.25rem, 32rem); margin-inline: auto; }
  .poster-bar { font-size: .53rem; }
  figcaption { font-size: 1.3rem; min-height: 3.2rem; }
  .coming-soon { top: -1.75rem; right: -.35rem; }
  .art-note { right: 0; bottom: -1.6rem; }
  .play-strip { padding-block: 1.4rem; font-size: clamp(1.35rem, 4.9vw, 2.8rem); gap: .25rem; }
  .site-footer { min-height: 5rem; font-size: .57rem; }
}

@media (max-width: 360px) {
  .page-shell { width: calc(100% - 2rem); }
  .studio { gap: .5rem; }
  .studio-motto { font-size: .53rem; }
  .hero { padding-top: 2.7rem; }
  h1 { font-size: 3.3rem; }
  .intro { font-size: .93rem; }
  .steam-link { font-size: .95rem; gap: 1rem; padding-inline: 1rem; }
  .poster-bar { font-size: .44rem; }
  figcaption { font-size: 1.1rem; }
  .coming-soon { width: 5.6rem; height: 5.6rem; font-size: 1rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: arrive 600ms ease-out both; }
  .art-stage { animation: arrive 800ms 80ms ease-out both; }
  @keyframes arrive {
    from { opacity: 0; translate: 0 1.1rem; }
    to { opacity: 1; translate: 0 0; }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
