@import url("/assets/tokens.css");

body {
  min-height: 100dvh;
  background:
    radial-gradient(120% 90% at 50% 0%, #1f140b 0%, var(--ink-900) 60%),
    var(--ink-900);
  color: var(--paper);
  font-family: var(--sans);
  font-size: var(--text-base);
  line-height: 1.6;
}

.th {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) 1.25rem 1rem;
}

.th-home {
  display: inline-block;
  width: 36px;
  height: 36px;
  color: var(--brass);
  opacity: 0.6;
  transition: opacity var(--normal) var(--ease);
}
.th-home:hover, .th-home:focus-visible { opacity: 1; outline: none; }
.th-home svg { width: 100%; height: 100%; display: block; }

.th-eyebrow {
  margin: 1.75rem 0 0.25rem;
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}
.th h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 1.4rem + 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.th-lede { margin: 1rem 0 2.25rem; color: var(--paper-dim); max-width: 38rem; }

.th-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.th-card {
  padding: 1.1rem 1.25rem;
  background: rgba(37, 22, 9, 0.6);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass-dim);
  border-radius: var(--r-md);
}
.th-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--text-h2);
  color: var(--paper);
}
.th-kind {
  margin-left: 0.5rem;
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-faint);
}
.th-card p { margin: 0.35rem 0 0.6rem; color: var(--paper-dim); }
.th-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.th-links a {
  padding: 0.2rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  color: var(--paper-dim);
  text-decoration: none;
  transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.th-links a:hover, .th-links a:focus-visible { color: var(--brass-hot); border-color: var(--brass-dim); outline: none; }
.th-links a.give { color: var(--brass); border-color: var(--brass-dim); }

.th-broken {
  margin: 2.5rem 0 0;
  padding: 1.25rem;
  border: 1px dashed var(--brass-dim);
  border-radius: var(--r-md);
  text-align: center;
}
.th-broken h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: var(--text-h2); }
.th-broken p { margin: 0.35rem 0 0; color: var(--paper-dim); }
.th-broken a { color: var(--brass); font-family: var(--mono); }
