:root {
  --bg: #0e0e0f;
  --panel: #18181a;
  --line: #2e2e32;
  --text: #ededed;
  --muted: #a8a8ae;
  --red: #e0261f;
  --yellow: #f7c919;
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--body); }
a { color: var(--yellow); }
a:hover { color: #fff; }
h1, h2, h3 { font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; line-height: 1.1; margin: 0 0 .5rem; font-weight: 400; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); color: var(--yellow); }
h2 { font-size: 1.6rem; color: var(--red); border-bottom: 2px solid var(--line); padding-bottom: .3rem; margin-top: 2.2rem; }
h3 { font-size: 1.15rem; color: var(--yellow); margin-top: 1rem; }
.top { display: flex; flex-wrap: wrap; gap: .5rem 2rem; align-items: center; justify-content: space-between; padding: .9rem clamp(1rem, 4vw, 3rem); border-bottom: 3px solid var(--red); background: #000; }
.brand { font-family: var(--display); text-transform: uppercase; letter-spacing: .05em; font-size: 1.3rem; color: var(--yellow); text-decoration: none; }
nav a { color: var(--text); text-decoration: none; margin-right: 1.2rem; text-transform: uppercase; font-size: .9rem; letter-spacing: .08em; padding-bottom: 2px; }
nav a[aria-current="page"], nav a:hover { color: var(--yellow); border-bottom: 2px solid var(--yellow); }
main { max-width: 62rem; margin: 0 auto; padding: 1.5rem clamp(1rem, 4vw, 2rem) 3rem; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; padding: 1.2rem clamp(1rem, 4vw, 3rem); }
.eyebrow { text-transform: uppercase; letter-spacing: .15em; color: var(--red); font-size: .8rem; margin: 0 0 .3rem; font-weight: 700; }
.muted, small { color: var(--muted); }
small { display: block; font-size: .78rem; font-weight: 400; }
.big { font-size: 1.25rem; }
.quote { font-style: italic; color: var(--muted); }
.landing { padding: 1.5rem 0 .5rem; }
.empty { background: var(--panel); border: 1px dashed var(--line); padding: 1rem; color: var(--muted); }
section p { max-width: 46rem; }

.hero { display: grid; grid-template-columns: minmax(10rem, 16rem) 1fr; gap: 1.5rem; align-items: end; }
.portrait { width: 100%; height: auto; max-height: 28rem; object-fit: contain; background: #f2efe8; border: 3px solid var(--yellow); border-radius: 4px; }
.placeholder { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 4; background: var(--panel); color: var(--yellow); font-family: var(--display); font-size: 4rem; border-style: dashed; }
.sub { font-size: 1.2rem; margin: .2rem 0; }

.vitals, .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: .6rem; }
.vitals > div, .stat { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--red); padding: .6rem .8rem; }
.label { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; color: var(--muted); }
.big, .value { font-family: var(--display); font-size: 1.9rem; color: var(--yellow); }
.vitals .big { display: block; }
.stat .value { font-size: 2rem; }
.stat .mod { margin-left: .5rem; color: var(--text); font-weight: 700; }

.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin: .4rem 0 1rem; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: .45rem .6rem; border-bottom: 1px solid var(--line); }
thead th { color: var(--muted); text-transform: uppercase; font-size: .72rem; letter-spacing: .08em; border-bottom: 2px solid var(--red); }
tbody th { font-weight: 600; }
.r { text-align: right; width: 4.5rem; }
td.nowrap { white-space: nowrap; }
tbody tr:hover { background: var(--panel); }

.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 0 2rem; }
ul { padding-left: 1.2rem; }
li { margin: .3rem 0; }
.features { list-style: none; padding: 0; }
.features li { background: var(--panel); border-left: 4px solid var(--yellow); padding: .6rem .8rem; margin: .5rem 0; }
.tag { display: inline-block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #000; background: var(--yellow); padding: 0 .4rem; border-radius: 2px; margin-left: .3rem; }
.story dt { font-family: var(--display); text-transform: uppercase; color: var(--yellow); margin-top: .8rem; }
.story dd { margin: 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem; margin: 1rem 0; }
.card { display: flex; gap: .9rem; align-items: center; background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--red); padding: .8rem; text-decoration: none; color: var(--text); }
.card:hover { border-top-color: var(--yellow); }
.card h3 { margin: 0; }
.card p { margin: .1rem 0; }
.thumb { width: 4.5rem; height: 6rem; object-fit: cover; object-position: top; background: #f2efe8; border: 2px solid var(--yellow); flex: none; }
.thumb.placeholder { font-size: 1.6rem; aspect-ratio: auto; }

@media (max-width: 40rem) {
  .hero { grid-template-columns: 1fr; }
  .portrait { max-width: 18rem; }
}
