/* Venue Simulator site. Colours follow the game's light UI (game/src/UI/UiTheme.cs, Pal). */
@font-face {
  font-family: "Blueprint Sketch";
  src: url("/assets/fonts/BlueprintSketch.woff2") format("woff2"), url("/assets/fonts/BlueprintSketch.otf") format("opentype");
  font-display: swap;
}
@font-face {
  font-family: "Blueprint Sketch Solid";
  src: url("/assets/fonts/BlueprintSketch-Solid.woff2") format("woff2"), url("/assets/fonts/BlueprintSketch-Solid.otf") format("opentype");
  font-display: swap;
}

:root {
  --ink: #1e2b3b;
  --ink-soft: #5d6d82;
  --accent: #2e8fd8;
  --accent-dark: #1f76bc;
  --edge: #cbd4de;
  --panel: #f6f8fb;
  --paper: #ffffff;
  --blueprint: #1d4f8f;
  --radius: 8px;
  --sketch: "Blueprint Sketch", "Blueprint Sketch Solid", "Segoe UI", system-ui, sans-serif;
  --solid: "Blueprint Sketch Solid", "Segoe UI", system-ui, sans-serif;
  --body: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--body);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); }
a:hover { color: var(--ink); }
/* Every heading uses the game's own Blueprint Sketch font */
h1, h2, h3 { font-family: var(--sketch); font-weight: normal; color: var(--blueprint); line-height: 1.15; margin: 0 0 .5em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 740px; }

/* Top bar: white strip with the game's blue line under it */
.top { border-bottom: 3px solid var(--accent); background: var(--paper); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand {
  font-family: var(--sketch);
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 25px;
  color: var(--blueprint);
  text-decoration: none;
  white-space: nowrap;
}
.brand-sm { font-size: 15px; }
.nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; }
.nav > a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav > a:not(.btn):hover, .nav > a[aria-current] { border-bottom-color: var(--accent); }

/* Buttons: same shapes as the game's PrimaryButton */
.btn {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid var(--accent-dark);
  line-height: 1.3;
}
.btn-steam { background: var(--accent); color: #fff; }
.btn-steam:hover { background: #45a0e6; color: #fff; }
.btn-steam.is-soon { background: #a9c4dc; border-color: #a9c4dc; color: #fff; cursor: default; }
.btn-ghost { background: #eef2f6; border-color: var(--edge); color: var(--ink); }
.btn-ghost:hover { background: #e4e9ef; }

/* Hero */
.hero { background: var(--panel); border-bottom: 1px solid var(--edge); }
.hero-in { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.kicker { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 700; color: var(--accent-dark); margin: 0 0 12px; }
.hero h1 { font-family: var(--sketch); font-weight: normal; font-size: clamp(36px, 5vw, 58px); color: var(--blueprint); }
.lede { font-size: 19px; color: var(--ink-soft); margin: 0 0 24px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Framed pictures, like the game's windows: white, thin edge, thick blue top */
.hero-shot, .shot, .post-cover, .prose img {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--edge);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-shot { box-shadow: 0 3px 8px rgba(0, 0, 0, .12); }

/* Three-part pitch */
.pitch { padding-top: 56px; padding-bottom: 24px; }
.pitch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pitch h2 { font-family: var(--sketch); font-weight: normal; font-size: 34px; color: var(--blueprint); }
.pitch p { margin: 0; }

.section-title { text-transform: uppercase; letter-spacing: .02em; font-size: 32px; }

/* Screenshots */
.shots { padding: 40px 0 16px; }
.shot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.shot-wide { grid-column: 1 / -1; }
.shot figcaption { padding: 10px 14px 12px; font-size: 15px; color: var(--ink-soft); }
.build-note { font-size: 14px; color: var(--ink-soft); margin: 14px 0 0; }

.section-lede { max-width: 760px; color: var(--ink-soft); margin: 0 0 28px; }

/* Numbers strip under the hero */
.facts { border-bottom: 1px solid var(--edge); }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 auto; }
.facts-in > div { padding: 20px 16px 18px; border-left: 1px solid var(--edge); }
.facts-in > div:first-child { border-left: 0; padding-left: 0; }
.facts dt { font-family: var(--sketch); font-size: 42px; line-height: 1; color: var(--accent-dark); }
.facts dd { margin: 6px 0 0; font-size: 14px; color: var(--ink-soft); }

/* One night: a horizontal run sheet */
.night { padding: 48px 0 8px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); counter-reset: none; }
.timeline li { position: relative; padding: 22px 16px 0 0; border-top: 3px solid var(--accent); }
.timeline li::before {
  content: ""; position: absolute; top: -9px; left: 0;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--accent);
}
.timeline li:nth-child(4) { border-top-color: #d8573e; }
.timeline li:nth-child(4)::before { border-color: #d8573e; background: #d8573e; }
.tl-time { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.timeline h3 { font-size: 24px; margin: 6px 0 6px; }
.timeline p { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* Systems: cards styled like in-game windows, each with a spec table */
.systems { padding: 48px 0 24px; }
.sys-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.sys {
  background: var(--paper);
  border: 1px solid var(--edge);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 20px 14px;
  scroll-margin-top: 16px;
  display: flex;
  flex-direction: column;
}
.sys .spec { margin-bottom: 12px; }
.sys .sys-links { margin-top: auto; }
.sys:target { box-shadow: 0 0 0 3px rgba(46, 143, 216, .35); }
.sys h3 { text-transform: uppercase; letter-spacing: .02em; font-size: 25px; margin-bottom: 10px; }
.sys > p { margin: 0 0 14px; font-size: 15.5px; }
.spec { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.spec th, .spec td { padding: 6px 0; border-top: 1px solid #e4e9ef; vertical-align: top; text-align: left; }
.spec th { font-weight: 600; color: var(--ink-soft); padding-right: 16px; width: 46%; }
.spec td { color: var(--ink); }
.sys-links { margin: 0; font-size: 13px; color: var(--ink-soft); }
.sys-links span { text-transform: uppercase; letter-spacing: .05em; font-weight: 700; margin-right: 2px; }
.sys-links a { display: inline-block; margin: 2px 0 0 6px; padding: 1px 8px; border: 1px solid var(--edge); border-radius: 999px; background: var(--panel); text-decoration: none; color: var(--accent-dark); }
.sys-links a:hover { border-color: var(--accent); }

.roadmap { margin-top: 24px; padding: 18px 20px; background: var(--panel); border: 1px dashed #9fb3c8; border-radius: var(--radius); }
.roadmap h3 { font-size: 22px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 8px; }
.roadmap ul { margin: 0; padding-left: 20px; }
.roadmap li { margin: 4px 0; }

/* Latest devlog posts, high on the home page */
.latest { padding-top: 40px; padding-bottom: 8px; }
.latest-head { margin-bottom: 14px; }
.post-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.post-card {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--edge);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: box-shadow .15s, transform .15s;
}
.post-card:hover { box-shadow: 0 6px 18px rgba(30, 43, 59, .14); transform: translateY(-2px); color: var(--ink); }
.post-card img { aspect-ratio: 16 / 8; object-fit: cover; width: 100%; }
.pc-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px 18px; }
.pc-body time { font-size: 13px; color: var(--ink-soft); }
.pc-body time b { color: #d8573e; text-transform: uppercase; letter-spacing: .05em; font-size: 12px; }
.pc-title { font-family: var(--sketch); font-size: 26px; line-height: 1.2; color: var(--blueprint); }
.pc-desc { font-size: 15px; color: var(--ink-soft); }

/* Post lists */
.latest-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--edge); }
.post-list li { padding: 18px 0; border-bottom: 1px solid var(--edge); }
.post-list time { display: block; font-size: 14px; color: var(--ink-soft); }
.post-list a { font-family: var(--sketch); font-size: 26px; line-height: 1.2; text-decoration: none; color: var(--blueprint); }
.post-list a:hover { color: var(--accent-dark); }
.post-list p { margin: 4px 0 0; color: var(--ink-soft); }

/* Blueprint band */
.wishlist {
  background-color: var(--blueprint);
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 24px 24px;
  color: #fff;
}
.wishlist-in { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; padding-top: 48px; padding-bottom: 48px; flex-wrap: wrap; }
.wishlist h2 { font-size: 40px; color: #fff; }
.wishlist p { margin: 0; max-width: 560px; color: #dbe7f5; }
.wishlist .btn-steam { background: #fff; color: var(--blueprint); border-color: #fff; font-size: 17px; padding: 12px 24px; }
.wishlist .btn-steam.is-soon { background: transparent; color: #fff; border: 1px dashed rgba(255, 255, 255, .7); }

/* Pages and posts */
.page-head { padding-top: 48px; padding-bottom: 8px; }
.page-head h1, .post-head h1 { font-family: var(--sketch); font-weight: normal; font-size: clamp(34px, 5vw, 50px); color: var(--blueprint); }
.post-list-full { margin-bottom: 64px; }
.post { padding-top: 32px; padding-bottom: 64px; }
.back { font-size: 15px; text-decoration: none; }
.post-head { margin: 24px 0; }
.meta { margin: 0 0 8px; font-size: 14px; color: var(--ink-soft); }
.post-cover { margin-bottom: 32px; }
.prose h2 { text-transform: uppercase; letter-spacing: .02em; font-size: 30px; margin-top: 1.6em; }
.prose h3 { font-size: 24px; margin-top: 1.5em; }
.prose img { margin: 28px 0; }
.prose li { margin: 6px 0; }
.prose blockquote { margin: 24px 0; padding: 4px 18px; border-left: 4px solid var(--accent); background: var(--panel); color: var(--ink-soft); }
.prose code { background: var(--panel); border: 1px solid var(--edge); border-radius: 4px; padding: 1px 5px; font-size: .9em; }
.prose hr { border: 0; border-top: 1px solid var(--edge); margin: 32px 0; }
.post-foot { margin-top: 48px; padding: 20px; background: var(--panel); border: 1px solid var(--edge); border-top: 4px solid var(--accent); border-radius: var(--radius); }
.post-foot p { margin: 0 0 14px; }

/* Footer */
.foot { border-top: 1px solid var(--edge); background: var(--panel); font-size: 14px; color: var(--ink-soft); }
.foot-in { display: flex; gap: 8px 24px; align-items: center; flex-wrap: wrap; padding-top: 24px; padding-bottom: 24px; }
.foot-in a { margin-left: auto; }

@media (max-width: 1040px) {
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
}

@media (max-width: 820px) {
  .hero-in { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; padding-bottom: 36px; }
  .pitch-grid { grid-template-columns: 1fr; gap: 20px; }
  .shot-grid { grid-template-columns: 1fr; }
  .facts-in { grid-template-columns: 1fr 1fr; }
  .facts-in > div { border-left: 0; padding-left: 0; border-top: 1px solid var(--edge); }
  .facts-in > div:nth-child(-n+2) { border-top: 0; }
  .timeline { grid-template-columns: 1fr; }
  .timeline li { border-top: 0; border-left: 3px solid var(--accent); padding: 0 0 20px 22px; }
  .timeline li::before { top: 0; left: -9px; }
  .timeline li:nth-child(4) { border-left-color: #d8573e; }
  .sys-grid { grid-template-columns: 1fr; }
  .post-cards { grid-template-columns: 1fr; }
  .foot-in a { margin-left: 0; }
}
