/* ============================================================
   Field Notes — the log page
   Reuses the site's tokens and type primitives from styles.css;
   this file only adds the masthead and log-entry layout.
   ============================================================ */

/* ---------- masthead ---------- */

.log-masthead {
  padding: clamp(8.5rem, 13vw, 11rem) 0 clamp(3rem, 6vw, 4rem);
}
.log-masthead__headline { max-width: 16ch; }
.log-masthead__lede { max-width: 42rem; }

/* ---------- log ---------- */

.log {
  padding-bottom: clamp(5rem, 9vw, 7rem);
}

.log__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.log__entry {
  position: relative;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(2.5rem, 5vw, 3.5rem) clamp(1.75rem, 4vw, 2.75rem);
}

/* the spine: a single kept line running the length of the log, with a tick
   at each entry's date — the one place this page admits it's a logbook */
.log__list {
  position: relative;
}
.log__list::before {
  content: "";
  position: absolute;
  top: 0.9rem;
  bottom: 2.5rem;
  left: 0.3rem;
  width: 1px;
  background: var(--rule);
}
.log__entry::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 2.9rem;
  width: 7px;
  height: 7px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--afterglow);
}

.log__meta {
  font-family: var(--geo);
  color: var(--ink-muted);
}

.log__title { margin-bottom: 1.25rem; }
.log__title a {
  color: inherit;
  text-decoration: none;
}
.log__title a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.log__body {
  max-width: 46rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.log__body p { margin: 0; }

@media (max-width: 640px) {
  .log__list::before { display: none; }
  .log__entry::before { display: none; }
  .log__entry { padding-left: 0; }
}
