:root {
    color-scheme: dark;
    --bg: #111411;
    --surface: #191d18;
    --text: #f1f0e7;
    --muted: #adb1a4;
    --accent: #d9ef85;
    --line: #343a30;
    font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, p { margin: 0; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.wrap { width: min(1320px, calc(100% - 112px)); margin-inline: auto; }
.eyebrow { font: 11px/1.6 "Courier New", monospace; letter-spacing: .16em; font-weight: bold; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 20; padding: 16px; background: var(--accent); color: var(--bg); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 5; min-height: 80px; padding: 16px 40px; display: flex; align-items: center; gap: 40px; border-bottom: 1px solid var(--line); background: rgba(17, 20, 17, .96); }
.brand { display: inline-flex; align-items: center; white-space: nowrap; font-size: 18px; font-weight: 900; letter-spacing: -.04em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; margin-right: 12px; background: var(--accent); color: var(--bg); font-size: 15px; letter-spacing: -.08em; }
.brand-dot { color: var(--muted); }
.site-header nav { display: flex; gap: 28px; margin-left: auto; font-size: 13px; }
.site-header nav a { padding-block: 10px; }
.nav-count { color: var(--accent); font: 10px "Courier New", monospace; margin-left: 5px; }
.header-note { border-left: 1px solid var(--line); padding-left: 28px; color: var(--muted); font: 10px "Courier New", monospace; letter-spacing: .08em; }
.hero { position: relative; isolation: isolate; min-height: 720px; min-height: min(820px, calc(100svh - 80px)); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-image { object-fit: cover; object-position: 65% center; }
.hero-shade { background: linear-gradient(90deg, rgba(12, 17, 14, .96) 0%, rgba(12, 17, 14, .82) 38%, rgba(12, 17, 14, .12) 100%), linear-gradient(0deg, var(--bg), transparent 35%); }
.hero-content { padding-block: 78px 112px; }
.hero .eyebrow { color: var(--accent); display: flex; align-items: center; gap: 10px; }
.signal { width: 7px; height: 7px; background: var(--accent); box-shadow: 0 0 12px #d9ef8560; }
h1 { margin-top: 30px; font-size: clamp(42px, 5.5vw, 82px); line-height: 1.04; letter-spacing: -.055em; font-weight: 800; }
h1 em { color: var(--accent); font-style: normal; }
.hero-intro { max-width: 450px; margin-top: 30px; color: #d3d7cc; font-size: 16px; line-height: 1.7; }
.button { min-height: 52px; display: inline-flex; justify-content: space-between; align-items: center; gap: 32px; padding: 17px 22px; font-size: 14px; font-weight: bold; transition: background .2s, transform .2s; }
.button-primary { background: var(--accent); color: #111411; }
.button-primary:hover { background: #f1f0e7; transform: translateY(-2px); }
.hero .button { margin-top: 32px; }
.hero-bottom { position: absolute; bottom: 28px; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; font: 10px "Courier New", monospace; letter-spacing: .08em; color: #c2c8b7; }
.hero-bottom a { padding: 10px 0; }
.hero-bottom a span { margin-left: 18px; color: var(--accent); font-size: 18px; }
.hero-caption { position: absolute; right: 24px; top: 30px; writing-mode: vertical-rl; font: 9px "Courier New", monospace; letter-spacing: .15em; color: #e8ecdf; }
.collection { padding-block: 88px 90px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.section-heading .eyebrow { color: var(--accent); margin-bottom: 12px; }
.section-heading h2 { font-size: clamp(30px, 3.1vw, 44px); letter-spacing: -.04em; }
.section-heading > p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.game-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.index-item { position: relative; display: flex; flex-direction: column; padding: 20px; border-left: 1px solid var(--line); transition: background .2s; }
.index-item:first-child { border-left: 0; }
.index-item:hover { background: var(--surface); }
.index-number { font: 11px "Courier New", monospace; color: var(--accent); margin-bottom: 18px; }
.index-item img { width: 100%; aspect-ratio: 16/9; object-fit: cover; filter: saturate(.75); }
.index-title { font-size: 17px; font-weight: bold; line-height: 1.3; margin-top: 20px; padding-right: 18px; }
.index-title small { display: block; margin-top: 8px; font-size: 11px; font-weight: normal; color: var(--muted); }
.index-arrow { position: absolute; bottom: 20px; right: 16px; color: var(--accent); }
.game-section { border-top: 1px solid var(--line); padding-block: 96px; }
.bunker21 { --accent: #e5bc78; }
.bunker23 { --accent: #ec997a; background: #171713; }
.alternate { --accent: #b2d8de; }
.stranger { --accent: #c4c9a1; background: #171b17; }
.game-layout { display: grid; grid-template-columns: .85fr 1.3fr; align-items: center; gap: 80px; }
.game-copy .eyebrow { color: var(--accent); margin-bottom: 24px; }
.chapter { color: var(--muted); margin-right: 10px; }
.game-copy h2 { font-size: clamp(42px, 4.5vw, 68px); line-height: 1; letter-spacing: -.05em; }
.game-copy h2 span { color: var(--accent); }
.game-copy h2.long-title { font-size: clamp(30px, 3.25vw, 48px); line-height: 1.1; }
.game-subtitle { font: 11px "Courier New", monospace; letter-spacing: .16em; color: var(--accent); margin-top: 14px; }
.game-hook { font-size: 24px; line-height: 1.25; letter-spacing: -.025em; margin-top: 28px; }
.game-description { font-size: 14px; color: var(--muted); line-height: 1.85; margin-top: 22px; max-width: 450px; }
.features { list-style: none; padding: 0; margin: 24px 0 30px; }
.features li { position: relative; padding: 9px 0 9px 20px; border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1.5; }
.features li::before { content: "+"; position: absolute; left: 0; color: var(--accent); font-family: "Courier New", monospace; }
.game-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.button-store { font-size: 11px; font-weight: normal; }
.text-link { display: inline-block; font-size: 12px; padding-block: 8px; border-bottom: 1px solid var(--line); }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.platform-note { margin-top: 14px; font: 10px "Courier New", monospace; color: var(--muted); }
.game-visuals { min-width: 0; }
.screenshot { display: block; position: relative; border: 1px solid var(--line); }
.screenshot img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: filter .2s; }
.screenshot:hover img { filter: brightness(1.12); }
.image-corner { position: absolute; right: 0; bottom: 0; display: grid; place-items: center; width: 32px; height: 32px; color: var(--accent); background: var(--bg); font-size: 20px; }
.visual-bottom { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 28px; margin-top: 28px; }
.field-note { font-size: 13px; line-height: 1.8; color: var(--muted); padding-left: 18px; border-left: 2px solid var(--accent); }
.field-note span { display: block; margin-bottom: 12px; font: 9px/1.6 "Courier New", monospace; letter-spacing: .06em; color: var(--accent); }
.catalog-jump { margin-top: 24px; }
.catalog-jump span { margin-left: 16px; color: var(--accent); }
.catalog-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 88px; }
.catalog-section .section-heading > p { max-width: 380px; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.project-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--surface); }
.project-card > img { width: 100%; aspect-ratio: 16/9; object-fit: contain; background: #111411; border-bottom: 1px solid var(--line); }
.project-body { flex: 1; padding: 24px; display: flex; flex-direction: column; align-items: start; }
.project-status { margin-bottom: 16px; color: var(--muted); font: 10px/1.6 "Courier New", monospace; }
.project-status.paused { color: #e5bc78; }
.project-body h3 { margin: 0; font-size: 22px; letter-spacing: -.03em; line-height: 1.2; }
.project-body h3 span { display: block; font-size: 13px; font-weight: normal; line-height: 1.5; letter-spacing: 0; margin-top: 6px; color: var(--muted); }
.project-description { color: var(--muted); font-size: 13px; line-height: 1.8; margin-block: 16px 20px; }
.project-body .text-link { margin-top: auto; }
.author-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-block: 100px; }
.author-heading .eyebrow { color: var(--accent); margin-bottom: 24px; }
.author-heading h2 { font-size: clamp(42px, 4.5vw, 66px); line-height: 1.05; letter-spacing: -.05em; }
.author-heading h2 span { color: var(--accent); }
.author-copy { align-self: center; }
.author-copy > p { color: var(--muted); font-size: 15px; line-height: 1.8; margin-bottom: 18px; }
.author-copy p.author-name { font-size: 21px; color: var(--text); font-weight: bold; }
.author-name span { font-size: 12px; color: var(--muted); font-weight: normal; }
.author-links { display: flex; gap: 28px; flex-wrap: wrap; }
.closing { display: flex; justify-content: space-between; align-items: center; gap: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 32px; }
.closing > span { font: 11px "Courier New", monospace; color: var(--accent); }
.closing a { font-size: clamp(18px, 2.4vw, 32px); letter-spacing: -.03em; }
.closing a span { color: var(--accent); margin-left: 20px; }
.site-footer { padding-block: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer p, .site-footer > a:last-child { font-size: 11px; color: var(--muted); }
.lightbox { max-width: min(1280px, 94vw); max-height: 94svh; padding: 52px 14px 14px; background: var(--bg); color: var(--text); border: 1px solid var(--line); }
.lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.lightbox img { max-height: calc(94svh - 110px); width: auto; margin-inline: auto; object-fit: contain; }
.lightbox-close { position: absolute; right: 14px; top: 10px; border: 0; background: none; color: var(--text); min-height: 32px; padding: 6px 10px; cursor: pointer; font-size: 12px; }
.lightbox-close span { margin-left: 16px; font-size: 22px; vertical-align: middle; }
.lightbox p { text-align: center; margin-top: 12px; font: 10px "Courier New", monospace; color: var(--muted); }

@media (min-width: 1600px) { .hero-shade { background: linear-gradient(90deg, #111411e8, #11141180 55%, #11141115), linear-gradient(0deg, var(--bg), transparent 40%); } }
@media (max-width: 1100px) {
    .wrap { width: calc(100% - 64px); }
    .header-note { display: none; }
    .game-layout { gap: 40px; grid-template-columns: 1fr 1.15fr; }
    .game-copy h2.long-title { font-size: 34px; }
    .visual-bottom { grid-template-columns: 1fr; gap: 20px; }
    .screenshot-detail { width: 75%; margin-left: auto; }
    .index-title { font-size: 15px; }
    .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    html { scroll-padding-top: 78px; }
    .wrap { width: calc(100% - 40px); }
    .site-header { min-height: 68px; padding: 12px 20px; gap: 20px; }
    .brand { font-size: 16px; }
    .brand-mark { width: 28px; height: 28px; font-size: 12px; margin-right: 8px; }
    .site-header nav { gap: 20px; font-size: 12px; }
    .nav-count { display: none; }
    .hero { min-height: 660px; }
    .hero-image { object-position: 58% center; }
    .hero-shade { background: linear-gradient(90deg, #111411d9, #11141160), linear-gradient(0deg, var(--bg), transparent 55%); }
    .hero-content { padding-block: 70px 120px; }
    h1 { font-size: clamp(38px, 7.6vw, 56px); }
    .hero-intro { font-size: 14px; max-width: 350px; }
    .hero-caption { display: none; }
    .hero-bottom { flex-direction: column; align-items: start; gap: 10px; font-size: 9px; }
    .collection { padding-block: 56px; }
    .section-heading { flex-direction: column; align-items: start; gap: 20px; }
    .game-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .index-item { padding: 16px; }
    .index-item:nth-child(3) { border-left: 0; }
    .index-item:nth-child(n+3) { border-top: 1px solid var(--line); }
    .game-section { padding-block: 56px; }
    .game-layout { grid-template-columns: 1fr; gap: 32px; }
    .game-copy h2 { font-size: 56px; }
    .game-copy h2.long-title { font-size: 40px; }
    .game-description { max-width: none; }
    .features { max-width: 450px; }
    .visual-bottom { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
    .screenshot-detail { width: 100%; }
    .field-note { font-size: 11px; padding-left: 12px; }
    .field-note span { font-size: 8px; }
    .catalog-section { padding-block: 56px; }
    .project-grid { grid-template-columns: 1fr; gap: 20px; }
    .author-section { padding-block: 60px; grid-template-columns: 1fr; gap: 32px; }
    .author-name span { display: block; }
    .closing { flex-direction: column; align-items: start; gap: 18px; }
    .site-footer { flex-wrap: wrap; }
}
@media (max-width: 380px) {
    .site-header nav { gap: 12px; }
    .brand-mark { display: none; }
    h1 { font-size: 34px; }
    .game-copy h2.long-title { font-size: 34px; }
    .index-item { padding: 12px; }
    .index-title { font-size: 14px; }
    .visual-bottom { grid-template-columns: 1fr; }
    .screenshot-detail { width: 80%; margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
