@font-face {
  font-family: Anton;
  src: url("/assets/anton.ttf") format("truetype");
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #050e17;
  --text: #f3f4f6;
  --muted: #8e9bb1;
  --gold: #ffd16d;
  --line: #243344;
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  min-width: 320px;
}
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 47% 102%, #0c1827 0, transparent 52%), var(--bg);
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
}
.site-header {
  height: 105px;
  position: relative;
  z-index: 5;
}
.site-header nav {
  display: flex;
  justify-content: center;
  gap: 58px;
  padding-top: 39px;
  font-size: 26px;
  color: #a5b0c5;
}
.site-header nav a {
  position: relative;
  padding: 0 0 13px;
  transition: color 0.18s;
}
.site-header nav a:hover,
.site-header nav a[aria-current] {
  color: var(--gold);
}
.site-header nav a[aria-current]:after {
  content: "";
  position: absolute;
  left: -16px;
  right: -16px;
  bottom: 0;
  height: 3px;
  border-radius: 100%;
  background: linear-gradient(90deg, #ff7333, #ffe194 50%, #ff7333);
  box-shadow: 0 0 9px #ff9c383b;
}
.skip-link {
  position: absolute;
  top: -80px;
  left: 12px;
  padding: 12px;
  background: #192436;
}
.skip-link:focus {
  top: 5px;
}
h1 {
  font-family: Anton, Impact, "Arial Narrow", sans-serif;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.2px;
}
h1 span {
  background: linear-gradient(#ffe9b2 8%, #ffcf8d 45%, #ff956d 92%);
  background-clip: text;
  color: transparent;
}
.button {
  border: 1px solid #ff8790;
  border-radius: 12px;
  min-height: 54px;
  background: linear-gradient(115deg, #ff254a, #be1517);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 32px;
  box-shadow: 0 0 28px #f1234033;
  transition:
    filter 0.18s,
    transform 0.18s;
}
.button:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
}
.button span {
  font-size: 1.2em;
  font-weight: 400;
}
.button:disabled {
  background: #242c3b;
  color: #e4e8f0;
  border-color: transparent;
  box-shadow: none;
  transform: none;
  filter: none;
}
.green .button {
  background: linear-gradient(115deg, #159656, #056c38);
  border-color: #58af65;
  box-shadow: 0 0 22px #0fa95318;
}
.site-footer {
  position: relative;
  z-index: 2;
  max-width: 1524px;
  margin: 38px auto 0;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 129px;
  padding: 12px 7px 22px;
}
.identity {
  display: flex;
  align-items: center;
  gap: 25px;
}
.identity img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 50%;
}
.identity strong {
  display: block;
  font-size: 30px;
  line-height: 1.4;
}
.identity span span {
  display: block;
  font-size: 24px;
  color: #9ca8bd;
}
.footer-inner > p {
  font-size: 28px;
  color: #98a6be;
}
.home-hero {
  height: 405px;
  position: relative;
  margin-top: -105px;
  overflow: hidden;
}
.hero-art {
  position: absolute;
  top: 0;
  height: 430px;
  pointer-events: none;
  mask-image: linear-gradient(#000 75%, transparent);
}
.hero-dungeon {
  left: 0;
  width: 41%;
  background: url("/assets/isaac.webp") center 48% / cover no-repeat;
  mask-image:
    linear-gradient(90deg, #000 65%, transparent),
    linear-gradient(#000 76%, transparent);
  mask-composite: intersect;
}
.hero-garden {
  right: 0;
  width: 41%;
  background: url("/assets/garden.webp") center 46% / cover no-repeat;
  mask-image:
    linear-gradient(270deg, #000 69%, transparent),
    linear-gradient(#000 77%, transparent);
  mask-composite: intersect;
}
.hero-copy {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 119px;
  margin: auto;
  width: 620px;
}
.hero-copy h1 {
  font-size: 82px;
  white-space: nowrap;
  letter-spacing: -1px;
  text-shadow: 0 3px 12px #0002;
}
.chinese-brand {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-top: 9px;
}
.chinese-brand:before,
.chinese-brand:after {
  content: "";
  width: 61px;
  height: 2px;
  background: linear-gradient(90deg, #a74e31, #f3dea1);
}
.tagline {
  color: #8babc7;
  font-size: 21px;
  margin-top: 6px;
}
.explore {
  margin-top: 27px;
  width: 236px;
}
.home-content {
  max-width: 1358px;
  margin: 0 auto;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 8px 11px;
}
.section-heading h2 {
  font-size: 34px;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 19px;
}
.section-heading h2:after {
  content: "";
  width: 38px;
  height: 2px;
  background: #ef455a;
}
.section-heading p {
  font-size: 13px;
  color: #8198b7;
}
.featured-grid,
.future-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.game-card {
  position: relative;
  border: 1px solid #344151;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(130deg, #08111c, #050d15);
}
.game-card.red {
  border-color: #a9283b;
}
.game-card.green {
  border-color: #27614f;
}
.playable {
  cursor: pointer;
}
.featured-card {
  height: 226px;
  display: grid;
  grid-template-columns: 52% 48%;
  background:
    radial-gradient(ellipse at 110% 120%, #4a0a16, transparent 75%), #090d16;
}
.featured-card.green {
  background:
    radial-gradient(ellipse at 110% 120%, #0d2917, transparent 75%), #061316;
}
.game-art {
  position: relative;
  overflow: hidden;
}
.game-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 51%;
}
.featured-card .game-art {
  mask-image: linear-gradient(90deg, #000 80%, transparent);
}
.featured-card .game-art img {
  object-position: 50% 52%;
}
.card-content {
  padding: 18px 20px;
}
.featured-card .card-content {
  padding: 24px 6px 16px 10px;
}
.featured-card h3 {
  font-size: 39px;
  white-space: nowrap;
  text-shadow: 2px 3px #850b1c;
  font-weight: 900;
  letter-spacing: -1px;
}
.featured-card.green h3 {
  color: #ffe074;
  text-shadow: 2px 3px #534806;
  font-size: 42px;
}
.card-content p {
  color: #d4d8e0;
  font-size: 20px;
  line-height: 1.35;
  margin-top: 11px;
}
.featured-card .card-content p {
  font-size: 16px;
  max-width: 264px;
  margin-top: 15px;
}
.featured-card.red .card-content p {
  max-width: 182px;
}
.featured-card .button {
  font-size: 16px;
  min-height: 43px;
  height: 43px;
  min-width: 162px;
  padding: 8px 22px;
  margin-top: 14px;
}
.coming-section {
  margin-top: 17px;
}
.coming-section .section-heading h2 {
  font-size: 26px;
}
.coming-section .section-heading {
  padding-bottom: 8px;
}
.future-card {
  height: 120px;
  overflow: hidden;
  border: 1px solid #38475b;
  border-radius: 10px;
}
.future-art {
  height: 100%;
  min-height: 168px;
  background:
    linear-gradient(#031025b8, #071730ed),
    url("/assets/dungeon-wall.webp") center/cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #8cadd9;
}
.future-art.teal {
  background:
    linear-gradient(#002527cb, #031719ed),
    url("/assets/garden-sky.webp") center/cover;
}
.future-art span {
  font-size: 110px;
  font-weight: 700;
  line-height: 1;
}
.future-card .future-art {
  min-height: 0;
}
.future-card .future-art span {
  font-size: 46px;
  line-height: 1.1;
}
.future-art small {
  font-size: 14px;
  color: #c5d1e4;
  margin-top: 2px;
}
[data-page="home"] .site-header nav {
  font-size: 14px;
  gap: 40px;
  padding-top: 29px;
}
[data-page="home"] .site-header nav a {
  padding-bottom: 9px;
}
[data-page="home"] .site-header nav a[aria-current]:after {
  left: -9px;
  right: -9px;
  height: 2px;
}
[data-page="home"] .site-footer {
  max-width: 1600px;
  margin-top: 16px;
}
[data-page="home"] .footer-inner {
  max-width: 1360px;
  min-height: 61px;
  margin: auto;
  padding: 4px 0 6px;
}
[data-page="home"] .identity {
  gap: 15px;
}
[data-page="home"] .identity img {
  width: 52px;
  height: 52px;
}
[data-page="home"] .identity strong {
  font-size: 14px;
}
[data-page="home"] .identity span span {
  font-size: 13px;
}
[data-page="home"] .footer-inner > p {
  font-size: 13px;
}
.games-hero {
  height: 299px;
  position: relative;
}
.games-heading {
  max-width: 1410px;
  margin: auto;
  position: relative;
  z-index: 1;
  padding-top: 30px;
}
.games-heading h1 {
  font-size: 89px;
}
.games-heading h2 {
  font-size: 49px;
  margin-top: 2px;
  line-height: 1.2;
}
.games-heading p {
  font-size: 28px;
  margin-top: 13px;
  letter-spacing: 1px;
}
.games-scene {
  position: absolute;
  right: 0;
  top: -105px;
  width: 67%;
  height: 409px;
  overflow: hidden;
  background: url("/assets/dungeon-wall.webp") center/cover;
  mask-image:
    linear-gradient(90deg, transparent, #000 35%),
    linear-gradient(#000 83%, transparent);
  mask-composite: intersect;
}
.games-scene img {
  height: 480px;
  width: 480px;
  object-fit: cover;
  position: absolute;
  right: 50px;
  top: -30px;
  mask-image:
    linear-gradient(90deg, transparent, #000 22%),
    linear-gradient(#000 75%, transparent);
  mask-composite: intersect;
}
.all-games-grid {
  max-width: 1456px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.all-games-grid .game-card {
  min-height: 370px;
  display: flex;
  flex-direction: column;
}
.all-games-grid .game-art {
  height: 170px;
  flex-shrink: 0;
}
.all-games-grid .game-art img {
  object-position: 50% 53%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.all-games-grid .card-content {
  padding: 17px 20px 20px;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}
.all-games-grid h2 {
  font-size: 27px;
  line-height: 1.2;
}
.all-games-grid .card-content p {
  margin-top: 12px;
  min-height: 48px;
  font-size: 20px;
}
.all-games-grid .button {
  margin-top: auto;
  min-height: 64px;
  width: calc(100% - 36px);
  padding: 12px 15px;
  font-size: 24px;
  border-radius: 10px;
}
.all-games-grid .red .button {
  background: #ed1025;
  border-color: #ed1025;
}
.all-games-grid .green .button {
  background: #008657;
  border-color: #008657;
}
.all-games-grid .future-art {
  height: 170px;
  min-height: 170px;
  flex-shrink: 0;
}
[data-page="games"] .site-footer {
  max-width: 1544px;
  margin-top: 38px;
}
[data-page="games"] .footer-inner {
  min-height: 128px;
  padding-top: 5px;
}
[data-page="games"] .identity img {
  width: 86px;
  height: 86px;
}
[data-page="games"] .identity {
  gap: 20px;
}
[data-page="games"] .identity strong {
  font-size: 25px;
}
[data-page="games"] .identity span span {
  font-size: 21px;
}
[data-page="games"] .footer-inner > p {
  font-size: 25px;
}
.about-main {
  position: relative;
  min-height: 688px;
}
.about-copy {
  position: relative;
  z-index: 2;
  margin-left: max(6.1vw, calc((100vw - 1468px) / 2));
  padding-top: 54px;
  pointer-events: none;
}
.about-copy h1 {
  font-size: 110px;
}
.about-copy h2 {
  font-size: 51px;
  line-height: 1.2;
  margin-top: 12px;
  letter-spacing: 4px;
}
.biography {
  margin-top: 23px;
  font-size: 26px;
  line-height: 1.7;
  letter-spacing: 1px;
}
.handwritten {
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  color: #ff8a32;
  font-size: 33px;
  line-height: 1.3;
  transform: rotate(-5deg);
  transform-origin: left top;
  margin-top: 50px;
  margin-left: 94px;
  letter-spacing: 1px;
}
.handwritten span {
  display: inline-block;
  margin-left: 10px;
}
.about-scene {
  position: absolute;
  right: 0;
  top: -66px;
  width: 74%;
  height: 746px;
  overflow: hidden;
  mask-image:
    linear-gradient(90deg, transparent, #000 23%),
    linear-gradient(#000 85%, transparent);
  mask-composite: intersect;
}
.about-wall {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(#030c1670, #160b0660),
    url("/assets/dungeon-wall.webp") center/cover;
}
.about-scene:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 80% 74%, #ff790a24, transparent 55%);
}
.about-isaac {
  position: absolute;
  width: 335px;
  height: auto;
  left: 24%;
  bottom: 80px;
  filter: drop-shadow(0 9px 9px #000);
}
.about-garden {
  position: absolute;
  width: 490px;
  height: auto;
  right: 15%;
  bottom: 80px;
  filter: drop-shadow(0 10px 8px #000);
}
.about-candle {
  position: absolute;
  width: 180px;
  height: auto;
  right: 0;
  bottom: 74px;
  mask-image: radial-gradient(ellipse, #000 44%, transparent 72%);
}
[data-page="about"] .site-footer {
  margin-top: 0;
}
.game-dialog {
  max-width: 440px;
  width: calc(100% - 40px);
  border: 1px solid #725344;
  background: #101923;
  color: var(--text);
  padding: 36px;
  border-radius: 16px;
  box-shadow: 0 20px 100px #000;
}
.game-dialog::backdrop {
  background: #020812c9;
  backdrop-filter: blur(5px);
}
.game-dialog h2 {
  font-size: 28px;
  margin-bottom: 18px;
}
.game-dialog p {
  color: #aab7ca;
  line-height: 1.6;
  margin-bottom: 24px;
}
.game-dialog .button {
  width: 100%;
}
.dialog-close {
  position: absolute;
  right: 12px;
  top: 7px;
  border: 0;
  background: transparent;
  color: #c3cbd8;
  font-size: 29px;
  padding: 4px 10px;
}
/* Reference comparison refinements: real artwork at the intended character scale. */
.handwritten {
  width: max-content;
  max-width: calc(100% - 110px);
}
.explore {
  white-space: nowrap;
  padding: 12px 22px;
  min-height: 54px;
}
.hero-copy h1 {
  transform: scaleX(1.12);
}
.hero-copy {
  padding-top: 123px;
}
.chinese-brand {
  margin-top: 2px;
}
.tagline {
  margin-top: 6px;
}
.explore {
  margin-top: 27px;
}
.hero-dungeon {
  background:
    linear-gradient(90deg, #050e1710, #050e1760),
    url("/assets/dungeon-stone.webp") left center/250px auto repeat-x;
}
.hero-garden {
  background: url("/assets/garden-sky.webp") center/auto 430px no-repeat;
}
.hero-art:before {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
}
.hero-dungeon:before {
  background-image: url("/assets/isaac.webp");
  background-size: 470px 470px;
  background-position: center 3px;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 19%,
    #000 76%,
    transparent
  );
}
.hero-garden:before {
  background-image: url("/assets/garden.webp");
  background-size: 490px 490px;
  background-position: center -9px;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 18%,
    #000 80%,
    transparent
  );
}
.featured-card .game-art {
  background: url("/assets/dungeon-stone.webp") center/cover;
}
.featured-card.green .game-art {
  background: url("/assets/garden-sky.webp") center/cover;
}
.featured-card .game-art img {
  object-fit: contain;
  object-position: center;
  height: 255px;
  margin-top: -15px;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 17%,
    #000 80%,
    transparent
  );
}
.coming-section {
  margin-top: 14px;
}
.coming-section .section-heading {
  padding-bottom: 5px;
}
.games-heading h1 {
  display: inline-block;
  transform: scaleX(1.18);
  transform-origin: left center;
}
.about-copy h1 {
  display: inline-block;
  transform: scaleX(1.25);
  transform-origin: left center;
}
.games-scene {
  background:
    linear-gradient(90deg, #050e1790, #190b0ab0),
    url("/assets/dungeon-stone.webp") center/330px auto repeat-x;
}
.games-scene img {
  height: 310px;
  width: 310px;
  top: 105px;
  right: 136px;
  mask-image: radial-gradient(ellipse, #000 45%, transparent 73%);
}
.all-games-grid {
  max-width: 1468px;
}
.all-games-grid .button {
  width: calc(100% - 36px);
}
.all-games-grid .game-art {
  background: url("/assets/dungeon-stone.webp") center/cover;
}
.all-games-grid .green .game-art {
  background: url("/assets/garden-sky.webp") center/cover;
}
.all-games-grid .game-art img {
  object-fit: contain;
  height: 224px;
  margin-top: -30px;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 17%,
    #000 83%,
    transparent
  );
}
.future-art {
  background:
    linear-gradient(#031025cf, #071730f2),
    url("/assets/dungeon-stone.webp") center/cover;
}
.all-games-grid .future-art.teal {
  background:
    linear-gradient(#031025b8, #071730ed),
    url("/assets/garden-sky.webp") center/cover;
}
.about-wall {
  background:
    linear-gradient(90deg, #050e17ae, #170b1570),
    url("/assets/dungeon-stone.webp") center/380px auto repeat;
}
.about-wall:after {
  content: "";
  position: absolute;
  inset: 65% 0 0;
  background:
    linear-gradient(transparent, #090b1240),
    url("/assets/dungeon-floor.webp") center bottom/100% auto no-repeat;
  mask-image: linear-gradient(transparent, #000 45%);
}
.about-scene {
  mask-image:
    linear-gradient(90deg, transparent, #000 23%),
    linear-gradient(transparent, #000 10%, #000 85%, transparent);
}
.about-isaac {
  bottom: 100px;
  left: 24%;
  width: 320px;
}
.about-garden {
  width: 465px;
  bottom: 99px;
  right: 15%;
}
@media (min-width: 1800px) {
  .home-hero {
    height: 450px;
  }
  .hero-art {
    height: 475px;
  }
  .hero-copy {
    padding-top: 135px;
  }
  .home-content {
    max-width: 1450px;
  }
  .featured-card {
    height: 250px;
  }
  .future-card {
    height: 135px;
  }
  .home-content {
    margin-bottom: 20px;
  }
}
@media (max-width: 1500px) and (min-width: 901px) {
  .home-content {
    width: 82%;
  }
  .hero-copy h1 {
    font-size: 70px;
  }
  .hero-copy {
    width: 550px;
  }
  .featured-card h3 {
    font-size: 31px;
  }
  .featured-card.green h3 {
    font-size: 36px;
  }
  .featured-card .card-content p {
    font-size: 14px;
  }
  .all-games-grid {
    width: 88%;
    gap: 20px;
  }
  .games-heading {
    width: 84%;
  }
  .all-games-grid h2 {
    font-size: 23px;
  }
  .all-games-grid .card-content p {
    font-size: 17px;
  }
  .all-games-grid .button {
    width: 100%;
    font-size: 20px;
  }
  .site-footer,
  [data-page="games"] .site-footer {
    width: 91%;
  }
  .about-copy {
    margin-left: 6%;
  }
  .biography {
    font-size: 22px;
  }
  .about-garden {
    width: 40%;
  }
  .about-isaac {
    width: 29%;
  }
  .about-copy h1 {
    font-size: 96px;
  }
  .about-copy h2 {
    font-size: 44px;
  }
  [data-page="home"] .footer-inner {
    width: 85%;
  }
}
@media (max-width: 900px) {
  .site-header,
  .site-header nav {
    height: 86px;
  }
  .site-header nav,
  [data-page="home"] .site-header nav {
    padding-top: 25px;
    font-size: 19px;
    gap: 40px;
  }
  .site-header nav a {
    padding-bottom: 9px;
    height: 36px;
  }
  .site-header nav a[aria-current]:after {
    left: -8px;
    right: -8px;
  }
  .home-hero {
    margin-top: -86px;
    height: 535px;
  }
  .hero-art {
    width: 58%;
    height: 310px;
    top: 255px;
  }
  .hero-dungeon {
    background-position: center 49%;
    mask-image:
      linear-gradient(90deg, #000 65%, transparent),
      linear-gradient(transparent, #000 22%, #000 70%, transparent);
  }
  .hero-garden {
    background-position: center 44%;
    mask-image:
      linear-gradient(270deg, #000 65%, transparent),
      linear-gradient(transparent, #000 20%, #000 68%, transparent);
  }
  .hero-copy {
    padding-top: 108px;
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-copy h1 {
    font-size: clamp(43px, 8.3vw, 68px);
    letter-spacing: 0;
  }
  .chinese-brand {
    font-size: 25px;
    margin-top: 10px;
    gap: 15px;
    letter-spacing: 3px;
  }
  .chinese-brand:before,
  .chinese-brand:after {
    width: 36px;
  }
  .tagline {
    font-size: 17px;
  }
  .explore {
    margin-top: 20px;
    min-height: 48px;
    font-size: 16px;
    width: 210px;
  }
  .home-content {
    width: calc(100% - 36px);
  }
  .section-heading {
    padding: 0 0 12px;
  }
  .section-heading h2 {
    font-size: 27px;
    gap: 12px;
  }
  .section-heading p {
    display: none;
  }
  .featured-grid,
  .future-grid {
    gap: 16px;
  }
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .featured-card {
    height: 225px;
    grid-template-columns: 50% 50%;
  }
  .featured-card .card-content {
    padding: 24px 8px 12px 10px;
  }
  .featured-card h3 {
    font-size: clamp(23px, 4.5vw, 36px);
  }
  .featured-card.green h3 {
    font-size: clamp(27px, 5vw, 40px);
  }
  .featured-card .card-content p {
    font-size: 15px;
  }
  .featured-card .button {
    font-size: 15px;
    padding: 8px 16px;
    min-width: 140px;
  }
  .coming-section {
    margin-top: 25px;
  }
  .coming-section .section-heading h2 {
    font-size: 23px;
  }
  .future-card {
    height: 110px;
  }
  .site-footer,
  [data-page="home"] .site-footer,
  [data-page="games"] .site-footer {
    width: calc(100% - 36px);
    margin: 25px auto 0;
  }
  .footer-inner,
  [data-page="home"] .footer-inner,
  [data-page="games"] .footer-inner {
    padding: 18px 0;
    min-height: 100px;
    width: 100%;
    gap: 20px;
  }
  .identity,
  [data-page="home"] .identity,
  [data-page="games"] .identity {
    gap: 12px;
  }
  .identity img,
  [data-page="home"] .identity img,
  [data-page="games"] .identity img {
    width: 62px;
    height: 62px;
  }
  .identity strong,
  [data-page="home"] .identity strong,
  [data-page="games"] .identity strong {
    font-size: 17px;
  }
  .identity span span,
  [data-page="home"] .identity span span,
  [data-page="games"] .identity span span {
    font-size: 14px;
  }
  .footer-inner > p,
  [data-page="home"] .footer-inner > p,
  [data-page="games"] .footer-inner > p {
    font-size: 13px;
  }
  .games-hero {
    height: 275px;
  }
  .games-heading {
    padding: 30px 25px 0;
  }
  .games-heading h1 {
    font-size: 62px;
  }
  .games-heading h2 {
    font-size: 32px;
  }
  .games-heading p {
    font-size: 20px;
    margin-top: 16px;
  }
  .games-scene {
    top: -86px;
    height: 370px;
    width: 70%;
    opacity: 0.62;
  }
  .games-scene img {
    height: 360px;
    width: 360px;
    right: -140px;
    top: 0;
  }
  .all-games-grid {
    width: calc(100% - 36px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .all-games-grid .card-content {
    padding: 18px;
  }
  .all-games-grid h2 {
    font-size: 25px;
  }
  .all-games-grid .card-content p {
    font-size: 17px;
    margin-bottom: 20px;
  }
  .all-games-grid .button {
    width: 100%;
    font-size: 20px;
    min-height: 52px;
  }
  .about-main {
    min-height: 900px;
  }
  .about-copy {
    margin-left: 25px;
    padding-top: 30px;
    margin-right: 25px;
  }
  .about-copy h1 {
    font-size: 75px;
  }
  .about-copy h2 {
    font-size: 36px;
    margin-top: 8px;
  }
  .biography {
    font-size: 20px;
    line-height: 1.8;
    margin-top: 23px;
    letter-spacing: 0;
    max-width: 620px;
  }
  .biography br {
    display: none;
  }
  .biography p {
    margin-bottom: 8px;
  }
  .handwritten {
    font-size: 27px;
    margin-top: 25px;
    margin-left: 18px;
  }
  .about-scene {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 490px;
    mask-image: linear-gradient(transparent, #000 25%, #000 84%, transparent);
  }
  .about-isaac {
    width: 29%;
    left: 18%;
    bottom: 58px;
  }
  .about-garden {
    width: 43%;
    right: 12%;
    bottom: 56px;
  }
  .about-candle {
    width: 20%;
    bottom: 50px;
  }
  [data-page="about"] .site-footer {
    margin-top: 0;
  }
}
@media (max-width: 540px) {
  .featured-card {
    height: 207px;
    grid-template-columns: 48% 52%;
  }
  .featured-card .card-content {
    padding: 24px 8px 12px;
  }
  .featured-card h3 {
    font-size: 24px;
  }
  .featured-card.green h3 {
    font-size: 29px;
  }
  .featured-card .card-content p {
    font-size: 13px;
    margin-top: 12px;
  }
  .featured-card .button {
    min-width: 125px;
    font-size: 14px;
    margin-top: 15px;
  }
  .featured-card .game-art img {
    object-position: 49% 50%;
  }
  .future-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .future-art small {
    font-size: 12px;
  }
  .footer-inner,
  [data-page="home"] .footer-inner,
  [data-page="games"] .footer-inner {
    flex-wrap: wrap;
    gap: 14px;
  }
  .footer-inner > p {
    margin-left: auto;
  }
  .games-hero {
    height: 263px;
  }
  .games-heading {
    padding-left: 23px;
  }
  .games-heading h1 {
    font-size: 55px;
  }
  .games-heading h2 {
    font-size: 31px;
  }
  .games-heading p {
    font-size: 18px;
  }
  .all-games-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .all-games-grid .game-art,
  .all-games-grid .future-art {
    height: 205px;
  }
  .all-games-grid .card-content {
    padding: 20px;
  }
  .all-games-grid .card-content p {
    min-height: 0;
    line-height: 1.5;
  }
  .all-games-grid .button {
    width: 100%;
  }
  .all-games-grid .game-card {
    min-height: 380px;
  }
  .about-main {
    min-height: 847px;
  }
  .about-copy {
    margin-left: 24px;
    margin-right: 24px;
    padding-top: 25px;
  }
  .about-copy h1 {
    font-size: 70px;
  }
  .about-copy h2 {
    font-size: 34px;
  }
  .biography {
    font-size: 18px;
    line-height: 1.8;
  }
  .handwritten {
    font-size: 27px;
    margin-top: 32px;
  }
  .about-scene {
    height: 340px;
  }
  .about-isaac {
    width: 36%;
    left: 9%;
    bottom: 44px;
  }
  .about-garden {
    width: 52%;
    right: 7%;
    bottom: 42px;
  }
  .about-candle {
    width: 22%;
    right: -5%;
    bottom: 36px;
  }
}
.hero-art:before {
  width: 490px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  mask-image:
    linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent),
    linear-gradient(#000 75%, transparent);
  mask-composite: intersect;
}
.hero-dungeon:before {
  width: 470px;
}
.hero-dungeon {
  background:
    linear-gradient(90deg, #050e1740, #050e1770),
    url("/assets/dungeon-stone.webp") left center/250px auto repeat-x;
}
.featured-card .game-art img {
  position: absolute;
  width: 330px;
  max-width: none;
  height: 330px;
  left: 50%;
  top: -45px;
  margin: 0;
  transform: translateX(-50%);
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 15%,
    #000 85%,
    transparent
  );
}
.all-games-grid .game-art img {
  position: absolute;
  width: 245px;
  max-width: none;
  height: 245px;
  left: 50%;
  top: -34px;
  margin: 0;
  transform: translateX(-50%);
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 16%,
    #000 84%,
    transparent
  );
}
.about-wall {
  background:
    radial-gradient(ellipse at 75% 70%, #a240163d, transparent 65%),
    linear-gradient(90deg, #050e1790, #170b1580),
    url("/assets/dungeon-stone.webp") center/auto 100% repeat-x;
}
@media (max-width: 900px) {
  .hero-art:before {
    width: 300px;
    background-size: 300px 300px;
    background-position: center 4px;
  }
  .hero-dungeon:before {
    width: 300px;
  }
  .hero-copy h1 {
    transform: none;
  }
  .handwritten {
    max-width: 100%;
    font-size: 27px;
    white-space: nowrap;
  }
  .all-games-grid .game-art img {
    width: 280px;
    height: 280px;
    top: -38px;
  }
}
@media (max-width: 540px) {
  .hero-art {
    top: 282px;
    height: 250px;
  }
  .hero-art:before {
    width: 260px;
    background-size: 260px 260px;
    background-position: center 0;
  }
  .hero-dungeon:before {
    width: 260px;
  }
  .hero-dungeon {
    mask-image:
      linear-gradient(90deg, #000 65%, transparent),
      linear-gradient(transparent, #000 10%, #000 70%, transparent);
  }
  .hero-garden {
    mask-image:
      linear-gradient(270deg, #000 65%, transparent),
      linear-gradient(transparent, #000 10%, #000 70%, transparent);
  }
  .featured-card .game-art img {
    width: 225px;
    height: 225px;
    top: -7px;
  }
  .featured-card .button {
    margin-top: 11px;
  }
  .featured-card.green .card-content p {
    font-size: 12px;
  }
  .all-games-grid .game-art img {
    width: 290px;
    height: 290px;
    top: -35px;
  }
  .games-scene img {
    width: 230px;
    height: 230px;
    right: -92px;
    top: 81px;
  }
  .handwritten {
    font-size: 26px;
    margin-left: 15px;
  }
  .about-garden {
    right: 7%;
    width: 52%;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
