@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&display=swap');
:root {
  --ink: #17123c;
  --green: #17123c;
  --mint: #ff641a;
  --paper: #fff;
  --line: #e1e0e8;
  --orange: #f5631c;
}
body {
  background: #f4f3f7;
  color: var(--ink);
}
aside {
  background: #17123c;
  border: 0;
  color: white;
}
.brand b {
  color: white;
}
.brand b span {
  color: var(--orange);
}
.brand small {
  border-color: #ffffff40;
  color: #d4d0e5;
}
.edition {
  color: #b0a8c8;
}
nav a span {
  color: #a69dbd;
}
nav a:hover {
  background: #ffffff0c;
}
nav a.active {
  background: var(--orange);
  color: white;
  border-radius: 0;
}
nav a.active span {
  color: white;
}
.about {
  border-color: #ffffff24;
}
.sidefoot {
  color: #9d96b4;
}
.sidefoot strong {
  color: #ff8249;
}
.shell {
  background: #fff;
}
header {
  background: #fff;
}
.headtitle b {
  color: var(--orange);
}
.darkbtn {
  border-radius: 0;
  background: #17123c;
}
.darkbtn:hover {
  background: var(--orange);
}
.crumb {
  color: #807b92;
  font-size: 0.5625rem;
  letter-spacing: 1.4px;
}
main {
  perspective: 1600px;
  isolation: isolate;
}
.hero {
  background: #17123c;
  border-radius: 0;
  min-height: 520px;
  grid-template-columns: 1.05fr 1fr;
  overflow: hidden;
}
.herocopy {
  padding: 48px 0 48px 38px;
}
.eyebrow {
  color: #ff7b3c;
  letter-spacing: 1.2px;
  font-weight: 600;
}
.eyebrow:before {
  background: #ff641a;
  width: 27px;
  height: 3px;
}
h1 {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(3rem, 4.5vw, 4.75rem);
  line-height: 1.03;
  letter-spacing: -0.6px;
  margin: 27px 0 24px;
}
h1 em {
  color: #ff681e;
}
.herocopy p {
  color: #d0cbdc;
  font-size: 0.6875rem;
  line-height: 1.9;
  max-width: 300px;
}
.lightbtn {
  background: var(--orange);
  color: white;
  border-radius: 0;
  padding: 15px 19px;
}
.lightbtn:hover {
  background: #d64908;
}
.heroart {
  background-image: linear-gradient(0deg, #17123c40, #17123c00 60%), url('../../city-brochure.jpg');
  background-position: center;
  background-size: cover;
  clip-path: polygon(17% 0, 100% 0, 100% 100%, 0 100%, 0 15%);
  margin-top: 25px;
}
.heroart svg,
.heroart .orbit {
  display: none;
}
.artcaption {
  background: #17123cba;
  padding: 9px 11px;
  font-size: 0.4375rem;
  bottom: 19px;
  color: #fff;
  right: 12px;
  letter-spacing: 1.3px;
}
.introstrip {
  padding: 27px 0;
  border-bottom: 2px solid var(--ink);
}
.introstrip b {
  font-family: 'Barlow Condensed', sans-serif;
  color: var(--orange);
  font-weight: 600;
  font-size: 2.1875rem;
}
.introstrip span {
  color: #6a637d;
}
.kicker {
  color: var(--orange);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 1.7px;
}
h2 {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 2.25rem;
  letter-spacing: 0;
  line-height: 1.1;
}
.sectionhead > p {
  color: #847c95;
}
.sector {
  border-radius: 0;
  border: 1px solid #e5e2ed;
  position: relative;
  overflow: hidden;
  background: #faf9fc;
  min-height: 180px;
}
.sector:before {
  content: '';
  position: absolute;
  left: 0;
  top: 22px;
  width: 3px;
  height: 27px;
  background: var(--orange);
  transition: height 0.2s;
}
.sector:hover {
  border-color: #17123c;
  box-shadow: 5px 5px 0 #17123c0c;
  transform: translateY(-2px);
}
.sector:hover:before {
  height: 80px;
}
.sector .symbol {
  color: #17123c;
}
.sector .num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.875rem;
  color: #a49bb3;
}
.sector h3 {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  font-size: 1.4375rem;
  font-weight: 600;
  line-height: 1.2;
}
.sector p {
  color: #80768e;
}
.sector p span {
  color: var(--orange);
  font-size: 0.9375rem;
}
.askbar {
  background: #17123c;
  color: #fff;
  border: 0;
  border-radius: 0;
  margin-top: 35px;
  padding: 28px;
}
.askbar .star {
  color: var(--orange);
}
.askbar h3 {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.15;
}
.askbar p {
  color: #bfb7d0;
}
.askbar button {
  background: var(--orange);
  border: 0;
  color: white;
  border-radius: 0;
}
footer {
  background: #f6f5f9;
  color: #7b728b;
}
.chatfloat {
  background: var(--orange);
  color: #fff;
  border-radius: 3px;
}
.chathead {
  background: #17123c;
}
.notice {
  background: #fff0e8;
  color: #b3420c;
}
.message {
  background: #f0edf6;
}
.message.user {
  background: #17123c;
}
.suggestions button {
  border-color: #d9d2e5;
}
form button {
  background: var(--orange);
}
.panel {
  border-radius: 0;
  border-top: 3px solid var(--orange);
}
.panel p {
  color: #786f87;
}
.empty {
  background: #f6f4fa;
  border-color: #d4cddd;
  border-radius: 0;
}
.detailtitle {
  font-size: clamp(2.5rem, 4vw, 4rem);
  color: #17123c;
}
.back {
  color: #7b628f;
}
.reader {
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 25px;
}
.toc a {
  line-height: 1.6;
}
.toc a.current {
  background: #17123c;
  color: white;
  border-left: 3px solid var(--orange);
}
.readingdesk {
  background: #eeecf3;
  padding: 18px;
  position: relative;
}
.pdfcontrols {
  background: #17123c;
  color: white;
  border-radius: 0;
  gap: 10px;
}
.pdfcontrols a {
  padding: 7px 13px;
  font-size: 1.125rem;
}
.pdfcontrols a[aria-disabled='true'] {
  opacity: 0.3;
  pointer-events: none;
}
.pdfcontrols input {
  color: #17123c;
  border: 0;
}
.pdfcontrols label {
  font-size: 0.6875rem;
}
.pdfhint {
  color: #80738e;
  line-height: 1.6;
}
.page-stage {
  perspective: 1800px;
  position: relative;
  max-width: 790px;
  margin: 20px auto;
}
.page-sheet {
  position: relative;
  background: white;
  box-shadow:
    0 10px 22px #17123c24,
    4px 0 0 #ddd8e7,
    7px 0 0 #fefefe;
  transform-origin: left center;
  min-height: 280px;
}
.page-sheet img {
  width: 100%;
  display: block;
  height: auto;
}
.page-sheet:after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 18px;
  background: linear-gradient(90deg, #17123c18, transparent);
  pointer-events: none;
}
.reader-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.625rem;
  align-items: center;
}
.reader-actions button {
  background: none;
  color: #6d587e;
  padding: 6px 0;
}
.page-status {
  font-size: 0.625rem;
  color: #786d87;
  min-height: 16px;
}
.page-overlay {
  pointer-events: none;
  position: fixed;
  z-index: 7;
  overflow: hidden;
  background: #fff;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transform-origin: left center;
  box-shadow: 10px 0 22px #17123c22;
}
.page-overlay:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, #17123c33);
  pointer-events: none;
}
.page-overlay.reverse {
  transform-origin: right center;
}
.page-overlay .page-sheet {
  margin: 0;
}
.reader-zoom .page-stage {
  max-width: none;
}
.reader-zoom.reader {
  grid-template-columns: 1fr;
}
.reader-zoom .toc {
  display: none;
}
#toast {
  background: #17123c;
}
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1.1fr 1fr;
  }
  .herocopy {
    padding-left: 25px;
  }
  .reader {
    grid-template-columns: 145px minmax(0, 1fr);
  }
  h1 {
    font-size: 3.4375rem;
  }
  .heroart {
    background-position: 52% center;
  }
}
@media (max-width: 720px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 700px;
  }
  .herocopy {
    padding: 30px 25px 0;
  }
  h1 {
    font-size: 3.5rem;
  }
  .heroart {
    min-height: 300px;
    background-position: center 40%;
    margin: 10px 0 0 25px;
    clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%, 0 14%);
  }
  .herocopy p {
    font-size: 0.6875rem;
    max-width: 100%;
  }
  .heroart .artcaption {
    font-size: 0.375rem;
  }
  .introstrip b {
    font-size: 1.8125rem;
  }
  .sector {
    min-height: 170px;
  }
  .sector h3 {
    font-size: 1.3125rem;
  }
  .askbar h3 {
    font-size: 1.375rem;
  }
  .reader {
    grid-template-columns: 1fr;
  }
  .toc {
    grid-template-columns: 1fr 1fr;
    gap: 3px;
  }
  .toc a {
    padding: 8px;
    font-size: 0.5625rem;
  }
  .readingdesk {
    padding: 10px;
  }
  .sectionhead {
    margin-top: 30px;
  }
  h2 {
    font-size: 1.9375rem;
  }
  .page-overlay {
    box-shadow: 3px 0 12px #17123c22;
  }
  .chatfloat {
    padding: 13px 17px;
    font-size: 0.6875rem;
  }
  .reader-actions {
    font-size: 0.5625rem;
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
  .page-overlay {
    display: none;
  }
}
