/* Logbook page — /logbook
   Entry list only. The shared chrome, type scale and colour tokens all come from
   styles.css; .prose already handles body paragraph rhythm and measure. */

.logbook-head { padding-bottom: 0; }

.log-meta {
  margin-top: 1.4rem;
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.logbook-entries { padding-top: 2.6rem; }

.log-entry {
  padding-bottom: 2.9rem;
  scroll-margin-top: 5.5rem;   /* clears the sticky nav on a #date deep link */
}

.log-entry + .log-entry {
  padding-top: 2.9rem;
  border-top: 1px solid var(--line-2);
}

/* The date is the entry's own permalink. The hairline runs from the text to the
   right edge — that rule is what gives the page its logbook rhythm. */
.log-date {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--ink-3);
  text-decoration: none;
}

.log-date::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
  transition: background .2s ease;
}

.log-date:hover { color: var(--accent); }
.log-date:hover::after { background: var(--accent); }

.log-title {
  margin: 0 0 .8rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.24;
  letter-spacing: -.01em;
}

.log-body { max-width: var(--measure); }

/* Deep-link highlight. The ids here start with a digit (they are the date),
   which is valid HTML5 but NOT a valid CSS id selector — so this targets the
   class, never #2026-08-12. */
.log-entry:target {
  border-left: 2px solid var(--accent);
  padding-left: 1.2rem;
  margin-left: -1.4rem;
}

@media (max-width: 760px) {
  .log-title { font-size: 1.32rem; }
  .log-entry { padding-bottom: 2.3rem; }
  .log-entry + .log-entry { padding-top: 2.3rem; }
  .log-entry:target { padding-left: .9rem; margin-left: -1rem; }
}
