@font-face {
  font-family: "Bebas Neue";
  src: url("assets/BebasNeue-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/IBMPlexMono-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "PT Serif";
  src: url("assets/PTSerif-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #080b0c;
  --ink: #f1e9d8;
  --dim: #b7ad99;
  --faint: #777165;
  --rule: rgba(217, 208, 188, .18);
  --amber: #e6b36f;
  --panel: #101516;
}

html {
  color-scheme: dark;
}

body {
  position: relative;
  min-height: 100vh;
  background: var(--bg);
  font-family: "PT Serif", Georgia, serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 3%, rgba(174, 126, 71, .12), transparent 26%),
    linear-gradient(180deg, #0e1314, #080b0c 42%);
}

.backdrop {
  opacity: .32;
}

main,
footer {
  position: relative;
}

main::before {
  content: "Case file · Public record";
  display: block;
  margin-bottom: 34px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  color: var(--faint);
  font: 400 8px/1 "IBM Plex Mono", monospace;
  letter-spacing: .2em;
  text-align: right;
  text-transform: uppercase;
}

.eyebrow,
.meta,
.label,
.button,
.summary strong,
footer {
  font-family: "IBM Plex Mono", monospace;
}

.eyebrow {
  color: var(--amber);
}

h1,
h2 {
  color: var(--ink);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

h1 {
  margin-top: 15px;
  font-size: clamp(54px, 10vw, 84px);
  line-height: .92;
}

h2 {
  margin-top: 45px;
  font-size: 29px;
  letter-spacing: .025em;
}

p,
li {
  color: var(--dim);
}

.summary,
.panel {
  border-color: var(--rule);
  background:
    linear-gradient(135deg, rgba(230, 179, 111, .035), transparent 35%),
    rgba(16, 21, 22, .82);
  box-shadow: 0 20px 55px rgba(0, 0, 0, .2);
}

.summary {
  border-left: 2px solid var(--amber);
}

.panel {
  clip-path: none;
}

a {
  text-decoration-color: rgba(230, 179, 111, .36);
}

footer {
  border-top-color: var(--rule);
}

@media (max-width: 640px) {
  main::before {
    margin-bottom: 25px;
    text-align: left;
  }

  h1 {
    font-size: clamp(51px, 17vw, 72px);
  }
}
