body {
  margin: 0;
  background: #f9f8f4;
  color: #111;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
}

nav {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #e5e5e5;
  font-family: "Courier New", monospace;

  max-width: 1000px;
  margin: 0 auto;
}

nav a {
  margin-right: 1.25rem;
  text-decoration: none;
  color: #111;
}

nav a:hover {
  text-decoration: underline;
}

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 4rem 2.5rem 6rem;
}

h1, h2, h3 {
  font-family: "Courier New", monospace;
  font-weight: normal;
}
/* ---------- Writing Page ---------- */

.writing-list {
  margin-top: 3rem;
}

.writing-list li {
  list-style: none;
  margin-bottom: 1.2rem;
}

.writing-list time {
  font-family: "Courier New", monospace;
  font-size: 0.85rem;
  color: #555;
  margin-right: 0.75rem;
}

.writing-list a {
  text-decoration: none;
  border-bottom: 1px solid #ddd;
}

.writing-list a:hover {
  border-bottom-color: #111;
}
/* ===============================
   MANUSCRIPT MODE (ONE-SHOT)
   =============================== */

/* Page frame */
body {
  background: #f7f6f1;
}

/* Center the world */
main {
  position: relative;
}

/* Tree watermark */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("/assets/images/tree.png");
  background-repeat: no-repeat;
  background-position: center 7rem;
  background-size: 1100px;
  opacity: 0.03;
  pointer-events: none;
  z-index: -1;
}

/* Title gravity */
h1 {
  font-size: 2.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

/* Paragraph cadence */
p {
  margin-bottom: 1.6rem;
}

/* First paragraph = thesis */
main > p:first-of-type {
  font-size: 1.15rem;
  line-height: 1.8;
}

/* Horizontal rule = pause, not divider */
hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 4rem 0;
  width: 40%;
}

/* Writing list feels archival */
.writing-list {
  margin-top: 4rem;
}

.writing-list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.writing-list time {
  min-width: 6rem;
  font-family: "Courier New", monospace;
  font-size: 0.85rem;
  color: #666;
}

.writing-list a {
  text-decoration: none;
  border-bottom: 1px solid #bbb;
}

.writing-list a:hover {
  border-bottom-color: #111;
}

/* Nav quiet authority */
nav {
  background: transparent;
}

nav a {
  opacity: 0.75;
}

nav a:hover {
  opacity: 1;
}
/* ===============================
   PAGE FIELD (CONTAINMENT)
   =============================== */

body {
  padding-left: 3vw;
  padding-right: 3vw;
}

@media (max-width: 800px) {
  body {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
/* ===============================
   ABOUT PAGE PHOTO (EDITORIAL)
   =============================== */

.about-photo {
  float: left; !important;
  width: 220px;
  height: auto;
  margin: 0.25rem 1.5rem 1.25rem 0;
  border-radius: 4px;
  display: block;
}

 @media (max-width: 600px) {
  .about-photo {
    float: none;
    width: 60%;
    margin: 1.5rem auto;
    display: block;
  }
}
