:root {
  --bg: #0f0d0b;
  --paper: #171410;
  --line: rgba(212, 180, 131, 0.18);
  --gold: #d4b483;
  --gold-2: #8a7349;
  --ivory: #f4eadc;
  --mute: #9b8f7e;
  --short: #e26a56;
  --long: #3dba8b;
  --flat: #c4b8a6;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ivory); }
body {
  font-family: "Newsreader", Georgia, serif;
  min-height: 100vh;
  background-image:
    radial-gradient(1200px 500px at 10% -10%, rgba(212, 180, 131, 0.08), transparent 55%),
    radial-gradient(900px 400px at 100% 0%, rgba(226, 106, 86, 0.06), transparent 50%);
}
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 22px 64px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.brand {
  font-size: 13px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: "DM Mono", monospace;
}
.brand a { color: inherit; text-decoration: none; }
h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-top: 8px;
}
h1 em { font-style: italic; color: var(--gold); font-weight: 400; }
.meta {
  text-align: right;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  color: var(--mute);
  line-height: 1.7;
}
.badge {
  display: inline-block;
  border: 1px solid var(--line);
  color: var(--gold);
  padding: 2px 8px;
  letter-spacing: 0.14em;
  font-size: 10px;
  text-transform: uppercase;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding: 16px 0 16px;
  margin: 18px 0 32px;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
nav a {
  color: var(--mute);
  text-decoration: none;
}
nav a:hover { color: var(--gold); }
nav a[aria-current="page"] { color: var(--gold); }
nav .soon {
  color: var(--mute);
  opacity: 0.42;
}
nav .nav-actions {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
nav .login { margin-left: auto; }
.kicker {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 10px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 26px 28px;
  position: relative;
}
footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--mute);
  font-size: 13px;
}
footer a { color: var(--gold); text-decoration: none; }
footer a:hover { text-decoration: underline; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
a.cell {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 22px 22px 20px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
a.cell:hover { border-color: var(--gold); }
a.cell h2 {
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 12px;
}
a.cell p {
  color: var(--mute);
  font-size: 1rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post {
  max-width: 40em;
}
.post .when {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 14px;
}
.post h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.7rem);
  margin: 0 0 28px;
}
.post h2 {
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--gold);
  margin: 1.7em 0 0.65em;
}
.post p {
  font-size: 1.12rem;
  line-height: 1.62;
  margin-bottom: 1.15em;
}
.post a { color: var(--gold); }
@media (max-width: 760px) {
  header, footer { display: grid; grid-template-columns: 1fr; text-align: left; }
  .meta { text-align: left; }
  nav .login { margin-left: 0; }
  .grid { grid-template-columns: 1fr; }
  a.cell { aspect-ratio: auto; min-height: 220px; }
}
