:root {
  --sand: #f3e6c3;
  --sand-deep: #e7d5a4;
  --ink: #2b1810;
  --ink-soft: #5a3f33;
  --heat: #e63b1f;
  --caution: #f2b705;
  --max: 42rem;
}

* { box-sizing: border-box; }

html { background: var(--sand); }

body {
  margin: 0;
  color: var(--ink);
  background: var(--sand);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.6;
}

a { color: var(--heat); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Masthead */
.mast { padding: 20px 0 14px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mast .brand {
  font-family: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.mast .brand span { color: var(--heat); }
.mast nav { display: flex; gap: 18px; font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; font-size: 0.95rem; }
.mast nav a { color: var(--ink); text-decoration: none; }
.mast nav a:hover { color: var(--heat); }

.stripe {
  height: 10px;
  background: repeating-linear-gradient(135deg, var(--ink) 0 14px, var(--caution) 14px 28px);
}

/* Hero */
.hero { padding: 48px 0 36px; }
.hero h1 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  color: var(--heat);
  max-width: 14ch;
}
.hero p { font-size: 1.25rem; max-width: 38ch; margin: 0; color: var(--ink-soft); }

/* Post list */
.posts { padding: 10px 0 40px; }
.posts h2 { font-family: "Bricolage Grotesque", sans-serif; font-size: 1.1rem; font-weight: 700; margin: 0 0 8px; border-bottom: 3px solid var(--ink); padding-bottom: 6px; }
.post-item { padding: 22px 0; border-bottom: 1px solid var(--sand-deep); }
.post-item .who { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 0.9rem; color: var(--heat); margin: 0 0 6px; }
.post-item h3 { margin: 0 0 8px; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.55rem; line-height: 1.1; letter-spacing: -0.02em; }
.post-item h3 a { color: var(--ink); text-decoration: none; }
.post-item h3 a:hover { color: var(--heat); }
.post-item p { margin: 0; color: var(--ink-soft); }

/* Article */
.article { padding: 36px 0 20px; }
.article .who { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; color: var(--heat); margin: 0 0 10px; }
.article h1 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}
.article .date { color: var(--ink-soft); font-size: 0.95rem; margin: 0 0 30px; }
.article h2 { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.5rem; line-height: 1.15; margin: 36px 0 10px; letter-spacing: -0.02em; }
.article p { margin: 0 0 20px; }
.article ol, .article ul { padding-left: 1.3em; margin: 0 0 20px; }
.article li { margin-bottom: 10px; }
.article .lede { font-size: 1.3rem; line-height: 1.45; color: var(--ink); }

/* Guide + signup */
.guide { background: var(--caution); padding: 36px 0; margin: 20px 0 0; }
.guide h2 { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 2rem; line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 10px; }
.guide p { margin: 0 0 18px; max-width: 44ch; }
.guide form { display: flex; gap: 10px; flex-wrap: wrap; max-width: 36rem; }
.guide input[type="email"] {
  flex: 1 1 220px;
  font: inherit;
  padding: 12px 14px;
  border: 3px solid var(--ink);
  background: var(--sand);
  color: var(--ink);
  border-radius: 0;
}
.guide button {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--sand);
  border: 3px solid var(--ink);
  cursor: pointer;
  border-radius: 0;
}
.guide button:hover { background: var(--heat); border-color: var(--heat); }
.guide small { display: block; margin-top: 10px; color: var(--ink-soft); }
.hidden { position: absolute; left: -9999px; }

/* Footer */
footer { padding: 30px 0 50px; color: var(--ink-soft); font-size: 0.95rem; }
footer a { color: var(--ink); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
