/* Yellow game artwork supplies the accent within the studio's dark palette. */
:root { color-scheme: dark; --bg: #101311; --surface: #1b201c; --line: #343b34; --text: #f2f1e9; --muted: #a4aaa1; --accent: #e5dc3c; }

/* Keep layout, type, and accessible focus consistent. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Avenir Next", Avenir, "Gill Sans", sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
.shell { width: min(100% - 64px, 1380px); margin-inline: auto; }
.accent { color: var(--accent); }

/* Compact local anchors replace the old mobile menu. */
.site-header { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 1.4rem; font-weight: 700; letter-spacing: -.06em; text-decoration: none; }
.brand-mark { color: var(--accent); font-size: 1.7rem; line-height: 1; }
.site-header nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 45px); }
.site-header nav a { color: var(--muted); font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.site-header nav a:hover, .site-header nav a:focus-visible, .site-header nav .all-apps { color: var(--text); }

/* The tall game image sits inside a carefully lit stage. */
.hero { min-height: 700px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .9fr); align-items: center; gap: clamp(35px, 6vw, 90px); padding-block: 72px 100px; }
.hero-copy { z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--accent); font-size: .74rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px rgb(229 220 60 / 13%); }
h1, h2 { font-weight: 500; letter-spacing: -.075em; line-height: 1; }
h1 { max-width: 720px; margin-bottom: 28px; font-size: clamp(4.2rem, 6.6vw, 7.9rem); }
h1 em { color: var(--accent); font-family: Baskerville, Georgia, serif; font-weight: 400; }
.hero-copy > p:not(.eyebrow) { max-width: 470px; margin-bottom: 32px; color: var(--muted); font-size: clamp(1.07rem, 1.6vw, 1.25rem); line-height: 1.62; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 27px; }
.primary-link { padding: 15px 21px; border-radius: 9px; background: var(--accent); color: #171914; font-size: .84rem; font-weight: 800; text-decoration: none; transition: transform .2s ease; }
.primary-link:hover { transform: translateY(-3px); }
.secondary-link { padding-bottom: 6px; border-bottom: 1px solid var(--accent); font-size: .84rem; font-weight: 800; text-decoration: none; }
.hero-art { min-height: 560px; display: grid; place-items: center; overflow: hidden; position: relative; border: 1px solid #4b4c2e; border-radius: 22px; background: radial-gradient(circle at 50% 45%, #55563b, #2d3328 57%, #222a23); }
.art-orbit { position: absolute; width: 80%; aspect-ratio: 1; border: 1px solid rgb(242 235 158 / 15%); border-radius: 50%; box-shadow: 0 0 0 85px rgb(242 235 158 / 3%); }
.hero-art img { z-index: 1; width: clamp(225px, 24vw, 315px); max-height: 540px; object-fit: contain; filter: drop-shadow(0 28px 23px rgb(0 0 0 / 37%)); transform: rotate(-6deg) translateY(44px); }

/* Section headers keep long content legible and aligned. */
.levels, .awards, .watch { padding-block: 72px 125px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.section-heading h2 { max-width: 710px; margin: 0; font-size: clamp(3rem, 5vw, 5.7rem); }
.section-heading > p { max-width: 280px; margin: 0 0 6px; color: var(--muted); line-height: 1.55; }

/* Four level cards retain the original mode screenshots and descriptions. */
.level-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.level-card { min-width: 0; display: grid; grid-template-columns: .85fr 1fr; min-height: 350px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.level-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 31px; }
.level-number { color: var(--accent); font-size: .68rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.level-copy h3 { margin: auto 0 13px; font-size: clamp(2.2rem, 3vw, 3.8rem); font-weight: 500; letter-spacing: -.07em; }
.level-copy p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.55; }
.level-card > a { min-width: 0; display: grid; place-items: end center; overflow: hidden; position: relative; margin: 18px 18px 18px 0; border-radius: 11px; background: radial-gradient(circle at 50% 70%, #484b32, #2b3229); text-decoration: none; }
.level-card > a img { width: min(80%, 205px); max-height: 300px; object-fit: contain; object-position: bottom; transform: translateY(22px); transition: transform .25s ease; }
.level-card > a:hover img, .level-card > a:focus-visible img { transform: translateY(7px); }
.level-card > a span { z-index: 1; position: absolute; right: 15px; bottom: 14px; padding: 7px 10px; border-radius: 6px; background: rgb(16 19 17 / 88%); font-size: .69rem; font-weight: 800; }

/* Every original award badge remains browseable in a responsive grid. */
.award-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 13px; }
.award-grid a { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .2s ease, transform .2s ease; }
.award-grid a:hover, .award-grid a:focus-visible { border-color: var(--accent); transform: translateY(-4px); }
.award-grid img { width: min(74%, 100px); height: auto; }

/* The retained video and sibling link close the product story. */
.video-frame { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #000; }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.more { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 105px; padding: 43px; border: 1px solid #4b4930; border-radius: 18px; background: radial-gradient(circle at 100% 0, #363924, #24271f 65%); }
.more h2 { max-width: 650px; margin: 0; font-size: clamp(2.6rem, 4vw, 4.5rem); }
.more > a { flex: none; padding-bottom: 7px; border-bottom: 1px solid var(--accent); color: var(--accent); font-size: .9rem; font-weight: 800; text-decoration: none; }
.site-footer { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.site-footer div { display: flex; gap: 26px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

/* The native dialog replaces PhotoSwipe and still allows direct image links. */
.lightbox { width: min(95vw, 1100px); max-height: 95vh; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #151a16; color: var(--text); }
.lightbox::backdrop { background: rgb(0 0 0 / 85%); }
.lightbox-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 4px 5px 15px; }
.lightbox-top p { margin: 0; color: var(--muted); font-size: .9rem; }
.lightbox button { width: 40px; height: 40px; flex: none; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--text); cursor: pointer; font-size: 1.3rem; }
.lightbox button:hover { border-color: var(--accent); color: var(--accent); }
.lightbox-image { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; align-items: center; gap: 10px; }
.lightbox-image img { max-width: 100%; max-height: calc(95vh - 105px); margin: auto; object-fit: contain; }

/* Collapse gracefully through tablet and phone widths. */
@media (max-width: 1100px) { .award-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } .level-card { grid-template-columns: 1fr; } .level-card > a { min-height: 260px; margin: 0 18px 18px; } .level-copy h3 { margin-top: 25px; } }
@media (max-width: 850px) { .hero { grid-template-columns: 1fr; } .hero-art { min-height: 500px; } .section-heading { display: block; } .section-heading > p { margin-top: 20px; } .award-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .shell { width: min(100% - 36px, 1380px); }
  .site-header { min-height: 80px; }
  .site-header nav a:not(.all-apps) { display: none; }
  .site-header nav a { font-size: .68rem; }
  .hero { min-height: 0; gap: 36px; padding-block: 68px 85px; }
  h1 { font-size: clamp(3.5rem, 13vw, 5.7rem); }
  .hero-art { min-height: 440px; }
  .hero-art img { width: 235px; }
  .levels, .awards, .watch { padding-block: 65px 85px; }
  .level-grid { grid-template-columns: 1fr; }
  .award-grid { gap: 8px; }
  .award-grid a { border-radius: 9px; }
  .more { align-items: flex-start; flex-direction: column; margin-bottom: 85px; padding: 30px; }
  .more > a { flex: auto; }
  .lightbox { padding: 10px; }
  .lightbox-image { grid-template-columns: 34px minmax(0, 1fr) 34px; gap: 4px; }
  .lightbox button { width: 34px; height: 34px; }
}

/* Visitors who request less motion avoid smooth scroll and hover travel. */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
