/* Skagens notater — austere personal blog */

:root {
  --bg:        #f4ede0;
  --ink:       #1c1a17;
  --ink-soft:  #4a4540;
  --ink-faint: #847d70;
  --rule:      #c8c0ad;
  --accent:    #8e2418;
  --serif:     "Lora", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); text-decoration: underline;
    text-decoration-thickness: 1px; text-underline-offset: 3px;
    transition: color 120ms; }
a:hover { color: var(--accent); }

.container { max-width: 640px; margin: 0 auto; padding: 0 22px; }

/* ---- Header ---- */
.head {
  text-align: center;
  padding: 80px 22px 60px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 28px;
}
.head .back {
  font-size: 13px;
  font-style: italic;
  color: var(--ink-faint);
  margin: 0 0 36px;
}
.head .back a { text-decoration: none; }
.head .back a:hover { color: var(--accent); }
.head h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 38px;
  letter-spacing: 0.01em;
  margin: 0 0 12px;
}
.head .tagline {
  font-style: italic;
  color: var(--ink-soft);
  margin: 0;
  font-size: 17px;
}

/* ---- Post list ---- */
.post-list ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.post-list li {
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
}
.post-list li:last-child { border-bottom: none; }
.post-list .meta {
  font-style: italic;
  color: var(--ink-faint);
  font-size: 13px;
  margin: 0 0 6px;
}
.post-list h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  margin: 0 0 6px;
}
.post-list h2 a { text-decoration: none; }
.post-list h2 a:hover { color: var(--accent); }
.post-list .dek {
  font-style: italic;
  color: var(--ink-soft);
  margin: 0;
  font-size: 16px;
}

/* ---- Single post ---- */
.post {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 22px 80px;
}
.post .meta {
  font-style: italic;
  color: var(--ink-faint);
  font-size: 13px;
  margin: 0 0 8px;
}
.post h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.15;
  margin: 0 0 32px;
}
.post p { margin: 0 0 18px; }
.post .back-link {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  font-style: italic;
}

/* ---- Footer ---- */
.foot {
  text-align: center;
  padding: 60px 22px 80px;
  margin-top: 40px;
  border-top: 1px solid var(--rule);
  color: var(--ink-faint);
  font-size: 13px;
  font-style: italic;
}
.foot p { margin: 0 0 6px; }
.foot .small a { color: var(--ink-faint); }

@media (max-width: 600px) {
  .head { padding: 60px 22px 44px; }
  .head h1 { font-size: 30px; }
  .post h1 { font-size: 26px; }
}
