/* Well Mornings — calm, warm, mobile first */
:root {
  --bg: #FDF6EC;
  --surface: #FFFFFF;
  --ink: #2F2A24;
  --muted: #6E655B;
  --line: #E8DCCB;
  --accent: #C9752B;
  --accent-soft: #F6E7D2;
  --sun: #E8A33D;
  --max: 42rem;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.7;
}

h1, h2, h3, .ui {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }

img, svg { max-width: 100%; height: auto; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.wide { max-width: 56rem; }

/* ── Header ── */
.site-head {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  padding: 1.1rem 0 0.9rem;
}
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700; font-size: 1.2rem; letter-spacing: -0.015em;
}
.brand-sub { display: block; font-size: 0.72rem; font-weight: 500; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }

nav.site-nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; list-style: none; margin: 0; padding: 0; }
nav.site-nav a {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.92rem; color: var(--muted);
}
nav.site-nav a:hover, nav.site-nav a[aria-current="page"] { color: var(--accent); }

/* ── Hero ── */
.hero { padding: 3rem 0 2.25rem; text-align: center; }
.hero h1 { font-size: clamp(1.9rem, 6vw, 2.6rem); line-height: 1.18; margin: 0 0 0.85rem; letter-spacing: -0.02em; }
.hero p { color: var(--muted); font-size: 1.1rem; margin: 0 auto; max-width: 34rem; }
.hero .sunrise { width: 64px; height: 64px; margin: 0 auto 1.25rem; }

/* ── Sections ── */
main { padding-bottom: 3.5rem; }
.section-title {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted);
  font-weight: 700; margin: 2.75rem 0 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--line);
}

/* ── Article cards ── */
.cards { display: grid; gap: 1rem; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 46rem) { .cards { grid-template-columns: 1fr 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 1.15rem 1.25rem 1.25rem;
}
.card h3 { margin: 0.35rem 0 0.45rem; font-size: 1.12rem; line-height: 1.32; letter-spacing: -0.01em; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--accent); }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.meta {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.75rem; color: var(--muted); letter-spacing: 0.02em;
}
.pill {
  display: inline-block; background: var(--accent-soft); color: #8A4E14;
  border-radius: 100px; padding: 0.15rem 0.6rem; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ── Article page ── */
.post-head { padding: 2.5rem 0 1.25rem; }
.post-head h1 { font-size: clamp(1.7rem, 5.5vw, 2.3rem); line-height: 1.22; margin: 0.6rem 0 0.6rem; letter-spacing: -0.02em; }
.post-head .dek { color: var(--muted); font-size: 1.08rem; margin: 0 0 0.9rem; }
article h2 { font-size: 1.22rem; margin: 2.1rem 0 0.6rem; letter-spacing: -0.01em; }
article p { margin: 0 0 1.05rem; }
article ul { margin: 0 0 1.2rem; padding-left: 1.2rem; }
article li { margin-bottom: 0.6rem; }
article strong { color: var(--ink); }

.note {
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--sun);
  border-radius: 8px; padding: 0.95rem 1.1rem; margin: 2rem 0 0;
  font-size: 0.92rem; color: var(--muted);
}
.note strong { color: var(--ink); }

.prose-page { padding: 2.25rem 0 0; }
.prose-page h1 { font-size: clamp(1.7rem, 5.5vw, 2.2rem); margin: 0 0 0.35rem; letter-spacing: -0.02em; }
.prose-page .updated { color: var(--muted); font-size: 0.85rem; margin: 0 0 1.75rem; }
.prose-page h2 { font-size: 1.15rem; margin: 1.9rem 0 0.55rem; }
.prose-page p, .prose-page li { color: var(--ink); }

.btn {
  display: inline-block; background: var(--accent); color: #fff; border-radius: 8px;
  padding: 0.65rem 1.1rem; font-weight: 600; font-size: 0.95rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.btn:hover { background: #AF6322; text-decoration: none; }

.back { font-size: 0.85rem; }

/* ── Footer ── */
.site-foot {
  border-top: 1px solid var(--line); background: #F7EEE1;
  padding: 2rem 0 2.5rem; font-size: 0.9rem; color: var(--muted);
}
.site-foot a { color: var(--muted); text-decoration: underline; }
.site-foot a:hover { color: var(--accent); }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; list-style: none; margin: 0 0 1rem; padding: 0; }
.site-foot p { margin: 0 0 0.6rem; }
.foot-note { font-size: 0.82rem; line-height: 1.6; }
