:root {
  --bg: #090d12;
  --surface: #121922;
  --surface-soft: #0d131b;
  --border: rgba(208, 171, 94, 0.28);
  --gold: #d0ab5e;
  --gold-light: #f0cf86;
  --text: #edf0f4;
  --muted: #939dab;
  --green: #43d17a;
  --red: #e06c75;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  background:
    radial-gradient(
      circle at top,
      #111923,
      var(--bg) 55%
    );
  color: var(--text);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.classified-header {
  border-bottom: 1px solid var(--border);
  background: rgba(7, 10, 14, .94);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
  min-height: 72px;

  display: flex;
  align-items: center;
  gap: 22px;
}

.agency-mark {
  color: var(--gold-light);
  font-size: 1.3rem;
  font-weight: 1000;
  letter-spacing: .12em;
  text-decoration: none;
}

.header-classification {
  flex: 1;
  color: var(--red);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .18em;
}

.return-link {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
}

.return-link:hover {
  color: var(--gold-light);
}

.dossier {
  width: min(1180px, calc(100% - 40px));
  margin: 34px auto 80px;
}

.warning-strip {
  display: flex;
  justify-content: space-between;
  gap: 24px;

  border: 1px solid rgba(224,108,117,.45);
  padding: 12px 16px;

  background: rgba(224,108,117,.06);
  color: var(--red);

  font-size: .76rem;
  letter-spacing: .06em;
}

.warning-strip span {
  color: #bd8b90;
}

.dossier-heading {
  padding: 54px 0 38px;
  border-bottom: 1px solid var(--border);
}

.eyebrow,
.section-number,
.panel-label {
  color: var(--gold-light);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.dossier-heading h1 {
  max-width: 900px;
  margin: 8px 0 4px;

  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: .98;
  letter-spacing: -.045em;
}

.redacted {
  color: var(--gold-light);
  font-family:
    "Courier New",
    Courier,
    monospace;
}

.subtitle {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 800;
}

.case-number {
  display: inline-block;
  margin-top: 18px;

  border: 1px solid var(--border);
  padding: 7px 10px;

  color: var(--muted);
  font-family:
    "Courier New",
    Courier,
    monospace;
  font-size: .75rem;
}

.identity-layout {
  display: grid;
  grid-template-columns:
    minmax(280px, .72fr)
    minmax(0, 1.28fr);

  gap: 22px;
  margin-top: 28px;
}

.photo-panel,
.record-panel,
.dossier-section {
  border: 1px solid var(--border);
  background: var(--surface);
}

.panel-label {
  border-bottom: 1px solid var(--border);
  padding: 13px 16px;
}

.photo-frame {
  min-height: 430px;
  padding: 28px;

  background:
    linear-gradient(
      rgba(208,171,94,.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(208,171,94,.035) 1px,
      transparent 1px
    ),
    #070a0e;

  background-size: 22px 22px;
}

.dog-silhouette {
  position: relative;
  width: 245px;
  height: 270px;
  margin: 10px auto 30px;
}

.dog-head {
  position: absolute;
  top: 48px;
  left: 50%;
  z-index: 2;

  width: 118px;
  height: 112px;

  transform: translateX(-50%);

  border-radius:
    48% 48% 42% 42% /
    42% 42% 58% 58%;

  background:
    linear-gradient(
      145deg,
      #1c222a,
      #080a0d
    );
}

.dog-head::before,
.dog-head::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -36px;

  width: 50px;
  height: 80px;

  background:
    linear-gradient(
      145deg,
      #1c222a,
      #080a0d
    );
}

.dog-head::before {
  left: -22px;
  border-radius: 80% 15% 45% 40%;
  transform: rotate(-18deg);
}

.dog-head::after {
  right: -22px;
  border-radius: 15% 80% 40% 45%;
  transform: rotate(18deg);
}

.dog-body {
  position: absolute;
  left: 50%;
  bottom: 0;

  width: 235px;
  height: 135px;

  transform: translateX(-50%);

  border-radius:
    48% 48% 6% 6% /
    68% 68% 6% 6%;

  background:
    linear-gradient(
      145deg,
      #1a2027,
      #07090c
    );
}

.dog-silhouette::after {
  content: "";
  position: absolute;
  z-index: 3;

  top: 125px;
  left: 50%;

  width: 66px;
  height: 42px;

  transform: translateX(-50%);

  border-radius: 48% 48% 55% 55%;

  background:
    linear-gradient(
      #12171c,
      #07090c
    );
}

.classified-stamp {
  border: 2px solid rgba(208,171,94,.75);
  padding: 9px;

  color: var(--gold-light);

  font-size: .92rem;
  font-weight: 1000;
  letter-spacing: .12em;
  text-align: center;

  transform: rotate(-2deg);
}

.access-denied {
  margin-top: 14px;
  color: var(--red);

  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-align: center;
}

.record-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
}

.record-field {
  min-width: 0;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px;
}

.record-field span {
  display: block;
  margin-bottom: 6px;

  color: var(--muted);
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.record-field strong {
  display: block;
  font-size: .9rem;
}

.green {
  color: var(--green);
}

.dossier-section {
  margin-top: 24px;
  padding: 30px;
}

.dossier-section h2 {
  margin: 4px 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1;
}

.dossier-section > p {
  max-width: 800px;
  color: var(--muted);
}

.responsibility-grid {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0,1fr));
  gap: 16px;
  margin-top: 26px;
}

.responsibility-grid article {
  border: 1px solid var(--border);
  padding: 20px;
  background: var(--surface-soft);
}

.responsibility-code {
  color: var(--gold-light);
  font-family: monospace;
  font-weight: 900;
}

.responsibility-grid h3 {
  margin: 7px 0;
}

.responsibility-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.statements {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0,1fr));
  gap: 16px;
  margin-top: 26px;
}

.statement {
  border: 1px solid var(--border);
  padding: 22px;
  background: var(--surface-soft);
}

.statement-agent {
  color: var(--gold-light);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.statement blockquote {
  margin: 14px 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.statement > span {
  color: var(--muted);
  font-size: .76rem;
}

.history-record {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0,1fr));
  margin-top: 24px;

  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.history-record > div {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 17px;
}

.history-record span,
.history-record strong {
  display: block;
}

.history-record span {
  margin-bottom: 5px;

  color: var(--muted);
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.redacted-document {
  border-left: 4px solid var(--gold);
  margin-top: 22px;
  padding: 4px 0 4px 22px;
}

.redacted-document p {
  max-width: 800px;
}

.full-redaction {
  color: var(--gold-light);
  font-family: monospace;
  overflow-wrap: anywhere;
}

.final-warning {
  margin-top: 26px;
  border: 1px solid rgba(224,108,117,.45);
  padding: 30px;

  background: rgba(224,108,117,.045);
  text-align: center;
}

.final-warning strong {
  color: var(--red);
  letter-spacing: .08em;
}

.final-warning p {
  color: var(--muted);
}

.close-file {
  display: inline-block;

  margin-top: 10px;
  border: 1px solid var(--border);
  padding: 11px 18px;

  color: var(--gold-light);
  font-weight: 900;
  text-decoration: none;
}

.close-file:hover {
  background: rgba(208,171,94,.08);
}

footer {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
  border-top: 1px solid var(--border);
  padding: 26px 0 40px;

  display: flex;
  justify-content: space-between;
  gap: 20px;

  color: var(--muted);
  font-size: .68rem;
  letter-spacing: .1em;
}

@media (max-width: 760px) {

  .warning-strip,
  footer {
    display: block;
  }

  .warning-strip span {
    display: block;
    margin-top: 4px;
  }

  .identity-layout,
  .responsibility-grid,
  .statements,
  .record-grid,
  .history-record {
    grid-template-columns: 1fr;
  }

  .dog-silhouette {
    transform: scale(.9);
  }

  .dossier-section {
    padding: 22px;
  }

}
