body {
  --text: #1d2330;
  --muted: #6b7280;
  --bg: #f4f1ea;
  margin: 0;
  background: var(--bg);
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  color: var(--text);
}

.layout {
  display: grid;
  grid-template-columns: 20% 80%;
  min-height: 100vh;
}

.nav,
.content {
  box-sizing: border-box;
  min-width: 0;
}
.nav {
  padding: 0.5rem;
}
.content {
  padding: 2rem 1rem;
}

.nav {
  border-right: #e9e3cf;
  box-shadow: 0 0 5px #e8e0c4;
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  overflow-y: auto;
}


.content img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: var(--text);
}

.logo {
  --ink: #1d2330;
  --metal: #c9d3dd;
  --accent: #ff5a36;
  --eye: #3ad6c4;
  display: block;
  width: 100%;
  height: auto;
  max-width: 160px;
  margin: 0 auto;
}

.logo .stroke {
  stroke: var(--ink);
  stroke-width: 6;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.logo .metal {
  fill: var(--metal);
}

.logo .ink {
  fill: var(--ink);
}

.logo .accent {
  fill: var(--accent);
}

.logo .eye {
  fill: var(--eye);
}

.logo .crack {
  fill: none;
  stroke: var(--ink);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo .word {
  font-family: "Space Grotesk", "Arial Black", sans-serif;
  font-weight: 700;
  font-size: 64px;
  fill: var(--ink);
}

time,
nav a {
  color: var(--muted);
}

.recent-entries {
  display: none;
}

.recent-entries ul {
  list-style-type: none;
  margin: 0;
  padding: 1.5rem;
}
.recent-entries li {
  margin-top: 0.75rem;
}
.recent-entries time {
  display: block;
  font-size: 0.8rem;
}
.recent-entries footer {
  padding-left: 1.5rem;
}
.recent-entries footer a::after {
  content: "›";
  content: "›" / "";
  display: inline-block;
  margin-left: 0.35em;
  transition: transform 0.15s ease;
}
.recent-entries footer a:hover::after {
  transform: translateX(3px);
}

h1 {
  text-decoration-line: underline;
  text-decoration-style: wavy;
  text-underline-offset: 0.5rem;
  text-decoration-thickness: 3px;
  text-decoration-color: #e9e3cf;
}
h1:has(a):hover {
  text-decoration-color: #3ad6c4;
}
h1 a {
  text-decoration: none;
}

.content img {
  display: block;
  width: calc(100% + 2rem);
  height: auto;
}

@media (width > 860px) {
  .recent-entries {
    display: block;
  }
  .nav {
    padding: 2rem 1rem;
  }
}
