/* ---- Self-hosted Oswald -------------------------------------------------
   Oswald, SIL Open Font License 1.1. Variable weight 400-700, latin subset,
   one 21 KB file (replaces the two weights previously pulled from Google).
   font-display:optional = if the font is ready in time it is used on first
   paint; if not, the fallback is kept for the whole page load and the browser
   never swaps mid-render. No swap means no layout shift.                   */
@font-face {
  font-family: "Oswald";
  src: url("oswald-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: optional;
}

/* ==========================================================================
   Stop T5 Grayslake — REFERENCE variant (deep indigo)
   A restrained palette for a site meant to be cited rather than glanced at.
   Red is reduced to an accent; structure carries the emphasis instead.

   TO USE: in each page's <head>, change
       <link rel="stylesheet" href="assets/style.css">
   to
       <link rel="stylesheet" href="assets/style-reference.css">
   ========================================================================== */

:root {
  --navy:     #2E2A6B;   /* deep indigo — primary structural colour */
  --navy-dk:  #201D4E;
  --red:      #A32B34;   /* accent only — links, small marks */
  --red-dark: #8A232B;
  --gold:     #8A6508;
  --band:     #EDF1F5;   /* light neutral bands */
  --ink:      #14181C;
  --muted:    #56616E;
  --rule:     #D6DDE4;
  --bg:       #FFFFFF;
  --bg-soft:  #F7F9FB;
  --maxw:     1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17.5px/1.72 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
}

h1, h2, h3, nav a, .btn {
  font-family: "Oswald", "Arial Narrow", Impact, sans-serif;
  font-weight: 500; letter-spacing: .01em;
}

a { color: var(--navy); text-underline-offset: 2px; }
a:hover { color: var(--red-dark); }

img { max-width: 100%; height: auto; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.skip { position: absolute; left: -9999px; background: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- header ---------- */

.masthead { background: var(--bg); border-bottom: 1px solid var(--rule); }
.masthead-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 12px; padding: 26px 22px 20px;
  max-width: var(--maxw); margin: 0 auto;
}
.masthead h1 {
  margin: 0; line-height: 1.05;
  font-size: clamp(26px, 4.4vw, 40px);
  text-transform: uppercase; color: var(--ink);
}
.masthead h1 .in { color: var(--muted); display: block; font-size: .58em; font-weight: 400; }
.tagline { margin: 0; color: var(--muted); font-size: 15px; flex-basis: 100%; font-style: normal; }
.tagline b { color: var(--muted); font-weight: 600; }

/* ---------- nav ---------- */

nav { background: var(--navy); }
nav ul { display: flex; flex-wrap: wrap; list-style: none; margin: 0 auto; padding: 0; max-width: var(--maxw); }
nav a {
  display: block; padding: 12px 20px; color: #fff;
  text-decoration: none; text-transform: uppercase; font-size: 15.5px;
}
nav a:hover, nav a:focus { background: var(--navy-dk); color: #fff; }
nav a[aria-current="page"] { background: var(--navy-dk); color: #fff; box-shadow: inset 0 -3px 0 var(--red); }

/* ---------- hero ---------- */

.hero { background: var(--bg-soft); border-bottom: 1px solid var(--rule); padding: 28px 0; }
.hero p { margin: 0; font-size: clamp(18px, 2.2vw, 21px); max-width: 66ch; color: var(--ink); }
.hero strong { color: var(--ink); font-weight: 700; }

/* ---------- layout ---------- */

.layout { display: grid; grid-template-columns: 3fr 1fr; gap: 40px; padding: 34px 0 10px; }
@media (max-width: 820px) { .layout { grid-template-columns: 1fr; gap: 28px; } }

section { margin: 0 0 40px; }

h2 {
  font-size: clamp(21px, 2.6vw, 27px); text-transform: uppercase;
  color: var(--ink); margin: 0 0 4px; line-height: 1.18;
}
h2::after { content: ""; display: block; width: 46px; height: 3px; background: var(--navy); margin: 9px 0 18px; }
h3 { font-size: 19px; margin: 0 0 6px; font-weight: 600; }

/* ---------- news rail ---------- */

.news {
  align-self: start; background: var(--bg-soft);
  border: 1px solid var(--rule); border-top: 3px solid var(--navy);
  padding: 16px 18px;
}
.news h2 { font-size: 19px; }
.news h2::after { width: 32px; height: 2px; margin-bottom: 12px; }
.news-item { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.news-item:last-of-type { border-bottom: 0; }
.news-item time { display: block; font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.news-item h3 { font-size: 16.5px; margin: 3px 0 4px; }
.news-item p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- events ---------- */

.event { display: flex; gap: 18px; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid var(--rule); }
.event:last-child { border-bottom: 0; }
.date-badge {
  flex: 0 0 62px; text-align: center; background: var(--navy); color: #fff;
  border-radius: 3px; padding: 7px 4px; line-height: 1.1;
}
.date-badge .m { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; }
.date-badge .d { display: block; font-size: 23px; font-family: "Oswald", sans-serif; }
.event-body h3 { margin: 0 0 2px; }
.event-body p { margin: 0; font-size: 15.5px; color: var(--muted); }

/* ---------- mailing list ---------- */

.signup { background: var(--band); border-left: 4px solid var(--navy); padding: 22px 24px; }
.signup h2 { margin-top: 0; }
.signup p { margin: 0 0 14px; max-width: 58ch; }
.signup form { display: flex; flex-wrap: wrap; gap: 10px; }
.signup input[type="email"], .signup input[type="text"] {
  flex: 1 1 220px; min-width: 0; padding: 12px 14px; font-size: 16px;
  border: 1px solid #a9b3bd; border-radius: 3px; background: #fff;
}

.btn {
  display: inline-block; cursor: pointer; background: var(--navy); color: #fff;
  border: 0; border-radius: 3px; padding: 12px 26px; font-size: 15.5px;
  text-transform: uppercase; text-decoration: none;
}
.btn:hover { background: var(--navy-dk); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* ---------- myth blocks: emphasis by weight, not colour ---------- */

.myth { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.myth:last-child { border-bottom: 0; }
.myth h3 { margin: 0 0 8px; font-size: 18.5px; color: var(--ink); }
.myth h3 .n { color: var(--muted); font-weight: 500; }
.myth p { margin: 0; }
.myth .lab {
  font-family: "Oswald", sans-serif; color: var(--navy);
  letter-spacing: .06em; font-size: 15px;
}
.myth strong { color: var(--ink); font-weight: 700; }   /* no red inside the text */
.myth .src { font-size: 13.5px; margin-top: 7px; color: var(--muted); }
.myth .src a { color: var(--navy); }

/* ---------- cards ---------- */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.card { background: var(--bg-soft); border: 1px solid var(--rule); border-top: 3px solid var(--navy); padding: 17px 19px; }
.card h3 { color: var(--ink); }
.card p { margin: 0; font-size: 15.5px; color: var(--muted); }

/* ---------- downloads ---------- */

.dl { display: flex; gap: 18px; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--rule); }
.dl:last-child { border-bottom: 0; }
.dl .ico {
  flex: 0 0 52px; height: 52px; border-radius: 3px; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: "Oswald", sans-serif; font-size: 12.5px; letter-spacing: .04em;
}
.dl-body h3 { margin: 0 0 2px; }
.dl-body p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- steps ---------- */

.step { display: flex; gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--rule); }
.step:last-child { border-bottom: 0; }
.step .num {
  flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: "Oswald", sans-serif; font-size: 19px;
}
.step-body h3 { margin: 0 0 4px; }
.step-body p { margin: 0 0 6px; }

.callout { background: var(--bg-soft); border-left: 4px solid var(--navy); padding: 15px 19px; margin: 20px 0; }
.callout p { margin: 0; }

/* ---------- footer ---------- */

footer { background: var(--band); border-top: 1px solid var(--rule); margin-top: 40px; padding: 26px 0; font-size: 15px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
footer p { margin: 0 0 6px; }
footer strong { color: var(--ink); }
footer .qr { flex: 0 0 118px; text-align: center; }
footer .qr img { border: 3px solid #fff; }
footer .qr span { display: block; font-size: 12.5px; margin-top: 4px; }

/* ---------- centred masthead with the STOP sign ---------- */
.masthead-inner { justify-content: center; text-align: center; }
.masthead-inner > div { width: 100%; }

.sign-lg {                 /* the octagon above the title */
  display: block;
  width: 150px; height: 150px;
  margin: 0 auto 14px;
}
@media (max-width: 600px) {
  .sign-lg { width: 112px; height: 112px; }
}

/* ---------- lists inside cards ---------- */
.card ul       { margin: 0; padding-left: 20px; }
.card li       { font-size: 15.5px; line-height: 1.5; }
.card li + li  { margin-top: 5px; }

/* ---------- Partial and Contested Facts: comment panels ---------- */
.claims                 { margin: 18px 0 0; padding-left: 22px; }
.claims > li            { margin-bottom: 22px; }
.claims > li > ul       { list-style: none; margin: 10px 0 0; padding: 15px 19px;
                          background: var(--bg-soft); border: 1px solid var(--rule);
                          border-left: 3px solid var(--navy); }
.claims > li > ul > li  { margin: 0; }
.claims > li > ul p     { margin: 0 0 11px; }
.claims > li > ul p:last-child { margin-bottom: 0; }

/* ---------- myths: put the FACT on the card background ---------- */
.myth p:not(.src) { background: var(--bg-soft); border: 1px solid var(--rule);
                    border-left: 3px solid var(--navy); padding: 14px 17px;
                    margin: 0 0 4px; }

/* inner pages carry their own <h1>, so the masthead title is a <p> there */
.masthead .site-title {
  margin: 0; line-height: 1.05;
  font-family: "Oswald", "Arial Narrow", Impact, sans-serif; font-weight: 500;
  letter-spacing: .01em;
  font-size: clamp(26px, 4.4vw, 40px);
  text-transform: uppercase; color: var(--ink);
}
.masthead .site-title .in { color: var(--muted); display: block; font-size: .58em; font-weight: 400; }

/* a page-level h1 inside main should read exactly like the h2 it replaced */
main h1 {
  font-size: clamp(21px, 2.6vw, 27px); text-transform: uppercase;
  color: var(--ink); margin: 0 0 4px; line-height: 1.18;
}
main h1::after { content: ""; display: block; width: 46px; height: 3px;
                 background: var(--navy); margin: 9px 0 18px; }

/* pointer to the printable myths flyer at the foot of a section */
.callout-line { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--rule);
                font-size: 16px; color: var(--muted); }
.callout-line a { color: var(--navy); font-weight: 600; }
