/* Instinctive Intelligence: retro halftone comic-book / pop-art style,
   matching the channel's thumbnails. */
:root {
  --paper: #f4ead2;
  --ink: #141414;
  --mustard: #e3a92b;
  --teal: #1f8a8a;
  --orange: #d9622b;
  --red: #c8312b;
  --cyan: #2bb7c8;
  --soft: #4a4238;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(20, 20, 20, 0.10) 1.2px, transparent 1.6px),
    radial-gradient(rgba(200, 49, 43, 0.06) 1.2px, transparent 1.6px);
  background-size: 14px 14px, 14px 14px;
  background-position: 0 0, 7px 7px;
  color: var(--ink);
  font-family: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  padding: 40px 16px 56px;
}

.wrap { max-width: 720px; margin: 0 auto; }

/* Masthead strip */
.strip {
  display: inline-block;
  background: var(--ink);
  color: var(--mustard);
  font-family: "Bangers", "Impact", sans-serif;
  letter-spacing: 0.12em;
  font-size: 1.05rem;
  padding: 4px 14px 2px;
  transform: rotate(-2deg);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--red);
  margin-bottom: 18px;
}

/* The comic panel */
.panel {
  position: relative;
  background: #fffaf0;
  border: 4px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  padding: 34px 32px 30px;
  overflow: hidden;
}

/* Halftone corner burst */
.panel::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  background-image: radial-gradient(var(--mustard) 32%, transparent 34%);
  background-size: 12px 12px;
  transform: rotate(12deg);
  opacity: 0.85;
  pointer-events: none;
}

h1 {
  position: relative;
  font-family: "Bangers", "Impact", sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  line-height: 1.02;
  margin: 0 0 10px;
  color: var(--ink);
  /* CMYK offset fringe */
  text-shadow: -3px 0 0 var(--cyan), 3px 0 0 var(--red), 0 3px 0 var(--mustard);
}

h2 {
  font-family: "Bangers", "Impact", sans-serif;
  font-weight: 400;
  letter-spacing: 0.06em;
  font-size: 1.45rem;
  margin: 28px 0 6px;
  color: var(--teal);
  text-shadow: 2px 2px 0 var(--ink);
}

p { margin: 0 0 14px; position: relative; }

.tag {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  margin: 2px 0 20px;
}

.lead { font-size: 1.12rem; }

.muted { color: var(--soft); font-size: 0.95rem; }

a { color: var(--red); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--orange); }

/* Speech-bubble style callout */
.bubble {
  position: relative;
  background: var(--mustard);
  border: 3px solid var(--ink);
  border-radius: 18px;
  padding: 14px 18px;
  margin: 22px 0 8px;
  font-weight: 600;
  box-shadow: 5px 5px 0 var(--ink);
}
.bubble::after {
  content: "";
  position: absolute;
  left: 34px;
  bottom: -18px;
  border-width: 18px 14px 0 0;
  border-style: solid;
  border-color: var(--ink) transparent transparent transparent;
}

/* Buttons */
.buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-family: "Bangers", "Impact", sans-serif;
  font-weight: 400;
  letter-spacing: 0.08em;
  font-size: 1.15rem;
  text-decoration: none;
  padding: 8px 18px 6px;
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn:hover { color: #fff; transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn.alt { background: var(--teal); }

footer {
  margin-top: 30px;
  font-size: 0.9rem;
  color: var(--soft);
  text-align: center;
}

@media (max-width: 520px) {
  body { padding: 24px 16px 40px; }
  .panel { padding: 26px 20px 24px; box-shadow: 7px 7px 0 var(--ink); }
}
