:root {
  --ink: #171717;
  --muted: #63605b;
  --paper: #fbfaf6;
  --line: rgba(23, 23, 23, 0.14);
  --yellow: #f4c542;
  --coral: #e85f4f;
  --cyan: #21a5a6;
  --green: #5c9d65;
  --blue: #4367b1;
  --plum: #7a4d78;
  --shadow: 0 24px 70px rgba(31, 28, 21, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(90deg, rgba(23, 23, 23, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(23, 23, 23, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 12% 15%, rgba(244, 197, 66, 0.28), transparent 30%),
    radial-gradient(circle at 84% 12%, rgba(33, 165, 166, 0.24), transparent 28%),
    radial-gradient(circle at 70% 80%, rgba(232, 95, 79, 0.2), transparent 32%),
    var(--paper);
  background-size: 54px 54px, 54px 54px, auto, auto, auto, auto;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 52%, rgba(23, 23, 23, 0.05) 52% 52.5%, transparent 52.5%),
    linear-gradient(16deg, transparent 0 62%, rgba(67, 103, 177, 0.08) 62% 62.6%, transparent 62.6%);
  pointer-events: none;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 246, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--ink);
  font-weight: 900;
}

.brand strong,
.brand em {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand em {
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.main-nav a,
.filter,
.button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.54);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
}

.button {
  display: inline-flex;
  width: fit-content;
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: end;
  min-height: min(760px, calc(100vh - 86px));
  padding: clamp(54px, 8vw, 112px) clamp(18px, 4vw, 56px) 42px;
}

.hero-copy {
  max-width: 890px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--coral);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
}

h1 {
  max-width: 10ch;
  margin-bottom: 22px;
  font-size: clamp(4.1rem, 12vw, 9.4rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-copy p:last-child {
  max-width: 760px;
  color: #3d3a35;
  font-size: clamp(1.06rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.daily-brief {
  position: relative;
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.7)),
    linear-gradient(135deg, var(--yellow), var(--cyan));
  box-shadow: var(--shadow), 8px 8px 0 var(--ink);
}

.daily-brief::before {
  position: absolute;
  top: -18px;
  right: 22px;
  width: 84px;
  height: 36px;
  content: "";
  background: rgba(232, 95, 79, 0.9);
  transform: rotate(4deg);
}

.brief-topline,
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.daily-brief h2 {
  margin: 18px 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.daily-brief p {
  color: #3f3a33;
  line-height: 1.6;
}

.ticker {
  display: flex;
  gap: 10px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-block: 2px solid var(--ink);
  background: var(--ink);
  color: #fff;
  overflow-x: auto;
}

.ticker span {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 900;
}

.content-grid,
.rubrics,
.workflow {
  padding: clamp(54px, 8vw, 92px) clamp(18px, 4vw, 56px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-heading h2,
.workflow h2 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.95;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter {
  cursor: pointer;
}

.filter.is-active {
  border-color: var(--ink);
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
}

.posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.post {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 42px rgba(31, 28, 21, 0.08);
  overflow: hidden;
}

.post.is-hidden {
  display: none;
}

.post.featured {
  grid-column: span 2;
}

.post-media {
  min-height: 180px;
  background-color: #ddd;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14) 25%, transparent 25% 50%, rgba(255, 255, 255, 0.14) 50% 75%, transparent 75%),
    radial-gradient(circle at 25% 35%, rgba(255, 255, 255, 0.72), transparent 10%),
    radial-gradient(circle at 70% 64%, rgba(23, 23, 23, 0.22), transparent 16%);
  background-size: 38px 38px, auto, auto;
}

.media-politiek {
  background-color: var(--yellow);
}

.media-entertainment {
  background-color: var(--coral);
}

.media-projecten {
  background-color: var(--green);
}

.media-nieuws {
  background-color: var(--blue);
}

.media-crime {
  background-color: #2f3136;
}

.media-tech {
  background-color: var(--cyan);
}

.post-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.tag {
  width: fit-content;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(251, 250, 246, 0.86);
  color: #4e4940;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.post h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.05;
}

.post p {
  color: #4a453d;
  line-height: 1.58;
}

.post-meta {
  margin-top: auto;
  padding-top: 18px;
}

.rubrics {
  background: rgba(23, 23, 23, 0.04);
}

.rubric-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.rubric-grid article {
  min-height: 210px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.rubric-grid span {
  color: var(--coral);
  font-weight: 900;
}

.rubric-grid h3 {
  margin: 28px 0 10px;
  font-size: 1.2rem;
}

.rubric-grid p {
  color: var(--muted);
  line-height: 1.5;
}

.workflow {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: start;
}

.workflow ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.workflow strong {
  font-size: 1.15rem;
}

.workflow span {
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 26px clamp(18px, 4vw, 56px);
  border-top: 2px solid var(--ink);
  background: var(--ink);
  color: #fff;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.72);
}

.theme-wall {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.theme {
  position: absolute;
  display: grid;
  width: clamp(108px, 14vw, 178px);
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid rgba(23, 23, 23, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  color: rgba(23, 23, 23, 0.24);
  font-size: clamp(0.8rem, 1.3vw, 1rem);
  font-weight: 900;
  text-transform: uppercase;
  transform: rotate(var(--angle));
}

.theme-politiek {
  top: 16%;
  left: 48%;
  --angle: -14deg;
}

.theme-entertainment {
  top: 28%;
  right: 5%;
  --angle: 10deg;
}

.theme-projecten {
  bottom: 18%;
  left: 5%;
  --angle: 11deg;
}

.theme-nieuws {
  top: 62%;
  right: 18%;
  --angle: -8deg;
}

.theme-crime {
  top: 11%;
  left: 7%;
  --angle: 8deg;
}

.theme-tech {
  bottom: 6%;
  right: 6%;
  --angle: -12deg;
}

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

  .post.featured {
    grid-column: span 1;
  }

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

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

  .main-nav {
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 46px;
  }

  h1 {
    max-width: 8ch;
    font-size: clamp(3.5rem, 20vw, 5.4rem);
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .posts,
  .rubric-grid {
    grid-template-columns: 1fr;
  }

  .workflow li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .theme {
    opacity: 0.45;
  }
}
