/* Shared stylesheet for printable posters. US Letter, light background, ink-friendly.
   Poster pages are standalone — do not depend on /style.css. */

:root {
  --navy: #0a1628;
  --red: #c0392b;
  --text: #1a1a1a;
  --text-light: #555550;
  --light-grey: #e8e8e4;
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-print-color-adjust: exact; print-color-adjust: exact; }

@page { size: letter; margin: 0; }

body {
  font-family: var(--font-sans);
  color: var(--text);
}

/* The physical sheet: exact Letter size, internal safe-area padding so nothing
   critical sits in printer hardware margins. overflow:hidden guards against a
   blank second page from sub-pixel overflow. */
.sheet {
  width: 8.5in;
  height: 11in;
  padding: 0.55in;
  background: #fff;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Navy frame, inset from the paper edge so printer margins can't clip it */
.sheet::before {
  content: "";
  position: absolute;
  inset: 0.25in;
  border: 0.045in solid var(--navy);
  pointer-events: none;
}

/* ===== Screen preview ===== */
@media screen {
  body {
    background: var(--light-grey);
    padding: 4.5rem 0 4rem;
  }
  .sheet {
    margin: 0 auto;
    box-shadow: 0 6px 30px rgba(10, 22, 40, 0.3);
  }
  .toolbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    background: var(--navy);
  }
  .toolbar a {
    color: #c8d0dc;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
  }
  .toolbar a:hover { color: #fff; }
  .toolbar button {
    padding: 0.5rem 1.5rem;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 3px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
  }
  .toolbar button:hover { background: #e74c3c; }
}

/* ===== Print ===== */
@media print {
  body { background: #fff; }
  .no-print { display: none !important; }
  .sheet { box-shadow: none; }
}

/* ===== Thumbnail mode (?thumb — embedded in gallery iframes) ===== */
body.thumb { padding: 0; background: #fff; }
body.thumb .toolbar { display: none; }
body.thumb .sheet { box-shadow: none; }

/* ===== Poster typography & blocks ===== */
.poster-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.22in;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 0.07in 0.2in 0.06in;
  margin-bottom: 0.16in;
}

.poster-wordmark {
  font-family: var(--font-serif);
  font-size: 0.68in;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.poster-wordmark .wordmark-red { color: var(--red); }

.poster-subhead {
  font-family: var(--font-sans);
  font-size: 0.28in;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-top: 0.1in;
}

/* Logo band: 1-2-logo-2-1, mirrors the site hero */
.poster-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.28in;
  margin-top: 0.18in;
}
.poster-band__group {
  display: flex;
  align-items: center;
  gap: 0.24in;
}
.poster-band__pair {
  display: flex;
  flex-direction: column;
  gap: 0.3in;
}
.poster-band svg {
  display: block;
  flex-shrink: 0;
}
.poster-logo {
  width: 2.5in;
  height: 2.5in;
  flex-shrink: 0;
}
.poster-band-rule {
  width: 100%;
  border-top: 0.03in solid var(--red);
  margin: 0.2in 0 0.18in;
}

.poster-headline {
  font-family: var(--font-serif);
  font-size: 0.5in;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy);
  max-width: 7in;
}
.poster-headline .red { color: var(--red); }

/* Lead-in + crossed-out vulnerability list (used where a poster enumerates a threat set) */
.poster-lead {
  font-family: var(--font-serif);
  font-size: 0.44in;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy);
  max-width: 7in;
}
.poster-list {
  list-style: none;
  margin-top: 0.24in;
  font-family: var(--font-sans);
  font-size: 0.4in;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--navy);
  line-height: 1.5;
  max-width: 7in;
}
/* Inline bullet list: items flow on a line and wrap between items, each with a red ✕ */
.poster-list li {
  display: inline;
  white-space: nowrap;
}
.poster-list li:not(:last-child) { margin-right: 0.28in; }
.poster-list li::before {
  content: "\2715";
  color: var(--red);
  font-weight: 900;
  margin-right: 0.1in;
}

.poster-will {
  font-family: var(--font-serif);
  font-size: 0.31in;
  font-weight: 700;
  color: var(--navy);
  margin-top: 0.16in;
}
.poster-will .red { color: var(--red); text-decoration: underline; }

/* Tagline: pinned to the bottom of the sheet via auto top-margin, so it always
   rests directly above the footer rule on every poster regardless of the copy
   above it. Keep it identical across posters — do not override in per-poster tuning. */
.poster-bill {
  font-family: var(--font-sans);
  font-size: 0.32in;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: auto;
  margin-bottom: 0.16in;
}

/* Footer strip: QR + URL, sits at sheet bottom directly below the pinned tagline */
.poster-footer {
  width: 100%;
  padding-top: 0.18in;
  border-top: 0.04in solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4in;
  text-align: left;
}
.poster-footer img {
  width: 1.4in;
  height: 1.4in;
  display: block;
}
.poster-footer__url {
  font-family: var(--font-serif);
  font-size: 0.42in;
  font-weight: 700;
  color: var(--navy);
}
.poster-footer__cta {
  font-family: var(--font-sans);
  font-size: 0.2in;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 0.06in;
}
