/*
 * Copyright notice: see root LICENSE (currently absent); project ownership is not established.
 * File: site.css
 * Purpose: Source-faithful Starpath tab header, scanline nebula banner, charcoal promo sections and textured footer.
 */
:root {
  color-scheme: dark;
  --page: #141215;
  --surface: #1b1b1f;
  --surface-raised: #202127;
  --line: #34343c;
  --text: #f4f2f7;
  --muted: #b9b8c0;
  --cyan: #00baf2;
  --cyan-light: #7adbfd;
  --gold: #ffb900;
  --display: 'Oxanium', 'Arial Narrow', sans-serif;
  --body: 'Poppins', Arial, sans-serif;
  font-family: var(--body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  background: var(--page);
  color: var(--text);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--page); color: var(--text); font: 500 15px/1.75 var(--body); }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--cyan-light); }
a:focus-visible { outline: 3px solid var(--cyan-light); outline-offset: 4px; border-radius: 2px; }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 20; transform: translateY(-160%); padding: .65rem 1rem; background: var(--cyan); color: #101115; font-weight: 700; }
.skip-link:focus { transform: none; }
.site-header { position: relative; z-index: 5; padding-top: 62px; background: #1b1b20 url('/branding/bg/h3_header_bg.jpg') center top / cover no-repeat; }
.header-topbar { position: absolute; top: 0; left: 0; width: 100%; min-height: 62px; border-bottom: 1px solid rgb(74 76 86 / .62); }
.header-topbar-inner { display: flex; align-items: center; justify-content: space-between; width: min(1290px, calc(100% - 48px)); height: 62px; margin: 0 auto; }
.project-status, .jam-link { display: inline-flex; align-items: center; gap: .6rem; color: #dad9df; font: 700 12px/1.4 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.project-status b { color: var(--cyan-light); font-weight: 700; }
.jam-link { color: #d8d7df; text-decoration: none; }
.jam-link span { color: var(--cyan); font-size: 1rem; }
.mobile-mark { display: none; }
.header-menu { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 262px minmax(0, 1fr); align-items: center; width: min(1290px, calc(100% - 48px)); min-height: 86px; margin: 0 auto; }
.header-menu::after { position: absolute; z-index: -1; right: 50%; bottom: -5px; width: min(1499px, 100vw); height: 28px; transform: translateX(50%); background: url('/branding/bg/header_bottom_bg.png') center / 100% 100% no-repeat; content: ''; }
.header-logo-desktop { position: absolute; top: -62px; left: 50%; z-index: 3; width: 262px; height: 128px; transform: translateX(-50%); }
.header-logo-desktop img { display: block; width: 262px; height: 128px; }
.nav-left, .nav-right { display: flex; align-items: center; gap: clamp(1.1rem, 2.6vw, 2.65rem); min-width: 0; }
.nav-left { grid-column: 1; justify-content: flex-start; }
.nav-right { grid-column: 3; justify-content: flex-end; }
.site-header nav a { color: #e9e8ed; font: 700 14px/1.25 var(--display); text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.site-header nav a:hover { color: var(--cyan-light); }
.brand-banner { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; height: clamp(285px, 27vw, 390px); margin-top: -20px; padding: 2.5rem 1rem 1.75rem; overflow: hidden; background: #111926 url('/branding/slider/slider-background.png') center center / cover no-repeat; text-align: center; }
.brand-banner h1 { margin: .55rem 0 0; color: var(--cyan); font: 700 clamp(1.6rem, 3vw, 2.4rem)/1.1 var(--display); letter-spacing: .045em; text-transform: uppercase; text-shadow: 0 2px 16px #050710a8; }
.intro-section { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr); gap: clamp(2.5rem, 5vw, 5.5rem); align-items: start; width: min(1200px, calc(100% - 48px)); margin: 0 auto; padding: 72px 0 88px; }
.eyebrow { margin: 0 0 .55rem; color: var(--cyan-light); font: 700 12px/1.5 var(--display); letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; }
.intro-copy h2, .section-title h2, .section-heading h2, .project-panel h2, .page-intro h1, .article-header h1 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.15; }
.intro-copy h2 { font-size: clamp(2.15rem, 3.5vw, 3rem); letter-spacing: -.015em; }
.intro-copy h2 span, .section-title h2 span, .section-heading h2 span { color: var(--cyan); }
.tagline { margin: .45rem 0 .8rem; color: var(--cyan-light); font: 600 clamp(1.05rem, 1.8vw, 1.3rem)/1.5 var(--display); }
.intro-lead { max-width: 680px; margin: 0 0 1.35rem; color: #d0cfd5; font-size: 15px; line-height: 1.9; }
.feature-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.3rem; margin-top: 1.25rem; }
.feature-points article { display: flex; align-items: flex-start; gap: .65rem; }
.point-icon { flex: 0 0 auto; color: var(--cyan); font: 700 22px/1.2 var(--display); }
.feature-points h3 { margin: 0 0 .15rem; color: #f1eff4; font: 700 15px/1.4 var(--display); }
.feature-points p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.intro-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.7rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: .8rem 1.8rem; font: 700 14px/1.2 var(--display); letter-spacing: .035em; text-align: center; text-decoration: none; text-transform: uppercase; }
.button-primary { min-width: 280px; border: 0; border-radius: 6px; background: var(--cyan); color: #101115; text-shadow: none; }
.button-primary:hover { color: #101115; filter: brightness(1.08); }
.button-primary span { margin-left: .55rem; font-size: 1rem; }
.button-outline { min-height: 44px; border: 1px solid var(--cyan); color: var(--cyan-light); }
.button-outline:hover { background: #00baf21a; }
.text-link, .panel-link { color: var(--cyan-light); font: 700 13px/1.5 var(--display); text-decoration: none; }
.text-link span, .panel-link span { margin-left: .3rem; color: var(--cyan); }
.project-panel { padding: 1.5rem 1.6rem 1.35rem; border: 1px solid #383941; border-top: 2px solid var(--cyan); background: var(--surface); }
.project-panel > .eyebrow { margin-bottom: .35rem; }
.project-panel h2 { color: #f4f3f7; font-size: 1.8rem; }
.status-pill { display: inline-flex; align-items: center; gap: .5rem; margin: .85rem 0 0; color: #d2d1d7; font-size: 12px; }
.status-pill span { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px #00baf2a0; }
.panel-divider { height: 1px; margin: 1.3rem 0 1.2rem; background: var(--line); }
.latest-note h3 { margin: .45rem 0 .45rem; font: 700 1.1rem/1.4 var(--display); }
.latest-note h3 a { text-decoration: none; }
.news-meta { display: flex; flex-wrap: wrap; gap: .5rem .9rem; margin: 0; color: #aaa9b2; font: 600 11px/1.5 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.news-meta span { color: var(--cyan-light); }
.latest-note > p:not(.news-meta) { margin: .4rem 0 .75rem; color: var(--muted); font-size: 12px; line-height: 1.7; }
.all-updates { display: inline-block; margin-top: 1rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.section { padding: 72px max(24px, calc((100% - 1200px) / 2)); }
.mission-details { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; background: var(--surface); }
.section-title h2, .section-heading h2 { max-width: 600px; font-size: clamp(2rem, 3.4vw, 2.7rem); }
.mission-summary p { max-width: 690px; margin: 0 0 1.25rem; color: #c7c6ce; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.7rem; }
.section-heading h2 span { color: var(--cyan); }
.news-section { background: var(--page); }
.news-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.news-card { max-width: 760px; padding: 1.4rem 1.5rem; border: 1px solid #323139; border-left: 2px solid var(--cyan); background: var(--surface); }
.news-card h3 { margin: .7rem 0 .35rem; font: 700 1.25rem/1.4 var(--display); }
.news-card h3 a { text-decoration: none; }
.news-card > p:last-child, .empty-note { margin: .3rem 0 0; color: var(--muted); }
.page-intro { padding: 4rem max(24px, calc((100% - 1200px) / 2)) 3rem; background: var(--surface); border-bottom: 1px solid var(--line); }
.page-intro h1 { margin: .15rem 0 .8rem; font-size: clamp(2.5rem, 5vw, 4rem); }
.page-intro > p:last-child { max-width: 760px; margin-bottom: 0; color: var(--muted); }
.release-list { display: grid; gap: 1rem; }
.release-card { padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid #393840; background: var(--surface); }
.release-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.release-heading h2 { margin: 0; font: 700 1.8rem/1.3 var(--display); }
.release-details { display: grid; grid-template-columns: minmax(100px, .4fr) minmax(0, 1.6fr); gap: 1rem; margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.release-details dt { color: var(--cyan-light); font: 700 11px/1.5 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.release-details dd { margin: .25rem 0 0; overflow-wrap: anywhere; }
.release-details code { color: #dcf6ff; font-size: .78rem; }
.release-card > p { color: var(--muted); }
.empty-state { max-width: 740px; margin: 0 auto; padding: clamp(2rem, 6vw, 4rem); border: 1px solid #34343c; border-top: 2px solid var(--cyan); background: var(--surface); text-align: center; }
.empty-state h2 { font: 700 clamp(2rem, 4vw, 3rem)/1.2 var(--display); }
.empty-state p { max-width: 560px; margin: 0 auto 1rem; color: var(--muted); }
.empty-icon { color: var(--cyan); font-size: 2rem; }
.post-list { display: grid; gap: 1rem; background: var(--page); }
.post-list-card { padding: clamp(1.3rem, 3vw, 2rem); border: 1px solid #34343c; background: var(--surface); }
.post-list-card h2 { margin: .8rem 0 .5rem; font: 700 clamp(1.6rem, 3vw, 2.2rem)/1.3 var(--display); }
.post-list-card h2 a { text-decoration: none; }
.post-list-card > p:not(.news-meta) { max-width: 800px; color: var(--muted); }
.feature-board { scroll-margin-top: 24px; background: var(--page); }
.feature-board > .section-heading { margin-bottom: 2rem; }
.feature-status-group + .feature-status-group { margin-top: 2.4rem; }
.feature-status-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; padding-bottom: .65rem; border-bottom: 1px solid #34343c; }
.feature-status-heading h3 { margin: 0; color: var(--cyan-light); font: 700 1.4rem/1.35 var(--display); }
.feature-status-heading > span { color: var(--muted); font-size: 12px; }
.feature-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.feature-board-card { min-width: 0; padding: 1.25rem; border: 1px solid #34343c; background: var(--surface); }
.feature-board-card h4 { margin: 0 0 .6rem; font: 700 1.15rem/1.4 var(--display); overflow-wrap: anywhere; }
.feature-board-card > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.feature-board-reports { margin-top: 1.1rem; padding-top: .8rem; border-top: 1px solid #34343c; }
.feature-reports-label { color: var(--cyan-light); font: 700 10px/1.5 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.feature-reports { display: grid; gap: .35rem; margin: .45rem 0 0; padding: 0; list-style: none; }
.feature-reports a { display: inline-block; color: #d7f5ff; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.feature-no-reports, .feature-empty { margin: 0; color: var(--muted); font-size: 12px; }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.tag-list li { padding: .2rem .55rem; border: 1px solid #42414a; color: #d4d3db; font: 500 11px/1.5 var(--body); }
.article { max-width: 850px; margin: 0 auto; padding: 3rem 1.5rem 6rem; }
.back-link { display: inline-block; margin-bottom: 2rem; color: var(--cyan-light); font: 700 12px/1.5 var(--display); text-decoration: none; }
.article-header { padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.article-header h1 { margin: 1rem 0; font-size: clamp(2.8rem, 7vw, 5rem); }
.article-header .lead { color: #d2d1d8; }
.article-section { padding: 2rem 0 0; }
.article-section h2, .related-release h2 { font: 700 1.8rem/1.3 var(--display); }
.article-section p { max-width: 760px; color: #c6c5cc; }
.related-release { margin-top: 2.5rem; padding: 1.5rem; border-left: 3px solid var(--cyan); background: var(--surface); }
.not-found { min-height: 58vh; padding-top: 11vh; }
.not-found .button { margin-top: 1rem; }
.site-footer { position: relative; margin-top: 40px; padding: 0 24px 0; background: #17171b url('/branding/bg/h5_footer_bg.jpg') center top / cover no-repeat; border-top: 1px solid #222229; }
.footer-brand { position: relative; top: -34px; display: flex; justify-content: center; width: min(480px, 90%); min-height: 68px; margin: 0 auto -8px; padding: 1rem 1.5rem; border-radius: 44px; background: #17181deF; }
.footer-brand img { display: block; width: min(300px, 65vw); height: auto; }
.footer-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; width: min(1200px, 100%); min-height: 220px; margin: 0 auto; padding: 3.2rem 0 2.8rem; }
.footer-columns section { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; color: #aaa9b2; font-size: 12px; }
.footer-columns h2 { position: relative; margin: 0 0 1rem; color: #f0eff4; font: 700 14px/1.4 var(--display); text-transform: uppercase; }
.footer-columns h2::after { position: absolute; bottom: -.6rem; left: 0; width: 30px; height: 3px; background: var(--cyan-light); content: ''; }
.footer-columns a { color: #b5b4be; text-decoration: none; }
.footer-columns a:hover { color: var(--cyan-light); }
.copyright { width: 100%; padding: 1.3rem 0; border-top: 1px solid #ffffff0c; color: #a7a6ae; font-size: 11px; text-align: center; }
.section-index { position: relative; display: flex; align-items: center; gap: 1.15rem; max-width: 1200px; margin: 0 auto; padding: 1rem 0; overflow-x: auto; border-top: 1px solid #34343c; border-bottom: 1px solid #34343c; scrollbar-width: thin; }
.section-index span { flex: 0 0 auto; color: var(--cyan-light); font: 700 11px/1.4 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.section-index a { flex: 0 0 auto; color: #d0cfd5; font: 600 12px/1.4 var(--display); text-decoration: none; white-space: nowrap; }
.section-index a:hover { color: var(--cyan-light); }
.section-index a:focus-visible, .button:focus-visible { outline: 3px solid var(--cyan-light); outline-offset: 4px; }
.gameplay-overview { padding-bottom: 2rem; background: var(--page); }
.gameplay-overview .section-heading { align-items: end; margin-bottom: 0; }
.gameplay-overview .section-heading h2 { max-width: 680px; }
.overview-copy { max-width: 430px; margin: 0; color: var(--muted); }
.gameplay-section { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; scroll-margin-top: 24px; background: var(--surface); }
.gameplay-alt { background: var(--page); }
.gameplay-section .section-title h2 { max-width: 520px; }
.gameplay-copy { min-width: 0; }
.gameplay-intro { margin: 0 0 1.35rem; color: #d0cfd5; font-size: 15px; line-height: 1.85; }
.gameplay-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem 1.5rem; }
.gameplay-points article { display: flex; align-items: flex-start; gap: .6rem; }
.gameplay-points h3 { margin: 0 0 .35rem; color: #f1eff4; font: 700 15px/1.4 var(--display); }
.gameplay-points p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.evidence-note { margin: 1.65rem 0 0; padding: .8rem 1rem; border-left: 2px solid var(--cyan); background: #10111585; color: #bdbcc4; font-size: 11px; line-height: 1.65; }
.evidence-note span { display: block; margin-bottom: .15rem; color: var(--cyan-light); font: 700 10px/1.5 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.bridge-proof { margin: 1.2rem 0 0; }
.bridge-proof img, .game-screenshot img, .article-gallery img, .post-cover img { display: block; width: 100%; height: auto; }
.bridge-proof img { border: 1px solid #3f414a; }
.bridge-proof figcaption, .game-screenshot figcaption, .article-gallery figcaption { margin-top: .55rem; color: #aaa9b2; font-size: 11px; line-height: 1.6; }
.lineage-section { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; scroll-margin-top: 24px; background: #1b1b20; }
.lineage-copy p { margin: 0 0 1.4rem; color: #d0cfd5; }
.jam-section { scroll-margin-top: 24px; background: var(--page); border-top: 1px solid #34343c; border-bottom: 1px solid #34343c; }
.jam-section .section-heading { align-items: center; }
.jam-date { margin: .55rem 0 0; color: var(--cyan-light); font: 600 13px/1.5 var(--display); }
.jam-lead { max-width: 880px; margin: 0 0 2rem; color: #d0cfd5; font-size: 16px; }
.jam-theme { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.jam-theme > div { padding: 1.5rem; border: 1px solid #34343c; background: var(--surface); }
.jam-theme h3, .jam-criteria > h3, .glass-box h3 { margin: 0 0 .7rem; font: 700 1.45rem/1.35 var(--display); }
.jam-theme p:not(.eyebrow), .glass-box p:not(.eyebrow) { color: var(--muted); }
.jam-theme .text-link { display: inline-block; margin-top: .25rem; }
.jam-criteria { margin-top: 2.4rem; }
.jam-criteria > h3 { margin-bottom: 1.2rem; }
.criteria-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #34343c; border: 1px solid #34343c; }
.criteria-grid article { min-height: 125px; padding: 1.1rem 1.2rem; background: var(--surface); }
.criteria-grid h3 { margin: 0 0 .35rem; color: var(--cyan-light); font: 700 14px/1.4 var(--display); }
.criteria-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.glass-box { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 2rem; padding: 1.4rem 1.5rem; border: 1px solid #353741; border-left: 3px solid var(--cyan); background: #1b1b20; }
.glass-box h3 { margin-bottom: .35rem; }
.glass-box p:not(.eyebrow) { max-width: 690px; margin: 0; font-size: 13px; }
.glass-box .button { flex: 0 0 auto; }
.transparency-note { margin: 1.1rem 0 0; color: #aaa9b2; font-size: 11px; }
.screenshot-section { background: #1b1b20; }
.screenshot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.game-screenshot { min-width: 0; margin: 0; }
.game-screenshot img { aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid #3a3b43; }
.news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.news-card { max-width: none; }
.post-cover { display: block; margin: calc(-1 * clamp(1.3rem, 3vw, 2rem)) calc(-1 * clamp(1.3rem, 3vw, 2rem)) 1.2rem; overflow: hidden; background: #0c1019; }
.post-cover img { aspect-ratio: 16 / 9; object-fit: cover; transition: transform .45s cubic-bezier(.2,.75,.25,1), filter .45s ease; }
.post-cover:hover img { transform: scale(1.025); filter: brightness(1.08); }
.article-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.article-gallery figure { min-width: 0; margin: 0; }
.article-gallery img { aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid #3a3b43; }
.article-section p { white-space: pre-line; }
.article-section ul { max-width: 760px; padding-left: 1.3rem; color: #c6c5cc; }
.article-section li + li { margin-top: .45rem; }
.gameplay-section, .lineage-section, .jam-section, .screenshot-section { scroll-margin-top: 18px; }
.gameplay-section .section-title { position: sticky; top: 24px; }
.button-primary { box-shadow: 0 0 0 1px #00baf255, 0 0 20px #00baf222; transition: box-shadow .3s ease, transform .3s ease, background-color .3s ease; }
.button-primary:hover { box-shadow: 0 0 0 1px #7adbfd, 0 0 30px #00baf266; transform: translateY(-2px); }
.button-outline, .text-link, .panel-link, .section-index a { transition: color .2s ease, border-color .2s ease, background-color .2s ease; }
@media (prefers-reduced-motion: reduce) {
  .button-primary, .button-outline, .text-link, .panel-link, .section-index a, .post-cover img { transition: none; }
  .button-primary:focus-visible { animation: none; box-shadow: 0 0 0 3px var(--cyan-light); }
  .post-cover:hover img { transform: none; }
}
@media (max-width: 900px) {
  .intro-section { grid-template-columns: minmax(0, 1fr) minmax(280px, .75fr); gap: 2rem; }
  .header-menu { grid-template-columns: minmax(0, 1fr) 200px minmax(0, 1fr); width: calc(100% - 32px); }
  .header-logo-desktop, .header-logo-desktop img { width: 220px; height: auto; }
  .nav-left, .nav-right { gap: .85rem; }
  .site-header nav a { font-size: 12px; }
  .section-index { padding-right: 16px; padding-left: 16px; }
  .gameplay-section, .lineage-section { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 2rem; }
  .criteria-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .screenshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .site-header { padding-top: 0; }
  .header-topbar { position: relative; min-height: 68px; }
  .header-topbar-inner { width: calc(100% - 30px); height: 68px; }
  .project-status { gap: .45rem; font-size: 10px; }
  .project-status b { display: block; }
  .mobile-mark { display: inline-flex; width: 34px; height: 34px; }
  .mobile-mark img { display: block; width: 32px; height: 32px; }
  .jam-link { max-width: 46%; font-size: 10px; text-align: right; }
  .header-menu { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 1.2rem; width: 100%; min-height: 54px; padding: .45rem .7rem .6rem; }
  .header-menu::after { bottom: -5px; height: 20px; }
  .header-logo-desktop { display: none; }
  .nav-left, .nav-right { justify-content: center; gap: .65rem 1.2rem; width: auto; }
  .site-header nav a { min-height: 32px; font-size: 12px; }
  .brand-banner { height: 275px; margin-top: -10px; padding: 1.5rem .7rem; }
  .brand-banner h1 { margin-top: .45rem; font-size: 1.65rem; }
  .intro-section { grid-template-columns: 1fr; gap: 2rem; width: calc(100% - 30px); padding: 3rem 0 3.5rem; }
  .section-index { gap: .9rem; padding-top: .8rem; padding-bottom: .8rem; }
  .gameplay-section, .lineage-section { grid-template-columns: 1fr; gap: 1.4rem; }
  .gameplay-section .section-title { position: static; }
  .gameplay-points { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .jam-theme { grid-template-columns: 1fr; }
  .criteria-grid { grid-template-columns: 1fr; }
  .feature-card-grid { grid-template-columns: 1fr; }
  .criteria-grid article { min-height: 0; }
  .glass-box { align-items: flex-start; flex-direction: column; }
  .glass-box .button { align-self: flex-start; }
  .screenshot-grid, .news-grid { grid-template-columns: 1fr; }
  .article-gallery { grid-template-columns: 1fr; }
  .overview-copy { max-width: 760px; }
  .intro-copy h2 { font-size: clamp(2rem, 9vw, 2.7rem); }
  .intro-lead { font-size: 14px; }
  .feature-points { gap: .9rem; }
  .feature-points p { font-size: 11px; }
  .project-panel { padding: 1.25rem; }
  .mission-details { grid-template-columns: 1fr; gap: 1.25rem; }
  .section { padding: 3.5rem 15px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .release-heading { align-items: flex-start; flex-direction: column; }
  .release-details { grid-template-columns: 1fr; gap: .8rem; }
  .footer-columns { grid-template-columns: 1fr; gap: 1.4rem; min-height: 0; padding-top: 2.4rem; }
  .footer-columns section { gap: .35rem; }
  .footer-brand { top: -26px; min-height: 56px; }
  .site-footer { margin-top: 30px; padding: 0 15px; }
}
@media (max-width: 390px) {
  .header-topbar-inner { width: calc(100% - 20px); }
  .jam-link { max-width: 42%; font-size: 9px; }
  .nav-left, .nav-right { gap: .4rem .8rem; }
  .brand-banner { height: 260px; }
  .feature-points { grid-template-columns: 1fr; }
  .button-primary { min-width: 255px; }
  .gameplay-points { grid-template-columns: 1fr; }
  .jam-section .button-primary { min-width: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
:root { --motion-fast: 160ms; --motion-standard: 280ms; --motion-entrance: 480ms; --motion-ease: cubic-bezier(.2,.8,.2,1); }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: page-out var(--motion-fast) ease-out both; }
::view-transition-new(root) { animation: page-in var(--motion-standard) var(--motion-ease) both; }
.header-menu { grid-template-columns: minmax(0, 1fr) 126px minmax(0, 1fr); }
.header-logo-desktop { top: -10px; left: 50%; display: flex; width: 108px; height: 96px; align-items: flex-start; justify-content: center; transform: translateX(-50%); }
.header-logo-desktop .crest-tab { display: flex; width: 100px; height: 90px; align-items: center; justify-content: center; clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%); background: linear-gradient(180deg, #23242b 0%, #15161b 100%); filter: drop-shadow(0 8px 12px #00baf233); }
.header-logo-desktop .crest-tab img { display: block; width: 62px; height: 62px; object-fit: contain; }
.brand-banner picture { display: flex; width: 100%; align-items: center; justify-content: center; }
.banner-lockup { display: block; width: min(82vw, 1200px); max-height: 310px; height: auto; object-fit: contain; filter: drop-shadow(0 2px 16px #07101baa); }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.footer-brand { width: min(520px, 90%); }
.footer-brand img { display: block; width: min(400px, 72vw); height: auto; }
.mobile-mark img { object-fit: contain; }
.site-header nav a:hover { transform: translateY(-3px); }
.site-header nav a { display: inline-flex; align-items: center; transition: color var(--motion-fast) ease, transform var(--motion-standard) var(--motion-ease), text-shadow var(--motion-standard) ease; }
.button-primary { transition: box-shadow var(--motion-standard) ease, transform var(--motion-fast) var(--motion-ease), background-color var(--motion-fast) ease; }
.button-primary:hover { transform: translateY(-3px); }
.button:active, .button-primary:active { transform: scale(.985); transition-duration: var(--motion-fast); }
.news-card, .post-list-card, .game-screenshot, .criteria-grid article, .feature-board-card { transition: border-color var(--motion-standard) ease, box-shadow var(--motion-standard) ease, transform var(--motion-standard) var(--motion-ease); }
.news-card:hover, .post-list-card:hover, .game-screenshot:hover, .criteria-grid article:hover, .feature-board-card:hover { transform: translateY(-3px); border-color: #00baf277; box-shadow: 0 12px 32px #0004, 0 0 20px #00baf216; }
.header-logo-desktop .crest-tab:focus-visible, .button:focus-visible, .button-primary:focus-visible, .button-outline:focus-visible { position: relative; outline: 3px solid var(--cyan-light); outline-offset: 4px; box-shadow: 0 0 0 5px #00baf222, 0 0 18px #00baf266; }
.button-primary:focus-visible::after, .button-outline:focus-visible::after { position: absolute; z-index: 2; top: -9px; right: -8px; display: grid; width: 18px; height: 18px; place-items: center; color: #d8f8ff; content: '✦'; font-size: 16px; line-height: 1; pointer-events: none; offset-path: inset(-5px round 10px); offset-anchor: center; animation: star-orbit 1600ms linear infinite; filter: drop-shadow(0 0 6px var(--cyan)); }
.motion-reveal { transition: opacity var(--motion-entrance) var(--motion-ease) var(--motion-delay, 0ms), transform var(--motion-entrance) var(--motion-ease) var(--motion-delay, 0ms); }
.motion-ready .motion-reveal:not(.motion-visible) { opacity: 0; transform: translateY(12px); }
.motion-ready .brand-banner .banner-lockup { animation: hero-arrive var(--motion-entrance) var(--motion-ease) both; }
.motion-ready .header-logo-desktop .crest-tab img { animation: crest-float 5s ease-in-out infinite; }
@keyframes hero-arrive { from { opacity: 0; transform: translateY(12px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes crest-float { 0%, 100% { transform: translateY(0); filter: drop-shadow(0 0 0 #00baf200); } 50% { transform: translateY(-2px); filter: drop-shadow(0 0 8px #00baf255); } }
@keyframes star-orbit { 0% { opacity: .35; offset-distance: 0%; transform: scale(.8) rotate(0); } 50% { opacity: 1; transform: scale(1.18) rotate(45deg); } 100% { opacity: .35; offset-distance: 100%; transform: scale(.8) rotate(90deg); } }
@keyframes page-out { to { opacity: .94; } }
@keyframes page-in { from { opacity: .9; } to { opacity: 1; } }
@media (max-width: 900px) { .header-menu { grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr); } }
@media (max-width: 720px) {
  .header-menu { display: flex; }
  .header-logo-desktop { display: none; }
  .banner-lockup { width: auto; max-width: 86vw; max-height: 220px; }
  .footer-brand img { width: min(340px, 78vw); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .news-card:hover, .post-list-card:hover, .game-screenshot:hover, .criteria-grid article:hover, .feature-board-card:hover, .button-primary:hover, .site-header nav a:hover, .button:active, .button-primary:active, .button-outline:hover { transform: none; }
  .motion-ready .motion-reveal:not(.motion-visible) { opacity: 1; transform: none; }
  .button-primary:focus-visible::after, .button-outline:focus-visible::after { display: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
