/* Cat City Games: ordinary CSS. Sections follow the HTML page patterns. */
@font-face {
  font-family: Montserrat;
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --background: #0b0f13;
  --surface: #131b21;
  --surface-light: #1a262d;
  --text: #f4f6f6;
  --muted: #b4c0c6;
  --cyan: #52e5df;
  --line: #2b373e;
  --heading: Montserrat, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 100px; }
body { margin: 0; background: var(--background); color: var(--text); font: 1rem/1.7 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
body.menu-open { overflow: hidden; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
video { display: block; width: 100%; height: auto; background: #05070a; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--cyan); }
button, input { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
button { color: inherit; }
:focus-visible { outline: 3px solid #ffe38b; outline-offset: 5px; }
main:focus { outline: none; }
::selection { background: var(--cyan); color: #09191a; }
p { margin: 0 0 1.25rem; }
h1, h2, h3 { font-family: var(--heading); font-weight: 750; line-height: 1.1; letter-spacing: -.045em; margin: 0 0 1.2rem; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 4.5vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.2vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
h1 span, h2 span { color: var(--cyan); }
figure { margin: 0; }
figcaption { color: var(--muted); font-size: .78rem; margin-top: .65rem; }
.wrap { width: min(1280px, calc(100% - 80px)); margin-inline: auto; }
.section { padding-block: clamp(44px, 6vw, 88px); }
.section-first { padding-top: 0; }
.eyebrow { font: 700 .69rem/1.6 var(--heading); letter-spacing: .13em; text-transform: uppercase; color: var(--cyan); margin-bottom: 1.3rem; }
.lead { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.75; max-width: 55ch; }
.actions { display: flex; gap: 1.2rem 1.6rem; align-items: center; flex-wrap: wrap; margin-top: 1.8rem; }
.button { display: inline-flex; gap: .9rem; justify-content: center; align-items: center; min-height: 50px; border: 1px solid transparent; padding: .9rem 1.15rem; border-radius: 5px; font-size: .83rem; font-weight: 750; text-decoration: none; line-height: 1.4; transition: background .18s, color .18s, border-color .18s; }
.button-primary { background: var(--cyan); color: #092023; }
.button-primary:hover { background: #b2fffa; color: #09191a; }
.button-outline { border-color: var(--line); background: var(--surface); }
.button-outline:hover { border-color: var(--cyan); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: .7rem; font-size: .85rem; font-weight: 650; }
.text-button { border: 0; padding: .65rem; min-height: 44px; background: transparent; text-decoration: underline; text-underline-offset: .25em; font-size: .85rem; }
.skip-link { position: fixed; z-index: 100; top: -100px; left: 16px; background: var(--cyan); color: #082125; padding: .7rem 1rem; border-radius: 4px; }
.skip-link:focus { top: 12px; }
/* Shared navigation: hero artwork never participates in the header stacking layer. */
.site-header { position: relative; z-index: 10; background: var(--background); border-bottom: 1px solid var(--line); }
.header-inner { width: min(1360px, calc(100% - 64px)); min-height: 92px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { flex: 0 0 276px; padding-block: 12px; }
.brand img { width: 276px; }
.primary-nav { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 27px); }
.primary-nav a { display: flex; align-items: center; min-height: 48px; font-size: .78rem; font-weight: 600; white-space: nowrap; text-decoration: none; }
.primary-nav a[aria-current] { color: var(--cyan); box-shadow: inset 0 -2px var(--cyan); }
.menu-toggle { display: none; align-items: center; justify-content: center; gap: 10px; padding: .6rem; min-width: 76px; min-height: 46px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); font-size: .78rem; }
.menu-lines { width: 16px; height: 10px; border-block: 2px solid currentColor; }
.mobile-menu { color: var(--text); background: #111a21; width: min(430px, calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: 12px 12px 12px auto; padding: 24px; border: 1px solid #344b56; border-radius: 10px; }
.mobile-menu::backdrop { background: rgb(0 0 0 / .75); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.drawer-head p { margin: 0; font-family: var(--heading); font-weight: 700; }
.mobile-menu nav { display: flex; flex-direction: column; padding-block: 20px; }
.mobile-menu nav a { padding: 12px 4px; font-family: var(--heading); font-size: 1.13rem; text-decoration: none; }
.mobile-menu nav a[aria-current] { color: var(--cyan); }
.drawer-email { display: inline-block; font-size: .85rem; overflow-wrap: anywhere; padding-block: 16px; }
/* Home hero and concise product overview. */
.home-hero { display: grid; grid-template-columns: .92fr 1.3fr; align-items: center; gap: 48px; padding-block: 68px 48px; }
.home-hero h1 { font-size: clamp(2.65rem, 4.1vw, 4.05rem); }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); margin-right: 5px; vertical-align: 1px; }
.hero-art { position: relative; border: 1px solid #214151; border-radius: 10px; overflow: hidden; background: #101e38; box-shadow: 0 18px 80px rgb(0 20 70 / .2); }
.hero-art img { width: 100%; }
.art-label { margin: 0; padding: 12px 16px; display: flex; justify-content: space-between; gap: 12px; font: 500 .64rem/1.6 var(--heading); color: #c7d5e6; text-transform: uppercase; letter-spacing: .075em; background: #102033; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); padding-block: 27px; }
.facts > div { display: flex; align-items: baseline; gap: 15px; padding-inline: 28px; border-right: 1px solid var(--line); }
.facts > div:first-child { padding-left: 0; }
.facts > div:last-child { border: none; }
.facts strong { font: 750 clamp(1.6rem, 2.5vw, 2rem)/1 var(--heading); letter-spacing: -.04em; color: var(--cyan); white-space: nowrap; }
.facts span { font-size: .79rem; color: var(--muted); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 30px; }
.section-heading h2 { margin: 0; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading > p { color: var(--muted); max-width: 40ch; font-size: .94rem; margin: 0; }
.studio-teaser { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(32px, 7vw, 108px); }
.studio-picture { max-width: 470px; }
.studio-picture img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center 40%; border-radius: 8px; }
.studio-teaser h2 { font-size: clamp(2.8rem, 4vw, 4rem); }
.studio-teaser p:not(.eyebrow) { color: var(--muted); max-width: 44ch; }
/* Deliberate, click-to-load third-party video; ordinary anchors without JS. */
.video-stage { position: relative; background: #071016; aspect-ratio: 16/9; overflow: hidden; border-radius: 8px; border: 1px solid var(--line); }
.video-launch { display: flex; width: 100%; height: 100%; position: relative; text-decoration: none; }
.video-launch img { width: 100%; height: 100%; object-fit: cover; }
.video-launch::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgb(0 0 0 / .58)); pointer-events: none; }
.play-control { display: flex; gap: 12px; align-items: center; position: absolute; bottom: 24px; left: 24px; z-index: 1; padding: 10px 17px 10px 10px; border-radius: 6px; background: #0b1923; color: var(--text); font-size: .86rem; box-shadow: 0 2px 20px #0006; }
.play-triangle { display: grid; place-items: center; width: 40px; height: 40px; padding-left: 2px; background: var(--cyan); color: #072225; border-radius: 50%; font-size: .85rem; }
.video-launch:hover .play-control { background: #15404a; }
.video-launch:focus-visible { outline-offset: -7px; }
.video-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding-block: 8px; color: var(--muted); font-size: .8rem; }
.provider-poster { align-items: center; justify-content: center; background: radial-gradient(ellipse at 65% 30%, #164959, #0b1a26 70%); }
.provider-word { font: 700 clamp(1.5rem, 5vw, 4rem)/1.2 var(--heading); letter-spacing: -.06em; }
.provider-only { max-width: 900px; }
/* Page introductions, game mechanics and supporting screenshots. */
.page-intro { padding-block: 64px 44px; }
.page-intro h1 { margin-bottom: 22px; }
.page-intro p:last-child { margin-bottom: 0; }
.game-hero { display: grid; grid-template-columns: .92fr 1.15fr; gap: 56px; align-items: center; padding-block: 60px 36px; }
.game-hero h1 { font-size: clamp(3rem, 5.1vw, 5.2rem); }
.game-copy .lead { font-size: 1rem; }
.game-art img { border-radius: 8px; width: 100%; }
.mechanic { display: grid; grid-template-columns: 1fr 1.2fr; gap: 52px; align-items: center; padding-block: 40px; border-top: 1px solid var(--line); }
.mechanic h3 { letter-spacing: -.03em; }
.mechanic p { font-size: .96rem; color: var(--muted); }
.mechanic p:last-child { margin-bottom: 0; }
.section-number { color: var(--cyan); font: 600 .76rem/1.2 var(--heading); display: inline-block; margin-bottom: 16px; }
.mechanic video { border: 1px solid var(--line); border-radius: 6px; }
.screenshot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.screenshot-grid img { width: 100%; border-radius: 8px; }
.game-details { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.game-details p { color: var(--muted); }
.release-panel { border: 1px solid #2b4e56; border-radius: 8px; padding: 32px; background: #10232a; }
.release-panel h3 { margin-block: 20px; font-size: 2rem; }
.release-panel p { margin: 18px 0 0; font-size: .83rem; }
.status-tag { color: var(--cyan); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
/* Blog index and exact historical article copy. */
.post-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.post-card { border-top: 1px solid var(--line); padding-top: 16px; }
.post-image { display: block; overflow: hidden; border-radius: 6px; }
.post-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: 50% 38%; transition: transform .25s ease; }
.post-card:hover img { transform: scale(1.015); }
.post-card-body { padding: 18px 0 8px; }
time { display: block; font-size: .77rem; color: var(--muted); margin-bottom: 12px; }
.post-card h2, .post-card h3 { font-size: 1.4rem; margin: 0; }
.post-card h2 a, .post-card h3 a { text-decoration: none; display: flex; justify-content: space-between; gap: 15px; }
.post-card h2 a span, .post-card h3 a span { color: var(--cyan); }
.blog-post { padding-block: 46px 20px; }
.article-header, .article-prose { max-width: 790px; margin-inline: auto; }
.back-link { display: inline-block; font-size: .83rem; margin-bottom: 32px; color: var(--cyan); }
.article-header h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
.article-prose { font-size: 1.11rem; color: #d1d9dd; }
.post-video { max-width: 980px; margin: 40px auto 0; }
.post-video video { border: 1px solid var(--line); border-radius: 6px; }
.article-photo { width: min(520px, 100%); margin: 40px auto 0; }
.article-photo img { border-radius: 6px; }
.article-end { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 36px 60px; border-bottom: 1px solid var(--line); }
/* Factual studio content and reusable contact section. */
.team-layout { display: grid; grid-template-columns: 1fr .9fr; align-items: start; gap: 88px; padding-bottom: 32px; }
.team-copy { font-size: 1.1rem; color: #d4dde0; }
.team-copy p { max-width: 48ch; }
.team-photo { width: min(440px, 100%); justify-self: end; }
.team-photo img { width: 100%; border-radius: 8px; }
.contact-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; border-block: 1px solid var(--line); margin-block: 56px 12px; }
.contact-band h2 { margin-bottom: 12px; }
.contact-band p:last-child { margin: 0; color: var(--muted); max-width: 58ch; }
.contact-band > .button { overflow-wrap: anywhere; max-width: 100%; }
/* Native disclosures supply keyboard/state semantics without JavaScript. */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, .7fr); gap: 64px; align-items: start; padding-bottom: 22px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 25px 4px; list-style: none; font: 650 1rem/1.5 var(--heading); letter-spacing: -.02em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }
.faq-item[open] summary { color: var(--cyan); }
.faq-icon { flex: 0 0 20px; height: 20px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; height: 2px; width: 14px; left: 3px; top: 9px; background: currentColor; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { display: none; }
.faq-answer { padding: 0 38px 24px 4px; color: #c4d0d6; }
.faq-answer p { margin: 0; overflow-wrap: anywhere; }
.faq-aside { padding: 24px; border-radius: 8px; background: var(--surface); }
.robot-card { width: 160px; margin-bottom: 24px; }
.robot-card img { border-radius: 10px; }
.faq-aside h2 { font-size: 1.7rem; }
.faq-aside .eyebrow { margin-bottom: 10px; }
/* Legal wording is untouched; only presentation/heading elements changed. */
.policy { max-width: 860px; padding-block: 60px 90px; overflow-wrap: anywhere; }
.policy h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.policy-date { color: var(--muted); margin-bottom: 42px; }
.policy h2 { font-size: 1.45rem; margin-top: 44px; letter-spacing: -.025em; line-height: 1.35; }
.policy h3 { font-size: 1.15rem; margin-top: 28px; line-height: 1.4; }
.policy h2 u, .policy h3 u { text-decoration: none; }
.policy p, .policy li { color: #d1dbdf; }
.policy li { margin-bottom: .65rem; }
.policy table { width: 100%; border-collapse: collapse; font-size: .88rem; line-height: 1.6; }
.policy td, .policy th { border: 1px solid var(--line); padding: 12px; vertical-align: top; text-align: left; }
.policy th { background: var(--surface); }
.policy-table { margin-block: 28px; }
/* Shared footer. */
.site-footer { margin-top: 38px; border-top: 1px solid var(--line); background: #080c10; }
.footer-top { padding-block: 45px; display: grid; grid-template-columns: 1.5fr 1fr .65fr; gap: 48px; }
.footer-brand img { width: 300px; margin-bottom: 23px; }
.footer-brand p { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.footer-brand > a:last-child { font-size: .82rem; overflow-wrap: anywhere; }
.footer-top nav, .social-links { display: flex; flex-direction: column; align-items: start; }
.footer-top nav a, .social-links a { font-size: .82rem; display: inline-flex; align-items: center; min-height: 38px; text-decoration: none; }
.social-links a { gap: 20px; }
.social-links .eyebrow { margin: 0 0 7px; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 20px; display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: .72rem; color: var(--muted); }
.footer-bottom p { margin: 0 auto 0 0; }
@media (min-width: 1600px) { .wrap { width: min(1400px, calc(100% - 120px)); } .home-hero { padding-block: 84px 56px; } }
@media (max-width: 1100px) {
  .header-inner { width: calc(100% - 40px); gap: 18px; }
  .brand { flex-basis: 230px; }
  .brand img { width: 230px; }
  .primary-nav { gap: 16px; }
  .primary-nav a { font-size: .72rem; }
  .home-hero, .game-hero { gap: 30px; }
  .home-hero h1 { font-size: 2.8rem; }
  .facts > div { flex-direction: column; gap: 10px; }
  .faq-layout { gap: 32px; }
  .faq-aside { padding: 20px; }
  .contact-band { align-items: start; flex-direction: column; }
}
@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .header-inner { min-height: 78px; }
  .has-js .primary-nav { display: none; }
  .has-js .menu-toggle { display: inline-flex; }
  .primary-nav { flex-wrap: wrap; padding-bottom: 15px; }
  html:not(.has-js) .header-inner { flex-wrap: wrap; padding-top: 10px; }
  .home-hero { grid-template-columns: 1fr; gap: 32px; padding-block: 40px; }
  .home-hero h1 { font-size: clamp(2.4rem, 6.5vw, 3.7rem); max-width: 18ch; }
  .hero-copy { max-width: 620px; }
  .hero-copy .lead { max-width: 60ch; }
  .hero-art { width: 100%; }
  .game-hero { grid-template-columns: 1fr; padding-block: 40px 20px; }
  .game-hero h1 br { display: none; }
  .game-copy .lead { max-width: 68ch; }
  .game-art { width: 100%; }
  .section-heading { align-items: start; flex-direction: column; gap: 20px; }
  .section-heading > p { max-width: 60ch; }
  .team-layout { gap: 36px; }
  .mechanic { gap: 30px; }
  .footer-top { gap: 32px; grid-template-columns: 1.2fr 1fr .65fr; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { width: calc(100% - 32px); min-height: 72px; gap: 12px; }
  .brand { flex: 0 1 216px; width: 216px; min-width: 0; }
  .brand img { width: 100%; }
  .menu-toggle { flex-shrink: 0; min-width: 66px; gap: 7px; padding-inline: 8px; }
  .home-hero { padding-block: 32px; gap: 26px; }
  .home-hero h1 { font-size: clamp(2.15rem, 8.1vw, 3.1rem); }
  .eyebrow { font-size: .62rem; letter-spacing: .105em; margin-bottom: 16px; }
  .lead { font-size: .98rem; }
  .actions { margin-top: 22px; gap: 10px 20px; }
  .button { min-height: 48px; font-size: .8rem; }
  .art-label { font-size: .55rem; padding: 10px; }
  .facts { padding-block: 22px; }
  .facts > div { padding-inline: 12px; }
  .facts strong { font-size: 1.25rem; white-space: normal; }
  .facts span { font-size: .65rem; line-height: 1.5; }
  .section { padding-block: 40px; }
  .section-first { padding-top: 0; }
  .section-heading { margin-bottom: 22px; }
  .section-heading h2 { font-size: 1.95rem; }
  .play-control { left: 12px; bottom: 12px; padding: 7px 10px 7px 7px; font-size: .74rem; gap: 8px; }
  .play-triangle { width: 31px; height: 31px; font-size: .68rem; }
  .video-actions { font-size: .74rem; }
  .studio-teaser { grid-template-columns: 1fr; gap: 28px; }
  .studio-picture { max-width: none; }
  .studio-picture img { aspect-ratio: 4/3; }
  .studio-teaser h2 { font-size: 2.75rem; }
  .post-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-intro { padding-block: 36px 32px; }
  .page-intro h1 { font-size: 2.5rem; }
  .game-hero h1 { font-size: 3rem; }
  .mechanic { grid-template-columns: 1fr; gap: 24px; padding-block: 28px; }
  .screenshot-grid { grid-template-columns: 1fr; gap: 18px; }
  .game-details { grid-template-columns: 1fr; gap: 26px; }
  .release-panel { padding: 24px; }
  .team-layout { grid-template-columns: 1fr; gap: 22px; }
  .team-photo { width: min(390px,100%); justify-self: center; }
  .team-copy { font-size: 1rem; }
  .contact-band { margin-block: 36px 8px; gap: 22px; }
  .contact-band .button { font-size: .75rem; padding-inline: 12px; }
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .faq-item summary { padding: 20px 2px; font-size: .94rem; gap: 14px; }
  .faq-answer { font-size: .94rem; padding-right: 18px; }
  .faq-aside { padding: 24px; }
  .robot-card { float: right; width: 96px; margin-left: 14px; }
  .faq-aside .button { clear: both; }
  .blog-post { padding-block: 30px 10px; }
  .article-header h1 { font-size: 2.5rem; }
  .article-prose { font-size: 1rem; }
  .post-video, .article-photo { margin-top: 28px; }
  .policy { padding-block: 38px 52px; font-size: .94rem; }
  .policy h2 { font-size: 1.25rem; }
  .policy ul, .policy ol { padding-left: 20px; }
  .policy td, .policy th { padding: 9px; }
  .policy table { font-size: .8rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; padding-block: 36px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-brand img { max-width: 290px; }
  .footer-bottom { gap: 12px 24px; }
  .footer-bottom p { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .post-card:hover img { transform: none; }
}
