/* What Pest Is This. Swiss/International style, like a printed field guide or a lab ID sheet.
   Light only. White page, black ink, Helvetica set large, square corners, 2px and 6px black rules.
   Colour has exactly two meanings: red #e30613 = dangerous (venomous spiders only), yellow #ffc400 = warning/caution.
   Banned: dark panels, green, gradients, shadows, rounded cards, pills/badges, uppercase letter-spaced labels,
   icon tiles, emoji, cream, serif. Photos keep their native aspect ratio (width:100%; height:auto; never object-fit cover). */
:root {
  --bg: #ffffff; --ink: #000000; --ink-2: #222222; --muted: #5c5c5c; --line: #d9d9d9; --line-2: #b3b3b3; --tint: #f2f2f2;
  --danger: #e30613; --warn: #ffc400;
  --radius: 0;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: light; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.55 var(--sans); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--warn); outline-offset: 2px; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.measure { max-width: 70ch; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 76px; }

/* ── header ───────────────────────────────────────────────────────── */
.top { background: #fff; border-bottom: 2px solid var(--ink); position: sticky; top: 0; z-index: 30; }
.top-in { display: flex; align-items: center; gap: 8px 20px; min-height: 60px; }
.brand { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 22px; letter-spacing: -.025em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.topnav { display: flex; align-items: center; margin-left: auto; gap: 0; }
.topnav > a, .menu > summary { white-space: nowrap; font-size: 16px; color: var(--ink); padding: 10px 12px; text-decoration: none; display: flex; align-items: center; gap: 8px; min-height: 44px; }
.topnav > a:hover, .menu > summary:hover, .menu[open] > summary { background: var(--ink); color: #fff; }
.topnav > a[aria-current] { font-weight: 700; }
.topnav .go { background: var(--ink); color: #fff; font-weight: 700; margin-left: 8px; }
.topnav .go:hover { background: #fff; color: var(--ink); outline: 2px solid var(--ink); outline-offset: -2px; }
.menu { position: static; }
.menu > summary { list-style: none; cursor: pointer; user-select: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.sheet { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 2px solid var(--ink); border-bottom: 6px solid var(--ink); max-height: calc(100vh - 62px); overflow: auto; }
.sheet-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; padding: 16px 16px 24px; }
.sheet-g h2 { font-size: 15px; font-weight: 700; margin: 12px 0 4px; padding-bottom: 4px; border-bottom: 2px solid var(--ink); letter-spacing: 0; }
.sheet ul { list-style: none; margin: 0; padding: 0; }
.sheet li a { display: block; padding: 6px 0; text-decoration: none; border-bottom: 1px solid var(--line); font-size: 16px; }
.sheet li a:hover { text-decoration: underline; }
.sheet li a[aria-current] { font-weight: 700; }
@media (max-width: 1000px) { .sheet-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .topnav > a:not(.go) { display: none; }
  .topnav .go { padding: 8px 10px; margin-left: 4px; }
  .brand { font-size: 18px; }
  .menu > summary { padding: 8px; }
  .top-in { gap: 4px; }
  .sheet-in { grid-template-columns: minmax(0, 1fr); }
  .sheet li a { padding: 10px 0; }
}

/* ── type ─────────────────────────────────────────────────────────── */
h1 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; margin: 0; }
h2 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.12; letter-spacing: -.02em; font-weight: 700; margin: 0 0 12px; }
h3 { font-size: 20px; line-height: 1.25; margin: 28px 0 8px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 14px; }
.lede { font-size: clamp(19px, 2vw, 23px); line-height: 1.4; margin: 14px 0 0; max-width: 56ch; color: var(--ink-2); }
.crumbs { font-size: 15px; color: var(--muted); margin: 22px 0 14px; }
.crumbs a { color: var(--muted); }
.crumbs span + span::before { content: "/"; margin: 0 8px; color: var(--line-2); }

/* ── page head ────────────────────────────────────────────────────── */
.head { padding-bottom: 26px; border-bottom: 6px solid var(--ink); }
.head-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: end; }
@media (max-width: 860px) { .head-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; } }
.head .fig img { width: auto; max-width: 100%; max-height: min(520px, 62vh); }
.head .fig { display: flex; flex-direction: column; align-items: flex-end; }
.head .fig figcaption { text-align: right; max-width: 100%; }
@media (max-width: 860px) { .head .fig { align-items: flex-start; } .head .fig figcaption { text-align: left; } .head .fig img { max-height: 300px; } }
.head .danger-flag { display: inline-block; color: var(--danger); font-weight: 700; font-size: 17px; margin: 0 0 10px; border-left: 6px solid var(--danger); padding-left: 10px; }

/* figure with native aspect ratio */
.fig { margin: 0; }
.fig img { width: 100%; height: auto; background: var(--tint); }
.fig figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.4; }
.fig figcaption a { color: var(--muted); }

/* ── article body ─────────────────────────────────────────────────── */
.cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; margin-top: 32px; }
@media (max-width: 900px) { .cols { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.prose { max-width: 70ch; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 16px; }
.prose li { margin: 4px 0; }
.prose h3:first-child { margin-top: 0; }
.side { align-self: start; }

/* spec sheet */
.specs { border-top: 6px solid var(--ink); margin: 0 0 28px; }
.specs h2 { font-size: 18px; margin: 10px 0 4px; }
.specs dl { margin: 0; }
.spec { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: 15px; color: var(--muted); }
.spec dd { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.35; }

/* season strip: 12 black bars, iNaturalist observations by month */
.season { border-top: 2px solid var(--ink); padding-top: 10px; margin: 0 0 28px; }
.season h2 { font-size: 18px; margin: 0 0 8px; }
.bars { display: block; width: 100%; height: 72px; fill: var(--ink); }
.bars-lab { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; font-size: 12px; color: var(--muted); text-align: center; margin-top: 4px; }
.season p { font-size: 14px; color: var(--muted); margin: 8px 0 0; }

/* gallery: native aspect ratios, aligned to the top of each cell */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px 20px; align-items: start; margin: 8px 0 0; }
.section { margin-top: 56px; }
.actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.section > h2 { border-top: 6px solid var(--ink); padding-top: 12px; }

/* lookalikes + compare */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px 20px; align-items: start; }
.card { border-top: 2px solid var(--ink); padding-top: 10px; }
.card h3 { margin: 10px 0 4px; font-size: 19px; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card p { font-size: 16px; margin: 0 0 6px; }
.cred { font-size: 12px !important; color: var(--muted); margin: 4px 0 0 !important; line-height: 1.35; }
.cred a { color: var(--muted); }
.card .size { font-size: 14px; color: var(--muted); }
.tbl { overflow-x: auto; margin: 8px 0 18px; }
table { border-collapse: collapse; width: 100%; font-size: 16px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
thead th { border-bottom: 2px solid var(--ink); font-weight: 700; }
tbody th { font-weight: 400; color: var(--muted); width: 22%; }
.cmp th, .cmp td { min-width: 150px; }
.cmp thead th img { margin-bottom: 8px; }
.cmp thead th a { text-decoration: none; }

/* notes: yellow rule = caution, red rule = venomous spider only */
.note { border-left: 6px solid var(--warn); padding: 4px 0 4px 16px; margin: 0 0 22px; }
.note h2, .note h3 { font-size: 18px; margin: 0 0 4px; }
.note p { font-size: 16px; margin: 0 0 4px; }
.note .src { font-size: 14px; color: var(--muted); }
.note.danger { border-left-color: var(--danger); }
.note.danger h2, .note.danger h3 { color: var(--danger); }

/* call a professional */
.pro { border-top: 6px solid var(--ink); border-bottom: 2px solid var(--ink); padding: 14px 0 6px; margin: 36px 0; }
.pro h2 { margin-bottom: 8px; }

/* buttons */
.btn { appearance: none; border: 2px solid var(--ink); background: #fff; color: var(--ink); font: 700 17px/1.15 var(--sans); text-decoration: none;
       padding: 12px 18px; border-radius: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; touch-action: manipulation; }
.btn:hover { background: var(--ink); color: #fff; }
.btn-go { background: var(--ink); color: #fff; }
.btn-go:hover { background: #fff; color: var(--ink); }
.btn-quiet { border-color: var(--line-2); font-weight: 400; }
.btn-quiet:hover { border-color: var(--ink); background: #fff; color: var(--ink); }

/* ── guided key + chooser ─────────────────────────────────────────── */
.step { border-top: 2px solid var(--ink); padding: 14px 0 22px; }
.step-h { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: baseline; margin-bottom: 12px; }
.step-n { font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.step-h h2 { margin: 0; }
.step-h p { grid-column: 2; margin: 2px 0 0; color: var(--muted); font-size: 16px; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0; margin-left: 68px; }
@media (max-width: 600px) { .opts { margin-left: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .step-h { grid-template-columns: 40px minmax(0, 1fr); } .step-n { font-size: 32px; } }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: block; border: 2px solid var(--ink); margin: 0 -2px -2px 0; padding: 12px 14px; min-height: 64px; cursor: pointer; font-weight: 700; font-size: 17px; line-height: 1.25; background: #fff; }
.opt span small { display: block; font-weight: 400; font-size: 14px; color: var(--muted); margin-top: 3px; }
.opt input:checked + span { background: var(--ink); color: #fff; }
.opt input:checked + span small { color: #d0d0d0; }
.opt input:focus-visible + span { outline: 3px solid var(--warn); outline-offset: -5px; }
.opt span:hover { background: var(--tint); }
.opt input:checked + span:hover { background: var(--ink); }
.size-ref { display: flex; align-items: flex-end; gap: 10px; margin-top: 8px; min-height: 30px; }
.size-ref i { display: block; background: var(--ink); border-radius: 50%; }
.results { border-top: 6px solid var(--ink); padding-top: 14px; margin-top: 10px; }
.results-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.match { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 600px) { .match { grid-template-columns: 120px minmax(0, 1fr); gap: 14px; } }
.match h3 { margin: 0 0 4px; font-size: 22px; }
.match h3 a { text-decoration: none; }
.match .why { font-size: 15px; color: var(--muted); margin: 6px 0 0; }
.match.danger h3 a { color: var(--danger); }
.match .dz { color: var(--danger); font-weight: 700; font-size: 15px; }
.score { font-size: 15px; font-weight: 700; }

.chooser { border-top: 6px solid var(--ink); margin: 40px 0; padding-top: 12px; }
.chooser fieldset { border: 0; padding: 0; margin: 0 0 12px; }
.chooser legend { font-weight: 700; font-size: 18px; margin-bottom: 8px; padding: 0; }
.lvl { display: grid; gap: 0; }
.lvl label { display: flex; gap: 12px; align-items: flex-start; border-bottom: 1px solid var(--line); padding: 10px 0; cursor: pointer; font-size: 17px; }
.lvl input, .mods input { width: 20px; height: 20px; margin-top: 3px; accent-color: #000; flex: none; }
.mods { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.mods label { display: flex; gap: 8px; align-items: center; font-size: 16px; cursor: pointer; }
.plan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-top: 2px solid var(--ink); margin-top: 14px; }
.plan > div { padding: 12px 20px 8px 0; }
.plan > div + div { border-left: 1px solid var(--line-2); padding-left: 20px; }
@media (max-width: 700px) { .plan { grid-template-columns: minmax(0, 1fr); } .plan > div + div { border-left: 0; border-top: 1px solid var(--line-2); padding-left: 0; } }
.plan h3 { margin: 0 0 6px; }
.verdict { font-size: 24px; font-weight: 700; letter-spacing: -.015em; margin: 14px 0 0; }
.verdict.pro-first::before { content: ""; display: inline-block; width: 14px; height: 14px; background: var(--warn); border: 2px solid var(--ink); margin-right: 10px; vertical-align: 1px; }
.modnotes p { border-left: 6px solid var(--warn); padding-left: 12px; font-size: 16px; }
.slot-call, .slot-aff { border: 2px solid var(--ink); padding: 12px 14px; margin: 12px 0; }

/* ── droppings at true size ───────────────────────────────────────── */
.dz-stage { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: 18px 0; overflow-x: auto; }
.dz-row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; align-items: center; border-bottom: 1px solid var(--line); padding: 10px 0; }
@media (max-width: 600px) { .dz-row { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
.dz-row h3 { margin: 0; font-size: 18px; }
.dz-row h3 a { text-decoration: none; }
.dz-row .dim { font-size: 14px; color: var(--muted); }
.dz-svg { display: block; overflow: visible; max-width: none; }
.dz-svg .urate { fill: #fff; stroke: #000; stroke-width: .25; }
.page-body { margin-top: 28px; }
.dz-look { font-size: 15px; margin: 4px 0 0; color: var(--ink-2); }
.calib { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin: 14px 0; }
.calib input[type=range] { width: 220px; accent-color: #000; }

/* ── what bit me + cost ───────────────────────────────────────────── */
.chk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0; }
.cost-table td.num, .cost-table th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cost-table td.typ { font-weight: 700; }
.calc { border-top: 2px solid var(--ink); padding-top: 12px; margin-bottom: 32px; }
.calc .row { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: flex-end; }
.field { display: grid; gap: 4px; }
.field > span { font-size: 15px; color: var(--muted); }
select, input[type=number] { appearance: none; background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: 0; padding: 10px 12px; font: 17px var(--sans); min-height: 48px; max-width: 100%; }
select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center; padding-right: 36px; }
.big { font-size: clamp(40px, 7vw, 72px); font-weight: 700; letter-spacing: -.04em; line-height: 1; margin: 16px 0 4px; }

/* ── home ─────────────────────────────────────────────────────────── */
.hero-h { padding: 36px 0 8px; }
.hero-h h1 { font-size: clamp(44px, 8vw, 104px); max-width: 12ch; }
.found { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 28px; border-top: 2px solid var(--ink); }
.found a { display: block; text-decoration: none; padding: 16px 16px 18px 0; border-bottom: 1px solid var(--line-2); min-height: 120px; }
.found a:nth-child(3n+2), .found a:nth-child(3n+3) { padding-left: 16px; border-left: 1px solid var(--line-2); }
.found a strong { display: block; font-size: 26px; letter-spacing: -.02em; line-height: 1.1; }
.found a span { display: block; color: var(--muted); font-size: 16px; margin-top: 6px; }
.found a:hover strong { text-decoration: underline; }
@media (max-width: 700px) { .found { grid-template-columns: minmax(0, 1fr); } .found a, .found a:nth-child(3n+2), .found a:nth-child(3n+3) { padding-left: 0; border-left: 0; min-height: 0; } }
.groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 28px; }
.groups h3 { margin: 0 0 4px; padding-top: 8px; border-top: 2px solid var(--ink); }
.groups ul { list-style: none; margin: 0; padding: 0; }
.groups li a { display: block; padding: 5px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.groups li a:hover { text-decoration: underline; }
.pestgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 22px 16px; align-items: start; }
.pestgrid a { text-decoration: none; }
.pestgrid a span { display: block; font-weight: 700; margin-top: 6px; font-size: 16px; }
.pestgrid a:hover span { text-decoration: underline; }

/* related + faq + sources */
.related ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 24px; }
.related li a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.related li a:hover { text-decoration: underline; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 2px solid var(--ink); }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--sans); }
.faq details[open] summary::after { content: "–"; }
.faq .ans { padding-bottom: 8px; }
.sources ol { padding-left: 1.4em; font-size: 15px; }
.sources li { margin: 4px 0; }

/* ── footer ───────────────────────────────────────────────────────── */
.foot { border-top: 6px solid var(--ink); background: #fff; padding: 28px 0 36px; font-size: 15px; color: var(--muted); margin-top: 72px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 24px; }
.foot-about p { margin: 0 0 8px; max-width: 44ch; }
.foot h2 { font-size: 15px; font-weight: 700; color: var(--ink); margin: 0 0 8px; letter-spacing: 0; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin: 4px 0; }
.foot a { color: var(--ink-2); }
.foot-brand { font-weight: 700; font-size: 20px; letter-spacing: -.02em; color: var(--ink); }
.legal { margin: 24px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }

@media print { .top, .foot, .chooser, .related { display: none; } body { font-size: 12pt; } }
