/* Game site only. */
/* Title with its intro above the designer section. */
.game-hero { display: grid; gap: clamp(24px, 4vw, 40px); padding-block: 56px 72px; }
.hero-title { font-size: clamp(38px, 6vw, 76px); letter-spacing: -0.035em; }
.hero-copy { display: grid; gap: 14px; margin-top: calc(-1 * clamp(8px, 2vw, 20px)); }
.hero-copy .lead { color: #cfd3d8; font-size: 18px; max-width: 75ch; }
.hero-invite { color: var(--muted); font-size: 15px; }

.viewer-btn { min-width: 44px; min-height: 36px; padding: 0 12px; border: 1px solid var(--rule-strong); background: transparent; color: var(--text); font: 600 13px/1 var(--font-mono); cursor: pointer; }
.viewer-btn:hover { border-color: var(--accent); color: var(--accent); }

.designer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.designer-copy { display: grid; gap: 20px; }
.designer-shot { display: grid; gap: 10px; }
.designer-shot img { border: 1px solid var(--rule-strong); width: 100%; }
.designer-shot figcaption { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; font-size: 14px; color: var(--muted); }

.shots-note { margin-block: 12px 28px; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.gallery figure { display: grid; gap: 8px; }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid var(--rule); }
.gallery a:hover img { border-color: var(--accent); }
.gallery figcaption { font-size: 14px; color: var(--muted); }

/* Screenshot viewer: a native dialog over the darkened page. Without script the links open the image. */
.viewer { width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--rule-strong); background: var(--surface); color: var(--text); }
.viewer::backdrop { background: rgba(5, 7, 10, 0.82); }
.viewer img { display: block; width: 100%; max-height: calc(100vh - 140px); object-fit: contain; background: var(--bg); }
.viewer-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--rule); }
.viewer-caption { flex: 1 1 auto; min-width: 0; font-size: 14px; color: var(--muted); }
.viewer-count { font: 600 12px/1 var(--font-mono); color: var(--muted); font-variant-numeric: tabular-nums; }

.cta-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 64px); }
.cta { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.cta p { color: #cfd3d8; font-size: 18px; max-width: 48ch; }
.cta .button { margin-top: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Roadmap */
.page-head { padding-block: 64px 32px; display: grid; gap: 16px; }
.page-head h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.03em; }
.page-head .lead { max-width: 60ch; color: #cfd3d8; font-size: 18px; }
.phases { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.phase { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px 32px; padding-block: 28px; border-bottom: 1px solid var(--rule); }
.phase-state { font: 700 12px/1.6 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; display: grid; gap: 6px; align-content: start; }
.state { justify-self: start; padding: 2px 8px; border: 1px solid currentColor; }
.state.done { color: var(--ok); }
.state.now { color: var(--accent); background: rgba(154, 220, 232, .08); }
.state.next { color: var(--muted); }
.phase-body { display: grid; gap: 10px; }
.phase-body ul { padding-left: 18px; color: #c4c9cf; display: grid; gap: 4px; }
@media (max-width: 640px) { .phase { grid-template-columns: 1fr; } }

/* Support */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tier { display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--rule-strong); background: var(--surface); }
.tier h3 { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.tier p { color: #c4c9cf; }
.tier > .text-link:last-child, .tier > .placeholder:last-child { margin-top: auto; align-self: flex-start; }
.tier > p:has(+ .text-link:last-child), .tier > p:has(+ .placeholder:last-child) { margin-bottom: 12px; }
.band.no-rule { border-top: 0; }

/* Report form */
.report-layout { padding-bottom: 64px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: start; }
.report-form { display: grid; gap: 18px; }
.row-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 18px; }
.aside { display: grid; gap: 16px; padding: 20px; border: 1px solid var(--rule); background: var(--surface); }
.counter { font: 12px/1 var(--font-mono); color: var(--muted); justify-self: end; font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
	.game-hero, .designer, .report-layout, .tiers, .cta-pair { grid-template-columns: minmax(0, 1fr); }
}
