:root {
  color-scheme: dark;
  --ink: #261427;
  --panel: #361d35;
  --plum: #54274d;
  --cream: #fff2d6;
  --paper: #fff5e3;
  --yellow: #ffda3c;
  --rose: #a42c3d;
  --light-muted: #e2cbd8;
  --dark-muted: #664959;
  --line: #69465e;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --display: Georgia, "Times New Roman", serif;
}

@font-face {
  font-family: "Press Start 2P";
  src: url("/assets/fonts/PressStart2P-Regular.ttf") format("truetype");
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--ink); color: var(--cream); font: 1rem/1.6 system-ui, sans-serif; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
p, figure, dl, dd { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.03; letter-spacing: -.04em; font-family: var(--display); font-weight: 700; }
h1 { font-size: clamp(3.2rem, 8vw, 7.25rem); }
h2 { font-size: clamp(2.4rem, 5.2vw, 4.7rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.85rem); line-height: 1.1; }
h1 em { font-style: italic; color: var(--yellow); }
.wrap { width: min(74rem, calc(100% - 3rem)); margin-inline: auto; }
.mono { font-family: var(--mono); }
.fine { margin-top: .9rem; font-size: .85rem; color: var(--light-muted); }
.skip { position: absolute; z-index: 3; left: 1rem; top: 1rem; transform: translateY(-200%); padding: .5rem 1rem; background: var(--yellow); color: var(--ink); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.bar, .site-nav, .brand { display: flex; align-items: center; }
.bar { min-height: 4.5rem; justify-content: space-between; gap: .5rem 1.5rem; }
.brand { gap: .75rem; font: .78rem/1.6 "Press Start 2P", var(--mono); letter-spacing: -.08em; text-decoration: none; width: fit-content; }
.brand img { border-radius: .4rem; flex: none; }
.site-nav { flex-wrap: wrap; gap: .2rem .5rem; }
.site-nav a { padding: .45rem .7rem; font-weight: 700; font-size: .88rem; text-decoration: none; }
.site-nav a:hover, .site-nav [aria-current] { background: var(--panel); color: var(--yellow); }
.hero { background: radial-gradient(ellipse at 75% 35%, var(--panel), transparent 68%); padding-block: clamp(3rem, 7vw, 6.5rem); }
.hero-grid { display: grid; align-items: center; grid-template-columns: 1.28fr 1fr; gap: clamp(1.5rem, 3vw, 3rem); }
.hero-copy h1 { font-size: clamp(3.2rem, 7.35vw, 7rem); line-height: .96; }
.hero-intro, .press-intro, .policy-intro, .trailer-intro { margin-bottom: 1rem; color: var(--yellow); font: italic 1.3rem/1.3 Georgia, "Times New Roman", serif; }
.lede { color: var(--light-muted); font-size: clamp(1.02rem, 2vw, 1.23rem); max-width: 38ch; margin-top: 1.4rem; }
.lede strong { color: var(--cream); }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-block: 1.6rem 1.1rem; }
.button { display: inline-flex; min-height: 3.15rem; align-items: center; justify-content: center; gap: .65rem; padding: .65rem .95rem; border: 2px solid transparent; background: var(--yellow); color: var(--ink); font-weight: 850; text-align: center; text-decoration: none; line-height: 1.3; }
.button:hover { background: var(--cream); }
.button:focus-visible { outline-color: var(--cream); }
.paper .button:focus-visible, .banner .button:focus-visible { outline-color: var(--ink); }
.button.outline { background: transparent; color: var(--cream); border-color: var(--line); }
.button.outline:hover { border-color: var(--cream); }
.button.dark { background: var(--ink); color: var(--cream); }
.button.dark:hover { background: var(--plum); }
.character-stage { position: relative; display: grid; place-items: center; aspect-ratio: 1.04; border: 1px solid #865a78; background: repeating-conic-gradient(from 6deg at 50% 54%, #472241 0deg 15deg, #572b50 15deg 30deg); box-shadow: .6rem .6rem 0 #170d18; }
.character-stage img { width: 58%; height: auto; image-rendering: pixelated; filter: drop-shadow(.55rem .6rem 0 #2c1729); }
.spark { position: absolute; color: var(--yellow); line-height: 1; }
.spark-one { top: 23%; right: 12%; font-size: clamp(1.5rem, 4vw, 3.6rem); }
.spark-two { bottom: 26%; left: 11%; font-size: clamp(1rem, 2.5vw, 2.2rem); }
.stamp { position: absolute; right: 4%; bottom: 9%; transform: rotate(-10deg); background: var(--cream); border: .22rem double var(--rose); color: var(--rose); padding: .3em .65em; font: 900 clamp(.85rem, 2vw, 1.45rem)/1.3 "Press Start 2P", var(--mono); text-transform: uppercase; box-shadow: .2rem .25rem 0 #2c1729; }
.ticker { background: var(--yellow); color: var(--ink); }
.ticker .wrap { display: flex; justify-content: space-between; align-items: center; gap: .4rem; max-width: 57rem; padding-block: .7rem; font: 900 clamp(.73rem, 2.3vw, 1.1rem)/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.section, .banner { padding-block: clamp(3.1rem, 7vw, 6.5rem); }
.paper { color-scheme: light; background: var(--paper); color: var(--ink); }
.intro { margin-top: 1rem; max-width: 56ch; color: var(--dark-muted); font-size: clamp(1.02rem, 2vw, 1.2rem); }
.feature-grid, .screenshot-grid, .asset-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.feature, .shot, .asset { border: 1px solid #d5bdbe; background: #fffbf2; }
.capture { display: grid; justify-items: center; align-items: end; padding: 1.45rem .6rem 0; background: repeating-linear-gradient(135deg, #ffffff10 0 1px, transparent 1px 14px), var(--plum); }
.capture-care { background-color: #36315a; }
.capture-arcade { background-color: #27504f; }
.capture img { width: min(75%, 10rem); height: auto; border: 3px solid var(--ink); border-bottom: 0; border-radius: .72rem .72rem 0 0; }
.tile-copy { padding: clamp(1rem, 2vw, 1.4rem); }
.tile-copy p:last-child, .extras p { margin-top: .55rem; color: var(--dark-muted); }
.tile-copy h3 { min-height: 2.15em; }
.extras { margin-top: 2rem; border-top: 1px solid #d5bdbe; padding-top: 1.6rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; }
.trailer-section { background: radial-gradient(ellipse at 68% 50%, #4b2446, transparent 70%); }
.trailer-grid, .banner-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.5rem 3rem; align-items: center; }
.trailer-grid video { margin-inline: auto; width: min(100%, 16rem); height: auto; aspect-ratio: 6 / 13; background: #170d18; border: 2px solid #865a78; box-shadow: .55rem .55rem 0 #170d18; }
.transcript { grid-column: 2; justify-self: center; max-width: 34ch; font-size: .88rem; color: var(--light-muted); }
.transcript summary { cursor: pointer; }
.transcript p { margin-top: .55rem; }
.text-link { display: inline-block; margin-top: 1rem; font-weight: 800; }
.campaign { border-top: 1px solid var(--line); margin-top: clamp(2.5rem, 6vw, 4.5rem); padding-top: 2rem; }
.campaign-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.campaign-intro { max-width: 46ch; margin-bottom: .55rem; color: var(--light-muted); font: italic 1.1rem/1.4 Georgia, "Times New Roman", serif; }
.campaign video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #170d18; border: 1px solid #865a78; }
.campaign figcaption { margin-top: .55rem; font-weight: 800; }
.banner { background: var(--yellow); color: var(--ink); }
.banner .button { margin-top: 1rem; }
.site-footer { border-top: 1px solid var(--line); padding-block: 2.25rem; }
.footer-grid { display: flex; justify-content: space-between; align-items: start; gap: 1rem 2rem; flex-wrap: wrap; }
.site-footer p { margin-top: .65rem; color: var(--light-muted); font-size: .88rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; font-weight: 700; font-size: .9rem; }

.subhero { padding-block: clamp(2.75rem, 6vw, 5.5rem); background: radial-gradient(ellipse at 80% 60%, var(--plum), transparent 72%); }
.subhero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.5rem 2rem; align-items: center; }
.press-cover { width: 100%; height: auto; border: 1px solid #865a78; box-shadow: .5rem .5rem 0 #170d18; }
.subnav { background: var(--yellow); color: var(--ink); }
.subnav .wrap { display: flex; flex-wrap: wrap; gap: .2rem 1.15rem; padding-block: .45rem; }
.subnav a { font: 800 .85rem/1.4 var(--mono); padding-block: .45rem; }
.policy-intro { color: var(--rose); }
.press-overview { display: grid; grid-template-columns: 1fr .8fr; align-items: start; gap: 2rem clamp(2rem, 6vw, 5rem); }
.press-overview p + p { margin-top: .8rem; }
.facts { border: 1px solid #d5bdbe; background: #fffbf2; padding: 1.35rem; box-shadow: .35rem .35rem 0 #ead6ce; }
.facts dl { margin-top: .8rem; }
.facts dl div { display: grid; grid-template-columns: .8fr 1.2fr; gap: .75rem; border-top: 1px solid #d5bdbe; padding-block: .55rem; }
.facts dt { font-weight: 750; color: var(--dark-muted); }
.ruled { border-top: 1px solid #d5bdbe; }
.shot .capture img { width: min(77%, 9rem); }
.shot .tile-copy, .asset .tile-copy { display: flex; flex-direction: column; align-items: flex-start; }
.shot figcaption, .asset figcaption { font-weight: 850; }
.shot a, .asset a { margin-top: .25rem; font-size: .9rem; font-weight: 600; }
.store-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.store-grid img { width: 100%; height: auto; }
.store-grid figcaption { padding: .6rem .8rem; }
.asset-art { display: grid; place-items: center; aspect-ratio: 3 / 2; background: var(--panel); padding: .65rem; }
.asset-art img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.asset-square img { width: 45%; height: auto; }
.video-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 1.5rem; }
.video-link { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; padding: .95rem 1rem; border: 1px solid #d5bdbe; background: #fffbf2; text-decoration: none; }
.video-link:hover { border-color: var(--rose); }
.video-link strong { text-decoration: underline; }
.video-link span { font-size: .83rem; color: var(--dark-muted); }
.contact-link { overflow-wrap: anywhere; }
.policy-wrap { width: min(49rem, calc(100% - 3rem)); margin-inline: auto; }
.policy article { display: grid; gap: 0; }
.policy article section { background: transparent; border: 0; border-top: 1px solid #d5bdbe; padding: 1.5rem 0; }
.policy article h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); margin-bottom: .7rem; line-height: 1.15; }
.policy article p + p { margin-top: .75rem; }
.notice { font-weight: 750; background: #fae7bb; padding: .75rem 1rem; }
.release-note { margin-top: 1rem; padding: 1rem; border-left: .2rem solid var(--rose); background: #fae7bb; }
.release-note h3 { font-size: 1.3rem; }
.release-note p { margin-top: .5rem; color: var(--dark-muted); }

.hero-intro, .press-intro, .policy-intro, .trailer-intro, .campaign-intro { animation: say-hello .5s both; }
.character-stage img { animation: donny-bob 3.8s ease-in-out infinite; transform-origin: center bottom; }
.spark { animation: sparkle 3.2s ease-in-out infinite; transform-origin: center; }
.spark-two { animation-delay: 1.1s; }
.feature { transition: transform .24s ease, box-shadow .24s ease; }
.feature:hover { transform: translateY(-.35rem) rotate(-.25deg); box-shadow: .3rem .4rem 0 #e4ccd7; }
.shot, .asset { transition: transform .22s ease, box-shadow .22s ease; }
.shot:hover, .asset:hover { transform: translateY(-.2rem); box-shadow: .25rem .3rem 0 #e4ccd7; }
.capture img { transition: transform .24s ease; }
.feature:hover .capture img { transform: translateY(-.3rem); }
.button, .text-link, .video-link, .asset a, .shot a { transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease; }
.button:hover, .video-link:hover { transform: translateY(-2px); }
.answers-section { border-top: 1px solid #d5bdbe; }
.answers { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem clamp(2rem, 6vw, 5rem); }
.answer-list { margin: 0; }
.answer-list div { border-top: 1px solid #d5bdbe; padding: 1rem 0; }
.answer-list dt { font: 700 1.2rem/1.2 var(--display); }
.answer-list dd { margin-top: .45rem; color: var(--dark-muted); }
.motion-ready [data-reveal] { opacity: 0; transform: translateY(1.1rem); transition: opacity .55s ease, transform .55s ease; }
.motion-ready [data-reveal].is-revealed { opacity: 1; transform: none; }
.pet-promo {
  position: fixed;
  z-index: 20;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 3.65rem 1fr;
  align-items: center;
  gap: .75rem;
  width: min(20rem, calc(100vw - 2rem));
  padding: .7rem 2rem .7rem .75rem;
  border: 1px solid #8a607d;
  background: var(--cream);
  color: var(--ink);
  box-shadow: .3rem .35rem 0 #170d18;
  opacity: 0;
  transform: translateY(.75rem);
  visibility: hidden;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.pet-promo.is-visible { opacity: 1; transform: none; visibility: visible; }
.pet-portrait { align-self: end; width: 3.65rem; height: 3.85rem; overflow: hidden; border: 0; background: var(--panel); padding: 0; cursor: pointer; }
.pet-portrait img { width: 100%; height: auto; margin-top: .28rem; image-rendering: pixelated; animation: donny-bob 3.8s ease-in-out infinite; }
.pet-portrait:focus-visible { outline-color: var(--ink); }
.pet-message p { font: italic 1rem/1.25 Georgia, "Times New Roman", serif; }
.pet-download { display: inline-block; margin-top: .4rem; font-size: .82rem; font-weight: 800; }
.pet-close { position: absolute; top: .15rem; right: .3rem; padding: .1rem .35rem; border: 0; background: transparent; color: var(--ink); font-size: 1.25rem; line-height: 1; cursor: pointer; }
@keyframes donny-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.4rem); } }
@keyframes sparkle { 0%, 100% { opacity: .7; transform: scale(.9) rotate(-8deg); } 50% { opacity: 1; transform: scale(1.1) rotate(8deg); } }
@keyframes say-hello { from { opacity: 0; transform: translateY(.35rem); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 780px) {
  .hero-grid, .subhero-grid, .press-overview { grid-template-columns: 1fr; }
  .answers { grid-template-columns: 1fr; gap: 1.75rem; }
  .character-stage, .press-cover { width: min(100%, 32rem); }
  .hero-copy h1 { font-size: clamp(3rem, 11vw, 5.5rem); }
  .feature-grid, .screenshot-grid, .asset-grid { gap: .9rem; }
}

@media (max-width: 610px) {
  .wrap, .policy-wrap { width: calc(100% - 2rem); }
  .bar { flex-wrap: wrap; padding-block: .55rem; }
  .site-nav { margin-left: -.35rem; }
  .site-nav a { padding-inline: .4rem; }
  .pet-promo { right: max(.6rem, env(safe-area-inset-right)); bottom: max(.6rem, env(safe-area-inset-bottom)); width: min(18rem, calc(100vw - 1.2rem)); }
  .hero { padding-block: 2rem 2.75rem; }
  .hero-copy h1 { font-size: clamp(2.4rem, 11vw, 4.1rem); }
  .feature-grid, .asset-grid, .extras, .trailer-grid, .banner-grid, .campaign-grid, .video-list { grid-template-columns: 1fr; }
  .screenshot-grid, .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .transcript { grid-column: auto; }
  .asset-art { aspect-ratio: 2 / 1; }
  .asset-square img { width: 33%; }
}

@media (forced-colors: active) {
  .button, .ticker, .subnav { border: 1px solid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
