/* ============================================
   VOTE HOZER — Duty Log / Case File concept
   Palette: navy #10233F, brick #A32E38, cream #F2ECDD,
            badge gold #C4A030, ink #1B1B1A, line blue #1E4FA0
   Type: Big Shoulders Display (headlines) / IBM Plex Serif (body)
         / IBM Plex Mono (case numbers, labels)
   ============================================ */

:root {
  --navy: #10233F;
  --navy-deep: #0A1830;
  --brick: #A32E38;
  --cream: #F2ECDD;
  --paper: #EDE6D3;
  --gold: #C4A030;
  --ink: #1B1B1A;
  --line-blue: #1E4FA0;
  --gray: #6B6656;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(27,27,26,0.035) 1px, transparent 0);
  background-size: 22px 22px;
}

h1, h2, h3, .display {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0;
  color: var(--navy);
}

.mono {
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.06em;
}

a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- top ticker bar ---------- */
.ticker {
  background: var(--navy-deep);
  color: var(--cream);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  padding: 8px 0;
  border-bottom: 3px solid var(--gold);
  text-align: center;
  text-transform: uppercase;
}
.ticker span { opacity: 0.85; }

/* ---------- header / case stamp ---------- */
.masthead {
  padding: 26px 0 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 4px solid var(--ink);
}
.masthead .case-id {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--gray);
}
.masthead .badge-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  padding: 6px 12px;
  border-radius: 3px;
}
.badge-mark svg { flex-shrink: 0; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 54px 0 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: end;
}
.hero-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--brick);
  margin-bottom: 14px;
  display: inline-block;
  border-bottom: 2px solid var(--brick);
  padding-bottom: 4px;
}
.hero h1 {
  font-size: clamp(64px, 10vw, 128px);
  line-height: 0.86;
  color: var(--navy);
}
.hero h1 em {
  font-style: normal;
  color: var(--brick);
}
.hero .office {
  margin-top: 18px;
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--ink);
  letter-spacing: 0.03em;
}
.hero .sub {
  margin-top: 16px;
  max-width: 46ch;
  color: #33312a;
  font-size: 17px;
}

.hero-photo {
  position: relative;
  justify-self: end;
}
.hero-photo .frame {
  border: 10px solid var(--navy);
  outline: 3px solid var(--gold);
  outline-offset: -18px;
  box-shadow: 14px 14px 0 rgba(163,46,56,0.9);
  max-width: 380px;
  overflow: hidden;
}
.hero-photo .frame.poster-frame {
  max-width: 440px;
  outline: none;
  border-width: 8px;
}
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(1.03) contrast(1.03);
}
.hero-photo .tag {
  position: absolute;
  bottom: -18px;
  left: -14px;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  padding: 6px 10px;
  transform: rotate(-3deg);
  box-shadow: 3px 3px 0 rgba(0,0,0,0.25);
}

.thin-blue-line {
  height: 34px;
  margin-top: 46px;
  display: flex;
}
.thin-blue-line span { flex: 1; }
.thin-blue-line .a { background: var(--ink); }
.thin-blue-line .b { background: var(--line-blue); }
.thin-blue-line .c { background: var(--ink); }

/* ---------- section shells ---------- */
section.log {
  padding: 60px 0;
  border-bottom: 1.5px dashed rgba(27,27,26,0.25);
}
.log-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}
.log-head .num {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--brick);
  font-size: 15px;
}
.log-head h2 {
  font-size: clamp(32px, 5vw, 48px);
}

/* ---------- incident report entries (reasons to vote) ---------- */
.entries {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
}
.entry {
  border-bottom: 2px solid var(--ink);
  padding: 26px 26px 26px 0;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
}
.entry:nth-child(odd) { border-right: 2px solid var(--ink); padding-left: 0; }
.entry:nth-child(even) { padding-left: 26px; }
.entry .code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--gray);
}
.entry .code b {
  display: block;
  font-size: 30px;
  color: var(--navy);
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
}
.entry h3 {
  font-size: 21px;
  margin-bottom: 6px;
  color: var(--ink);
}
.entry p {
  margin: 0;
  font-size: 15.5px;
  color: #3c392f;
}
.stamp {
  display: inline-block;
  margin-top: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--brick);
  border: 1.5px solid var(--brick);
  padding: 2px 8px;
  border-radius: 2px;
  transform: rotate(-2deg);
  letter-spacing: 0.1em;
}

/* ---------- complaint report (the other guy) ---------- */
.complaint {
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 34px;
  position: relative;
}
.complaint::before {
  content: "UNVERIFIED";
  position: absolute;
  top: 22px;
  right: 26px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--brick);
  border: 2px solid var(--brick);
  padding: 3px 9px;
  transform: rotate(6deg);
  opacity: 0.85;
}
.complaint-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px dashed rgba(27,27,26,0.3);
  font-size: 15.5px;
}
.complaint-row:first-of-type { border-top: none; }
.complaint-row .field {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-top: 3px;
}
.complaint-note {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--gray);
  font-family: 'IBM Plex Mono', monospace;
  line-height: 1.6;
}

/* ---------- CTA / vote section ---------- */
.cta {
  background: var(--navy);
  color: var(--cream);
  padding: 70px 0 64px;
  text-align: center;
  position: relative;
}
.cta::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background: var(--gold);
}
.cta h2 {
  color: var(--cream);
  font-size: clamp(40px, 7vw, 70px);
  line-height: 0.95;
}
.cta .domain {
  display: inline-block;
  margin-top: 22px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  padding: 10px 18px;
  border-radius: 3px;
}
.cta-buttons {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.btn {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 26px;
  border-radius: 3px;
  border: 2px solid var(--gold);
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.btn.primary { background: var(--gold); color: var(--navy-deep); }
.btn.primary:hover { transform: translateY(-2px); background: #d8b34a; }
.btn.ghost { background: transparent; color: var(--cream); }
.btn.ghost:hover { transform: translateY(-2px); background: rgba(255,255,255,0.08); }

/* ---------- footer ---------- */
footer {
  padding: 26px 0 34px;
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--gray);
  background: var(--cream);
}
footer .fine {
  margin-top: 6px;
  opacity: 0.75;
}

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { justify-self: center; margin-top: 30px; }
  .entries { grid-template-columns: 1fr; }
  .entry:nth-child(odd) { border-right: none; padding-left: 0; }
  .entry:nth-child(even) { padding-left: 0; }
  .complaint-row { grid-template-columns: 1fr; gap: 4px; }
  .masthead { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

:focus-visible {
  outline: 3px solid var(--line-blue);
  outline-offset: 2px;
}
