:root {
  color-scheme: dark;
  --bg: #151412;
  --bg-2: #1c1a17;
  --paper: #e9e2d3;
  --text: #f3eee5;
  --muted: #b3ab9f;
  --line: #34302b;
  --accent: #d4774c;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; letter-spacing: .01em; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); z-index: 99; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--paper); outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 20px; z-index: 120; padding: 10px 16px; background: var(--paper); color: var(--bg); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.js-only { display: none !important; }
.js .js-only { display: inline-flex !important; }
.js .js-only[hidden] { display: none !important; }
header { position: sticky; top: 0; z-index: 20; background: rgba(21,20,18,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { min-height: 76px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-block: 14px; }
.brand { font-size: 15px; font-weight: 750; letter-spacing: .025em; }
.brand h1 { margin: 0; font-size: inherit; font-weight: inherit; }
.language-selector { display: flex; gap: 4px; align-items: center; padding: 4px; border: 1px solid var(--line); border-radius: 4px; }
.language-selector a { display: block; padding: 7px 11px; font-size: 12px; color: var(--muted); border-radius: 2px; white-space: nowrap; }
.language-selector a:hover { color: var(--text); background: #27231e; }
.language-selector a[aria-current="page"] { background: var(--paper); color: #211a14; }
section { padding: 64px 0; border-bottom: 1px solid var(--line); }
.hero { padding: 48px 0 42px; }
.hero-showcase { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); align-items: center; gap: 38px; }
.hero-copy, .hero-feature { min-width: 0; }
.hero-feature { width: 100%; max-width: 506px; margin-inline: auto; }
.eyebrow { margin: 0; color: var(--accent); text-transform: uppercase; font-size: 12px; font-weight: 800; letter-spacing: .17em; }
.hero-copy .eyebrow { margin-bottom: 30px; }
.intro { color: #cfc7bc; font-size: clamp(17px,1.75vw,21px); line-height: 1.65; max-width: 650px; margin: 0; }
.disc-carousel { display: grid; grid-template-columns: 42px minmax(0,1fr) 42px; align-items: center; gap: 6px; }
.disc-arrow { width: 42px; height: 42px; padding: 0; background: transparent; border: 1px solid #51483c; border-radius: 50%; align-items: center; justify-content: center; transition: background .18s, border-color .18s; }
.disc-arrow:hover { background: #30271f; border-color: var(--accent); }
.disc-arrow svg { width: 18px; height: 18px; }
.cd-stage { grid-column: 2; position: relative; isolation: isolate; width: 100%; max-width: 410px; justify-self: center; height: auto; aspect-ratio: 1; overflow: hidden; perspective: 1000px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.cd-stage.is-dragging { cursor: grabbing; }
.cd-stage::before { content: ""; position: absolute; z-index: -1; pointer-events: none; inset: 10%; background: radial-gradient(ellipse,rgba(203,106,55,.12),rgba(68,72,95,.07) 40%,transparent 70%); filter: blur(25px); }
.cd-webgl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; z-index: 2; cursor: inherit; touch-action: pan-y; transition: opacity .2s; }
.cd-stage.is-ready .cd-webgl { opacity: 1; }
.cd-stage.is-ready .cd-css-fallback { opacity: 0; visibility: hidden; }
.cd-css-fallback { position: absolute; z-index: 1; top: 50%; left: 50%; width: min(82%,345px); aspect-ratio: 1; transform: translate(-50%,-50%) rotateX(-8deg) rotateY(-15deg) rotateZ(-4deg); transform-style: preserve-3d; pointer-events: none; transition: opacity .2s; }
.cd-css-face { position: absolute; inset: 0; overflow: hidden; border-radius: 50%; backface-visibility: hidden; -webkit-backface-visibility: hidden; border: 3px solid #c7cfce; -webkit-mask: radial-gradient(circle closest-side,transparent 8.4%,#000 8.5%); mask: radial-gradient(circle closest-side,transparent 8.4%,#000 8.5%); background: #28313b; }
.cd-css-front img { width: 100%; height: 100%; object-fit: cover; object-position: 27% center; }
.cd-css-front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 52%,rgba(10,13,17,.05) 57%,rgba(10,13,17,.85) 91%); box-shadow: inset 0 0 12px #eef5f555; }
.cd-css-hub { position: absolute; z-index: 4; width: 10.8108%; height: 10.8108%; top: 50%; left: 50%; transform: translate(-50%,-50%); border: 1px solid #c2d0d9; border-radius: 50%; background: conic-gradient(#526575,#d5e3ea,#586b7d,#e0e7ed,#526575); -webkit-mask: radial-gradient(circle closest-side,transparent 78.125%,#000 79%); mask: radial-gradient(circle closest-side,transparent 78.125%,#000 79%); }
.disc-print-title { position: absolute; z-index: 3; width: 77%; left: 11.5%; bottom: 16.5%; text-align: center; font-size: clamp(14px,1.6vw,22px); font-weight: 800; line-height: 1.2; letter-spacing: .065em; text-shadow: 0 2px 6px #000; }
.disc-print-title span { display: block; }
.cd-css-back { transform: rotateY(180deg) translateZ(3px); background: repeating-radial-gradient(circle,transparent 0 5px,#fff1 6px 7px),conic-gradient(from 18deg,#637e93,#b1e7dc,#997cc1,#e7c396,#8399b9,#b1e7dc,#637e93); }
.disc-selection { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.game-pill { min-height: 36px; min-width: 70px; padding: 6px 15px; justify-content: center; border: 1px solid #51483c; background: transparent; color: var(--muted); font-size: 11px; letter-spacing: .12em; }
.game-pill:hover { border-color: var(--accent); color: var(--text); }
.game-pill.is-selected { color: var(--paper); border-color: var(--accent); background: #30231b; }
.section-heading { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 25px; }
.section-heading .section-note { color: var(--muted); font-size: 12px; margin: 0; }
.game-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; }
.game-card { min-width: 0; margin: 0; border: 1px solid var(--line); background: var(--bg-2); }
.game-image-link { display: block; overflow: hidden; }
.game-image-link img { width: 100%; height: auto; aspect-ratio: 16/9; }
.game-caption { padding: 23px 24px 24px; }
.game-caption .game-abbreviation { color: var(--accent); font-size: 10px; letter-spacing: .16em; }
.game-caption h3 { font-size: clamp(18px,2vw,23px); line-height: 1.25; font-weight: 650; letter-spacing: -.02em; margin: 8px 0 22px; }
.game-links { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; font-size: 12px; }
.steam-link { display: inline-flex; align-items: center; gap: 15px; padding-bottom: 3px; border-bottom: 1px solid #7d5b42; }
.steam-link:hover { border-color: var(--paper); }
.investment-map { padding-top: 8px; }
.investment-map-root { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; width: fit-content; max-width: 100%; margin: 0 auto 52px; padding: 18px 32px; text-align: center; border: 1px solid #65503e; background: #241e19; }
.investment-map-root strong { font-size: 16px; font-weight: 650; }
.investment-map-root span { color: var(--muted); font-size: 12px; }
.investment-map-root::after { content: ""; position: absolute; top: 100%; left: 50%; height: 27px; border-left: 1px solid #65503e; }
.investment-branches { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.investment-branch { position: relative; min-width: 0; }
.investment-branch::before { content: ""; position: absolute; top: -26px; left: -10px; width: calc(100% + 20px); border-top: 1px solid #65503e; }
.investment-branch:first-child::before { left: 50%; width: calc(50% + 10px); }
.investment-branch:last-child::before { width: calc(50% + 10px); }
.investment-branch::after { content: ""; position: absolute; top: -26px; left: 50%; height: 26px; border-left: 1px solid #65503e; }
.investment-project { min-height: 280px; height: 100%; padding: 24px 22px; border: 1px solid var(--line); border-top: 2px solid #6e655a; background: var(--bg-2); }
.investment-project--complete { border-top-color: #83b58d; }
.investment-project--funding { border-top-color: var(--accent); }
.investment-code { margin: 0 0 13px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .13em; }
.investment-project h3 { min-height: 2.7em; margin: 0 0 16px; font-size: 20px; line-height: 1.3; font-weight: 650; letter-spacing: -.02em; overflow-wrap: anywhere; }
.investment-statuses { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; }
.investment-status { display: inline-block; margin: 0 0 20px; border: 1px solid #51483c; border-radius: 3px; padding: 4px 8px; font-size: 11px; color: var(--muted); }
.investment-statuses .investment-status { margin: 0; }
.investment-project--complete .investment-status { color: #b3d8b9; border-color: #3c5742; background: #1f2b22; }
.investment-project--funding .investment-status { color: #f0b491; border-color: #704a35; background: #33251d; }
.investment-details { margin: 0; }
.investment-details > div + div { margin-top: 16px; }
.investment-details dt { color: var(--muted); font-size: 11px; margin-bottom: 4px; }
.investment-details dd { margin: 0; font-size: 13px; }
.investment-details dd.investment-note { margin-top: 6px; color: var(--muted); font-size: 12px; }
.investment-amount { color: var(--paper); font-size: 22px; font-weight: 650; font-variant-numeric: tabular-nums; }
.investment-sub { color: var(--muted); font-size: 12px; margin-left: 4px; }
.investment-need { color: var(--muted); font-size: 13px; margin: 0; }
.link-grid { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.link-card { flex: 1 1 240px; min-width: 0; background: var(--bg); padding: 28px; min-height: 160px; display: flex; flex-direction: column; justify-content: space-between; gap: 25px; transition: background .18s,color .18s; }
.link-card:hover { background: var(--paper); color: #151412; }
.link-card > span { color: var(--muted); font-size: 13px; }
.link-card:hover > span { color: #655e55; }
.link-card strong { font-size: 24px; letter-spacing: -.02em; }
footer { padding: 30px 0 38px; color: var(--muted); font-size: 12px; }
.footer-row { display: flex; justify-content: space-between; gap: 18px 24px; flex-wrap: wrap; }
@media (max-width:1000px) {
  .hero-showcase { grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: 20px; }
  .hero-copy .intro { font-size: 18px; }
  .disc-carousel { grid-template-columns: 36px minmax(0,1fr) 36px; gap: 2px; }
  .disc-arrow { width: 36px; height: 36px; }
  .investment-branches { position: relative; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 36px; }
  .investment-branches::before { content: ""; position: absolute; top: -26px; bottom: 0; left: 50%; border-left: 1px solid #65503e; }
  .investment-branch::before { display: none; }
  .investment-branch::after { top: 30px; left: -18px; width: 18px; height: 0; border-left: 0; border-top: 1px solid #65503e; }
  .investment-branch:nth-child(odd)::after { left: auto; right: -18px; }
}
@media (max-width:780px) {
  section { padding: 48px 0; }
  .hero { padding: 40px 0 36px; }
  .hero-showcase { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .hero-copy .eyebrow { margin-bottom: 20px; }
  .hero-copy .intro { max-width: 680px; }
  .hero-feature { max-width: 506px; width: 100%; margin-inline: auto; }
  .disc-print-title { font-size: clamp(14px,4.4vw,22px); }
  .game-gallery { gap: 18px; }
  .game-caption { padding: 18px; }
  .link-card { flex-basis: 240px; padding: 24px; }
}
@media (max-width:560px) {
  .wrap { width: calc(100% - 32px); }
  .nav { gap: 12px; }
  .brand { font-size: 14px; }
  .language-selector { gap: 2px; padding: 3px; }
  .language-selector a { font-size: 11px; padding: 7px 8px; }
  .game-gallery { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .game-caption h3 { font-size: 21px; }
  .disc-carousel { grid-template-columns: 34px minmax(0,1fr) 34px; }
  .disc-arrow { width: 34px; height: 34px; }
  .disc-print-title { font-size: clamp(12px,4.25vw,21px); }
  .link-card { min-height: 135px; }
  .investment-branches { grid-template-columns: minmax(0,1fr); gap: 18px; padding-left: 24px; border-left: 1px solid #65503e; margin-left: 12px; }
  .investment-branches::before { display: none; }
  .investment-map-root { margin: 0 0 28px; width: 100%; padding: 18px; }
  .investment-map-root::after { left: 12px; height: 29px; }
  .investment-branch::before { display: none; }
  .investment-branch::after, .investment-branch:nth-child(odd)::after { top: 30px; left: -24px; right: auto; width: 24px; height: 0; border-left: 0; border-top: 1px solid #65503e; }
  .investment-project { min-height: 0; padding: 22px; }
  .investment-project h3 { min-height: 0; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
