/* ============================================================================
   PsyOps Bureau — agency squeeze-page design system
   Self-contained (depends only on css/reset.css). Aesthetic: classified
   intelligence dossier — olive-ink base, bone paper text, oxide-amber signal
   accent, redacted-bar motif, monospace field labels.
   ========================================================================== */

:root {
  --ink:        #14160f;   /* near-black field olive          */
  --ink-2:      #1b1e15;   /* raised panel                    */
  --ink-3:      #232619;   /* card / input surface            */
  --bone:       #ece7d8;   /* primary text on dark            */
  --bone-dim:   #b6b3a3;   /* secondary text                  */
  --muted:      #8d8b7c;   /* tertiary / captions             */
  --line:       rgba(236, 231, 216, 0.13);
  --line-soft:  rgba(236, 231, 216, 0.07);
  --amber:      #d08a2e;   /* signal / accent                 */
  --amber-hi:   #e6a64a;
  --oxide:      #b1452a;   /* classified red                  */
  --olive:      #8a9460;   /* field olive accent              */
  --paper:      #e7e2d2;   /* light section background        */
  --paper-ink:  #20231a;   /* text on paper                   */

  --display: "Archivo", "Oswald", "Helvetica Neue", Arial, sans-serif;
  --serif:   "Spectral", Georgia, "Times New Roman", serif;
  --mono:    "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --maxw: 1180px;
  --ease: cubic-bezier(0.16, 0.84, 0.44, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body.bureau {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.62;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* atmospheric grain over the whole page (fixed, non-scrolling) */
body.bureau::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.bureau a { color: inherit; text-decoration: none; }
.bureau img { max-width: 100%; display: block; }
.bureau h1, .bureau h2, .bureau h3, .bureau h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0;
  text-transform: none;
}
.bureau p { margin: 0 0 1.1em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }

/* ---- shared label / kicker ------------------------------------------------ */
.kicker {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--amber);
  display: inline-block;
}
.classmark {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

/* redacted bar motif */
.redact {
  background: var(--bone);
  color: transparent !important;
  border-radius: 1px;
  -webkit-user-select: none; user-select: none;
  padding: 0 0.15em;
}

/* =============================== TOP BAR ================================== */
.topbar {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: rgba(20, 22, 15, 0.72);
  border-bottom: 1px solid var(--line-soft);
  -webkit-backdrop-filter: saturate(130%) blur(10px);
  backdrop-filter: saturate(130%) blur(10px);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.topbar.scrolled { background: rgba(16, 18, 12, 0.96); border-bottom-color: var(--line); }
.topbar-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 32px;
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand .seal {
  width: 34px; height: 34px; flex: none;
}
.brand-name {
  font-family: var(--display); font-weight: 800;
  font-size: 17px; letter-spacing: 0.04em; color: var(--bone);
  line-height: 1;
}
.brand-name small {
  display: block; font-family: var(--mono); font-weight: 400;
  font-size: 9.5px; letter-spacing: 0.28em; color: var(--muted);
  margin-top: 4px; text-transform: uppercase;
}
.topnav { display: flex; align-items: center; gap: 30px; }
.topnav a.nlink {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--bone-dim);
  transition: color 0.2s var(--ease);
}
.topnav a.nlink:hover { color: var(--bone); }

/* mobile navigation toggle (hamburger) — hidden on desktop, shown ≤860px */
.navtoggle { display: none; background: none; border: 0; padding: 10px; margin: -10px -8px -10px 8px; cursor: pointer; line-height: 0; }
.navtoggle-bars { display: block; width: 24px; height: 14px; position: relative; }
.navtoggle-bars span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--bone); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), top 0.25s var(--ease); }
.navtoggle-bars span:nth-child(1) { top: 0; }
.navtoggle-bars span:nth-child(2) { top: 6px; }
.navtoggle-bars span:nth-child(3) { top: 12px; }
body.nav-open .navtoggle-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
body.nav-open .navtoggle-bars span:nth-child(2) { opacity: 0; }
body.nav-open .navtoggle-bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* button system */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 500;
  padding: 14px 24px; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn-primary { background: var(--amber); color: #1a1305; border-color: var(--amber); }
.btn-primary:hover { background: var(--amber-hi); border-color: var(--amber-hi); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--bone); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--bone); transform: translateY(-2px); }
.btn-sm { padding: 11px 18px; font-size: 11.5px; }
.btn .ar { transition: transform 0.2s var(--ease); }
.btn:hover .ar { transform: translateX(4px); }

/* =================================== HERO ================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: flex-end;
  padding: 150px 0 70px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.35) contrast(1.05) brightness(0.62); }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,22,15,0.55) 0%, rgba(20,22,15,0.30) 38%, rgba(20,22,15,0.92) 100%),
    linear-gradient(90deg, rgba(20,22,15,0.85) 0%, rgba(20,22,15,0.15) 70%);
}
/* faint scanning grid */
.hero-bg::before {
  content: ""; position: absolute; inset: 0; z-index: 1; opacity: 0.5;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero .wrap { width: 100%; }
.hero-grid {
  display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 48px; align-items: end;
}
.hero-head .kicker { margin-bottom: 26px; }
.hero-head h1 {
  font-size: clamp(44px, 7.2vw, 96px);
  letter-spacing: -0.025em;
  margin-bottom: 26px;
}
.hero-head h1 em {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  color: var(--amber); letter-spacing: -0.01em;
}
.hero-head .lede {
  font-size: clamp(18px, 2.1vw, 21px);
  color: var(--bone-dim); max-width: 42ch; margin-bottom: 34px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* hero side dossier card */
.dossier-card {
  background: rgba(16, 18, 12, 0.82);
  border: 1px solid var(--line);
  padding: 26px 26px 22px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.dossier-card .row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.dossier-card .row:last-child { border-bottom: 0; }
.dossier-card .row .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.dossier-card .row .v { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--bone); text-align: right; }
.dossier-card .head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.dossier-card .head .classmark { color: var(--oxide); }
.dossier-card .stamp {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--oxide); border: 1px solid var(--oxide); padding: 3px 7px; border-radius: 2px;
  transform: rotate(-3deg);
}

/* scroll cue */
.scrollcue { margin-top: 54px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); display: inline-flex; gap: 10px; align-items: center; }
.scrollcue .line { width: 40px; height: 1px; background: var(--muted); display: inline-block; position: relative; overflow: hidden; }
.scrollcue .line::after { content:""; position:absolute; left:-40px; top:0; width:40px; height:1px; background: var(--amber); animation: sweep 2.4s var(--ease) infinite; }
@keyframes sweep { 0%{transform:translateX(0)} 60%,100%{transform:translateX(80px)} }

/* ============================== TRUST STRIP ============================== */
.trust { background: var(--ink-2); border-bottom: 1px solid var(--line); padding: 30px 0; }
.trust-inner { display: flex; align-items: center; gap: 40px; }
.trust .lab { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); flex: none; max-width: 150px; line-height: 1.5; }
.trust .logos { display: flex; align-items: center; gap: 38px; flex: 1; flex-wrap: wrap; }
.trust .logos img { height: 30px; width: auto; opacity: 0.42; filter: grayscale(1) brightness(2.4) contrast(0.7); transition: opacity 0.25s var(--ease); }
.trust .logos img:hover { opacity: 0.8; }

/* ================================ SECTIONS =============================== */
.section { padding: 110px 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head .kicker { margin-bottom: 20px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 56px); margin-bottom: 18px; }
.section-head p { color: var(--bone-dim); font-size: 19px; }

.divider-num {
  position: absolute; top: 36px; right: 32px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; color: var(--muted);
}

/* ---- mandate / stats ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--ink); padding: 34px 28px; }
.stat .n { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4vw, 50px); color: var(--bone); line-height: 1; letter-spacing: -0.02em; }
.stat .n span { color: var(--amber); }
.stat .l { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 14px; line-height: 1.5; }

/* ---- services / commission grid ---- */
.svc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.svc {
  position: relative; background: var(--ink-2); border: 1px solid var(--line);
  overflow: hidden; transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.svc:hover { transform: translateY(-4px); border-color: rgba(208,138,46,0.5); }
.svc .ph { position: relative; height: 200px; overflow: hidden; }
.svc .ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.5) contrast(1.05) brightness(0.74); transition: transform 0.6s var(--ease); }
.svc:hover .ph img { transform: scale(1.06); }
.svc .ph::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(20,22,15,0.1), rgba(20,22,15,0.85)); }
.svc .ph .tag { position: absolute; left: 16px; top: 16px; z-index: 2; font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); background: rgba(16,18,12,0.7); border: 1px solid var(--line); padding: 5px 9px; }
.svc .body { padding: 24px 24px 28px; }
.svc .body h3 { font-size: 22px; margin-bottom: 12px; }
.svc .body p { color: var(--bone-dim); font-size: 16px; margin-bottom: 16px; }
.svc .body .meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; }
.svc .body .meta b { color: var(--bone); font-weight: 500; }
.span-6 { grid-column: span 6; }
.span-4 { grid-column: span 4; }

/* ---- process ---- */
.proc-band { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.proc .step { padding: 44px 30px; border-right: 1px solid var(--line); position: relative; }
.proc .step:last-child { border-right: 0; }
.proc .step .no { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; color: var(--amber); margin-bottom: 22px; }
.proc .step h3 { font-size: 21px; margin-bottom: 12px; }
.proc .step p { font-size: 15.5px; color: var(--bone-dim); margin: 0; }

/* ---- proof / dossier preview split ---- */
.proof { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.proof .visual { position: relative; min-height: 480px; overflow: hidden; }
.proof .visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.45) contrast(1.06) brightness(0.7); }
.proof .visual::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(20,22,15,0.2), rgba(20,22,15,0.55)); }
.proof .visual .fileno { position: absolute; bottom: 22px; left: 24px; z-index: 2; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--bone); }
.proof .copy { background: var(--ink); padding: 70px 60px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--line); }
.proof .copy blockquote { margin: 0 0 28px; font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.4; color: var(--bone); }
.proof .copy blockquote span { color: var(--amber); }
.proof .copy .by { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--bone-dim); text-transform: uppercase; }
.proof .copy .by b { color: var(--bone); display: block; font-weight: 500; margin-bottom: 4px; }

/* =============================== ORDER FORM ============================== */
.order { background: var(--paper); color: var(--paper-ink); border-top: 4px solid var(--amber); }
.order .wrap { padding-top: 100px; padding-bottom: 100px; }
.order-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.order h2 { color: var(--paper-ink); font-size: clamp(34px, 4.4vw, 54px); margin-bottom: 20px; }
.order .kicker { color: var(--oxide); }
.order .kicker::before { background: var(--oxide); }
.order .intro p { color: #50533f; font-size: 18px; }
.order .assure { list-style: none; margin: 28px 0 0; padding: 0; }
.order .assure li { display: flex; gap: 12px; align-items: flex-start; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em; text-transform: uppercase; color: #4b4e3b; padding: 11px 0; border-top: 1px solid rgba(32,35,26,0.14); }
.order .assure li::before { content: "✓"; color: var(--oxide); font-weight: 700; }

/* form panel — looks like an intake sheet */
.intake {
  background: #f3efe3; border: 1px solid rgba(32,35,26,0.16);
  padding: 36px; position: relative;
  box-shadow: 0 24px 60px -30px rgba(20,22,15,0.5);
}
.intake::before {
  content: "FORM PB-7 · COMMISSION OF RESEARCH";
  position: absolute; top: -1px; left: 36px; transform: translateY(-50%);
  background: var(--paper); padding: 0 12px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; color: var(--oxide);
}
.intake .field { margin-bottom: 18px; }
.intake .field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.intake label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #5a5d48; margin-bottom: 7px; }
.intake label .req { color: var(--oxide); }
.intake input, .intake select, .intake textarea {
  width: 100%; font-family: var(--serif); font-size: 16px; color: var(--paper-ink);
  background: #fbf9f1; border: 1px solid rgba(32,35,26,0.2); border-radius: 0;
  padding: 12px 14px; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.intake select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a5d48' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.intake textarea { resize: vertical; min-height: 110px; }
.intake input:focus, .intake select:focus, .intake textarea:focus {
  outline: none; border-color: var(--oxide); box-shadow: 0 0 0 3px rgba(177,69,42,0.12);
}
.intake input::placeholder, .intake textarea::placeholder { color: #9b9883; }
.intake .submit-row { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.intake .btn-submit {
  background: var(--oxide); color: #fbf9f1; border: 1px solid var(--oxide);
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 15px 30px; cursor: pointer; transition: transform 0.18s var(--ease), background 0.2s var(--ease);
}
.intake .btn-submit:hover { background: #95371f; transform: translateY(-2px); }
.intake .note { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.05em; color: #7c7a66; max-width: 24ch; line-height: 1.5; text-transform: uppercase; }
.hp { position: absolute; left: -9999px; }

/* ================================= FOOTER ================================ */
.footer { background: var(--ink); border-top: 1px solid var(--line); padding: 56px 0 40px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--line-soft); }
.footer .brand-name { font-size: 19px; }
.footer .fcol h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 400; }
.footer .fcol a { display: block; color: var(--bone-dim); font-size: 15px; padding: 5px 0; transition: color 0.2s var(--ease); }
.footer .fcol a:hover { color: var(--bone); }
.footer-cols { display: flex; gap: 70px; flex-wrap: wrap; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* footer social / contact icons */
.footer .social { display: flex; gap: 11px; margin-top: 16px; }
.footer .social .soc {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; padding: 0;
  border: 1px solid var(--line); color: var(--bone-dim);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), background 0.2s var(--ease);
}
.footer .social .soc:hover { color: var(--amber); border-color: var(--amber); background: rgba(208, 138, 46, 0.08); transform: translateY(-2px); }
.footer .social .soc svg { width: 17px; height: 17px; display: block; fill: currentColor; }

/* =============================== REVEALS ================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .scrollcue .line::after { animation: none; }
}

/* =============================== RESPONSIVE ============================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .dossier-card { max-width: 460px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(6, 1fr); }
  .span-6, .span-4 { grid-column: span 6; }
  .proc { grid-template-columns: repeat(2, 1fr); }
  .proc .step:nth-child(2) { border-right: 0; }
  .proc .step { border-bottom: 1px solid var(--line); }
  .proof { grid-template-columns: 1fr; }
  .proof .visual { min-height: 320px; }
  .proof .copy { border-left: 0; border-top: 1px solid var(--line); padding: 48px 32px; }
  .order-grid { grid-template-columns: 1fr; gap: 40px; }
}
/* ---- collapse the top navigation into a tap-to-open mobile menu ---- */
@media (max-width: 860px) {
  .navtoggle { display: block; }
  .topnav {
    position: fixed; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(16, 18, 12, 0.98);
    -webkit-backdrop-filter: saturate(130%) blur(10px); backdrop-filter: saturate(130%) blur(10px);
    border-bottom: 1px solid var(--line);
    padding: 6px 20px 22px;
    max-height: calc(100vh - 70px); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.28s var(--ease), opacity 0.2s var(--ease);
  }
  .topnav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .topnav a.nlink { padding: 16px 2px; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
  .topnav .btn { margin-top: 18px; justify-content: center; }
}
@media (max-width: 640px) {
  body.bureau { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .topbar-inner { padding: 0 20px; height: 62px; }
  .topnav { top: 62px; }
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .section { padding: 72px 0; }
  .stats { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .span-6, .span-4 { grid-column: 1 / -1; }
  .proc { grid-template-columns: 1fr; }
  .proc .step { border-right: 0; }
  .intake { padding: 28px 20px; }
  .intake .field.two { grid-template-columns: 1fr; }
  .order .wrap { padding-top: 64px; padding-bottom: 64px; }
}

/* ============================================================================
   INTERIOR PAGES — Field Reporting (news) & Keyword Index (tags)
   Reuse the bureau topbar / footer / buttons. Add a dossier-style page header,
   an editorial prose column, a listing grid, sidebar panels, and tag chips.
   ========================================================================== */

/* ---- page header band ---- */
.page-hero {
  position: relative; z-index: 2;
  padding: 138px 0 58px;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0.4;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .kicker { margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(31px, 5vw, 58px); letter-spacing: -0.02em; max-width: 24ch; }
.page-hero .byline {
  margin-top: 20px; font-family: var(--mono); font-size: 11.5px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.page-hero .byline b { color: var(--amber); font-weight: 500; }

.crumbs {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 22px;
}
.crumbs a { color: var(--bone-dim); transition: color 0.2s var(--ease); }
.crumbs a:hover { color: var(--bone); }
.crumbs .sep { opacity: 0.5; padding: 0 8px; }

/* ---- body + sidebar layout ---- */
.page-body { position: relative; z-index: 2; padding: 70px 0 96px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 60px; align-items: start; }
.layout.single { grid-template-columns: minmax(0, 1fr); }

/* ---- editorial prose ---- */
.prose { font-family: var(--serif); font-size: 18.5px; line-height: 1.76; color: var(--bone-dim); max-width: 72ch; overflow-wrap: anywhere; }
.prose > p { margin: 0 0 1.25em; }
.prose > p:first-of-type { color: var(--bone); font-size: 21px; line-height: 1.6; }
.prose a { color: var(--amber); border-bottom: 1px solid rgba(208, 138, 46, 0.32); transition: color 0.2s var(--ease), border-color 0.2s var(--ease); }
.prose a:hover { color: var(--amber-hi); border-color: var(--amber-hi); }
.prose b, .prose strong, .prose em, .prose i, .prose u { color: var(--bone); }
.prose img { width: 100%; height: auto; margin: 30px 0; border: 1px solid var(--line); filter: grayscale(0.35) contrast(1.04) brightness(0.9); }
.prose h2, .prose h3 { font-family: var(--display); color: var(--bone); margin: 1.5em 0 0.5em; }

/* ---- tag chips ---- */
.tagrow { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line); }
.tagrow .lbl { width: 100%; font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.chip {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--bone-dim); background: var(--ink-2); border: 1px solid var(--line);
  padding: 7px 11px; transition: border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.chip:hover { border-color: var(--amber); color: var(--bone); transform: translateY(-1px); }

/* ---- listing (news index + tag results + home dispatches) ---- */
.post-list { border-top: 1px solid var(--line); }
.post-item { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 30px 0; border-bottom: 1px solid var(--line); transition: background 0.25s var(--ease); }
.post-item:hover { background: rgba(236, 231, 216, 0.02); }
.post-item .idx { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--amber); padding-top: 7px; }
.post-item .t { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.3vw, 26px); line-height: 1.16; color: var(--bone); letter-spacing: -0.01em; transition: color 0.2s var(--ease); }
.post-item:hover .t { color: var(--amber-hi); }
.post-item p { margin: 10px 0 0; color: var(--bone-dim); font-size: 16px; max-width: 70ch; }
.post-item .more { display: inline-block; margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.post-item:hover .more { color: var(--amber); }

/* ---- sidebar panels ---- */
.sidebar { position: sticky; top: 92px; display: grid; gap: 22px; }
.panel { background: var(--ink-2); border: 1px solid var(--line); padding: 24px; }
.panel h3 { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); margin: 0 0 16px; }
.panel ul { list-style: none; margin: 0; padding: 0; }
.panel li { padding: 11px 0; border-top: 1px dashed var(--line); }
.panel li:first-child { border-top: 0; padding-top: 0; }
.panel li a { font-family: var(--serif); font-size: 16px; line-height: 1.4; color: var(--bone-dim); transition: color 0.2s var(--ease); display: block; }
.panel li a:hover { color: var(--bone); }
.panel.cta p { color: var(--bone-dim); font-size: 15px; margin: 0 0 18px; }

/* ---- tag keyword index page ---- */
.tag-index { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-index .chip { font-size: 11.5px; padding: 8px 13px; }

@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; gap: 44px; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .page-hero { padding: 96px 0 40px; }
  .page-hero h1 { font-size: clamp(27px, 8vw, 40px); }
  .page-body { padding: 44px 0 64px; }
  .crumbs { margin-bottom: 16px; }
  .prose { font-size: 17px; line-height: 1.72; }
  .prose > p:first-of-type { font-size: 18.5px; }
  .prose img { margin: 22px 0; }
  .sidebar { grid-template-columns: 1fr; }
  .post-item { grid-template-columns: 1fr; gap: 6px; }
  .post-item .idx { padding-top: 0; }
}
