@font-face {
  font-family: Archive;
  src: url(./cormorant-600-normal.woff2) format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Archive;
  src: url(./cormorant-500-italic.woff2) format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: Cinzel;
  src: url(./cinzel.woff2) format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url(./inter-400.woff2) format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url(./inter-600.woff2) format('woff2');
  font-weight: 600 800;
  font-display: swap;
}
@font-face {
  font-family: AtlasSymbols;
  src: url(./symbols.ttf) format('truetype');
  font-display: block;
}
:root {
  color-scheme: dark;
  --paper: #101515;
  --panel: #192020;
  --raised: #212a28;
  --ink: #f3eee1;
  --muted: #b0b9b3;
  --line: #36403b;
  --gold: #ddbc7c;
  --strong: #eed397;
  --button-ink: #201c13;
  --button: #e2c48e;
  --tint: #272a23;
  --display: Archive, Georgia, serif;
  --gutter: clamp(1.1rem, 5.25vw, 5.8rem);
  font:
    100%/1.6 Inter,
    system-ui,
    sans-serif;
  background: var(--paper);
  color: var(--ink);
}
:root[data-theme='light'] {
  color-scheme: light;
  --paper: #f6f3eb;
  --panel: #fffdf6;
  --raised: #eeebe2;
  --ink: #212c2a;
  --muted: #52605b;
  --line: #c8ccc1;
  --gold: #765722;
  --strong: #5a4116;
  --button-ink: #fffaee;
  --button: #5a492b;
  --tint: #eae5d8;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
}
main {
  flex: 1;
}
[hidden] {
  display: none !important;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
figure,
dl,
ol,
ul {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 0.25em;
}
button,
input,
select {
  font: inherit;
}
button,
select {
  cursor: pointer;
}
a,
button,
input,
select {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #ecae56;
  outline-offset: 3px;
}
main:focus {
  outline: none;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.04;
  text-wrap: balance;
}
.wrap {
  width: min(calc(100% - var(--gutter) * 2), 81rem);
  margin-inline: auto;
}
.icon {
  font: normal 400 1.24rem/1 AtlasSymbols;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  direction: ltr;
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  flex: none;
}
.sr-only,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 10;
  background: #ffe8b7;
  color: #201b13;
  padding: 0.8rem;
}
.mast {
  position: relative;
  z-index: 2;
  background: #101616;
  color: #eee9df;
  border-bottom: 1px solid #3c4037;
}
.mast-inner {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 4vw, 4rem);
  min-height: 4.65rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: none;
  gap: 0.45rem;
  white-space: nowrap;
}
.brand img {
  width: 37px;
  height: 37px;
  object-fit: contain;
}
.brand > span {
  font:
    600 1.55rem/1 Cinzel,
    Georgia,
    serif;
  letter-spacing: 0.025em;
}
.brand small {
  border-left: 1px solid #6c6251;
  padding-left: 0.72rem;
  margin-left: 0.32rem;
  color: #d9bd87;
  font-size: 0.57rem;
  line-height: 1.15;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}
.primary,
.tools,
.hero-links,
.text-link,
.play,
.utility,
.map-link,
.eyebrow,
.section-title,
.directory-heading,
.notice,
.release-line {
  display: flex;
  align-items: center;
}
.primary {
  gap: clamp(1.1rem, 2.4vw, 2.55rem);
  align-self: stretch;
}
.primary a,
.utility {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 44px;
  text-decoration: none;
  color: #b9c1bb;
  font-size: 0.85rem;
  font-weight: 600;
}
.primary a:hover,
.utility:hover,
.primary a[aria-current],
.utility[aria-current] {
  color: #efd69f;
}
.primary a[aria-current]::after {
  content: '';
  position: absolute;
  bottom: 0.86rem;
  left: 8%;
  right: 8%;
  height: 2px;
  background: #d3b478;
}
.tools {
  gap: 0.4rem;
  margin-left: auto;
}
.utility {
  height: 44px;
  width: 40px;
}
.play,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.65rem 1.05rem;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}
.play {
  margin-left: 0.5rem;
  background: #ddc18d;
  color: #211d15;
  box-shadow: inset 0 0 0 1px #e8cda2;
}
.play {
  gap: 0.23rem;
  white-space: nowrap;
}
.play .icon {
  font-size: 1.07rem;
  margin-left: 0.18rem;
}
.play:hover {
  background: #f1d8a8;
}
.button {
  background: var(--button);
  color: var(--button-ink);
  border: 1px solid transparent;
}
.button:hover {
  filter: brightness(1.08);
}
.hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  background: #101616;
  color: #fff4db;
  border-bottom: 1px solid #575444;
}
.hero-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 54%;
  transform: scaleX(-1);
  z-index: -3;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      #101616 1%,
      rgba(16, 22, 22, 0.95) 15%,
      rgba(16, 22, 22, 0.78) 34%,
      rgba(16, 22, 22, 0.2) 59%,
      rgba(16, 22, 22, 0.02) 83%
    ),
    linear-gradient(0deg, #101616 -9%, transparent 34%);
}
.hero-inner {
  display: flex;
  align-items: center;
  position: relative;
  min-height: clamp(24rem, 31vw, 30rem);
  padding-block: 3rem;
}
.hero-copy {
  width: min(100%, 38rem);
}
.eyebrow,
.kicker {
  color: var(--gold);
  font-size: 0.67rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.eyebrow {
  gap: 0.7rem;
  color: #e3c88e;
}
.eyebrow > span {
  width: 2.1rem;
  height: 1px;
  background: #cfad71;
  position: relative;
}
.eyebrow > span::after {
  content: '';
  position: absolute;
  right: 0;
  top: -2px;
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  background: #dcc18c;
}
.hero h1 {
  font-size: clamp(3.75rem, 6.65vw, 6.6rem);
  letter-spacing: -0.052em;
  line-height: 1;
  margin: 0.75rem 0 0.85rem;
  color: #fffbef;
}
.hero h1 em {
  font-weight: 500;
  color: #efd197;
}
.intro {
  max-width: 30.3rem;
  color: #e4e6dc;
  font-size: clamp(0.96rem, 1.18vw, 1.07rem);
  line-height: 1.55;
}
.finder {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: min(100%, 33rem);
  padding: 0.38rem 0.45rem 0.38rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel);
  color: var(--ink);
}
.finder:focus-within {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.finder input {
  flex: 1;
  min-width: 0;
  height: 2.6rem;
  padding: 0;
  background: transparent;
  color: inherit;
  border: 0;
  font-size: 0.93rem;
}
.finder input:focus {
  outline: none;
}
.finder > .icon {
  color: var(--gold);
}
.finder input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.finder button {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.65rem;
  min-height: 2.65rem;
  border: 0;
  border-radius: 3px;
  background: var(--button);
  color: var(--button-ink);
}
.hero .finder {
  margin-top: 1.55rem;
  background: #192222eb;
  border-color: #857c63;
  color: #fff8e9;
  box-shadow: 0 7px 25px #0003;
}
.hero .finder > .icon {
  color: #d8bf8d;
}
.hero .finder input::placeholder {
  color: #c8cec5;
}
.hero .finder button {
  background: #dfc18b;
  color: #22241c;
}
.hero-links {
  gap: 1.5rem;
  margin-top: 0.5rem;
}
.text-link {
  width: fit-content;
  gap: 0.48rem;
  min-height: 44px;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 600;
}
.text-link .icon {
  font-size: 1.04rem;
}
.text-link:hover {
  text-decoration: underline;
}
.hero-links .text-link {
  color: #eee4c9;
  font-size: 0.78rem;
}
.map-link {
  position: absolute;
  right: 0;
  bottom: 1.35rem;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.3rem 0.6rem;
  color: #fff8e7;
  background: #141a19dc;
  border: 1px solid #8e88759c;
  border-radius: 3px;
  text-decoration: none;
  font-size: 0.74rem;
}
.map-link .icon {
  color: #ecd39b;
  font-size: 1.05rem;
}
.landing {
  padding-block: clamp(2rem, 3.8vw, 3.75rem) 2rem;
}
.section-title {
  gap: 1.25rem;
  justify-content: space-between;
  margin-bottom: 1.35rem;
}
.section-title h2,
.map-callout h2 {
  font-size: clamp(2rem, 2.7vw, 2.7rem);
  letter-spacing: -0.033em;
}
.rule {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.shelf-grid,
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.6vw, 1.6rem);
}
.shelf,
.archive-grid > section {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--panel);
}
.shelf {
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
}
.shelf:hover {
  border-color: var(--gold);
}
.shelf-art {
  overflow: hidden;
  position: relative;
}
.shelf-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 2.46;
  object-fit: cover;
  object-position: center 55%;
}
.shelf-art::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -18px 24px -24px #141815;
}
.shelf-copy {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: 1;
  padding: 1.05rem 1rem 1.15rem;
}
.shelf-icon {
  height: 2.5rem;
  width: 2.5rem;
  flex: none;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.shelf h3,
.directory-heading h2 {
  font-size: clamp(1.48rem, 1.97vw, 2.08rem);
  letter-spacing: -0.035em;
}
.shelf p {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}
.shelf-arrow {
  margin-left: auto;
  color: var(--gold);
}
.shelf-arrow .icon {
  font-size: 1.15rem;
}
.lower-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: clamp(2.4rem, 4vw, 4rem);
}
.guides-block .section-title {
  margin-bottom: 0.55rem;
}
.reading-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.3rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-size: 0.94rem;
}
.reading-list a > .icon {
  color: var(--gold);
  font-size: 1.12rem;
}
.reading-list a > .icon:last-child {
  margin-left: auto;
}
.reading-list a:hover {
  color: var(--gold);
}
.map-callout {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 12.5rem;
  display: flex;
  align-items: end;
  border: 1px solid #605c49;
  border-radius: 6px;
  background: #17201f;
  color: #fff8e7;
}
.map-callout img {
  z-index: -2;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 80%;
}
.map-callout::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #111b19f2 4%, #101817da 30%, #1016141a);
}
.map-callout > div {
  padding: 1.5rem;
}
.map-callout .kicker,
.map-callout .text-link {
  color: #efd198;
}
.map-callout h2 {
  margin-top: 0.4rem;
}
.release-line {
  gap: 0.5rem;
  min-height: 44px;
  margin-top: 1.65rem;
  color: var(--muted);
  font-size: 0.78rem;
}
.release-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  background: var(--gold);
  border-radius: 100%;
}
.foot {
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.foot .wrap,
.foot nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.foot .wrap {
  justify-content: space-between;
  padding-block: 1.6rem;
}
.foot .brand > span {
  color: var(--ink);
  font-size: 1.2rem;
}
.foot .brand img {
  width: 29px;
  height: 29px;
}
.foot .brand small {
  color: var(--gold);
}
.foot nav a {
  padding: 0.35rem 0;
  font-size: 0.77rem;
  text-decoration: none;
}
.foot nav a:hover {
  text-decoration: underline;
}
.inner {
  padding-block: 1.5rem clamp(3rem, 6vw, 6rem);
}
.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.74rem;
  color: var(--muted);
  min-height: 2rem;
  margin-bottom: 1.65rem;
}
.crumb a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  text-decoration: none;
}
.crumb a:hover {
  text-decoration: underline;
}
.crumb .icon {
  font-size: 1rem;
}
.lead {
  max-width: 52rem;
  margin-bottom: 2rem;
}
.lead h1,
.collection-lead h1 {
  font-size: clamp(2.7rem, 4.7vw, 4.6rem);
  letter-spacing: -0.045em;
  margin: 0.48rem 0 0.6rem;
}
.lead > p:last-child,
.collection-lead > div > p:last-child {
  max-width: 46rem;
  color: var(--muted);
  font-size: 1.02rem;
}
.inner > .finder {
  margin-block: 0 1.75rem;
}
.directory-heading {
  gap: 0.65rem;
  padding: 1.05rem 1.1rem 0.5rem;
}
.directory-heading .icon {
  color: var(--gold);
}
.index-list {
  list-style: none;
  padding: 0.2rem 1.1rem 1.1rem;
}
.index-list li + li {
  border-top: 1px solid var(--line);
}
.index-list a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.9rem;
  text-decoration: none;
}
.index-list small {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.index-list .icon {
  color: var(--gold);
  font-size: 1.1rem;
}
.index-list a:hover {
  color: var(--gold);
}
.collection-lead {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  min-height: 12rem;
  display: flex;
  align-items: center;
  padding: clamp(1.4rem, 3vw, 2.75rem);
  border-radius: 6px;
  border: 1px solid #414a42;
  background: #182220;
  color: #f8f2e4;
  margin-bottom: 1.5rem;
}
.collection-lead img {
  position: absolute;
  right: 0;
  z-index: -2;
  height: 100%;
  width: 62%;
  object-fit: cover;
}
.collection-lead::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #182220 17%, #182220ee 40%, #18222033 88%);
}
.collection-lead .kicker {
  color: #e8c991;
}
.collection-lead > div > p:last-child {
  color: #d4dacf;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.1rem 0;
}
.chips a {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.38rem 0.82rem;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 4px;
  font-size: 0.85rem;
}
.chips a:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}
.record {
  display: flex;
  flex-direction: column;
  gap: 0.43rem;
  text-decoration: none;
  padding: 1.1rem 1.25rem 1.2rem;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 5px;
}
.record:hover {
  border-color: var(--gold);
  background: var(--raised);
}
.record small,
.places small {
  font-size: 0.64rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.record strong {
  font: 600 1.7rem/1.04 var(--display);
  letter-spacing: -0.022em;
}
.record > span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}
.notice {
  margin-top: 1.4rem;
  gap: 0.65rem;
  border: 1px solid var(--line);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  color: var(--muted);
  font-size: 0.85rem;
}
.notice .icon {
  color: var(--gold);
}
.article {
  max-width: 72rem;
}
.article .lead {
  max-width: 52rem;
}
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 16rem);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.article-nav {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: 1.2rem;
}
.article-nav > div {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 5px;
  padding: 1.15rem;
}
.article-nav nav {
  margin: 0.65rem 0 1rem;
}
.article-nav nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.87rem;
  min-height: 2.6rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.article-nav nav .icon {
  font-size: 1rem;
  color: var(--muted);
}
.article-nav .save {
  width: 100%;
  font-size: 0.79rem;
}
.article-text {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}
.article-text figure {
  margin-bottom: 1.6rem;
}
.article-text figure img {
  width: 100%;
  height: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 5px;
}
figcaption {
  line-height: 1.5;
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 0.55rem;
}
.article-text section {
  scroll-margin: 1.5rem;
  margin-bottom: 2.25rem;
}
.article-text h2,
.timeline h2,
.places h2 {
  font-size: clamp(1.85rem, 2.6vw, 2.5rem);
  margin-bottom: 0.8rem;
  letter-spacing: -0.025em;
}
.facts {
  border-block: 1px solid var(--line);
}
.facts > div {
  display: grid;
  grid-template-columns: minmax(8rem, 0.78fr) minmax(0, 1.6fr);
  gap: 1.1rem;
  padding: 0.75rem 0.9rem;
}
.facts > div:nth-child(odd) {
  background: var(--panel);
}
.facts dt {
  color: var(--muted);
  font-size: 0.83rem;
}
.facts dd {
  margin: 0;
  font-weight: 600;
  font-size: 0.91rem;
  overflow-wrap: anywhere;
}
.steps {
  padding: 0 0 0 1.6rem;
}
.steps li {
  padding: 0.1rem 0 0.85rem 0.5rem;
  max-width: 68ch;
}
.steps li::marker {
  font: 600 1rem var(--display);
  color: var(--gold);
}
.edition {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.78rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.filters {
  display: flex;
  gap: 0.8rem;
  align-items: end;
  flex-wrap: wrap;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1rem;
}
.filters label,
.timeline label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}
.filters label {
  flex: 1 1 11rem;
}
.filters label:first-child {
  flex-grow: 2;
}
.filters input,
.filters select,
.timeline select {
  width: 100%;
  display: block;
  min-height: 44px;
  margin-top: 0.35rem;
  padding: 0.5rem 0.65rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink);
  font-size: 0.92rem;
}
[data-results] > [role='status'] {
  margin-block: 1.3rem 0.9rem;
  color: var(--muted);
  font-size: 0.87rem;
}
.more {
  margin-top: 1rem;
}
[data-protected]:not(:has(.article)) {
  max-width: 50rem;
}
.atlas {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.2rem, 4vw, 4rem);
  align-items: start;
}
.map-frame {
  align-self: start;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel);
}
.map-frame figcaption {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.4rem;
  color: var(--muted);
}
.map-frame figcaption .icon {
  font-size: 1rem;
}
.map-sheet {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  isolation: isolate;
}
.map-sheet img {
  width: 100%;
  margin-top: -25%;
}
.north {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  display: grid;
  justify-items: center;
  color: #3a321c;
  font:
    600 0.85rem/1 Cinzel,
    Georgia,
    serif;
  text-shadow: 0 1px 3px #fff;
}
.north span {
  font-size: 2rem;
}
.pin {
  position: absolute;
  transform: translate(-22px, -50%);
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: #fff4d8;
}
.pin b {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #e6ca8b;
  color: #fff3d4;
  background: #192522;
  box-shadow: 0 2px 6px #0009;
  font-size: 0.88rem;
}
.pin > span {
  margin-left: -2px;
  border-radius: 0 3px 3px 0;
  background: #17231ff0;
  color: #ffefcf;
  padding: 0.22rem 0.45rem;
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
}
.pin:hover b {
  background: #384a3a;
}
.pin-1 {
  left: 50%;
  top: 81.333%;
}
.pin-2 {
  left: 49%;
  top: 58.666%;
}
.pin-3 {
  left: 50%;
  top: 40%;
}
.places section,
.timeline > * {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 5px;
  margin-bottom: 1rem;
  padding: clamp(1.15rem, 2.3vw, 2rem);
}
.places h2,
.timeline h2 {
  margin: 0.4rem 0 0.8rem;
}
.places section p,
.timeline p:not(.kicker) {
  color: var(--muted);
}
.places section a,
.timeline section > a {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0;
  color: var(--gold);
  font-size: 0.88rem;
}
.places :target {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.timeline {
  max-width: 52rem;
}
.timeline .button,
.timeline label {
  margin-top: 0.65rem;
}
.timeline [role='status'] {
  font-size: 0.8rem;
  margin-top: 0.5rem;
}
.timeline select {
  max-width: 23rem;
}
.clip {
  margin: 1rem 0;
}
.clip video {
  display: block;
  width: 100%;
  border-radius: 4px;
}
@media (min-width: 1000px) {
  .shelf:hover .shelf-art img {
    transform: scale(1.025);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .shelf-art img {
    transition: transform 0.28s ease;
  }
  .shelf {
    transition: border-color 0.18s ease;
  }
}
@media (max-width: 1050px) {
  .mast-inner {
    gap: 1.6rem;
  }
  .primary {
    gap: 1.3rem;
  }
  .shelf-copy {
    gap: 0.65rem;
  }
  .shelf-icon {
    width: 2.15rem;
    height: 2.15rem;
  }
  .shelf-arrow {
    display: none;
  }
}
@media (max-width: 800px) {
  .wrap {
    width: min(calc(100% - 2.5rem), 81rem);
  }
  .primary {
    gap: 1rem;
  }
  .mast-inner {
    gap: 1rem;
    min-height: 4rem;
  }
  .tools {
    gap: 0;
  }
  .play {
    margin-left: 0.2rem;
  }
  .shelf-grid {
    gap: 0.65rem;
  }
  .shelf-copy {
    display: block;
    padding: 0.85rem;
  }
  .shelf-icon {
    position: absolute;
    top: -1.6rem;
    right: 0.7rem;
    border-color: #76694c;
    background: #202820;
    color: #eed198;
  }
  .shelf h3 {
    margin-top: 0.15rem;
  }
  .lower-grid {
    gap: 1.5rem;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-grid {
    gap: 1.5rem;
  }
  .shelf-art img {
    aspect-ratio: 1.85;
  }
}
@media (min-width: 671px) and (max-width: 835px) {
  .mast .brand small,
  .play-platform {
    display: none;
  }
  .mast-inner {
    gap: 0.85rem;
  }
  .primary {
    gap: 0.85rem;
  }
  .tools .utility {
    width: 35px;
  }
}
@media (max-width: 670px) {
  .wrap {
    width: calc(100% - 2.15rem);
  }
  .mast-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0;
    min-height: 0;
  }
  .brand img {
    width: 31px;
    height: 31px;
  }
  .brand > span {
    font-size: 1.28rem;
  }
  .brand small {
    font-size: 0.51rem;
    padding-left: 0.47rem;
    margin-left: 0.1rem;
  }
  .mast .brand {
    min-height: 3.35rem;
  }
  .play-platform {
    display: none;
  }
  .tools {
    grid-column: 2;
    grid-row: 1;
    gap: 0.08rem;
  }
  .utility {
    width: 33px;
  }
  .play {
    min-height: 37px;
    padding: 0.4rem 0.6rem;
    font-size: 0.71rem;
    gap: 0.15rem;
  }
  .play .icon {
    font-size: 0.92rem;
  }
  .primary {
    grid-row: 2;
    grid-column: 1/-1;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid #333b36;
  }
  .primary a {
    font-size: 0.75rem;
    min-height: 39px;
    padding: 0 0.22rem;
  }
  .primary a[aria-current]::after {
    bottom: 0;
    left: 0;
    right: 0;
  }
  .hero-inner {
    min-height: 25rem;
    align-items: end;
    padding-block: 5.8rem 1.3rem;
  }
  .hero-art {
    width: 100%;
    height: 100%;
    object-position: 31% 49%;
  }
  .hero::before {
    background:
      linear-gradient(
        0deg,
        #111717 4%,
        #111717eb 29%,
        #111717ae 51%,
        #1117172e 84%
      ),
      linear-gradient(90deg, #11171761, transparent 65%);
  }
  .hero h1 {
    font-size: clamp(3.05rem, 12.5vw, 4.55rem);
    margin: 0.42rem 0 0.54rem;
  }
  .hero .intro {
    font-size: 0.92rem;
    line-height: 1.5;
    max-width: 26rem;
  }
  .hero .finder {
    margin-top: 1rem;
  }
  .hero-links {
    gap: 1.25rem;
  }
  .hero-links .text-link {
    min-height: 37px;
  }
  .map-link {
    right: 0;
    top: 0.85rem;
    bottom: auto;
    font-size: 0.68rem;
    min-height: 34px;
  }
  .landing {
    padding-top: 1.7rem;
  }
  .section-title {
    gap: 0.65rem;
    margin-bottom: 0.9rem;
  }
  .section-title h2 {
    font-size: 2rem;
  }
  .section-title .rule {
    display: none;
  }
  .section-title .text-link {
    font-size: 0.72rem;
    gap: 0.2rem;
  }
  .shelf-grid,
  .archive-grid,
  .lower-grid,
  .atlas,
  .article-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .shelf-grid {
    gap: 0.85rem;
  }
  .shelf {
    display: grid;
    grid-template-columns: minmax(5.5rem, 32%) 1fr;
  }
  .shelf-art img {
    aspect-ratio: 2.65;
  }
  .shelf .shelf-art img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .shelf-copy {
    position: static;
    padding: 1.15rem 0.95rem;
    min-height: 6.25rem;
    display: flex;
  }
  .shelf-icon {
    display: none;
  }
  .shelf h3 {
    font-size: 1.55rem;
  }
  .shelf p {
    font-size: 0.76rem;
  }
  .lower-grid {
    gap: 1.5rem;
    margin-top: 2rem;
  }
  .foot .wrap,
  .foot nav {
    gap: 1rem;
  }
  .foot .wrap {
    padding-block: 1.25rem;
  }
  .inner {
    padding-top: 0.8rem;
  }
  .crumb {
    margin-bottom: 1.25rem;
  }
  .lead {
    margin-bottom: 1.35rem;
  }
  .lead > p:last-child {
    font-size: 0.93rem;
  }
  .lead h1,
  .collection-lead h1 {
    font-size: 2.8rem;
  }
  .article-nav,
  .article-text {
    grid-column: auto;
    grid-row: auto;
  }
  .article-nav {
    position: static;
  }
  .article-nav > div {
    padding: 0.7rem 0.85rem;
  }
  .article-nav nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0 0.85rem;
    margin: 0.25rem 0 0.6rem;
  }
  .article-nav nav a {
    font-size: 0.78rem;
    min-height: 2rem;
    gap: 0.1rem;
  }
  .article-nav .save {
    width: auto;
    min-height: 39px;
  }
  .article-text h2 {
    font-size: 2rem;
  }
  .cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .record {
    padding: 1rem;
  }
  .facts > div {
    grid-template-columns: minmax(5.5rem, 0.75fr) minmax(0, 1.25fr);
    gap: 0.6rem;
  }
  .filters label,
  .filters label:first-child {
    flex-basis: 100%;
  }
  .collection-lead {
    min-height: 10rem;
  }
  .collection-lead img {
    width: 80%;
  }
  .archive-grid {
    gap: 1rem;
  }
  .map-sheet {
    width: 100%;
  }
}
@media (max-width: 365px) {
  .wrap {
    width: calc(100% - 1.5rem);
  }
  .mast .brand {
    gap: 0.2rem;
  }
  .mast .brand small {
    display: none;
  }
  .tools .utility {
    width: 31px;
  }
  .hero-links {
    gap: 0.85rem;
  }
  .shelf-copy {
    padding: 0.8rem;
  }
  .section-title h2 {
    font-size: 1.8rem;
  }
}

/* The specimen panel carries the same warm metal and ink palette as the atlas cover. */
.collection-lead > div:first-child {
  position: relative;
  z-index: 1;
  width: min(58%, 42rem);
}
.collection-lead > div:first-child > p:last-child {
  max-width: 46ch;
  margin-top: 0.5rem;
  line-height: 1.5;
}
.collection-gallery {
  background:
    radial-gradient(ellipse at 82% 100%, #514b35, transparent 47%), #1a2422;
}
.collection-gallery::after {
  display: none;
}
.collection-specimens {
  position: absolute;
  inset: 0.6rem 1.6rem 0.6rem 58%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.collection-specimens img {
  position: static;
  z-index: auto;
  width: 34%;
  height: 85%;
  object-fit: contain;
  filter: drop-shadow(0 8px 7px #0007);
}
.collection-specimens img:nth-child(2) {
  transform: translateY(-5%);
}
.record {
  min-width: 0;
  justify-content: center;
}
.record-copy {
  display: grid;
  align-content: center;
  gap: 0.38rem;
  min-width: 0;
}
.record-copy > span {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}
.record.illustrated {
  display: grid;
  grid-template-columns: clamp(4.4rem, 7vw, 6.7rem) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 0.8rem;
}
.record-art {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid #67695166;
  border-radius: 3px;
  background: radial-gradient(ellipse at 50% 66%, #4b4937, #242b26 70%);
}
.record-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5%;
}
.art-creature {
  background: radial-gradient(ellipse at 50% 60%, #556257, #26322f 83%);
}
.art-creature img,
.specimen-creature img {
  filter: brightness(1.15);
}
.art-person img,
.art-scene img {
  object-fit: cover;
  padding: 0;
}
.illustrated strong {
  font-size: clamp(1.28rem, 1.9vw, 1.7rem);
  overflow-wrap: anywhere;
}
.article {
  max-width: none;
}
.dossier {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: stretch;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: clamp(1.7rem, 4vw, 3.2rem);
}
.dossier-text {
  grid-template-columns: minmax(0, 1fr);
  background: linear-gradient(110deg, var(--panel), var(--tint));
}
.dossier-copy {
  align-self: center;
  min-width: 0;
  padding: clamp(1.5rem, 3.8vw, 3.6rem);
}
.dossier .kicker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dossier .kicker a {
  text-decoration: none;
}
.dossier .kicker a:hover {
  text-decoration: underline;
}
.dossier .kicker .icon {
  font-size: 1.1rem;
}
.dossier h1 {
  font-size: clamp(2.5rem, 4.5vw, 4.6rem);
  letter-spacing: -0.035em;
  line-height: 0.99;
  margin: 0.75rem 0 0.85rem;
  overflow-wrap: anywhere;
}
.dossier-description {
  color: var(--muted);
  line-height: 1.6;
  max-width: 60ch;
}
.key-stats {
  display: flex;
  gap: 0.9rem 1.5rem;
  flex-wrap: wrap;
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.key-stats dt {
  font-size: 0.74rem;
  color: var(--muted);
}
.key-stats dd {
  font: 600 clamp(1.45rem, 2.4vw, 2rem)/1.13 var(--display);
  margin: 0.25rem 0 0;
  color: var(--strong);
}
.dossier .save {
  min-height: 44px;
  margin-top: 1.2rem;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.dossier .save:hover,
.dossier .save[aria-pressed='true'] {
  border-color: var(--gold);
  color: var(--gold);
}
.specimen {
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: radial-gradient(
    ellipse at 51% 58%,
    #514f3b,
    #30382d 52%,
    #202925 88%
  );
  border-left: 1px solid var(--line);
  position: relative;
  isolation: isolate;
  color: #eee8d7;
}
.specimen::before {
  content: '';
  pointer-events: none;
  position: absolute;
  inset: 0.75rem;
  border: 1px solid #e8d69c26;
  z-index: -1;
}
.specimen-creature {
  background: radial-gradient(
    ellipse at 50% 63%,
    #526257,
    #35433c 54%,
    #212d29 90%
  );
}
.specimen .enlarge {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 1.5rem 1.75rem 0.4rem;
  flex: 1;
  cursor: zoom-in;
}
.specimen .enlarge:focus-visible {
  outline-offset: -6px;
}
.specimen .enlarge img {
  width: 100%;
  height: clamp(12rem, 20vw, 18rem);
  object-fit: contain;
}
.specimen-item img,
.specimen-ability img {
  filter: drop-shadow(0 8px 9px #11180f66);
}
.specimen-person .enlarge img {
  border-radius: 3px;
}
.specimen figcaption {
  margin: 0;
  padding: 0.55rem 1.25rem 1.35rem;
  text-align: center;
  color: #e7e2d2;
  font-size: 0.79rem;
}
.zoom-mark {
  position: absolute;
  right: 1rem;
  top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.55rem;
  min-height: 1.8rem;
  border-radius: 3px;
  font-size: 0.73rem;
  color: #f0dfb8;
  background: #18201fe6;
  border: 1px solid #94896a;
}
.zoom-mark .icon {
  font-size: 1.1rem;
}
.specimen-scene {
  background: #1d2724;
}
.specimen-scene .enlarge {
  padding: 0.9rem 0.9rem 0;
}
.specimen-scene .enlarge img {
  height: auto;
  max-height: 20rem;
}
.set-pieces {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 1.4rem 1.5rem 0.3rem;
}
.set-pieces a {
  display: grid;
  gap: 0.2rem;
  place-items: center;
  text-align: center;
  text-decoration: none;
  color: #eee5cf;
  font-size: 0.77rem;
}
.set-pieces a:hover {
  text-decoration: underline;
}
.set-pieces img {
  width: 100%;
  height: clamp(4.4rem, 7.8vw, 7.4rem);
  object-fit: contain;
}
.set-pieces:has(> :last-child:nth-child(3)) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.related-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 0.85rem;
}
.related-list a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border-bottom: 1px solid var(--line);
  min-height: 3.8rem;
  text-decoration: none;
  padding: 0.4rem 0.1rem;
}
.related-list a:hover {
  color: var(--gold);
}
.related-list img {
  width: 2.8rem;
  height: 2.8rem;
  object-fit: contain;
  background: #333d33;
  border-radius: 3px;
}
.related-list a > span:not(.icon) {
  flex: 1;
  font-weight: 600;
  font-size: 0.9rem;
}
.related-list small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 400;
}
.related-list .icon {
  color: var(--gold);
  font-size: 1.1rem;
}
.article-nav nav {
  margin-bottom: 0;
}
.image-viewer {
  border: 1px solid #6b7060;
  border-radius: 6px;
  background: radial-gradient(ellipse at center, #445246, #202925);
  color: #f2eedf;
  width: fit-content;
  max-width: 94vw;
  max-height: 94vh;
  max-height: 94dvh;
  padding: 1rem;
  text-align: center;
}
.image-viewer::backdrop {
  background: #060c0ee8;
}
.image-viewer img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 70vh;
  max-height: 70dvh;
  object-fit: contain;
  margin: 0.6rem auto;
}
.image-viewer .button {
  display: flex;
  min-height: 44px;
  margin-left: auto;
}
.image-viewer p {
  font-size: 0.85rem;
}
@media (max-width: 940px) and (min-width: 641px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .dossier {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .dossier-copy {
    display: contents;
  }
  .dossier .kicker {
    order: 0;
    padding: 1.15rem 1.15rem 0;
  }
  .dossier h1 {
    order: 1;
    margin: 0.55rem 1.15rem;
    font-size: clamp(2.3rem, 8vw, 3.4rem);
  }
  .dossier-description {
    order: 2;
    margin: 0 1.15rem 1rem;
    font-size: 0.94rem;
  }
  .specimen {
    order: 3;
    border-left: 0;
    border-block: 1px solid var(--line);
  }
  .specimen .enlarge img {
    height: clamp(10.3rem, 45vw, 15rem);
  }
  .specimen-scene .enlarge img {
    height: auto;
  }
  .specimen .enlarge {
    padding: 1.05rem 1.3rem 0;
  }
  .specimen figcaption {
    padding-bottom: 1.05rem;
  }
  .set-pieces {
    padding-top: 1.1rem;
  }
  .key-stats {
    order: 4;
    border: 0;
    padding: 0.75rem 1.15rem 0;
    margin: 0;
    gap: 0.65rem 1rem;
  }
  .dossier .save {
    order: 5;
    align-self: flex-start;
    margin: 0.85rem 1.15rem 1rem;
  }
  .article-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  .article-grid > * {
    width: 100%;
  }
  .article-nav {
    position: static;
  }
  .article-nav nav a {
    min-height: 44px;
  }
  .article-nav nav {
    margin: 0;
  }
  .collection-lead > div:first-child {
    width: 77%;
  }
  .collection-gallery {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .collection-gallery > div:first-child {
    width: 100%;
  }
  .collection-specimens {
    position: static;
    justify-content: flex-start;
    gap: 0.5rem;
    height: 3.7rem;
  }
  .collection-specimens img {
    width: 3.7rem;
    height: 3.7rem;
    transform: none;
  }
}
@media (max-width: 640px) {
  .cards,
  .related-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .record.illustrated {
    grid-template-columns: clamp(4.1rem, 20vw, 5.7rem) minmax(0, 1fr);
    gap: 0.8rem;
  }
  .record-copy > span {
    font-size: 0.82rem;
  }
}
html:has(.image-viewer[open]) {
  overflow: hidden;
}
