/* Lumka's own colours and type, as in the game. */
@font-face { font-family: "Bricolage"; src: url("fonts/BricolageGrotesque.ttf") format("truetype"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "JBMono"; src: url("fonts/JetBrainsMono.ttf") format("truetype"); font-weight: 100 800; font-display: swap; }

:root {
  --paper: #11161b; --panel: #182028; --ink: #dfe6ea; --dim: #8492a0; --line: #27323c;
  --t0: #8d9bff; --t1: #ff7a59; --t2: #3fd0c8; --t3: #a6d14f; --gold: #edb93b; --glitch: #4dff9c;
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Bricolage", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.mono { font-family: "JBMono", ui-monospace, Menlo, monospace; }

/* top bar */
header.bar { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
header.bar .name { font-weight: 800; font-size: 24px; letter-spacing: -0.03em; text-decoration: none; display: flex; align-items: center; gap: 10px; }
header.bar .name img { width: 34px; height: 34px; border-radius: 8px; }
header.bar nav { display: flex; gap: 18px; font-size: 15px; }
header.bar nav a { color: var(--dim); text-decoration: none; }
header.bar nav a:hover, header.bar nav a[aria-current] { color: var(--ink); }

/* home */
.hero { padding: 46px 0 30px; }
.tag { font-family: "JBMono", ui-monospace, monospace; font-size: 13px; color: var(--dim); letter-spacing: 0.02em; }
h1 { font-size: clamp(54px, 13vw, 116px); line-height: 0.95; letter-spacing: -0.05em; font-weight: 800; margin: 6px 0 22px; }
.lead { font-size: clamp(19px, 2.6vw, 24px); line-height: 1.45; max-width: 30em; margin: 0 0 12px; }
.lead.dim { color: var(--dim); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.button {
  display: inline-block; background: var(--gold); color: var(--paper); font-weight: 700; font-size: 18px;
  padding: 15px 26px; border-radius: 5px; text-decoration: none;
}
.button:hover { color: var(--paper); filter: brightness(1.08); }
.cta .note { font-family: "JBMono", ui-monospace, monospace; font-size: 13px; color: var(--dim); }

.strip { display: flex; height: 6px; gap: 4px; margin: 40px 0 0; }
.strip i { flex: 1; border-radius: 1px; }
.strip i:nth-child(1) { background: var(--t0); } .strip i:nth-child(2) { background: var(--t1); }
.strip i:nth-child(3) { background: var(--t2); } .strip i:nth-child(4) { background: var(--t3); }

.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 40px 0 10px; }
.shots img { width: 100%; height: auto; display: block; border-radius: 18px; border: 1px solid var(--line); }
@media (max-width: 720px) {
  .shots { grid-auto-flow: column; grid-auto-columns: 62%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 40px 20px 14px; }
  .shots img { scroll-snap-align: center; }
}

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 34px 0; }
@media (max-width: 720px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--panel); border-radius: 5px; padding: 20px 22px 20px 26px; position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c, var(--gold)); }
.card h2 { font-size: 21px; letter-spacing: -0.02em; margin: 0 0 6px; }
.card p { margin: 0; color: #aab5bd; font-size: 16px; }

/* text pages */
.doc { max-width: 720px; padding: 26px 0 40px; }
.doc h1 { font-size: clamp(40px, 8vw, 64px); margin: 4px 0 18px; }
.doc h2 { font-size: 24px; letter-spacing: -0.02em; margin: 38px 0 8px; }
.doc p, .doc li { color: #c4ced4; }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.doc .box { background: var(--panel); border-radius: 5px; padding: 18px 22px; margin: 22px 0; border-left: 4px solid var(--gold); }
.doc .box p { margin: 0; }
table { border-collapse: collapse; width: 100%; margin: 14px 0; font-size: 15.5px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); color: #c4ced4; }
th { color: var(--dim); font-family: "JBMono", ui-monospace, monospace; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.table-scroll { overflow-x: auto; }

footer { border-top: 1px solid var(--line); margin-top: 30px; padding: 24px 0 44px; font-size: 14px; color: var(--dim); display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
footer a { color: var(--dim); }
