/* Quiet Ridge Journal */

:root {
  --paper: #f5f1e8;
  --ink: #2c2a25;
  --faded: #6d685c;
  --moss: #4d6a45;
  --rust: #9c4f2c;
  --rule: #ddd5c4;
  --well: #ece6d8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1e1f1b;
    --ink: #e6e1d5;
    --faded: #a29d8f;
    --moss: #9bb88f;
    --rust: #d89a74;
    --rule: #3a3a33;
    --well: #282922;
  }
}

html {
  background: var(--paper);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0 auto;
  max-width: 38em;
  padding: 0 18px 3em;
  font: 18px/1.6 Charter, "Bitstream Charter", "Sitka Text", Cambria, serif;
}

a { color: var(--moss); text-underline-offset: 2px; }
a:visited { color: var(--rust); }

h1, h2, h3 {
  font-family: "Avenir Next", Avenir, "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 600;
  line-height: 1.2;
}
h1 { font-size: 1.75em; margin: .4em 0 .2em; }
h2 { font-size: 1.2em; margin: 1.8em 0 .4em; }
h3 { font-size: 1em; margin: 1.4em 0 .3em; }

/* masthead */
.mast {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .4em 1.2em;
  padding: 1.6em 0 .8em;
  border-bottom: 2px solid var(--ink);
}
.mast__name {
  font-family: "Avenir Next", Avenir, "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 1.15em;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.mast__name:visited { color: var(--ink); }
.mast__nav a {
  margin-left: 1em;
  font-size: .9em;
  color: var(--faded);
  text-decoration: none;
}
.mast__nav a:first-child { margin-left: 0; }
.mast__nav a:hover { color: var(--ink); text-decoration: underline; }

.ridgeline { display: block; width: 100%; height: 34px; margin: .6em 0 0; color: var(--rule); }

/* entries */
.kicker {
  font-family: "Avenir Next", Avenir, "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: .78em;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faded);
}
.trailpost__date { color: var(--faded); font-size: .9em; font-style: italic; }

.log-list { list-style: none; margin: 0; padding: 0; }
.log-list li {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  gap: 0 .8em;
  padding: .55em 0;
  border-top: 1px dotted var(--rule);
}
.log-list time { color: var(--faded); font-size: .85em; padding-top: .15em; }
.log-list span { grid-column: 2; color: var(--faded); font-size: .9em; }

@media (max-width: 480px) {
  .log-list li { grid-template-columns: 1fr; }
  .log-list span { grid-column: 1; }
}

.fieldnote {
  background: var(--well);
  padding: .7em 1em;
  margin: 1.4em 0;
  font-size: .92em;
  border-radius: 3px;
}

.stats { border-collapse: collapse; width: 100%; font-size: .9em; margin: 1em 0; }
.stats th, .stats td { text-align: left; padding: .35em .6em .35em 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.stats th { font-weight: 600; white-space: nowrap; color: var(--faded); }

.profile { display: block; width: 100%; height: auto; margin: 1em 0 .3em; color: var(--moss); }
.caption { font-size: .82em; color: var(--faded); margin-top: 0; }

.packlist dt { font-weight: 600; margin-top: .8em; }
.packlist dd { margin: .1em 0 0 1.2em; }

.backlink { margin-top: 2.4em; font-size: .9em; }

.signoff {
  margin-top: 3em;
  padding-top: .8em;
  border-top: 1px solid var(--rule);
  font-size: .8em;
  color: var(--faded);
}
