/* Both chapters take place at Inês's desk. The room extends around the paper. */
body.office {
  background: #0f1829;
  isolation: isolate;
}
body.office::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #0d1524ee 0%, #0e1626af 34%, #0f182821 70%), linear-gradient(0deg,#0d1423d9,transparent 36%), url('/play/the-keepers/archive-office.jpg') center / cover no-repeat;
  background-color: #445879;
  background-blend-mode: normal, normal, luminosity;
}
.office .mast { background: #0c1423c9; border-color: #becadd42; }
.office .mast-title, .office .cover-brief, .office .cover-note { color: #d2dbea; }
.office .cover { min-height: min(86vh, 930px); gap: 5%; }
.office .cover-copy { text-shadow: 0 2px 12px #0c1422; }
.office .cover h1 { font-weight: 400; }
.office .cover .primary { text-shadow: none; }
.office .desk-heading { text-shadow: 0 2px 10px #0b1220; }
.office .tabs { background: #10192bf0; padding-inline: 8px; border-color: #7c8fab; }
.office .stage aside {
  padding: clamp(20px, 2.4vw, 32px);
  background: #101a2bea;
  border-top: 2px solid #7083a1;
  box-shadow: 0 12px 30px #0a101d52;
}
.office .stage { gap: clamp(24px, 5vw, 78px); }
.office .stage aside > p:not(.kicker) { color: #d3dbeb; }
.office .stage aside .file-list { grid-template-columns: 1fr; }
.office .paper {
  --rubric: #793f53;
  position: relative;
  background: radial-gradient(ellipse at 2% 5%,#90a2bb35,transparent 45%), linear-gradient(110deg,#dfe5f0,#edf0f7 46%,#d7dfed);
  border: 1px solid #7c8fab;
  outline: 1px solid #6d819f8c;
  outline-offset: -9px;
  box-shadow: 3px 4px 0 #8fa1ba, 0 18px 34px #09101d77;
}
.office .paper::before, .office .paper::after {
  content: "❦";
  position: absolute;
  color: #506483;
  font: 20px/1 Georgia,serif;
  pointer-events: none;
}
.office .paper::before { top: 4px; left: 3px; }
.office .paper::after { bottom: 4px; right: 3px; transform: rotate(180deg); }
.manuscript, .office .letter-text { font: 400 clamp(18px,1.65vw,23px)/1.62 Georgia,serif; }
.manuscript::first-letter, .office .letter-text > p:first-child::first-letter {
  float: left;
  padding: .035em .09em .08em;
  margin: .095em .13em 0 0;
  border: 3px double #7a8da9;
  font: 500 2.85em/.85 Archive, Georgia, serif;
  color: #dce3ef;
  background: repeating-linear-gradient(45deg,transparent 0 4px,#a5b5cc26 4px 5px),#2b3d5a;
  text-shadow: 1px 2px #162236;
}
.office .paper .divider { background: #778aa780; }
.office .paper .question { font-weight: 700; }
.office .paper .source { color: #334665; font-size: 13px; }
.dispatch { margin: 0 4% 0 2%; align-self: end; padding-bottom: 5vh; }
.envelope {
  position: relative;
  aspect-ratio: 1.65;
  transform: rotate(-6deg);
  background: linear-gradient(152deg,#bcc8db,#e3e8f2 47%,#9dafc6);
  border: 1px solid #8598b2;
  box-shadow: 1px 3px 1px #5c708f, 0 13px 15px #0a111f84;
  color: #1e2c44;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.envelope .document-no { position: absolute; top: 9%; left: 7%; color: #364968; font-size: 10px; }
.fold {
  position: absolute;
  width: 79%;
  height: 140%;
  transform: rotate(45deg) skew(-9deg,-9deg);
  bottom: 45%;
  border: 1px solid #7689a6;
  background: linear-gradient(135deg,#aebdd2,#e0e6f1);
  box-shadow: 2px 2px 3px #46597839;
}
.envelope .document-no { z-index: 1; }
.wax {
  position: absolute;
  top: 45%;
  width: clamp(40px,4.4vw,70px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: #8496b1;
  border: 4px double #2b3d5a;
  border-radius: 47% 54% 46% 52%;
  font: italic 2em Georgia,serif;
  background: radial-gradient(circle at 30% 20%,#4e6180,#1d2b43 64%,#2e4160);
  box-shadow: inset 1px 1px 2px #7487a4, 1px 3px 3px #162236a8;
}
.address { position: absolute; bottom: 10%; left: 9%; font: italic clamp(20px,3vw,42px)/1 Georgia,serif; }
.dispatch-date { position: absolute; bottom: 9%; right: 7%; font: italic 14px Georgia,serif; }
.dispatch figcaption { margin-top: 30px; text-align: right; font: 12px Desk,sans-serif; text-shadow: 0 1px 4px #000; }
.illuminated .rubric { color: var(--rubric); font-variant: small-caps; font-weight: 700; letter-spacing: .08em; }
.illuminated .previous-line { font: italic 19px/1.5 Georgia,serif; }
.illuminated blockquote { color: #253550; }
.illuminated .end-actions { flex-wrap: wrap; }
.packet-face { border: 1px solid #8ea0b9; padding: 18px 21px; background: #ced8e860; }
.inscription { margin: 12px 0; color: #344766; font: italic 34px/1.3 Georgia,serif; text-align: center; }
.inscription.inner {
  white-space: pre-line;
  background: repeating-linear-gradient(transparent 0 1.27em,#8598b260 1.28em 1.3em);
  color: #344d65; padding-bottom: .6em;
}
.inscription.inner::first-line { color: #604649; }
#packet #decode label { display: block; font-weight: 700; margin: 10px 0 5px; }
#packet select { display: block; width: 100%; padding: 10px; background: #f3f5fa; color: #1d2b43; border: 1px solid #8b9db7; border-radius: 2px; font-size: 16px; }
#packet .primary { margin-top: 17px; }
#notes { padding-left: 18px; }
#notes li + li { margin-top: 8px; }
.chapter-jump { color: #ccd6e6; font-size: 14px; }
.paper .chapter-jump { display: inline-block; margin: 10px 0; color: #273853; font-size: 17px; font-weight: 700; }
@media (max-width:720px) {
  body.office::before { background: linear-gradient(90deg,#0b1321c4,#0f172855),linear-gradient(0deg,#0c1423c0,transparent 75%),url('/play/the-keepers/archive-office.jpg') 58% center / cover; background-color:#445879; background-blend-mode:normal,normal,luminosity; }
  .office .cover { min-height: auto; gap: 25px; padding-block: 36px; }
  .office .cover-copy { max-width: 430px; }
  .dispatch { width: min(78%,330px); justify-self: end; margin: 4px 3% 0 0; padding: 0; }
  .dispatch figcaption { margin-top: 18px; }
  .office .paper { padding: 26px 23px; }
  .office .stage aside { padding: 18px; }
  .office .stage aside > .file-list { margin-bottom: 8px; }
}
.desk-jump { display: block; width: fit-content; margin: -12px 0 20px; }
