/* After the Prompt — Cream & clay */

:root {
  --col: 40rem;
  --paper: #f4efe6;
  --ink: #3a322c;
  --accent: #a36b4f;
  --muted: #8a6f5e;
  --olive: #6b7f5a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 1.18rem;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(163, 107, 79, 0.07), transparent 50%),
    radial-gradient(ellipse at 100% 80%, rgba(163, 107, 79, 0.05), transparent 45%);
  min-height: 100vh;
}

.site-header {
  max-width: var(--col);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1.5rem;
}

.site-nav {
  display: flex;
  align-items: baseline;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.site-title {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.site-title:hover {
  color: var(--accent);
}

.nav-link {
  font-size: 1rem;
  font-weight: 400;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  border-bottom-color: var(--accent);
}

.site-main {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0.5rem 1.5rem 4rem;
}

.rule {
  border: none;
  border-top: 1px solid var(--accent);
  opacity: 0.35;
  margin: 2.25rem 0;
}

.hello {
  margin: 0 0 2.75rem;
  line-height: 1.75;
  color: var(--ink);
}

.featured {
  margin-bottom: 0.5rem;
}

.featured-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.85rem;
}

.featured h2 {
  font-size: 2.05rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.55rem;
}

.featured h2 a {
  color: var(--ink);
  text-decoration: none;
}

.featured h2 a:hover {
  color: var(--accent);
}

.post-date {
  display: block;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 1rem;
}

.featured .tease {
  margin: 0 0 1.35rem;
  color: var(--ink);
  line-height: 1.75;
}

.read-link {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.read-link:hover {
  border-bottom-width: 2px;
}

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

.posts-list > li {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(163, 107, 79, 0.25);
}

.posts-list > li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.posts-list h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 0.35rem;
}

.posts-list h3 a {
  color: var(--ink);
  text-decoration: none;
}

.posts-list h3 a:hover {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}

.posts-list .one-line {
  margin: 0.5rem 0 0;
  font-size: 1.05rem;
  color: var(--ink);
  opacity: 0.85;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.5rem;
}

.page-title {
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
  color: var(--ink);
}

.prose p {
  margin: 0 0 1.35rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.post-header {
  margin-bottom: 2rem;
}

.post-header h1 {
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
  color: var(--ink);
}

.post-subtitle {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
  opacity: 0.88;
}

.post-header .post-date {
  margin-bottom: 0;
}

.post-body p {
  margin: 0 0 1.35rem;
}

.post-body p:last-child {
  margin-bottom: 0;
}

.post-body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 2.25rem 0 1rem;
  color: var(--ink);
}

.post-body ul,
.post-body ol {
  margin: 0 0 1.35rem;
  padding-left: 1.35rem;
}

.post-body li {
  margin-bottom: 0.65rem;
}

.post-body li:last-child {
  margin-bottom: 0;
}

.closer {
  margin-top: 1.75rem;
}

.cta {
  margin-top: 1.75rem;
  padding: 1rem 0 0;
  font-size: 1.05rem;
}

.sources {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.sources li {
  margin-bottom: 0.55rem;
  padding-left: 0;
}

.table-wrap {
  overflow-x: auto;
  margin: 0 0 1.5rem;
}

.post-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
  line-height: 1.45;
}

.post-body th,
.post-body td {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem 0.65rem;
  border-bottom: 1px solid rgba(163, 107, 79, 0.3);
}

.post-body th {
  font-weight: 600;
  color: var(--accent);
  border-bottom-color: rgba(163, 107, 79, 0.5);
}

.post-body tr:last-child td {
  border-bottom: none;
}

.post-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(163, 107, 79, 0.35);
}

.post-footer a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.post-footer a:hover {
  border-bottom-color: var(--accent);
}

.site-footer {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  font-size: 0.9rem;
  color: var(--accent);
}

.prose a,
.post-body a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(163, 107, 79, 0.5);
}

.prose a:hover,
.post-body a:hover {
  border-bottom-color: var(--accent);
}

.post-figure {
  margin: 0 0 2rem;
}

.post-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
  background: #e8e0d4;
  box-shadow:
    0 1px 2px rgba(58, 50, 44, 0.06),
    0 8px 20px rgba(58, 50, 44, 0.08),
    0 18px 40px rgba(58, 50, 44, 0.06);
}

.post-figure figcaption {
  margin-top: 0.7rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--accent);
}

@media (max-width: 480px) {
  body {
    font-size: 1.1rem;
  }

  .site-header {
    padding: 1.75rem 1.15rem 1.25rem;
  }

  .site-main {
    padding: 0.25rem 1.15rem 3rem;
  }

  .featured h2,
  .page-title,
  .post-header h1 {
    font-size: 1.55rem;
  }

  .site-footer {
    padding: 0 1.15rem 2.5rem;
  }
}


blockquote {
  margin: 0 0 1.35rem;
  padding: 0.25rem 0 0.25rem 1.15rem;
  border-left: 2px solid var(--accent);
  color: var(--ink);
  opacity: 0.92;
}

blockquote p {
  margin: 0;
  font-style: italic;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}
