
/*
  Jean-Luc Peeters - Professional thoughts
  Static blog stylesheet. Edit colors, spacing, and fonts here.
*/

:root {
  --page-bg: #f4f1eb;
  --paper: #fffdf8;
  --text: #1f2933;
  --muted: #667085;
  --accent: #164e63;
  --accent-2: #a16207;
  --accent-soft: #e0f2fe;
  --warm-soft: #fef3c7;
  --card-bg: #ffffff;
  --border: #e6e0d6;
  --shadow: 0 18px 45px rgba(31, 41, 51, 0.08);
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(14, 116, 144, 0.13), transparent 32rem),
    radial-gradient(circle at top right, rgba(161, 98, 7, 0.12), transparent 30rem),
    var(--page-bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

.site-wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 30px 20px 56px;
}

.site-header {
  background: rgba(255, 253, 248, 0.88);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 34px;
}

.brand-line {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 34px 34px 24px;
  text-align: left;
}

.brand-photo-link {
  flex: 0 0 auto;
  display: inline-flex;
  border-radius: 999px;
  text-decoration: none;
}

.brand-photo {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 10px 28px rgba(31, 41, 51, 0.20);
  background: #ffffff;
}

.brand-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.site-title a {
  color: var(--text);
  text-decoration: none;
}

.site-tagline {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.menu-bar {
  border-top: 1px solid var(--border);
  background: #ffffff;
  padding: 0 18px;
}

.main-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 10px 0;
  margin: 0;
  list-style: none;
}

.main-menu a {
  display: block;
  padding: 11px 15px;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 750;
  text-decoration: none;
}

.main-menu a:hover,
.main-menu a.current {
  background: var(--accent);
  color: #ffffff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}

.hero-main,
.hero-side,
.content-card,
.article-card,
.callout-card {
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-main { padding: 38px; }
.hero-side { padding: 28px; }

.hero h2,
.content-card h1,
.content-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.035em;
}

.hero h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.intro-text {
  color: #374151;
  font-size: 1.16rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-block;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: #ffffff;
}

.button.secondary {
  background: #ffffff;
  color: var(--accent);
}

.section-label {
  margin: 0 0 12px;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.topic-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topic-list a {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
}

.topic-list a:hover { border-color: var(--accent); }

.content-card {
  padding: 30px;
  margin-bottom: 24px;
}

.content-card > h1:first-child,
.content-card > h2:first-child { margin-top: 0; }

.article-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.article-card {
  padding: 22px;
}

.article-card.featured {
  border-color: rgba(22, 78, 99, 0.35);
  background: linear-gradient(135deg, #ffffff, #f0f9ff);
}

.article-card h2,
.article-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.2;
}

.article-card h2 a,
.article-card h3 a {
  color: var(--text);
  text-decoration: none;
}

.article-card h2 a:hover,
.article-card h3 a:hover { color: var(--accent); }

.article-meta {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.category-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--warm-soft);
  color: #7c2d12;
  font-size: 0.8rem;
  font-weight: 800;
}

.note-box {
  padding: 18px;
  border-left: 5px solid var(--accent);
  border-radius: 16px;
  background: var(--accent-soft);
}

.callout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.callout-card {
  padding: 22px;
}

.site-footer {
  margin-top: 36px;
  padding: 22px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-note { margin-top: -8px; }

@media (max-width: 760px) {
  .site-wrapper { padding: 16px 12px 36px; }
  .brand-line {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 26px 20px 20px;
    text-align: center;
  }
  .brand-photo {
    width: 84px;
    height: 84px;
  }
  .site-tagline { margin: 16px auto 0; }
  .hero { grid-template-columns: 1fr; }
  .hero-main, .hero-side, .content-card { padding: 24px; }
  .main-menu { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .main-menu a { white-space: nowrap; }
}
