:root {
  color-scheme: light;
  --ink: #1d211f;
  --muted: #5f6864;
  --paper: #f7f4ec;
  --panel: #ffffff;
  --line: #d9d3c4;
  --accent: #b63f2f;
  --deep: #23443c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 236, 0.92);
  position: sticky;
  top: 0;
  z-index: 5;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--deep);
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  width: auto;
  height: 42px;
  max-width: 180px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.site-nav a {
  text-decoration: none;
}

.intro,
.gdpr-page,
.author-page,
.article-shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(160px, 280px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 62px);
  padding: clamp(44px, 8vw, 92px) 0 34px;
}

.intro-brand img {
  width: min(100%, 260px);
  height: auto;
}

.intro-brand span {
  color: var(--deep);
  font-family: Arial, sans-serif;
  font-size: 34px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.intro h1 {
  max-width: 820px;
  margin: 0;
  color: var(--deep);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.12;
}

.intro p:last-child {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto 34px;
}

.post-card {
  background: var(--panel);
  border: 1px solid var(--line);
}

.post-card-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-body {
  padding: 18px;
}

.post-meta,
.author-posts span {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 13px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-meta span::before {
  content: "/";
  margin-right: 8px;
}

.post-card h2 {
  margin: 8px 0 10px;
  font-size: 23px;
  line-height: 1.16;
}

.post-card h2 a {
  text-decoration: none;
}

.post-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto 70px;
  font-family: Arial, sans-serif;
}

.pagination a,
.pagination span {
  min-width: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  text-align: center;
  text-decoration: none;
}

.pagination span {
  border-color: var(--deep);
  background: var(--deep);
  color: #fff;
}

.article {
  width: min(790px, 100%);
  margin: 0 auto;
  padding: 46px 0 76px;
}

.article-header h1 {
  margin: 0 0 16px;
  color: var(--deep);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

.author-line {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--accent);
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.article-cover {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.article-content {
  margin-top: 34px;
  font-size: 19px;
}

.article-content h2 {
  margin-top: 38px;
  color: var(--deep);
  font-size: 31px;
  line-height: 1.2;
}

.article-content h3 {
  margin-top: 28px;
  color: var(--deep);
  font-size: 24px;
}

.article-author-note {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: Arial, sans-serif;
}

.article-author-note p {
  margin: 0 0 8px;
}

.author-box {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  margin: 54px 0 34px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.author-box img {
  width: 220px;
  aspect-ratio: 1;
  object-fit: cover;
}

.author-box h1,
.gdpr-page h1 {
  margin: 0 0 12px;
  color: var(--deep);
  font-size: 42px;
}

.author-posts {
  margin-bottom: 70px;
}

.author-posts a {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.gdpr-page {
  max-width: 760px;
  padding: 60px 0 80px;
  font-size: 18px;
}

.site-footer {
  padding: 30px clamp(18px, 4vw, 54px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-family: Arial, sans-serif;
}

.cookie-box {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: none;
  max-width: 360px;
  padding: 16px;
  background: var(--deep);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  font-family: Arial, sans-serif;
  z-index: 10;
}

.cookie-box.is-visible {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cookie-box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.cookie-box button {
  border: 0;
  padding: 9px 12px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

.not-found {
  width: min(760px, calc(100% - 36px));
  margin: 70px auto;
}

@media (max-width: 860px) {
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .author-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .intro {
    grid-template-columns: 1fr;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .author-posts a {
    grid-template-columns: 1fr;
  }

  .cookie-box {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}
