/* Who Called Pest Control: marketing site */
:root {
  --ink: #120e1a;
  --ink-2: #1c1626;
  --paper: #f3ead6;
  --paper-dim: #c9bfa8;
  --hazard: #ffcc33;
  --red: #e2585e;
  --green: #8ccf63;
  --line: #2c2438;
  --max: 1100px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 18px;
  line-height: 1.55;
}
h1, h2, h3, .pixel {
  font-family: "Press Start 2P", "Courier New", monospace;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(18px, 3.6vw, 34px); margin: 0 0 12px; text-shadow: 3px 3px 0 #000; }
h2 { font-size: clamp(13px, 2vw, 18px); color: var(--hazard); margin: 0 0 24px; text-shadow: 2px 2px 0 #000; }
h3 { font-size: 11px; color: var(--hazard); margin: 0 0 10px; }
p { margin: 0 0 1em; }
a { color: var(--hazard); }
img { max-width: 100%; display: block; image-rendering: pixelated; image-rendering: crisp-edges; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* top bar */
.bar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(18, 14, 26, 0.92); border-bottom: 2px solid var(--line);
  backdrop-filter: blur(6px);
}
.bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--paper); }
.brand img { width: 32px; height: 32px; border-radius: 7px; }
.brand span { font-family: "Press Start 2P", monospace; font-size: 9px; }
.nav a { color: var(--paper-dim); text-decoration: none; margin-left: 18px; font-size: 15px; }
.nav a:hover { color: var(--hazard); }
@media (max-width: 640px) {
  .nav a { margin-left: 12px; font-size: 13px; }
  .nav a:not(:last-child) { display: none; }
  .brand span { display: inline; font-size: 8px; }
  .hero .copy { position: static; padding: 24px 16px 32px; background: var(--ink); }
  .wrap { padding: 0 16px; }
}
html, body { overflow-x: hidden; }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 2px solid var(--line); }
.hero img.art { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.hero .copy {
  position: absolute; inset: auto 0 0 0;
  padding: 48px 20px 36px;
  background: linear-gradient(to top, rgba(18, 14, 26, 0.98) 0%, rgba(18, 14, 26, 0.75) 60%, rgba(18, 14, 26, 0) 100%);
  text-align: center;
}
.tagline { color: var(--hazard); font-size: clamp(15px, 2.2vw, 22px); margin: 0 0 20px; text-shadow: 2px 2px 0 #000; }
.badge {
  display: inline-block; padding: 14px 22px; border: 3px solid var(--paper);
  background: #000; color: #fff; text-decoration: none; font-family: "Press Start 2P", monospace; font-size: 10px;
  box-shadow: 4px 4px 0 var(--hazard);
}
.badge:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--hazard); }
.badge small { display: block; font-family: Georgia, serif; font-size: 11px; color: var(--paper-dim); margin-top: 4px; }

/* sections */
section { padding: 56px 0; border-bottom: 2px solid var(--line); }
.pitch { font-size: clamp(18px, 2vw, 21px); max-width: 760px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--ink-2); border: 2px solid var(--line); padding: 18px 18px 14px; box-shadow: 4px 4px 0 #000; }
.card p { color: var(--paper-dim); font-size: 16px; margin: 0; }
.card .who { color: var(--paper); font-style: italic; }
.shots { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.shots figure { margin: 0; border: 3px solid var(--line); background: #000; box-shadow: 4px 4px 0 #000; }
.shots figcaption { font-size: 14px; color: var(--paper-dim); padding: 8px 10px; }
.list { columns: 2; column-gap: 32px; padding-left: 20px; color: var(--paper-dim); }
.list li { break-inside: avoid; margin-bottom: 4px; }
@media (max-width: 640px) { .list { columns: 1; } }
.modes dt { font-family: "Press Start 2P", monospace; font-size: 10px; color: var(--hazard); margin: 18px 0 6px; }
.modes dd { margin: 0; color: var(--paper-dim); }
.warn { border-left: 4px solid var(--red); padding: 10px 14px; background: var(--ink-2); color: var(--paper-dim); font-size: 15px; }

/* footer */
footer { padding: 32px 0 48px; color: var(--paper-dim); font-size: 14px; }
footer a { margin-right: 18px; }

/* documents */
.doc { max-width: 780px; margin: 0 auto; padding: 40px 20px 80px; }
.doc h1 { font-size: 18px; margin-bottom: 4px; }
.doc .meta { color: var(--paper-dim); font-size: 14px; margin-bottom: 28px; }
.doc h2 { margin: 32px 0 10px; font-size: 12px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
@media (max-width: 640px) { .doc-nav a:not(:last-child) { display: inline; } }
