:root {
  color-scheme: dark;
  --ink: #111b1e;
  --panel: #172428;
  --panel2: #1d2d30;
  --paper: #f7efda;
  --muted: #bcc5bd;
  --gold: #dec391;
  --line: #425053;
  --red: #ff7660;
  --redbtn: #fa765d;
  --serif: Gloock, Georgia, serif;
  --sans: Barlow, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
}
body {
  min-height: 100svh;
}
button,
select,
input {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #ffe1a1;
  outline-offset: 4px;
}
button {
  border: 0;
  background: none;
}
a {
  color: var(--gold);
  text-underline-offset: 3px;
}
p {
  line-height: 1.52;
}
h1,
h2,
h3,
p {
  margin: 0;
}
.icon {
  height: 1.15em;
  width: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
}
:where(.limiter) {
  max-width: 1560px;
  margin: auto;
}
.cover,
.intro {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #102025;
}
.cover:before,
.intro:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url(assets/title.webp) 66% 48% / cover no-repeat;
}
.cover:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(6, 20, 23, 0.82),
      rgba(8, 22, 23, 0.48) 34%,
      transparent 66%
    ),
    linear-gradient(
      0deg,
      rgba(8, 19, 23, 0.9),
      transparent 24%,
      transparent 82%,
      rgba(5, 16, 18, 0.24)
    );
}
.topbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e4e0cc2e;
  padding: 12px clamp(20px, 4.7vw, 85px);
  width: 100%;
  z-index: 1;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  user-select: none;
}
.brand img {
  width: 34px;
  height: 34px;
  display: block;
}
.brand strong {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.085em;
  line-height: 1;
}
.brand span {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.26;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  border-left: 1px solid #aeb9ab60;
  padding-left: 11px;
}
.tools,
.actions,
.cover-actions {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
}
.tool,
.quiet,
.secondary,
.primary,
.tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.tool {
  font: 600 14px var(--sans);
  background: #0c1b20a8;
  border: 1px solid #b8c0af63;
  border-radius: 22px;
  min-height: 39px;
  padding: 8px 15px;
}
.tool:hover,
.secondary:hover {
  background: #314047;
}
.cover-copy {
  padding: clamp(32px, 5.4vh, 75px) clamp(22px, 6.6vw, 112px);
  margin: auto 0;
  max-width: 850px;
}
.kicker,
.meta,
.smallcap {
  font: 600 12px/1.4 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.cover-copy .kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #f3d0a1;
  text-shadow: 0 1px 6px #102023;
}
.cover-copy .kicker:before {
  content: "";
  height: 2px;
  width: 35px;
  background: var(--red);
}
.cover h1 {
  margin: 21px 0 21px;
  color: var(--paper);
  font: 400 clamp(78px, 9.4vw, 169px) / 0.9 var(--serif);
  letter-spacing: -0.057em;
  text-shadow: 0 2px 8px #03131726;
}
.cover h1 small {
  display: block;
  font:
    italic 400 clamp(24px, 2.6vw, 44px) / 1.25 Georgia,
    serif;
  letter-spacing: 0;
  margin: 0 0 0.28em 0.08em;
}
.cover h1 span {
  display: block;
}
.cover-case {
  font: 400 clamp(20px, 1.75vw, 27px) / 1.35 var(--serif);
  letter-spacing: -0.015em;
}
.cover-case i {
  display: inline-block;
  height: 16px;
  width: 1px;
  background: #a99778;
  vertical-align: middle;
  margin: 0 12px;
}
.cover-case b {
  font: 600 12px/1.4 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e2c69b;
  vertical-align: middle;
}
.cover-actions {
  margin-top: 30px;
  gap: 20px;
}
.primary,
.secondary {
  font-weight: 700;
  line-height: 1.2;
  font-size: 16px;
  min-height: 47px;
  padding: 13px 21px;
  border-radius: 4px;
}
.primary {
  background: var(--redbtn);
  color: #211714;
  border: 1px solid #ff8b74;
  box-shadow: 0 3px 8px #06131935;
}
.primary:hover {
  background: #ff9279;
  transform: translateY(-1px);
}
.secondary {
  border: 1px solid var(--line);
  background: #203033;
  color: var(--paper);
}
.primary:disabled,
.secondary:disabled {
  opacity: 0.54;
  transform: none;
}
.quiet {
  font-weight: 600;
  font-size: 15px;
  min-height: 42px;
  color: var(--paper);
  padding: 6px 2px;
}
.quiet:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cover-foot {
  padding: 18px clamp(20px, 4.7vw, 85px);
  border-top: 1px solid #d7d5bc38;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  color: #dfdfd3;
  background: #0d191b63;
}
.loc-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 12px/1.45 var(--mono);
  letter-spacing: 0.075em;
  text-transform: uppercase;
}
.cover-foot .icon {
  color: var(--gold);
}
.help-link {
  min-height: 31px;
  padding: 2px 0;
  font-weight: 600;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.intro:before {
  background-image: url(assets/gallery.webp);
  background-position: center;
}
.intro:after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(
      0deg,
      #091415 0%,
      #091415eb 11%,
      #09141566 45%,
      transparent 75%
    ),
    linear-gradient(180deg, #09141591, transparent 25%);
}
.intro-copy {
  margin-top: auto;
  padding: 12vh clamp(22px, 6.6vw, 112px) 7vh;
  max-width: 880px;
}
.intro-copy h1,
.section-title,
.end-card h1 {
  font: 400 clamp(35px, 4vw, 68px) / 1.08 var(--serif);
  letter-spacing: -0.035em;
  margin: 10px 0 12px;
}
.intro-copy p:not(.meta) {
  max-width: 640px;
  font-size: clamp(18px, 1.55vw, 25px);
  color: #f6eddf;
}
.intro-copy .actions {
  margin-top: 23px;
}
.dots {
  display: flex;
  gap: 5px;
  margin-bottom: 17px;
}
.dots i {
  display: block;
  width: 26px;
  height: 3px;
  background: #71807d;
}
.dots .active {
  background: var(--red);
}
.workspace {
  min-height: 100svh;
  background:
    radial-gradient(ellipse at top left, #243738 0, transparent 53%), var(--ink);
}
.workspace .topbar {
  background: #101a1deb;
}
.clock {
  font: 600 14px var(--mono);
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 7px;
}
.clock.urgent {
  color: var(--red);
}
.shell {
  max-width: 1510px;
  margin: auto;
  padding: 0 clamp(16px, 4.7vw, 84px) 38px;
}
.case-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  padding: 28px 0 20px;
}
.case-heading h1 {
  font: 400 clamp(28px, 3.3vw, 48px) / 1.09 var(--serif);
  letter-spacing: -0.035em;
  margin-top: 6px;
}
.case-heading .quiet {
  color: var(--muted);
}
.tabs {
  display: flex;
  gap: 8px;
  overflow: auto;
  border-bottom: 1px solid var(--line);
  margin-bottom: 25px;
}
.tab {
  padding: 12px 17px 14px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  white-space: nowrap;
  font-size: 16px;
  font-weight: 600;
}
.tab.active {
  border-color: var(--red);
  color: var(--paper);
}
.tab .icon {
  width: 17px;
}
.tab:hover {
  background: #ffffff09;
}
.badge {
  font: 600 11px var(--mono);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1px 5px;
}
.field-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
  gap: 22px;
  align-items: start;
}
.scene-art {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  border: 1px solid #e5dfc22c;
  border-radius: 6px;
  background: #0c171a;
}
.scene-art > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scene-art:after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #071214ed, transparent 60%);
}
.scene-info {
  position: absolute;
  z-index: 1;
  left: 26px;
  right: 22px;
  bottom: 22px;
}
.scene-info h2 {
  font: 400 36px/1.07 var(--serif);
  margin: 5px 0;
}
.scene-info p:last-child {
  color: #eee4cf;
  max-width: 490px;
}
.desk-panel,
.wide-panel,
.section-card {
  background: linear-gradient(145deg, #1b2b2e, #172326);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px;
}
.desk-panel h2,
.wide-panel h2,
.section-card h3 {
  font: 400 25px/1.18 var(--serif);
  margin: 6px 0 12px;
}
.desk-panel .meta,
.wide-panel .meta {
  font-size: 11px;
}
.leads {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}
.lead {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  text-align: left;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #233338;
  min-height: 60px;
}
.lead:hover,
.destination:hover,
.evidence:hover {
  border-color: #a38b69;
  background: #2a3b3e;
}
.lead strong {
  font-size: 16px;
  line-height: 1.22;
}
.lead small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.lead > .icon {
  color: var(--gold);
  width: 20px;
  height: 20px;
}
.lead .cost,
.cost {
  font: 600 12px var(--mono);
  color: var(--gold);
  white-space: nowrap;
}
.lead.done {
  background: #1a292a;
}
.lead.done .cost {
  color: #a7cbb3;
}
.nav-action {
  margin-top: 16px;
}
.muted,
.section-card > p,
.wide-panel > p:not(.meta),
.desk-panel > p:not(.meta) {
  color: var(--muted);
}
.notice {
  background: #31302b;
  border-left: 3px solid var(--gold);
  padding: 12px 15px;
  color: #f6e6bd;
  margin: 0 0 17px;
  border-radius: 2px;
}
.intel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 17px 0;
}
.destination,
.evidence {
  padding: 18px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #203034;
}
.destination strong,
.evidence strong {
  display: block;
  font: 400 24px var(--serif);
  margin: 9px 0;
}
.destination p,
.evidence p {
  color: var(--muted);
  font-size: 15px;
}
.route-line {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--gold);
  font: 500 13px var(--mono);
  margin-bottom: 12px;
}
.route-line span + span:before {
  content: "/";
  margin-right: 10px;
  color: #88948d;
}
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 13px;
  margin-top: 16px;
}
.evidence .icon {
  color: var(--gold);
}
details {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
}
summary {
  cursor: pointer;
  font-weight: 600;
  color: #ebd8ac;
}
details p {
  color: var(--muted);
  margin-top: 7px;
}
.warrant-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.8fr);
  gap: 20px;
  align-items: start;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 20px 0 0;
}
legend,
.field-label {
  font-weight: 700;
  margin-bottom: 8px;
}
select {
  display: block;
  width: 100%;
  max-width: 520px;
  padding: 11px 12px;
  border: 1px solid #637174;
  border-radius: 4px;
  color: var(--paper);
  background: var(--ink);
}
.check {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 0;
  cursor: pointer;
}
input[type="checkbox"] {
  accent-color: var(--red);
  width: 18px;
  height: 18px;
  flex: none;
}
.warrant-grid .primary {
  margin-top: 20px;
}
.dossier {
  padding: 11px 0;
  border-top: 1px solid var(--line);
}
.dossier span {
  display: block;
  color: var(--muted);
  font-size: 15px;
  margin-top: 4px;
}
.end-card {
  max-width: 820px;
  margin: 40px auto;
  padding: clamp(24px, 4vw, 58px);
  border-top: 3px solid var(--gold);
  background: var(--panel);
  box-shadow: 0 15px 70px #0003;
}
.end-card p {
  max-width: 640px;
  margin: 14px 0;
  color: #d0d6cb;
}
.end-card .actions {
  margin-top: 23px;
}
dialog {
  position: fixed;
  width: min(540px, calc(100% - 32px));
  max-height: 85svh;
  overflow: auto;
  border: 1px solid #7a8072;
  border-top: 3px solid var(--gold);
  border-radius: 6px;
  padding: 0;
  background: #1a292d;
  color: var(--paper);
  box-shadow: 0 25px 90px #0009;
}
dialog:not([open]) {
  display: none;
}
dialog::backdrop {
  background: #081216c7;
  backdrop-filter: blur(4px);
}
.dialog-head {
  padding: 24px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
}
.dialog-head h2 {
  font: 400 31px/1.15 var(--serif);
  margin-top: 7px;
}
.close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  flex: none;
}
.dialog-body {
  padding: 17px 24px 25px;
}
.dialog-body p {
  color: #d2d9d0;
  margin-bottom: 15px;
}
.dialog-body .actions {
  margin-top: 17px;
}
.dialog-body ol {
  padding-left: 22px;
  color: var(--muted);
}
.dialog-body li {
  margin: 11px 0;
}
.exhibit {
  padding: 21px 19px;
  background: #ecdfbc;
  color: #322e26;
  border-left: 5px solid #b59563;
  border-radius: 1px 4px 4px 1px;
  margin: 15px 0;
  box-shadow: 0 4px 10px #0002;
}
.exhibit small {
  font: 600 11px/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #62523c;
  display: block;
  margin-bottom: 8px;
}
.exhibit p,
.dialog-body .exhibit p {
  font:
    italic 20px/1.45 Georgia,
    serif;
  color: #372e24;
  margin: 0;
}
.options {
  display: grid;
  gap: 9px;
}
.option {
  display: block;
  text-align: left;
  padding: 11px 14px;
  border-radius: 4px;
  border: 1px solid #687673;
  background: #24343a;
  color: var(--paper);
  font-weight: 600;
}
.option:hover {
  background: #33484b;
}
.answer {
  color: var(--gold);
  min-height: 1.5em;
  margin: 10px 0;
}
.range {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 12px 0;
}
input[type="range"] {
  accent-color: var(--red);
  width: 100%;
}
.table-note {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
}
.table-note td,
.table-note th {
  padding: 7px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
@media (min-width: 1550px) {
  .scene-art {
    min-height: 490px;
  }
}
@media (max-height: 650px) and (min-width: 800px) {
  .cover h1 {
    font-size: clamp(68px, 8vw, 101px);
    margin: 12px 0;
  }
  .cover-copy {
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .topbar {
    min-height: 60px;
  }
  .cover-actions {
    margin-top: 17px;
  }
  .cover-foot {
    padding-block: 10px;
  }
}
@media (max-width: 840px) {
  .field-grid,
  .warrant-grid {
    grid-template-columns: 1fr;
  }
  .scene-art {
    min-height: 320px;
  }
  .topbar {
    min-height: 65px;
  }
  .cover-copy {
    padding-left: 5vw;
  }
  .cover h1 {
    font-size: clamp(75px, 11vw, 100px);
  }
  .intel-grid {
    grid-template-columns: 1fr;
  }
  .destination {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) 2fr;
    align-items: center;
    column-gap: 16px;
  }
  .destination .cost {
    grid-column: 1/-1;
  }
  .destination strong {
    font-size: 22px;
    margin: 4px 0;
  }
}
@media (max-width: 580px) {
  html,
  body {
    font-size: 16px;
  }
  .cover:before {
    background-position: 66% top;
    background-size: auto 73%;
    background-color: #0e2022;
  }
  .cover:after {
    background:
      linear-gradient(
        0deg,
        #0e2022 13%,
        #0e2022f3 27%,
        #0e2022d8 39%,
        #0e2022aa 47%,
        transparent 76%
      ),
      linear-gradient(90deg, #081a2040, transparent 85%);
  }
  .cover-copy {
    padding: 16px 22px 26px;
    margin: auto 0 0;
  }
  .cover h1 {
    font-size: clamp(63px, 15vw, 87px);
    margin: 12px 0 17px;
  }
  .cover h1 small {
    font-size: 24px;
  }
  .cover-copy .kicker {
    font-size: 10px;
  }
  .cover-actions {
    gap: 13px;
    margin-top: 20px;
  }
  .cover-case {
    font-size: 19px;
  }
  .cover-case i {
    margin: 0 8px;
  }
  .cover-foot {
    padding: 7px 20px;
    gap: 8px;
  }
  .loc-tag,
  .meta,
  .smallcap {
    font-size: 11px;
  }
  .cover-foot .help-link {
    font-size: 14px;
  }
  .brand span {
    display: none;
  }
  .brand strong {
    font-size: 20px;
  }
  .brand img {
    width: 29px;
    height: 29px;
  }
  .tool {
    padding: 7px 10px;
    min-height: 36px;
  }
  .topbar {
    padding: 10px 17px;
    gap: 10px;
  }
  .tools {
    gap: 9px;
  }
  .clock {
    font-size: 12px;
  }
  .case-heading {
    padding: 19px 0 12px;
  }
  .case-heading .quiet {
    font-size: 14px;
  }
  .tabs {
    gap: 0;
    margin-bottom: 16px;
  }
  .tab {
    padding: 11px 8px;
    font-size: 14px;
    gap: 5px;
    flex: 1;
  }
  .tab .icon {
    width: 15px;
  }
  .scene-art {
    min-height: 280px;
  }
  .scene-info {
    left: 18px;
    bottom: 16px;
  }
  .scene-info h2 {
    font-size: 29px;
  }
  .wide-panel,
  .desk-panel,
  .section-card {
    padding: 17px;
  }
  .dialog-head {
    padding: 19px 18px 0;
  }
  .dialog-body {
    padding: 12px 18px 19px;
  }
  .intro-copy {
    padding: 15vh 20px 6vh;
  }
  .intro:before {
    background-position: 46% center;
  }
  .intro-copy h1 {
    font-size: 37px;
  }
  .field-grid {
    gap: 14px;
  }
  .end-card {
    margin: 20px auto;
  }
  .destination {
    display: block;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .intro-copy,
  .field-grid,
  .wide-panel,
  .warrant-grid,
  .end-card {
    animation: arrive 0.25s ease-out;
  }
  @keyframes arrive {
    from {
      opacity: 0;
      transform: translateY(5px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
.film-dialog {
  width: min(770px, calc(100% - 32px));
}
.film-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: #0a0c0d;
  border: 3px solid #0a0c0d;
  padding: 6px 2px;
}
.film-frame {
  min-width: 0;
  padding: 0 0 6px;
  display: grid;
  gap: 7px;
  color: #ecd6a4;
  font: 600 12px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.film-frame:hover {
  background: #354144;
}
.negative {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background: url(assets/contact-sheet.webp) no-repeat;
  background-size: 300% 100%;
}
.negative-0 {
  background-position: left;
}
.negative-1 {
  background-position: center;
}
.negative-2 {
  background-position: right;
}
