/* ============================================================
   INTERPONS ($NOTICE) — bureau design system
   navy #101D33 · panel #18263F · cream #F1EDE2 · red #C8102E
   brass #B8963F · steel #8592A8
   ============================================================ */

:root {
  --navy: #101D33;
  --panel: #18263F;
  --cream: #F1EDE2;
  --red: #C8102E;
  --brass: #B8963F;
  --steel: #8592A8;
  --red-text: #EF798A;        /* red for TEXT on navy/panel (WCAG-safe) */
  --cream-70: rgba(241, 237, 226, 0.7); /* secondary text on navy/panel */
  --ink: #221E15;
  --ink-soft: #4A443A;
  --rule-cream: rgba(34, 30, 21, 0.5);
  --rule-brass: rgba(184, 150, 63, 0.45);

  --font-display: "Archivo", "Arial Black", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;

  --ticker-h: 40px;
  --nav-h: 72px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.055'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- reset ---------- */

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  padding-top: var(--ticker-h);
}

h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
code { font-family: var(--font-mono); }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }

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

::selection { background: var(--brass); color: var(--navy); }

/* ---------- layout utilities ---------- */

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.container--narrow { max-width: 820px; }

.section { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }

.section__head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  line-height: 1.12;
  margin-top: 0.85rem;
}

.section__lede {
  color: var(--cream-70);
  margin-top: 1rem;
  max-width: 40rem;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-text);
}

.eyebrow__sq { margin-right: 0.35em; }

.mono { font-family: var(--font-mono); }

.mono-accent {
  font-family: var(--font-mono);
  color: var(--brass);
  font-weight: 700;
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  background: var(--red);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.6rem 1rem;
}

.skip-link:focus { top: calc(var(--ticker-h) + 8px); }

/* ---------- paper / document furniture ---------- */

.paper {
  position: relative;
  background-color: var(--cream);
  background-image: var(--grain);
  color: var(--ink);
}

.double-rule {
  border: 1px solid var(--rule-cream);
}

.double-rule::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--rule-cream);
  pointer-events: none;
}

/* brass seal glyph: two concentric circles + a star */
.seal {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  border: 2px solid var(--brass);
  border-radius: 50%;
  position: relative;
  color: var(--brass);
}

.seal::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid var(--brass);
  border-radius: 50%;
}

.seal::after {
  content: "★";
  font-size: 0.95rem;
  line-height: 1;
}

.seal--sm { width: 1.7rem; height: 1.7rem; border-width: 1.5px; }
.seal--sm::before { inset: 2px; }
.seal--sm::after { font-size: 0.65rem; }

.seal--corner {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  opacity: 0.75;
}

.divider {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.divider .seal { opacity: 0.8; }

.divider__line {
  flex: 1;
  height: 1px;
  background: var(--rule-brass);
}

/* rubber stamp */
.stamp {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.15rem;
  line-height: 1.15;
  color: var(--red);
  border: 3px solid var(--red);
  border-radius: 4px;
  padding: 0.28em 0.55em;
  transform: rotate(-6deg);
  opacity: 0.75;
  pointer-events: none;
  text-align: center;
}

.stamp--sm {
  font-size: 0.8rem;
  border-width: 2px;
  letter-spacing: 0.1em;
}

@supports (-webkit-text-stroke: 1px #000) {
  .stamp { color: transparent; -webkit-text-stroke: 1.4px var(--red); }
  .stamp--sm { -webkit-text-stroke: 1px var(--red); }
}

/* buttons */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  line-height: 1;
  padding: 0.95em 1.5em;
  border: 2px solid transparent;
  text-align: center;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--red {
  background: var(--red);
  color: var(--cream);
  border-color: var(--red);
}

.btn--red:hover { background: #A60D26; border-color: #A60D26; }

.btn--outline {
  border-color: var(--cream);
  color: var(--cream);
}

.btn--outline:hover { background: var(--cream); color: var(--navy); }

.btn--ghost {
  border-color: transparent;
  color: var(--cream-70);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn--ghost:hover { color: var(--cream); }

/* media placeholders */
.media-slot {
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(45deg,
      rgba(133, 146, 168, 0.12) 0 12px,
      rgba(133, 146, 168, 0.03) 12px 24px),
    var(--panel);
  border: 1px dashed var(--steel);
  color: var(--steel);
  text-align: center;
  padding: 1rem;
}

.media-slot__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  word-break: break-word;
}

.media-slot--video { aspect-ratio: 16 / 9; }

.media-slot--circle {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  width: 86px;
  padding: 0.5rem;
  overflow: hidden;
}

.media-slot--circle .media-slot__label { font-size: 0.5rem; }

/* slot with real media dropped in (via CONFIG.MEDIA flags) */
.media-slot--filled {
  border: 0;
  padding: 0;
  background: var(--panel);
  overflow: hidden;
}

.media-slot--filled img,
.media-slot--filled video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* hero video failed to load -> still frame */
.media-slot--video.is-fallback {
  background: url("../assets/img/hero.png") center / cover no-repeat;
}

.media-slot--video.is-fallback video { display: none; }

/* mobile sticky CA bar (≤768px) */
.sticky-ca {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 130;
  align-items: center;
  gap: 0.7rem;
  background: var(--panel);
  border-top: 2px solid var(--red);
  padding: 0.6rem 0.8rem;
  padding-bottom: calc(0.6rem + env(safe-area-inset-bottom, 0px));
}

.sticky-ca__ticker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--red-text);
  flex: none;
}

.sticky-ca__short {
  font-size: 0.75rem;
  color: var(--cream);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.sticky-ca__copy {
  flex: none;
  min-height: 44px;
  padding: 0 1em;
  background: var(--red);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sticky-ca__close {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--cream-70);
  border: 1px solid var(--rule-brass);
}

@media (max-width: 768px) {
  .sticky-ca.is-active { display: flex; }
  body.has-sticky { padding-bottom: 84px; }
  body.has-sticky .toast { bottom: calc(84px + 1rem); }
}

/* toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translate(-50%, 150%);
  z-index: 150;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.8rem 1.3rem;
  border: 1px solid var(--rule-cream);
  box-shadow: 0 0 0 4px var(--cream), 0 0 0 5px var(--rule-cream), 0 12px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease;
  pointer-events: none;
  max-width: min(90vw, 26rem);
  text-align: center;
}

.toast.is-visible { transform: translate(-50%, 0); }

/* ---------- 1. ticker ---------- */

.ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  height: var(--ticker-h);
  background: var(--navy);
  border-bottom: 1px solid var(--rule-brass);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ticker__track {
  display: flex;
  flex: none;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--cream);
  animation: ticker-scroll 40s linear infinite;
}

.ticker__group { display: inline-block; flex: none; padding-right: 2ch; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 2. navbar ---------- */

.nav {
  position: sticky;
  top: var(--ticker-h);
  z-index: 110;
  background: rgba(16, 29, 51, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule-brass);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--nav-h);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: auto;
}

.nav__logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

.footer__logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

.nav__wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.14em;
  font-size: 1.05rem;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav__link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-70);
  transition: color 0.15s ease;
}

.nav__link:hover { color: var(--cream); }

.nav__link.is-current { color: var(--cream); }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
}

.nav__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--cream);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 3. hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(2.5rem, 6vw, 4rem);
}

/* giant watermark seal behind the bulletin */
.hero::before {
  content: "★";
  position: absolute;
  z-index: -1;
  top: 4%;
  right: -6%;
  width: min(48vw, 560px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(184, 150, 63, 0.13);
  outline: 1px solid rgba(184, 150, 63, 0.08);
  outline-offset: -20px;
  border-radius: 50%;
  font-size: clamp(7rem, 22vw, 15rem);
  line-height: 1;
  color: rgba(184, 150, 63, 0.05);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(2.1rem, 5.6vw, 3.9rem);
  line-height: 1.06;
  margin-top: 1.1rem;
}

.hero__sub {
  color: var(--cream-70);
  max-width: 36rem;
  margin-top: 1.4rem;
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

/* CA pill */
.ca-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.6rem;
  background-color: var(--cream);
  background-image: var(--grain);
  border: 2px dashed var(--red);
  padding: 0.55rem 0.65rem 0.55rem 0.9rem;
  max-width: 100%;
}

.ca-pill__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--red);
}

.ca-pill__addr {
  font-size: 0.8rem;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 15rem;
}

.ca-pill__copy {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--cream);
  padding: 0.5em 0.9em;
  transition: background-color 0.15s ease;
}

.ca-pill__copy:hover { background: #A60D26; }

/* case-file folder around hero media */
.folder {
  position: relative;
  background-color: var(--cream);
  background-image: var(--grain);
  padding: 0.9rem;
  border: 1px solid var(--rule-cream);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.folder__tab {
  position: absolute;
  top: -1.6rem;
  left: 0;
  background: var(--red);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0.35rem 0.9rem;
}

.folder__caption {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  margin-top: 0.6rem;
  text-align: right;
}

/* ---------- 3B. official bulletin (anti-scam) ---------- */

.bulletin { padding: clamp(1.5rem, 4vw, 2.5rem) 0; }

.bulletin__box {
  background: var(--panel);
  border: 2px solid var(--red);
}

.bulletin__band {
  background: var(--red);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
}

.bulletin__body { padding: clamp(1.3rem, 3.5vw, 2rem); }

.bulletin__title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  letter-spacing: 0.02em;
  color: var(--cream);
}

.bulletin__warning {
  color: var(--cream);
  max-width: 56rem;
  margin-top: 0.9rem;
  line-height: 1.7;
}

.bulletin__ca-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.3rem;
  padding: 0.9rem 1rem;
  border: 1px dashed var(--rule-brass);
  background: rgba(16, 29, 51, 0.55);
}

.ca {
  font-family: ui-monospace, "JetBrains Mono", monospace;
  font-size: clamp(15px, 2.4vw, 24px);
  word-break: break-all;
  color: #F1EDE2;
  flex: 1 1 16rem;
  min-width: 0;
}

.bulletin__copy {
  min-width: 48px;
  min-height: 48px;
  padding: 0 1.3em;
  background: var(--red);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 0.15s ease;
}

.bulletin__copy:hover { background: #A60D26; }

.bulletin__actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.bulletin__btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 14rem;
}

.bulletin__btn--x {
  border-color: var(--brass);
  color: var(--cream);
}

.bulletin__btn--x:hover { background: var(--brass); color: var(--navy); }

.bulletin__btn--buy {
  background: var(--red);
  border-color: var(--red);
  color: var(--cream);
}

.bulletin__btn--buy:hover { background: #A60D26; border-color: #A60D26; }

/* ---------- 4. trust bar ---------- */

.trustbar {
  border-block: 1px solid var(--rule-brass);
  padding: 1.1rem 0;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

.trustbar__text {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
}

.trustbar__text span { color: var(--cream-70); }

/* ---------- 5. case files ---------- */

.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.4rem;
}

.doc-card { padding: 1.6rem 1.5rem 3.4rem; }

.doc-card__case {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--red);
}

.doc-card__title {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.3rem;
  margin-top: 0.6rem;
}

.doc-card__body {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-top: 0.7rem;
}

/* ---------- 6. the wall ---------- */

.wall__counter {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cream);
  margin-top: 1.1rem;
}

.live-dot {
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
  background: var(--red);
  animation: live-pulse 1.6s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.55); }
  50% { box-shadow: 0 0 0 7px rgba(200, 16, 46, 0); }
}

.wall__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.6rem;
}

.wall__noscript {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cream-70);
  border: 1px dashed var(--steel);
  padding: 1rem 1.2rem;
  margin-bottom: 1.6rem;
}

.poster-wrap { display: flex; flex-direction: column; gap: 0.8rem; }

.poster {
  display: block;
  width: 100%;
  text-align: left;
  perspective: 1200px;
  -webkit-tap-highlight-color: transparent;
}

.poster__inner {
  display: grid;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.3, 0, 0.2, 1);
}

.poster.is-flipped .poster__inner { transform: rotateY(180deg); }

.poster__face {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  min-height: 100%;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.poster__face--back { transform: rotateY(180deg); }

.poster__banner {
  position: relative;
  display: block;
  background: var(--red);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  text-transform: uppercase;
  font-size: 0.85rem;
  text-align: center;
  padding: 0.55rem 0.5rem;
}

.poster__banner--navy {
  background: var(--navy);
  letter-spacing: 0.2em;
  text-indent: 0.2em;
}

.poster__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem 1.1rem 4.4rem;
  flex: 1;
}

.poster__case {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}

.poster__portrait {
  aspect-ratio: 1 / 1;
  margin-top: 0.2rem;
}

.poster__name {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.45rem;
  line-height: 1.1;
  margin-top: 0.5rem;
}

.poster__meta {
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.poster__meta strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink);
}

.poster__stamp {
  position: absolute;
  right: 0.8rem;
  bottom: 1.2rem;
  max-width: calc(100% - 2rem);
  z-index: 1;
}

.stamp--long { font-size: 0.82rem; letter-spacing: 0.06em; }

.poster__hint {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: auto;
}

/* back face */
.poster__notes {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.75;
  color: var(--ink-soft);
  white-space: pre-line;
}

.poster__status {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-top: auto;
  padding-top: 1rem;
}

/* mirror poster */
.poster__portrait--mirror {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  margin-top: 0.2rem;
  border: 1px solid var(--rule-brass);
  background-color: #0A1424;
  background-image:
    linear-gradient(115deg,
      rgba(241, 237, 226, 0) 42%,
      rgba(241, 237, 226, 0.09) 47%,
      rgba(241, 237, 226, 0.02) 52%,
      rgba(241, 237, 226, 0) 58%),
    linear-gradient(135deg, #0A1424 0%, #1B2B4A 38%, #33436A 50%, #15223C 64%, #0A1424 100%);
  overflow: hidden;
}

.poster__portrait--mirror::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(184, 150, 63, 0.35);
  pointer-events: none;
}

.poster__mirror-caption {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(241, 237, 226, 0.78);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.poster__closer {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ink);
  margin-top: 0.4rem;
}

.mirror-log {
  min-height: 4.6em;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.9;
  color: var(--cream);
}

.mirror-log__line { display: block; }
.mirror-log__line:last-child { color: var(--red-text); font-weight: 700; }

/* ---------- 7. bureau terminal ---------- */

.bureau__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.bureau__lede { color: var(--cream-70); margin-top: 1.1rem; }

.terminal {
  background: #0B1526;
  border: 1px solid var(--rule-brass);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
}

.terminal__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.9rem;
  background: var(--panel);
  border-bottom: 1px solid var(--rule-brass);
}

.terminal__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--steel);
  opacity: 0.5;
}

.terminal__dot:first-child { background: var(--red); opacity: 0.9; }
.terminal__dot:nth-child(2) { background: var(--brass); opacity: 0.9; }

.terminal__title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--cream-70);
  margin-left: 0.4rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.terminal__screen {
  position: relative;
  margin: 0;
  padding: 1.2rem 1.3rem;
  overflow-x: auto;
}

.terminal__code {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--cream);
  white-space: pre;
  tab-size: 4;
}

.terminal__code--sizer { visibility: hidden; }

.terminal__code--typed {
  position: absolute;
  top: 1.2rem;
  left: 1.3rem;
  right: 1.3rem;
}

.tok-comment { color: var(--cream-70); font-style: italic; }
.tok-kw { color: var(--red-text); font-weight: 700; }
.tok-str { color: var(--brass); }
.tok-num { color: var(--brass); }

.terminal__cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.1em;
  vertical-align: text-bottom;
  background: var(--red);
  margin-left: 1px;
  animation: cursor-blink 1s steps(1) infinite;
}

@keyframes cursor-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* ---------- 8. operations ---------- */

.op-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.4rem;
}

.op-folder {
  padding: 2.4rem 1.5rem 1.6rem;
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* manila folder tab */
.op-folder::after {
  content: "";
  position: absolute;
  top: -1.05rem;
  left: -1px;
  width: 42%;
  height: 1.05rem;
  background-color: var(--cream);
  background-image: var(--grain);
  border: 1px solid var(--rule-cream);
  border-bottom: 0;
}

.op-folder__code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red);
}

.op-folder__body {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.op-folder__stamp {
  align-self: flex-end;
  margin-top: auto;
}

/* ---------- 9. witness statements ---------- */

.witness-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.4rem;
}

.witness-card {
  padding: 1.7rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.witness-card__name {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.05rem;
}

.witness-card__meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.witness-card__quote p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-style: italic;
}

.witness-card__stamp {
  align-self: flex-end;
  margin-top: 0.6rem;
}

/* ---------- 10. cooperate ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  counter-reset: step;
}

.step { padding: 1.7rem 1.5rem; }

.step__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--red);
}

.step__title {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.2rem;
  margin-top: 0.6rem;
}

.step__body {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-top: 0.7rem;
}

.step__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  margin-top: 1.1rem;
}

.step__actions .ca-pill { margin-top: 0.6rem; }

/* ---------- 11. faq ---------- */

.faq { border-top: 1px solid var(--rule-brass); }

.faq__item { border-bottom: 1px solid var(--rule-brass); }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.98rem;
  padding: 1.2rem 0.2rem;
  transition: color 0.15s ease;
}

.faq__q:hover { color: var(--brass); }

.faq__marker {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
}

.faq__marker::before,
.faq__marker::after {
  content: "";
  position: absolute;
  background: var(--brass);
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.faq__marker::after { transform: translateY(-50%) rotate(90deg); }

.faq__item[open] .faq__marker::after { transform: translateY(-50%) rotate(0deg); }

.faq__a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cream-70);
  padding: 0 0.2rem 1.3rem;
  max-width: 38rem;
}

/* ---------- 12. footer ---------- */

.footer { padding: 3.5rem 0 3rem; }

.footer__rule {
  height: 6px;
  border-block: 1px solid var(--rule-brass);
  margin-bottom: 2.2rem;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.14em;
  font-size: 1rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer__links a { color: var(--cream-70); transition: color 0.15s ease; }
.footer__links a:hover { color: var(--cream); }

.footer__ca {
  font-size: 0.68rem;
  color: var(--cream-70);
  text-transform: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 16rem;
}

.footer__disclaimer {
  color: var(--cream-70);
  font-size: 0.78rem;
  line-height: 1.8;
  margin-top: 1.8rem;
  max-width: 60rem;
}

.footer__disclaimer strong { color: var(--cream); }

/* ---------- reveal / motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; }

  .js [data-reveal].is-revealed {
    opacity: 1;
    animation: stamp-in 90ms ease;
  }

  @keyframes stamp-in {
    from { transform: scale(1.06); opacity: 0.4; }
    to { transform: scale(1); opacity: 1; }
  }

  .poster { transition: transform 0.2s ease; }
  .poster:hover { transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .ticker__track { animation: none; }
  .live-dot { animation: none; box-shadow: none; }
  .terminal__cursor { animation: none; }
  .nav__bar, .btn, .ca-pill__copy, .faq__marker::before, .faq__marker::after { transition: none; }

  /* flips become cross-fades */
  .poster__inner { transition: none; }
  .poster.is-flipped .poster__inner { transform: none; }

  .poster__face {
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .poster__face--back {
    transform: none;
    opacity: 0;
    visibility: hidden;
  }

  .poster.is-flipped .poster__face--front { opacity: 0; visibility: hidden; }
  .poster.is-flipped .poster__face--back { opacity: 1; visibility: visible; }
}

/* ---------- anchors / sticky offset ---------- */

section[id], [id="top"] {
  scroll-margin-top: calc(var(--ticker-h) + var(--nav-h) + 12px);
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__media { max-width: 34rem; margin-top: 1.5rem; }
  .bureau__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 820px) {
  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    border-bottom: 1px solid var(--rule-brass);
    display: none;
    padding: 0.4rem 0 0.8rem;
  }

  .nav__menu.is-open { display: flex; }

  .nav__menu li { border-top: 1px solid rgba(184, 150, 63, 0.2); }

  .nav__link {
    display: block;
    padding: 0.95rem clamp(1rem, 4vw, 2rem);
  }

  .nav__toggle { display: flex; }
}

@media (max-width: 480px) {
  .nav__cta { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .ca-pill { width: 100%; justify-content: space-between; }
  .ca-pill__addr { flex: 1; max-width: none; }
  .terminal__code { font-size: 0.68rem; }
  .wall__grid { grid-template-columns: minmax(0, 1fr); }
  .op-folder::after { width: 55%; }
}
