/* ===================================================================
   Seeking Justice For The Innocent — public site styles
   =================================================================== */
:root {
  --navy: #14213d;
  --navy-800: #1d2d50;
  --ink: #1a1f2e;
  --slate: #4a5468;
  --muted: #7a8397;
  --line: #e4e7ee;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --bg-alt: #f0f2f8;
  --gold: #c8952f;
  --gold-soft: #f6ecd6;
  --crimson: #9c2b2e;
  --green: #2f7a4d;
  --green-soft: #e3f2e8;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 40px rgba(20, 33, 61, 0.08);
  --shadow-sm: 0 4px 18px rgba(20, 33, 61, 0.07);
  --maxw: 1120px;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Lora', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--crimson); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); font-weight: 700; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 12px; top: 12px; background: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: 0.96rem; cursor: pointer; border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--crimson); color: #fff; box-shadow: 0 8px 22px rgba(156, 43, 46, 0.28); }
.btn-primary:hover { background-color: #85272a; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-outline-light:hover { border-color: #fff; }
.btn-nav { background: var(--crimson); color: #fff !important; padding: 9px 18px; font-size: 0.9rem; }
.btn-nav:hover { background: #85272a; text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px;
  background: var(--navy); color: var(--gold); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.5px;
  font-family: var(--font-body);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { color: var(--navy); font-size: 1.02rem; }
.brand-text em { color: var(--gold); font-style: normal; font-size: 0.74rem; letter-spacing: 1.5px; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--slate); font-weight: 500; font-size: 0.95rem; text-decoration: none; }
.site-nav a:hover { color: var(--navy); }
.site-nav a.active { color: var(--navy); font-weight: 600; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: 0.2s; }

/* ---------- Badges / pills ---------- */
.badge {
  display: inline-block; padding: 5px 14px; border-radius: 999px; font-size: 0.76rem;
  font-weight: 700; letter-spacing: 1px; text-transform: uppercase; background: var(--gold-soft); color: var(--gold);
  margin-bottom: 18px;
}
.badge-victory { background: var(--green-soft); color: var(--green); }
.eyebrow { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase; background: var(--bg-alt); color: var(--slate); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(1000px 500px at 80% -10%, rgba(200,149,47,0.28), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, #0e1830 100%);
}
.hero-inner { padding: 88px 24px 76px; max-width: 880px; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.5px; margin: 0 0 20px; }
.hero-sub { font-size: 1.16rem; color: #d4daf0; max-width: 640px; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: flex; gap: 44px; margin: 48px 0 0; padding: 28px 0 0; border-top: 1px solid rgba(255,255,255,0.16); }
.hero-stats div dt { font-size: 2.2rem; font-weight: 800; color: var(--gold); font-family: var(--font-body); }
.hero-stats div dd { margin: 2px 0 0; color: #b7c0dc; font-size: 0.9rem; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-soft); }
.section h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin: 0 0 18px; letter-spacing: -0.4px; }
.section-title { font-size: 1.7rem; margin-bottom: 28px; }
.lead { font-size: 1.18rem; color: var(--slate); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 34px; gap: 20px; }
.section-head h2 { margin: 0; }
.link-arrow { color: var(--crimson); font-weight: 600; white-space: nowrap; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease; box-shadow: var(--shadow-sm);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); text-decoration: none; }
.card-media { height: 176px; background-size: cover; background-position: center; background-color: var(--bg-alt); }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 1.16rem; margin: 4px 0 0; color: var(--navy); }
.card-body p { color: var(--slate); font-size: 0.95rem; margin: 0; flex: 1; }
.card .meta { color: var(--muted); font-size: 0.84rem; }

/* Feature card */
.feature-card {
  display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit;
  transition: transform 0.18s ease;
}
.feature-card:hover { transform: translateY(-3px); text-decoration: none; }
.feature-media { min-height: 320px; background-size: cover; background-position: center; background-color: var(--bg-alt); }
.feature-body { padding: 40px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.feature-body h3 { font-size: 1.7rem; margin: 0; }
.feature-body p { color: var(--slate); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(160deg, var(--navy), #0e1830); color: #fff; }
.cta-inner { padding: 68px 24px; text-align: center; }
.cta-inner h2 { color: #fff; font-size: 2rem; margin: 0 0 12px; }
.cta-inner p { color: #c3cbe6; max-width: 560px; margin: 0 auto 26px; }
.cta-inner .hero-actions { justify-content: center; }

/* ---------- Page hero ---------- */
.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 64px 0 52px; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0 0 16px; letter-spacing: -0.5px; }
.page-hero .hero-sub { color: var(--slate); font-size: 1.15rem; margin: 0; }
.page-hero-victory { background: linear-gradient(160deg, #eef7f0, #f6f7fb); }

/* ---------- Article ---------- */
.article { font-size: 1.06rem; color: var(--ink); }
.article h2 { font-size: 1.6rem; margin: 44px 0 14px; scroll-margin-top: 90px; }
.article h3 { font-size: 1.2rem; margin: 28px 0 10px; }
.article p { margin: 0 0 18px; color: var(--slate); }
.article ul { margin: 0 0 22px; padding-left: 22px; color: var(--slate); }
.article li { margin-bottom: 9px; }
.article blockquote {
  margin: 26px 0; padding: 20px 26px; border-left: 4px solid var(--gold);
  background: var(--gold-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-serif); font-size: 1.12rem; color: var(--navy-800); font-style: italic;
}
.article blockquote.pull { text-align: center; font-size: 1.5rem; border: none; background: transparent; padding: 30px 0; }
.article blockquote.pull cite { display: block; font-size: 0.95rem; font-style: normal; color: var(--muted); margin-top: 12px; font-family: var(--font-body); }
.toc {
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; padding: 18px 22px; margin-bottom: 30px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 0.9rem;
}
.toc strong { color: var(--navy); margin-right: 6px; }
.toc a { color: var(--slate); }
.article-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 40px 0 24px; }
.source-note { font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 110px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 96px 1fr; gap: 30px; padding: 0 0 34px; position: relative; }
.tl-year { text-align: right; font-weight: 700; color: var(--gold); font-size: 0.92rem; padding-top: 2px; }
.tl-body { position: relative; padding-left: 8px; }
.tl-body::before { content: ''; position: absolute; left: -22px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); }
.tl-body h3 { margin: 0 0 4px; font-size: 1.14rem; }
.tl-body p { margin: 0; color: var(--slate); }
.tl-highlight .tl-body::before { background: var(--green); border-color: var(--green); }
.tl-highlight .tl-body h3 { color: var(--green); }

/* ---------- Help ---------- */
.help-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 44px; }
.help-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); }
.help-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: var(--gold); font-weight: 800; margin-bottom: 14px; }
.help-card h3 { margin: 0 0 8px; }
.help-card p { color: var(--slate); margin: 0 0 12px; }
.callout { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 44px; text-align: center; }
.callout h2 { color: #fff; margin: 0 0 12px; }
.callout p { color: #c3cbe6; max-width: 560px; margin: 0 auto 22px; }

/* ---------- Documents ---------- */
.doc-list { list-style: none; margin: 0 0 40px; padding: 0; }
.doc-list li { margin-bottom: 12px; }
.doc-list a { display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); color: inherit; text-decoration: none; transition: border-color 0.15s; }
.doc-list a:hover { border-color: var(--gold); text-decoration: none; }
.doc-icon { font-size: 1.4rem; }
.doc-text { display: flex; flex-direction: column; flex: 1; }
.doc-text strong { color: var(--navy); }
.doc-arrow { color: var(--muted); }
.empty-state { padding: 40px; text-align: center; background: var(--bg-soft); border: 1px dashed var(--line); border-radius: var(--radius); margin-bottom: 30px; }

/* ---------- Category filter chips ---------- */
.cat-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip { padding: 8px 18px; border-radius: 999px; background: var(--bg-alt); color: var(--slate); font-size: 0.9rem; font-weight: 500; text-decoration: none; }
.chip:hover { background: #e2e6f0; text-decoration: none; }
.chip.active { background: var(--navy); color: #fff; }

/* ---------- Single post ---------- */
.post-head { margin-bottom: 26px; }
.post-head h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 14px 0 10px; letter-spacing: -0.5px; }
.post-meta { color: var(--muted); font-size: 0.92rem; }
.post-cover { width: 100%; border-radius: var(--radius); margin-bottom: 30px; box-shadow: var(--shadow-sm); }
.post-body img { border-radius: var(--radius-sm); margin: 20px 0; }
.post-foot { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.contact-card p { margin: 0 0 18px; }

/* ---------- Footer ---------- */
.site-footer { background: #0e1830; color: #aeb7d4; padding: 60px 0 26px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand-mark { margin-bottom: 14px; }
.footer-brand p { margin: 4px 0; color: #c9d0e8; }
.footer-brand .muted { color: #7f89ab; }
.site-footer h4 { color: #fff; font-size: 0.86rem; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #aeb7d4; font-size: 0.94rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; font-size: 0.86rem; color: #7f89ab; }
.footer-bottom p { margin: 0; }

/* ---------- Pager ---------- */
.pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 44px; }
.pager-btn { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: 0.92rem; background: #fff; }
.pager-btn:hover { border-color: var(--navy); text-decoration: none; }
.pager-btn.disabled { color: var(--muted); border-color: var(--line); pointer-events: none; opacity: 0.5; }
.pager-info { color: var(--muted); font-size: 0.9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card { grid-template-columns: 1fr; }
  .feature-media { min-height: 220px; }
  .help-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: flex-start; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--bg-alt); }
  .btn-nav { margin-top: 10px; }
}
@media (max-width: 620px) {
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .timeline::before { left: 70px; }
  .timeline li { grid-template-columns: 60px 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .callout, .cta-inner { padding: 34px 22px; }
}
