/*
 * Theme: Quiet
 *
 * Warm off-white background, all-serif typography (Marcellus display,
 * PT Serif body), single-column, generous whitespace. Closest to the
 * rfkuang.com aesthetic — quiet, literary, unostentatious.
 */

:root {
  --bg: #fafaf7;
  --fg: #1a1a1a;
  --fg-muted: #5c5c5c;
  --rule: rgba(0, 0, 0, 0.12);
  --measure: 640px;
  --page-padding: clamp(1.25rem, 4vw, 2.5rem);
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "PT Serif", Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.65;
}

/* Header */

.site-header {
  padding: 1.75rem var(--page-padding);
  max-width: var(--measure);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-title {
  font-family: "Marcellus", "PT Serif", Georgia, serif;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.site-header nav {
  gap: 1.5rem;
}

.site-header nav a {
  text-decoration: none;
  color: var(--fg-muted);
  font-size: 0.95rem;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Main */

.site-main {
  max-width: var(--measure);
  width: 100%;
  margin: 0 auto;
  padding: 2rem var(--page-padding) 5rem;
}

/* Home */

.home-page .home-photo {
  width: 100%;
  max-width: 360px;
  margin: 1rem auto 2.5rem;
}

.home-page .blurb p {
  margin-bottom: 1rem;
}

.home-page .blurb p:last-child {
  margin-bottom: 0;
}

/* Headings */

h1 {
  font-family: "Marcellus", "PT Serif", Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

h2 {
  font-family: "Marcellus", "PT Serif", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
}

h3 {
  font-family: "Marcellus", "PT Serif", Georgia, serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1.25rem;
}

h4 {
  font-family: "Marcellus", "PT Serif", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.2;
}

/* Works */

/* Anchor each status group with a thin left rule so the works inside
   visually nest under their "Now Seeking Representation" / "Works In
   Progress" heading — important when a group only has one entry. */
.works-page .status {
  padding-left: 1rem;
  border-left: 1px solid var(--rule);
}

.works-page .work .work-title {
  margin-bottom: 0.35rem;
}

.works-page .work .genre,
.works-page .work .word-count {
  color: var(--fg-muted);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.45;
}

.works-page .work .description {
  margin-top: 0.6rem;
}

.works-page .work .cta {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Contact */

.contact-page a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Body links */

.site-main p a,
.site-main .description a {
  color: var(--fg);
  text-underline-offset: 3px;
}
