/* imbecky.com — Becky's site */

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

:root {
  --bg: #f6f3ef;
  --text: #2c2825;
  --muted: #7a6f68;
  --accent: #b85c38;
  --accent-light: #e8d5cc;
  --border: #ddd4cc;
  --max-w: 660px;
}

html {
  font-size: 18px;
  line-height: 1.7;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Lora', 'Georgia', 'Times New Roman', serif;
  padding: 0 1.5rem;
}

/* nav */
nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 0 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 2rem;
  border-bottom: 1px solid var(--border);
}

nav .site-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.02em;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-family: Georgia, serif;
}

nav a:hover {
  color: var(--accent);
}

/* main content */
main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

h1 {
  font-size: 2rem;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2rem 0 0.6rem;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.8rem 0 0.4rem;
}

p {
  margin-bottom: 1.1rem;
  color: var(--text);
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  opacity: 0.75;
}

/* home intro block */
.intro-block {
  border-left: 3px solid var(--accent);
  padding-left: 1.2rem;
  margin-bottom: 2.5rem;
}

.intro-block p {
  font-size: 1.05rem;
  color: var(--muted);
}

/* podcast badge */
.podcast-label {
  display: inline-block;
  font-family: Georgia, serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 1.4rem;
}

/* blog list */
.post-list {
  list-style: none;
  margin-top: 1rem;
}

.post-list li {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
}

.post-list li:last-child {
  border-bottom: none;
}

.post-list .post-meta {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: Georgia, serif;
  margin-bottom: 0.25rem;
}

.post-list .post-title {
  font-size: 1.1rem;
  font-weight: 700;
  display: block;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 0.3rem;
}

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

.post-list .excerpt {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}

/* blog post page */
.post-header {
  margin-bottom: 2.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}

.post-header .post-date {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.post-body p {
  margin-bottom: 1.2rem;
}

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

.post-body blockquote {
  border-left: 3px solid var(--accent);
  margin: 1.8rem 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-style: italic;
}

.back-link {
  display: inline-block;
  margin-top: 2.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}

/* photos */
.hero-photo {
  display: block;
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.4rem;
  border: 1px solid var(--border);
}

.about-photo {
  display: block;
  width: 100%;
  max-width: var(--max-w);
  height: auto;
  border-radius: 4px;
  margin-bottom: 2rem;
  border: 1px solid var(--border);
}

.about-photo + .about-photo-caption {
  font-size: 0.82rem;
  color: var(--muted);
  font-family: Georgia, serif;
  font-style: italic;
  margin-top: -1.5rem;
  margin-bottom: 2.2rem;
  display: block;
}

/* contact */
.contact-line {
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

/* footer */
footer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--muted);
}
