:root{
  --bg: #070708;
  --panel: #0b0b0d;
  --ink: #e9e6df;
  --muted: #a9a6a0;
  --line: rgba(255,255,255,.10);
  --hard: rgba(255,255,255,.18);
  --accent: #9c7cff; /* bruised violet; use sparingly */
  --danger: #c43b3b; /* used only if you want a “stamp” tone */
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; background:var(--bg); color:var(--ink); }

.witness{
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  line-height:1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.sheet{
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(18px, 3.2vw, 48px) 18px 70px;
}

.top{
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px;
}

.stamp{
  display:inline-block;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: .22em;
  font-size: 12px;
  padding: 10px 12px;
  border: 1px solid var(--hard);
  border-radius: 10px;
  text-transform: uppercase;
  color: var(--muted);
}

.meta{
  margin-top: 14px;
  display:grid;
  grid-template-columns: 1fr;
  gap: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 12.5px;
  color: var(--muted);
}
.meta .k{ opacity:.85; }
.meta .v{ color: var(--ink); }

.warning{
  margin: 14px 0 0;
  padding: 14px 14px;
  border-left: 3px solid var(--accent);
  background: rgba(156,124,255,.06);
  color: rgba(233,230,223,.92);
}

.cut{
  border:0;
  height:1px;
  margin: 22px 0;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.block{
  padding: 6px 2px;
}

.block h2{
  margin: 18px 0 10px;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--muted);
}

.block p{ margin: 0 0 12px; max-width: 70ch; }

.list{
  margin: 0;
  padding-left: 18px;
  max-width: 72ch;
}
.list li{ margin: 10px 0; }

.redact{
  display:inline-block;
  padding: 6px 10px;
  border: 1px dashed rgba(255,255,255,.18);
  background: rgba(0,0,0,.25);
  color: rgba(233,230,223,.90);
  margin: 8px 0;
}

.images .evidence{
  margin: 18px 0 0;
  max-width: 520px;
}
.evidence img{
  width: 100%;
  height: auto;
  display:block;
  border: 1px solid var(--line);
  border-radius: 12px;
  filter: contrast(.98) brightness(.94);
}
.evidence figcaption{
  margin-top: 10px;
  color: var(--muted);
  font-style: italic;
  font-size: 0.95rem;
}

.foot{
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.return{
  display:inline-block;
  margin-top: 16px;
  text-decoration:none;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--ink);
  border: 1px solid var(--hard);
  border-radius: 10px;
  padding: 10px 12px;
}
.return:hover{ border-color: var(--accent); }

@media (min-width: 720px){
  .meta{ grid-template-columns: 1fr 1fr; }
}

.exit-line{
  margin-top: 24px;
  font-style: italic;
  color: rgba(233,230,223,.75);
}

/* =========================
   WITNESS HEADER LAYOUT
   Drop-in replacement for:
   .header-grid, .header-text,
   .header-portrait, .header-portrait img
   ========================= */

/* Two-column header: text left, portrait right */
.header-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(160px, 22vw, 240px);
  gap: 24px;
  align-items: start;
}

/* Prevent long lines from breaking the grid */
.header-text{
  min-width: 0;
}

/* Portrait column */
.header-portrait{
  display: flex;
  justify-content: center;
  align-items: start;
}

/* Portrait image: vertical capsule, responsive, stays inside header */
.header-portrait img{
  display: block;

  width: 100%;
  max-width: 240px;

  /* Keep it from overpowering / spilling visually */
  max-height: 190px;

  /* Capsule shape (vertical oval) */
  aspect-ratio: 2 / 3;
  border-radius: 999px;

  /* Crop behavior */
  object-fit: cover;

  /* Aim the crop lower than your current 15% so more face appears */
  object-position: 50% 30%;

  border: 1px solid rgba(255,255,255,.18);
  filter: contrast(1.08) saturate(1.25);
}

/* Mobile: stack portrait above text so it doesn't crush layout */
@media (max-width: 720px){
  .header-grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .header-portrait{
    order: -1;
    justify-content: flex-start;
  }

  .header-portrait img{
    max-width: 200px;
    max-height: 160px;
    object-position: 50% 25%;
  }
}

/* =========================
   WHY THIS VOICE SECTION
   ========================= */

.voice-grid{
  display: grid;
  grid-template-columns: clamp(180px, 28%, 260px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.voice-image{
  margin: 0;
}

.voice-image img{
  width: 100%;
  height: auto;
  display: block;

  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.15);

  filter: contrast(1.05) saturate(1.1);
}

.voice-image figcaption{
  margin-top: 10px;
  font-size: 0.8rem;
  font-style: italic;
  opacity: 0.65;
}

.voice-text{
  min-width: 0;
}

/* Mobile: stack cleanly */
@media (max-width: 820px){
  .voice-grid{
    grid-template-columns: 1fr;
  }

  .voice-image{
    max-width: 320px;
  }
}

/* =========================
   SECTION HEADERS
   ========================= */

.witness h2{
  font-size: 0.95rem;            /* up from ~0.8–0.85 */
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.9);
}

.witness h2::after{
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  margin-top: 10px;
  background: rgba(255,255,255,0.25);
}

/* =========================
   EVIDENCE SECTION
   ========================= */

.block.images{
  text-align: center;
}

.block.images h2{
  text-align: left;              /* keep label aligned with rest of doc */
}

.block.images .evidence{
  margin: 0 auto;
  max-width: 520px;
}

.block.images img{
  display: block;
  margin: 0 auto;
}

.block.images figcaption{
  text-align: center;
}

/* =========================
   FOOTER / RETURN
   ========================= */

.foot{
  text-align: center;
}

.foot .return{
  margin: 24px auto 0;
  display: inline-block;
}

/* =========================
   TRANSACTION / TOLL STAMPS
   ========================= */

.toll{
  margin: 18px 0 22px;
  text-align: center;
}

.toll p{
  display: inline-block;
  margin: 6px 10px;

  font-size: 0.75rem;
  letter-spacing: 0.08em;
  opacity: 0.75;

  padding: 6px 10px;
  border: 1px dashed rgba(255,255,255,0.25);

  white-space: nowrap;
}