/* Castle Forge type: the original Regular face, never synthetic bold or tight tracking. */
h1, h2, h3, .hero-title, .game-hero-copy h1, .showcase-wordmark {
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: var(--tracking-heading);
  line-height: var(--leading-heading);
}

.button, .text-link, .desktop-nav a, .mobile-nav a, .menu-toggle, .footer-links a {
  font-family: var(--heading);
  font-size: 16px;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: var(--tracking-heading);
  line-height: 1.25;
}

.eyebrow, .section-kicker, .feature-index, .hero-bottom, .status-pill,
.platform-list span small, .feature-number, .legal-card > span {
  letter-spacing: var(--tracking-label);
}

/* Frame the supplied logo's empty margins in CSS; preserve the complete artwork. */
.site-header, .site-footer {
  background: var(--brand-navy);
  color: var(--paper);
}

:root { --header-height: 86px; }
.site-header { height: var(--header-height); }
.brand {
  position: relative;
  display: block;
  width: 158px;
  aspect-ratio: 740 / 570;
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: 4px;
  background: var(--brand-navy);
}
.brand-logo {
  position: absolute;
  width: 138.38%;
  max-width: none;
  height: auto;
  left: -20.27%;
  top: -38.60%;
}
.site-footer .brand { width: 188px; }
.site-header .brand { width: 94.8px; }
.footer-links { align-items: center; }
.footer-top { padding-bottom: 42px; margin-bottom: 42px; border-bottom: 1px solid #ffffff24; }
.footer-community {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 42px;
}
.footer-community h2 { font-size: clamp(26px, 3vw, 36px); }
.social-links { display: flex; align-items: center; gap: 24px; }
.social-link {
  --social-circle: #293247;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--social-circle);
  color: #fff;
  transition: background .2s, transform .2s;
}
.social-link:hover { --social-circle: #3a4964; transform: translateY(-3px); }
.social-link svg { display: block; width: 30px; height: 30px; }
.social-icon-cutout { fill: var(--social-circle); }
.social-icon-line { stroke: var(--social-circle); }
.desktop-nav a::after { background: currentColor; }
.footer-links a:hover { color: var(--paper); text-decoration: underline; }
.site-header :focus-visible, .mobile-nav :focus-visible,
.site-footer :focus-visible, .contact-band :focus-visible {
  outline-color: var(--paper);
}

/* Supplied store artwork, framed as two static badges with no download targets. */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
.store-badge {
  position: relative;
  display: block;
  height: 44px;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}
.store-badge img {
  position: absolute;
  max-width: none;
  height: auto;
  top: -24%;
}
.store-badge-apple { width: 130.68px; }
.store-badge-apple img { width: 258.59%; left: -24.92%; }
.store-badge-google { width: 147.4px; }
.store-badge-google img { width: 229.25%; left: -117.91%; }

/* Transparent king: CSS frames the original alpha bounds without altering the image. */
.game-hero { min-height: 690px; }
.game-hero-copy { position: relative; z-index: 2; text-align: center; }
.game-hero-copy > p { max-width: none; }
.game-hero-copy .eyebrow { max-width: 48%; }
.game-hero-copy .platform-list { max-width: 48%; }
.game-character {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: max(40px, calc((100vw - 1248px) / 2));
  width: clamp(150px, 18.5vw, 242.5px);
  aspect-ratio: 759 / 984;
  pointer-events: none;
}
.game-character img {
  position: absolute;
  width: 269.83%;
  max-width: none;
  height: auto;
  left: -48.09%;
  top: -7.11%;
  filter: drop-shadow(0 12px 18px #06141f45);
}
.game-hero .hero-shade {
  background: linear-gradient(90deg, #091d17d9, #0a1f1766 52%, #0a1f170d),
    linear-gradient(0deg, #081b2066, transparent 45%);
}
.home-hero { height: auto; min-height: 730px; }
.home-hero .hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-areas: "title ." "description game";
  align-content: center;
  align-items: start;
  column-gap: clamp(32px, 5vw, 80px);
  row-gap: 25px;
  min-height: 730px;
  padding-block: 80px;
}
.home-hero .hero-copy { display: contents; }
.home-hero .hero-title { grid-area: title; }
.home-hero .hero-description { grid-area: description; margin-top: 0; }
.home-hero .hero-game-card { grid-area: game; justify-self: end; margin-top: 0; }
.hero-title { font-size: clamp(58px, 6.4vw, 92px); }
.hero-description { font-size: 34px; line-height: 1.3; }
.hero-game-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  width: min(100%, 540px);
  margin-top: 32px;
  padding: 20px;
  border: 1px solid #ffffff24;
  border-radius: 24px;
  background: #01081cd9;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 32px #01081c26;
}
.hero-game-icon { width: 100%; aspect-ratio: 1; border-radius: 23%; object-fit: cover; }
.hero-game-details { min-width: 0; }
.hero-game-details h2 { font-size: 34px; }
.hero-game-details p { margin-top: 8px; font-size: 15px; line-height: 1.4; color: #d4dfee; }
.hero-game-explore {
  margin-top: 16px;
  min-height: 44px;
  padding: 10px 22px;
  gap: 12px;
  border-radius: 999px;
  background: #ffffff24;
  color: #fff;
}
.hero-game-explore:hover { background: #ffffff38; }
.hero-game-explore:focus-visible { outline-color: #fff; }
.page-home .game-feature { margin-top: clamp(48px, 6vw, 88px); }
.studio-grid { align-items: center; }
.studio-image { width: 100%; height: auto; border: 8px solid var(--brand-navy); border-radius: 12px; }
.game-hero h1 { font-size: clamp(65px, 7.8vw, 108px); }

.legal-contents { margin: 30px 0 40px; padding: 24px; background: #e9ecdf; border-radius: 8px; }
.legal-contents > p { font-family: var(--heading); font-size: 22px; color: var(--ink); }
.legal-contents ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; margin: 18px 0 0; padding-left: 22px; }
.legal-contents li { padding-left: 4px; font-size: 14px; line-height: 1.5; }
.legal-contents li + li { margin-top: 0; }
.legal-document section > h2 { scroll-margin-top: 30px; }

@media (max-width: 1000px) {
  :root { --header-height: 80px; }
  .brand { width: 144px; }
  .site-header .brand { width: 86.4px; }
  .desktop-nav { gap: 24px; }
  .game-character { left: 12px; width: 19.5vw; }
  .game-hero { min-height: 610px; }
  .hero-title { font-size: 68px; }
  .home-hero .hero-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "description" "game"; }
  .home-hero .hero-game-card { justify-self: start; margin-top: 7px; }
}

@media (max-width: 700px) {
  .legal-contents { padding: 20px; }
  .legal-contents ol { grid-template-columns: 1fr; }
  .footer-top { padding-bottom: 32px; margin-bottom: 32px; }
  .footer-community { flex-direction: column; align-items: flex-start; gap: 26px; padding-bottom: 32px; }
  .social-links { gap: 18px; }
  .social-link { width: 56px; height: 56px; }
  .social-link svg { width: 26px; height: 26px; }
  :root { --header-height: 74px; }
  .brand { width: 132px; }
  .site-header .brand { width: 79.2px; }
  .mobile-nav:not([hidden]) {
    top: var(--header-height);
    background: var(--brand-navy);
    color: var(--paper);
  }
  .menu-toggle { color: inherit; }
  .home-hero { min-height: 690px; }
  .home-hero .hero-layout { min-height: 690px; padding-block: 62px 72px; }
  .hero-title { font-size: clamp(48px, 11.5vw, 68px); }
  .hero-description { font-size: 32px; }
  .hero-game-card { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding: 16px; border-radius: 20px; }
  .hero-game-details h2 { font-size: 28px; }
  .hero-game-details p { font-size: 14px; }
  .game-hero { min-height: 0; flex-direction: column; }
  .game-hero-copy { padding: 48px 24px 24px; text-align: center; }
  .game-hero-copy h1, .game-hero-copy > p, .game-hero-copy .eyebrow,
  .game-hero-copy .platform-list { max-width: none; }
  .game-hero h1 { font-size: clamp(62px, 15vw, 88px); }
  .game-hero-copy .platform-list { justify-content: center; }
  .game-character { position: relative; left: 24px; align-self: flex-start; width: min(35vw, 150px); }
  .game-hero .hero-shade {
    background: linear-gradient(180deg, #091d17bf, #0a1f1759 60%, #0a1f171a);
  }
  .site-footer .brand { width: 170px; }
}
