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

:root {
  --cream: #e8e6dc;
  --cream-dark: #dddbd0;
  --ink: #141413;
  --ink-muted: rgba(20, 20, 19, 0.5);
  --ink-faint: rgba(20, 20, 19, 0.12);
  --terracotta: #DE5426;
  --terracotta-light: rgba(222, 84, 38, 0.1);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
  --nav-height: 4.25rem;
  --site-padding: clamp(2rem, 6vw, 5rem);
  --max-width: 1100px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 300;
}

/* Shared layout helpers */
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 8rem) var(--site-padding);
}

.divider {
  border: none;
  border-top: 1px solid var(--ink-faint);
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1.25rem;
}

.section-heading {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 2rem;
}

/* Writing post body styles */
.post-body {
  max-width: 680px;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.post-body p + p { margin-top: 1.25rem; }
.post-body h2 { font-family: var(--serif); font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.post-body h3 { font-family: var(--serif); font-size: 1.25rem; margin: 2rem 0 0.75rem; }
.post-body ul, .post-body ol { padding-left: 1.5rem; margin: 1rem 0; }
.post-body li + li { margin-top: 0.4rem; }
.post-body a { color: var(--terracotta); text-underline-offset: 3px; }
.post-body blockquote {
  border-left: 3px solid var(--terracotta);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: var(--ink-muted);
  font-style: italic;
}
