@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel-500.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel-600.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-500.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-600.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  --ink: #06101a;
  --ink-soft: #0a1720;
  --ink-raised: #102028;
  --gold: #b98a45;
  --gold-bright: #e2bd7a;
  --bone: #eee3ca;
  --bone-soft: #cfc3a9;
  --teal: #426e70;
  --ember: #b14d37;
  --display: "Cinzel", Georgia, serif;
  --body: "Source Sans 3", Arial, sans-serif;
  --page-padding: clamp(1.25rem, 4.5vw, 4.75rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

html.instant-anchor {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: .75rem 1rem;
  background: var(--bone);
  color: var(--ink);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 7rem;
  padding: 1.6rem var(--page-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(185, 138, 69, .42);
  transition: background-color .25s ease, min-height .25s ease, padding .25s ease;
}

.site-header.is-scrolled {
  min-height: 4.75rem;
  padding-top: .85rem;
  padding-bottom: .85rem;
  background: rgba(6, 16, 26, .95);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: var(--bone);
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  color: var(--gold-bright);
  font-size: .8em;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: clamp(1.75rem, 4vw, 4rem);
}

.main-navigation a,
.site-footer a {
  color: var(--bone);
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
}

.main-navigation a {
  padding: .55rem .1rem;
  border-bottom: 1px solid transparent;
}

.main-navigation a:hover,
.main-navigation a:focus-visible {
  color: var(--gold-bright);
  border-color: currentColor;
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(226, 189, 122, .55);
  border-radius: 50%;
  background: var(--ink);
  color: var(--bone);
  font-size: 1.4rem;
}

.hero {
  position: relative;
  min-height: 49rem;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(43rem, 48vw);
  align-self: flex-start;
  margin: 12.75rem 0 1rem var(--page-padding);
}

.eyebrow {
  margin: 0 0 .8rem;
  color: var(--gold-bright);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--bone);
  font-family: var(--display);
  font-size: clamp(4rem, 5.8vw, 6rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .96;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .55);
}

.hero-rule {
  width: 9.5rem;
  margin: 1.65rem 0 1.45rem;
  border-top: 1px solid var(--gold);
}

.hero-copy {
  max-width: 34rem;
  margin: 0;
  color: #e3ddcf;
  font-size: clamp(.96rem, 1.25vw, 1.14rem);
  line-height: 1.48;
  text-shadow: 0 2px 12px #000;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  align-items: center;
  gap: 2.8rem;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}

.button {
  min-height: 3.5rem;
  padding: .8rem 1.45rem;
  border: 1px solid var(--gold-bright);
}

.button i {
  font-size: 1.35rem;
}

.button-primary {
  min-width: 17.25rem;
  background: #a97836;
  color: #fff8e8;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .28);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--gold-bright);
  color: var(--ink);
}

.text-link {
  min-height: 2.5rem;
  color: var(--bone);
  border-bottom: 1px solid var(--gold);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--gold-bright);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  right: var(--page-padding);
  bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  color: var(--bone-soft);
  font-size: .7rem;
  letter-spacing: .17em;
  text-decoration: none;
  text-transform: uppercase;
}

.chronicles {
  position: relative;
  z-index: 3;
  min-height: 17.25rem;
  padding: 1.1rem var(--page-padding);
  display: grid;
  grid-template-columns: minmax(14rem, 24%) 1fr;
  gap: 2.5rem;
  align-items: center;
  background: #07121b;
  border-top: 1px solid rgba(185, 138, 69, .65);
  border-bottom: 1px solid rgba(185, 138, 69, .45);
}

.chronicles-intro {
  padding-right: 1.5rem;
  border-right: 1px solid rgba(185, 138, 69, .35);
}

.chronicles h2,
.section-heading h2,
.kipedia-section h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
}

.chronicles h2 {
  color: var(--gold-bright);
  font-size: clamp(1.35rem, 1.7vw, 1.6rem);
  letter-spacing: .03em;
  text-transform: uppercase;
}

.chronicles-intro > p:not(.eyebrow) {
  margin: 1rem 0 .8rem;
  color: var(--bone-soft);
}

.book-shelf {
  min-width: 0;
  height: 15rem;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(.35rem, 1vw, .85rem);
  align-items: end;
  list-style: none;
}

.book {
  position: relative;
  height: 15rem;
  overflow: hidden;
  transition: transform .25s ease;
}

.book:hover,
.book:focus-within {
  transform: translateY(-.45rem);
}

.book img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.book-label {
  position: absolute;
  top: 1.15rem;
  right: .65rem;
  left: calc(19% + .65rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  color: #f1cc87;
  font-family: var(--display);
  text-align: center;
  text-shadow: 0 2px 5px #000;
  text-transform: uppercase;
}

.book-number {
  font-size: 1.05rem;
}

.book-title {
  max-width: 14ch;
  font-size: clamp(.54rem, .72vw, .76rem);
  line-height: 1.35;
}

.empty-note {
  grid-column: 1 / -1;
  align-self: center;
  color: var(--bone-soft);
}

.world-section,
.races-section,
.kipedia-section {
  padding: clamp(5rem, 9vw, 9rem) var(--page-padding);
}

.world-section {
  min-height: 58rem;
  display: grid;
  grid-template-columns: minmax(17rem, 28rem) 1fr;
  align-items: start;
  gap: clamp(3rem, 6vw, 7rem);
  background: #0b1920;
}

.section-heading h2,
.kipedia-section h2 {
  color: var(--bone);
  font-size: clamp(2.8rem, 5vw, 5.25rem);
}

.section-heading > p:last-child {
  max-width: 36rem;
  margin-top: 1.5rem;
  color: var(--bone-soft);
  font-size: 1.12rem;
}

.world-map {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(185, 138, 69, .5);
}

.world-map > img {
  width: 100%;
  height: auto;
  display: block;
}

.world-map figcaption {
  min-height: 4.75rem;
  padding: 1rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  background: #07121b;
  border-top: 1px solid rgba(185, 138, 69, .5);
}

.world-map figcaption a {
  padding: .45rem 1rem;
  color: var(--bone);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--bone);
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  border-right: 1px solid rgba(185, 138, 69, .28);
}

.world-map figcaption a:last-child {
  border-right: 0;
}

.world-map figcaption a:hover,
.world-map figcaption a:focus-visible {
  color: var(--gold-bright);
}

.world-map figcaption i {
  margin-right: .35rem;
  color: var(--gold-bright);
  font-size: 1.15rem;
  vertical-align: -.12em;
}

.map-marker {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .65rem;
  background: rgba(6, 16, 26, .92);
  color: var(--bone);
  font-family: var(--display);
  font-size: .72rem;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid var(--gold);
}

.map-marker:hover,
.map-marker:focus-visible {
  background: var(--gold-bright);
  color: var(--ink);
}

.map-marker i {
  color: var(--gold-bright);
  font-size: 1.1rem;
}

.map-marker:hover i,
.map-marker:focus-visible i {
  color: var(--ink);
}

.marker-zink {
  left: 43%;
  top: 48%;
}

.marker-shapla {
  left: 72%;
  top: 37%;
}

.marker-kigal {
  left: 54%;
  top: 72%;
}

.races-section {
  background: #08131b;
}

.races-section .section-heading {
  max-width: 55rem;
  margin-bottom: 3.5rem;
}

.race-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  border-top: 1px solid rgba(185, 138, 69, .42);
  border-left: 1px solid rgba(185, 138, 69, .42);
}

.race-list li {
  min-height: 14rem;
  padding: 2rem;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1.25rem;
  border-right: 1px solid rgba(185, 138, 69, .42);
  border-bottom: 1px solid rgba(185, 138, 69, .42);
}

.race-index {
  color: var(--gold);
  font-family: var(--display);
  font-size: .8rem;
}

.race-list h3 {
  margin: 0 0 .8rem;
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 400;
  text-transform: uppercase;
}

.race-list p {
  margin: 0;
  color: var(--bone-soft);
}

.kipedia-section {
  min-height: 34rem;
  display: grid;
  grid-template-columns: minmax(20rem, 1.3fr) minmax(18rem, .75fr);
  gap: 3rem 7rem;
  align-items: end;
  background: #111d21;
  border-top: 1px solid rgba(185, 138, 69, .35);
}

.kipedia-section > p {
  max-width: 34rem;
  margin: 0;
  color: var(--bone-soft);
  font-size: 1.1rem;
}

.kipedia-section .button {
  width: fit-content;
}

.button-outline:hover,
.button-outline:focus-visible {
  background: var(--gold-bright);
  color: var(--ink);
}

.site-footer {
  min-height: 9rem;
  padding: 2rem var(--page-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: #050d14;
  color: var(--bone-soft);
  border-top: 1px solid rgba(185, 138, 69, .38);
}

.brand-small {
  font-size: 1.1rem;
}

.site-footer p {
  margin: 0;
  font-size: .9rem;
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

@media (max-width: 1000px) {
  .hero {
    min-height: 48rem;
  }

  .hero-art {
    object-position: 57% 47%;
  }

  .hero-content {
    width: 51vw;
    margin-top: 13.5rem;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 8vw, 5.4rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .chronicles {
    grid-template-columns: 1fr;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .chronicles-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 2rem;
    border-right: 0;
  }

  .chronicles-intro .eyebrow,
  .chronicles-intro h2 {
    grid-column: 1;
  }

  .chronicles-intro > p:not(.eyebrow),
  .chronicles-intro .text-link {
    grid-column: 2;
  }

  .chronicles-intro > p:not(.eyebrow) {
    grid-row: 1 / span 2;
  }

  .world-section,
  .kipedia-section {
    grid-template-columns: 1fr;
  }

  .race-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 4.75rem;
    padding-top: .85rem;
    padding-bottom: .85rem;
    background: rgba(6, 16, 26, .92);
  }

  .brand {
    font-size: 1.5rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1.25rem var(--page-padding) 1.75rem;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    background: #06101a;
    border-bottom: 1px solid var(--gold);
  }

  .main-navigation.is-open {
    display: flex;
  }

  .main-navigation a {
    padding: .9rem 0;
    border-bottom-color: rgba(185, 138, 69, .25);
  }

  .hero {
    min-height: 0;
    padding-top: 22rem;
    display: block;
  }

  .hero-art {
    height: 22rem;
    top: 0;
    object-position: 69% center;
  }

  .hero-content {
    width: auto;
    margin: 0;
    padding: 2.5rem var(--page-padding) 4.25rem;
    background: #06101a;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 16.5vw, 4.7rem);
  }

  .hero-copy br {
    display: none;
  }

  .scroll-cue {
    display: none;
  }

  .chronicles-intro {
    display: block;
  }

  .book-shelf {
    height: auto;
    padding-bottom: 1rem;
    grid-template-columns: repeat(5, 9.5rem);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .book {
    height: 19rem;
    scroll-snap-align: start;
  }

  .world-section {
    min-height: 0;
  }

  .world-map figcaption {
    grid-template-columns: 1fr;
  }

  .world-map figcaption a {
    border-right: 0;
    border-bottom: 1px solid rgba(185, 138, 69, .28);
  }

  .world-map figcaption a:last-child {
    border-bottom: 0;
  }

  .map-marker {
    padding: .3rem .45rem;
    font-size: .6rem;
  }

  .race-list {
    grid-template-columns: 1fr;
  }

  .race-list li {
    min-height: 0;
  }

  .kipedia-section {
    min-height: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Kipedia */

.kipedia-hero {
  min-height: 48rem;
  padding: 11rem var(--page-padding) 5.5rem;
  display: grid;
  grid-template-columns: minmax(24rem, .85fr) minmax(31rem, 1.15fr);
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
  overflow: hidden;
  background: #07121b;
  border-bottom: 1px solid rgba(185, 138, 69, .45);
}

.kipedia-hero h1,
.archive-explorer-heading h2,
.entry-hero h1,
.spoiler-gate h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .96;
  text-transform: uppercase;
}

.kipedia-hero h1 {
  font-size: clamp(4.25rem, 7vw, 7.4rem);
}

.kipedia-hero-copy > p:not(.eyebrow) {
  max-width: 38rem;
  margin: 1.75rem 0 2.2rem;
  color: var(--bone-soft);
  font-size: 1.13rem;
  line-height: 1.65;
}

.kipedia-hero-portraits {
  height: 34rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
  transform: rotate(2deg);
}

.kipedia-hero-portraits img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(226, 189, 122, .5);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .42);
}

.kipedia-hero-portraits img:first-child {
  transform: translateY(2.2rem);
}

.kipedia-hero-portraits img:last-child {
  transform: translateY(-2.2rem);
}

.kipedia-search {
  width: 100%;
  min-height: 4rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  background: #eee3ca;
  color: var(--ink);
  border: 1px solid var(--gold);
}

.kipedia-search--hero {
  max-width: 42rem;
}

.kipedia-search > i {
  margin-left: 1.25rem;
  color: #7a5729;
  font-size: 1.35rem;
}

.kipedia-search input {
  min-width: 0;
  padding: 1rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 1rem var(--body);
}

.kipedia-search button {
  align-self: stretch;
  min-width: 7rem;
  padding: 0 1.25rem;
  border: 0;
  border-left: 1px solid rgba(97, 67, 29, .35);
  background: #a97836;
  color: #fff8e8;
  font: 600 .75rem var(--body);
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}

.kipedia-search button:hover,
.kipedia-search button:focus-visible {
  background: var(--gold-bright);
  color: var(--ink);
}

.race-atlas {
  padding: clamp(5rem, 9vw, 9rem) var(--page-padding);
  background: #0b1920;
  border-bottom: 1px solid rgba(185, 138, 69, .4);
}

.race-atlas-heading {
  margin-bottom: 3.5rem;
}

.race-atlas-grid {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  list-style: none;
}

.race-atlas-card {
  min-width: 0;
}

.race-atlas-card a {
  position: relative;
  aspect-ratio: 1 / 1.12;
  display: block;
  overflow: hidden;
  color: var(--bone);
  text-decoration: none;
  border: 1px solid rgba(185, 138, 69, .48);
  background: var(--ink);
}

.race-atlas-card a::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: rgba(3, 10, 15, .82);
}

.race-atlas-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.race-atlas-card a:hover img,
.race-atlas-card a:focus-visible img {
  transform: scale(1.035);
}

.race-atlas-number,
.race-atlas-card > a > i,
.race-atlas-card a > div {
  position: absolute;
  z-index: 1;
}

.race-atlas-number {
  top: 1.25rem;
  left: 1.35rem;
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: .78rem;
}

.race-atlas-card > a > i {
  right: 1.35rem;
  bottom: 1.45rem;
  color: var(--gold-bright);
  font-size: 1.25rem;
}

.race-atlas-card a > div {
  right: 4rem;
  bottom: 1.3rem;
  left: 1.35rem;
}

.race-atlas-card a > div > span {
  color: var(--gold-bright);
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.race-atlas-card h3 {
  margin: .4rem 0 .15rem;
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.8vw, 3.1rem);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.race-atlas-card p {
  margin: 0;
  color: var(--bone-soft);
}

.archive-explorer {
  padding: clamp(5rem, 9vw, 9rem) var(--page-padding);
  background: #101d21;
}

.archive-explorer-heading {
  margin-bottom: 2.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
}

.archive-explorer-heading h2 {
  font-size: clamp(2.8rem, 5vw, 5.25rem);
}

.spoiler-level {
  min-width: 18rem;
}

.spoiler-level label {
  display: block;
  margin-bottom: .55rem;
  color: var(--gold-bright);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.spoiler-level select {
  width: 100%;
  min-height: 3.3rem;
  padding: .7rem 2.5rem .7rem 1rem;
  border: 1px solid rgba(226, 189, 122, .6);
  border-radius: 0;
  background: #07121b;
  color: var(--bone);
  font: .95rem var(--body);
}

.category-filters {
  margin-bottom: 1.2rem;
  display: flex;
  gap: .55rem;
  overflow-x: auto;
  scrollbar-color: var(--gold) var(--ink);
  padding-bottom: .6rem;
}

.category-filters a {
  min-height: 2.7rem;
  padding: .65rem .85rem;
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  flex: 0 0 auto;
  border: 1px solid rgba(185, 138, 69, .36);
  color: var(--bone-soft);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.category-filters a:hover,
.category-filters a:focus-visible,
.category-filters a.is-active {
  border-color: var(--gold-bright);
  background: #a97836;
  color: #fff8e8;
}

.category-filters span {
  color: var(--gold-bright);
}

.category-filters a.is-active span {
  color: #fff8e8;
}

.archive-explorer > .kipedia-search {
  max-width: 46rem;
  margin: 0 0 2rem;
}

.search-summary {
  margin: 0 0 1.5rem;
  color: var(--bone-soft);
}

.entry-grid {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  border-top: 1px solid rgba(185, 138, 69, .42);
  border-left: 1px solid rgba(185, 138, 69, .42);
}

.entry-grid > li {
  min-width: 0;
  min-height: 18rem;
  border-right: 1px solid rgba(185, 138, 69, .42);
  border-bottom: 1px solid rgba(185, 138, 69, .42);
}

.entry-grid > li > a,
.archive-empty {
  width: 100%;
  height: 100%;
  padding: 1.6rem;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  color: var(--bone);
  text-decoration: none;
}

.entry-grid > li > a:hover,
.entry-grid > li > a:focus-visible {
  background: #16272b;
}

.entry-grid > li > a > i,
.archive-empty > i {
  margin-bottom: 2rem;
  color: var(--gold-bright);
  font-size: 1.55rem;
}

.entry-grid a > span {
  color: var(--gold);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.entry-grid h3,
.archive-empty h3 {
  margin: .55rem 0 .85rem;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.15;
  text-transform: uppercase;
}

.entry-grid p,
.archive-empty p {
  margin: 0 0 1.2rem;
  color: var(--bone-soft);
  line-height: 1.55;
}

.entry-grid a > strong {
  margin-top: auto;
  color: var(--gold-bright);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pagination {
  min-height: 5rem;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--bone-soft);
  border-top: 1px solid rgba(185, 138, 69, .35);
  border-bottom: 1px solid rgba(185, 138, 69, .35);
}

.pagination a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--gold-bright);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-decoration: none;
  text-transform: uppercase;
}

.pagination a:last-child {
  justify-self: end;
}

.entry-hero {
  min-height: 38rem;
  padding: 11rem var(--page-padding) 5rem;
  display: flex;
  align-items: flex-end;
  background: #0b1920;
  border-bottom: 1px solid rgba(185, 138, 69, .44);
}

.entry-hero--illustrated {
  position: relative;
  min-height: 49rem;
  overflow: hidden;
}

.entry-hero--illustrated::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 15, .52);
}

.entry-hero--illustrated > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.entry-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 68rem;
}

.entry-hero-copy .back-link {
  margin-bottom: 5rem;
  text-decoration: none;
}

.entry-hero .eyebrow i {
  margin-right: .4rem;
  font-size: 1rem;
  vertical-align: -.12em;
}

.entry-hero h1 {
  max-width: 15ch;
  font-size: clamp(4rem, 8vw, 8rem);
  text-shadow: 0 3px 20px #000;
}

.entry-hero-copy > p:last-child {
  max-width: 45rem;
  margin: 1.5rem 0 0;
  color: var(--bone-soft);
  font-size: 1.2rem;
  text-shadow: 0 2px 12px #000;
}

.entry-layout {
  padding: clamp(5rem, 9vw, 9rem) var(--page-padding);
  display: grid;
  grid-template-columns: minmax(20rem, 44rem) minmax(16rem, 23rem);
  gap: clamp(4rem, 10vw, 10rem);
  align-items: start;
  justify-content: center;
  background: #101d21;
}

.entry-article > p:not(.eyebrow) {
  margin: 0 0 1.3em;
  color: var(--bone);
  font-family: Georgia, serif;
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  line-height: 1.8;
}

.entry-article > p:nth-child(2)::first-letter {
  margin: .08em .12em 0 0;
  float: left;
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: 4.5rem;
  line-height: .75;
}

.entry-facts {
  padding: 1.8rem;
  border: 1px solid rgba(185, 138, 69, .45);
  background: #07121b;
}

.entry-facts h2 {
  margin: 0 0 1.5rem;
  color: var(--bone);
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 400;
  text-transform: uppercase;
}

.entry-facts dl {
  margin: 0;
}

.entry-facts dl > div {
  padding: 1rem 0;
  border-top: 1px solid rgba(185, 138, 69, .28);
}

.entry-facts dt {
  margin-bottom: .35rem;
  color: var(--gold);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.entry-facts dd {
  margin: 0;
  color: var(--bone-soft);
}

.entry-facts dd a {
  color: var(--gold-bright);
}

.spoiler-level--aside {
  min-width: 0;
  margin-top: 1.5rem;
}

.spoiler-gate {
  min-height: 34rem;
  padding: 6rem var(--page-padding);
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background: #101d21;
  text-align: center;
}

.spoiler-gate > i {
  margin-bottom: 1.5rem;
  color: var(--gold-bright);
  font-size: 3rem;
}

.spoiler-gate h2 {
  max-width: 18ch;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.spoiler-gate > p:not(.eyebrow) {
  max-width: 39rem;
  color: var(--bone-soft);
  font-size: 1.1rem;
}

.spoiler-gate > div {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.related-entries {
  padding: clamp(5rem, 9vw, 8rem) var(--page-padding);
  background: #08131b;
  border-top: 1px solid rgba(185, 138, 69, .38);
}

@media (max-width: 1000px) {
  .kipedia-hero {
    grid-template-columns: 1fr;
  }

  .kipedia-hero-copy {
    max-width: 48rem;
  }

  .kipedia-hero-portraits {
    height: 27rem;
  }

  .race-atlas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .entry-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .entry-layout {
    gap: 4rem;
  }
}

@media (max-width: 720px) {
  .kipedia-hero {
    min-height: 0;
    padding-top: 8rem;
    grid-template-columns: 1fr;
  }

  .kipedia-hero h1 {
    font-size: clamp(3.5rem, 17vw, 5rem);
  }

  .kipedia-hero-portraits {
    height: 18rem;
    gap: .3rem;
    transform: none;
  }

  .kipedia-hero-portraits img:first-child,
  .kipedia-hero-portraits img:last-child {
    transform: none;
  }

  .kipedia-search {
    grid-template-columns: auto 1fr;
  }

  .kipedia-search button {
    min-height: 3.25rem;
    grid-column: 1 / -1;
    border-top: 1px solid rgba(97, 67, 29, .35);
    border-left: 0;
  }

  .race-atlas-grid,
  .entry-grid {
    grid-template-columns: 1fr;
  }

  .race-atlas-card a {
    aspect-ratio: 1 / 1.18;
  }

  .archive-explorer-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .spoiler-level {
    min-width: 0;
  }

  .entry-grid > li {
    min-height: 14rem;
  }

  .pagination {
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
  }

  .pagination > span {
    grid-column: 1 / -1;
    grid-row: 1;
    text-align: center;
  }

  .entry-hero,
  .entry-hero--illustrated {
    min-height: 42rem;
    padding-top: 8rem;
  }

  .entry-hero--illustrated > img {
    object-position: center;
  }

  .entry-hero-copy .back-link {
    margin-bottom: 3.5rem;
  }

  .entry-hero h1 {
    font-size: clamp(3.3rem, 16vw, 5.4rem);
  }

  .entry-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .spoiler-gate > div {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}

/* Library and book routes */

.site-header--solid,
.inner-page .site-header {
  background: rgba(6, 16, 26, .96);
}

.main-navigation a[aria-current="page"] {
  color: var(--gold-bright);
  border-color: currentColor;
}

.book > a {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  text-decoration: none;
}

.library-hero {
  position: relative;
  min-height: 43rem;
  padding: 11rem var(--page-padding) 5rem;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid rgba(185, 138, 69, .55);
}

.library-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(3, 9, 15, .44);
}

.library-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.library-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 54rem;
}

.library-hero h1,
.book-detail-copy h1,
.reading-header h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .98;
  text-transform: uppercase;
}

.library-hero h1 {
  max-width: 13ch;
  font-size: clamp(3.8rem, 7vw, 7rem);
  text-shadow: 0 3px 18px #000;
}

.library-hero-copy > p:last-child {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: #e3ddcf;
  font-size: 1.16rem;
  text-shadow: 0 2px 10px #000;
}

.reading-paths {
  min-height: 6.25rem;
  padding: 0 var(--page-padding);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: #07121b;
  border-bottom: 1px solid rgba(185, 138, 69, .42);
}

.reading-paths a {
  padding: 1.4rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--bone);
  font-family: var(--display);
  font-size: .88rem;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  border-right: 1px solid rgba(185, 138, 69, .35);
}

.reading-paths a:last-child {
  border-right: 0;
}

.reading-paths a:hover,
.reading-paths a:focus-visible {
  color: var(--gold-bright);
  background: var(--ink-raised);
}

.reading-paths span {
  color: var(--gold);
}

.reading-paths i {
  margin-left: auto;
}

.book-series {
  padding: clamp(5rem, 9vw, 9rem) var(--page-padding);
  background: #0b1920;
  border-bottom: 1px solid rgba(185, 138, 69, .35);
}

.series-heading {
  max-width: 54rem;
  margin-bottom: 3.5rem;
}

.series-heading h2,
.next-chronicle h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 5.25rem);
  font-weight: 400;
  line-height: 1.02;
  text-transform: uppercase;
}

.series-heading > p:last-child {
  max-width: 42rem;
  margin: 1.35rem 0 0;
  color: var(--bone-soft);
  font-size: 1.1rem;
}

.library-grid {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2.75rem);
  list-style: none;
}

.library-card a {
  display: block;
  text-decoration: none;
}

.library-cover,
.origin-cover,
.detail-cover {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226, 189, 122, .55);
  box-shadow: 0 1.2rem 2.2rem rgba(0, 0, 0, .34);
}

.library-cover {
  aspect-ratio: 6 / 11;
  transition: transform .25s ease, border-color .25s ease;
}

.library-card a:hover .library-cover,
.library-card a:focus-visible .library-cover {
  transform: translateY(-.55rem);
  border-color: var(--gold-bright);
}

.library-cover img,
.origin-cover img,
.detail-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.library-cover-number,
.library-cover strong,
.origin-cover span,
.origin-cover strong,
.detail-cover span,
.detail-cover strong {
  position: absolute;
  left: 1rem;
  right: 1rem;
  color: #f1cc87;
  font-family: var(--display);
  text-align: center;
  text-shadow: 0 2px 7px #000;
  text-transform: uppercase;
}

.library-cover-number {
  top: 1.6rem;
  font-size: 1rem;
}

.library-cover strong {
  top: 4.1rem;
  font-size: clamp(.88rem, 1.15vw, 1.25rem);
  font-weight: 500;
  line-height: 1.3;
}

.library-card p {
  min-height: 3rem;
  margin: 1.25rem 0 .55rem;
  color: var(--bone-soft);
  font-style: italic;
}

.card-link,
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--gold-bright);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.origins-series {
  background: #08131b;
}

.origin-feature {
  max-width: 66rem;
  display: grid;
  grid-template-columns: minmax(15rem, 22rem) 1fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.origin-cover {
  aspect-ratio: 6 / 11;
  display: block;
}

.origin-cover span,
.detail-cover span {
  top: 1.7rem;
  font-size: .72rem;
  letter-spacing: .14em;
}

.origin-cover strong,
.detail-cover strong {
  top: 4.4rem;
  font-size: clamp(1.15rem, 2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.25;
}

.origin-feature h3 {
  margin: 0 0 1.3rem;
  color: var(--bone);
  font-family: var(--display);
  font-size: clamp(2.25rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
}

.origin-feature > div > p:not(.eyebrow) {
  max-width: 37rem;
  margin: 0 0 2rem;
  color: var(--bone-soft);
  font-size: 1.1rem;
}

.book-detail-hero {
  min-height: 49rem;
  padding: 11rem var(--page-padding) 6rem;
  display: grid;
  grid-template-columns: minmax(16rem, 24rem) minmax(20rem, 45rem);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: center;
  justify-content: center;
  background: #0b1920;
  border-bottom: 1px solid rgba(185, 138, 69, .45);
}

.detail-cover {
  width: min(100%, 22rem);
  aspect-ratio: 6 / 11;
  justify-self: end;
}

.detail-cover span,
.detail-cover strong {
  left: calc(19% + 1rem);
}

.detail-cover span {
  top: 5.4rem;
}

.detail-cover strong {
  top: 8rem;
}

.book-detail-copy .back-link {
  margin-bottom: 4rem;
  text-decoration: none;
}

.book-detail-copy h1 {
  max-width: 13ch;
  font-size: clamp(3.5rem, 6.6vw, 6.75rem);
}

.detail-tagline {
  margin: 1.15rem 0 1.75rem;
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-style: italic;
}

.detail-synopsis {
  max-width: 42rem;
  margin: 0;
  color: var(--bone-soft);
  font-size: 1.15rem;
  line-height: 1.7;
}

.detail-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.book-facts {
  padding: 0 var(--page-padding);
  background: #07121b;
  border-bottom: 1px solid rgba(185, 138, 69, .38);
}

.book-facts dl {
  max-width: 78rem;
  min-height: 8.5rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.book-facts dl > div {
  padding: 1.75rem 2rem;
  border-right: 1px solid rgba(185, 138, 69, .3);
}

.book-facts dl > div:first-child {
  border-left: 1px solid rgba(185, 138, 69, .3);
}

.book-facts dt {
  margin-bottom: .45rem;
  color: var(--gold);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.book-facts dd {
  margin: 0;
  color: var(--bone);
  font-family: var(--display);
  font-size: .92rem;
  line-height: 1.5;
}

.book-archive {
  padding: clamp(5rem, 9vw, 8rem) var(--page-padding);
  background: #101d21;
}

.archive-grid {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  border-top: 1px solid rgba(185, 138, 69, .42);
  border-left: 1px solid rgba(185, 138, 69, .42);
}

.archive-grid li {
  min-height: 12rem;
  padding: 1.7rem;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  border-right: 1px solid rgba(185, 138, 69, .42);
  border-bottom: 1px solid rgba(185, 138, 69, .42);
}

.archive-grid i {
  margin-bottom: auto;
  color: var(--gold-bright);
  font-size: 1.7rem;
}

.archive-grid span {
  color: var(--gold);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.archive-grid strong {
  margin-top: .35rem;
  color: var(--bone);
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 400;
}

.next-chronicle {
  min-height: 20rem;
  padding: 4rem var(--page-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  background: #08131b;
  border-top: 1px solid rgba(185, 138, 69, .4);
}

.next-chronicle h2 {
  color: var(--gold-bright);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.reading-page {
  background: #07121b;
}

.reading-main {
  padding: 11rem var(--page-padding) 7rem;
  background: #0b1920;
}

.reading-header {
  max-width: 48rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.reading-header .back-link {
  margin-bottom: 5rem;
  text-decoration: none;
}

.reading-header h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
}

.reading-header > p:not(.eyebrow) {
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: 1.2rem;
  font-style: italic;
}

.reading-rule {
  margin: 2.5rem auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--gold-bright);
}

.reading-rule::before,
.reading-rule::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(185, 138, 69, .55);
}

.reading-sheet {
  max-width: 47rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5.5rem);
  background: #eee3ca;
  color: #172128;
  box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, .35);
}

.reading-sheet p {
  margin: 0 0 1.35em;
  font-family: Georgia, serif;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.82;
}

.reading-sheet p:first-child::first-letter {
  margin: .08em .12em 0 0;
  float: left;
  color: #8e632a;
  font-family: var(--display);
  font-size: 4.6rem;
  line-height: .75;
}

.reading-end {
  max-width: 47rem;
  margin: 4rem auto 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  color: var(--gold-bright);
  text-align: center;
}

.reading-end > i {
  font-size: 2rem;
}

.reading-end p {
  margin: .75rem 0 2rem;
  font-family: var(--display);
  letter-spacing: .13em;
  text-transform: uppercase;
}

@media (max-width: 1000px) {
  .library-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
  }

  .book-detail-hero {
    grid-template-columns: minmax(14rem, 19rem) 1fr;
    gap: 3rem;
  }

  .book-detail-copy h1 {
    font-size: clamp(3.2rem, 7vw, 5.5rem);
  }

  .book-facts dl,
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .library-hero {
    min-height: 39rem;
    padding-top: 8rem;
  }

  .library-hero > img {
    object-position: center;
  }

  .library-hero h1 {
    font-size: clamp(3rem, 15vw, 4.75rem);
  }

  .reading-paths {
    padding: 0;
    grid-template-columns: 1fr;
  }

  .reading-paths a {
    border-right: 0;
    border-bottom: 1px solid rgba(185, 138, 69, .35);
  }

  .library-grid {
    grid-template-columns: 1fr;
  }

  .library-card {
    max-width: 18rem;
  }

  .origin-feature,
  .book-detail-hero {
    grid-template-columns: 1fr;
  }

  .origin-cover,
  .detail-cover {
    width: min(100%, 18rem);
    justify-self: start;
  }

  .book-detail-hero {
    padding-top: 8rem;
  }

  .book-detail-copy .back-link {
    margin-bottom: 2.5rem;
  }

  .detail-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .detail-actions .button {
    width: 100%;
  }

  .book-facts {
    padding: 0;
  }

  .book-facts dl,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .book-facts dl > div,
  .book-facts dl > div:first-child {
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(185, 138, 69, .3);
  }

  .next-chronicle {
    align-items: flex-start;
    flex-direction: column;
  }

  .reading-main {
    padding: 8rem 0 5rem;
  }

  .reading-header,
  .reading-end {
    padding-right: var(--page-padding);
    padding-left: var(--page-padding);
  }

  .reading-sheet {
    padding: 2rem var(--page-padding);
  }
}

/* Map atlas */
.maps-page {
  background: #07121a;
}

.maps-hero {
  position: relative;
  min-height: 42rem;
  padding: 10rem var(--page-padding) 5rem;
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, .7fr);
  gap: 4rem;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(6, 16, 26, .97) 0%, rgba(6, 16, 26, .8) 52%, rgba(10, 29, 36, .72) 100%),
    url("../images/map-ishtar.webp") center 48% / cover;
  border-bottom: 1px solid rgba(185, 138, 69, .35);
}

.maps-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, #07121a 0%, transparent 35%);
  pointer-events: none;
}

.maps-hero-copy,
.planet-facts {
  position: relative;
  z-index: 1;
}

.maps-hero-copy {
  max-width: 47rem;
}

.maps-hero h1 {
  max-width: 9ch;
  margin: .35rem 0 1.2rem;
  color: var(--bone);
  font-family: var(--display);
  font-size: clamp(4.25rem, 9vw, 8.7rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .83;
  text-transform: uppercase;
}

.maps-hero-copy > p:not(.eyebrow) {
  max-width: 39rem;
  margin: 0 0 2rem;
  color: var(--bone-soft);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.maps-hero-orbit {
  position: absolute;
  z-index: 1;
  top: 9rem;
  right: 10%;
  width: clamp(11rem, 18vw, 18rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: rgba(226, 189, 122, .8);
  border: 1px solid rgba(226, 189, 122, .34);
  border-radius: 50%;
  box-shadow: 0 0 0 2.2rem rgba(185, 138, 69, .06), 0 0 0 4.4rem rgba(185, 138, 69, .035);
}

.maps-hero-orbit i {
  font-size: clamp(4rem, 8vw, 8rem);
}

.planet-facts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(6, 16, 26, .83);
  border: 1px solid rgba(185, 138, 69, .38);
  backdrop-filter: blur(12px);
}

.planet-facts div {
  min-width: 0;
  padding: 1.15rem;
  border-right: 1px solid rgba(185, 138, 69, .25);
}

.planet-facts div:last-child {
  border-right: 0;
}

.planet-facts dt,
.planet-facts dd {
  margin: 0;
}

.planet-facts dt {
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.planet-facts dt i {
  margin-right: .3rem;
  font-size: 1rem;
  vertical-align: -.1em;
}

.planet-facts dd {
  margin-top: .25rem;
  color: var(--bone-soft);
  font-size: .88rem;
}

.atlas-section {
  padding: 7rem var(--page-padding) 8rem;
}

.atlas-heading {
  margin-bottom: 2.5rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.atlas-heading h2,
.world-shape h2 {
  margin: .35rem 0 0;
  font-family: var(--display);
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: .95;
}

.atlas-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(185, 138, 69, .35);
}

.atlas-switcher button {
  min-height: 7.5rem;
  padding: 1.3rem 1.5rem;
  display: grid;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  background: rgba(16, 32, 40, .55);
  color: var(--bone);
  border: 0;
  border-right: 1px solid rgba(185, 138, 69, .35);
  cursor: pointer;
  text-align: left;
  transition: background .2s ease, color .2s ease;
}

.atlas-switcher button:last-child {
  border-right: 0;
}

.atlas-switcher button:hover,
.atlas-switcher button:focus-visible {
  background: rgba(66, 110, 112, .28);
}

.atlas-switcher button[aria-selected="true"] {
  background: var(--gold);
  color: #07121a;
}

.atlas-switcher button > i {
  font-size: 2rem;
}

.atlas-switcher button span {
  display: flex;
  flex-direction: column;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.3vw, 2rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.atlas-switcher button small {
  margin-bottom: .35rem;
  font-family: var(--body);
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .15em;
  opacity: .76;
}

.atlas-switcher button strong {
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 500;
}

.atlas-notice {
  margin: 1rem 0 2rem;
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  color: #a89e89;
  font-size: .84rem;
}

.atlas-notice i {
  margin-top: .18rem;
  color: var(--gold-bright);
}

.atlas-panel[hidden] {
  display: none;
}

.atlas-canvas-wrap {
  padding: .65rem;
  background: #14242a;
  border: 1px solid rgba(185, 138, 69, .55);
  box-shadow: 0 2.2rem 5rem rgba(0, 0, 0, .34);
}

.atlas-canvas {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #07121a;
}

.atlas-canvas::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid rgba(226, 189, 122, .28);
  box-shadow: inset 0 0 4rem rgba(4, 10, 15, .4);
  pointer-events: none;
}

.atlas-canvas > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.atlas-pin {
  position: absolute;
  z-index: 2;
  left: var(--pin-x);
  top: var(--pin-y);
  display: flex;
  align-items: center;
  gap: .45rem;
  color: var(--bone);
  text-decoration: none;
  transform: translate(-50%, -50%);
}

.atlas-pin-dot {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: #07121a;
  color: var(--gold-bright);
  border: 1px solid var(--gold-bright);
  border-radius: 50%;
  box-shadow: 0 0 0 .3rem rgba(7, 18, 26, .6), 0 .4rem 1rem rgba(0, 0, 0, .5);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.atlas-pin-label {
  min-width: max-content;
  padding: .45rem .62rem;
  display: flex;
  flex-direction: column;
  background: rgba(7, 18, 26, .9);
  font-family: var(--display);
  font-size: .76rem;
  line-height: 1.1;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .35);
}

.atlas-pin-label small {
  margin-bottom: .16rem;
  color: var(--gold-bright);
  font-family: var(--body);
  font-size: .56rem;
  letter-spacing: .09em;
}

.atlas-pin:hover .atlas-pin-dot,
.atlas-pin:focus-visible .atlas-pin-dot {
  background: var(--gold-bright);
  color: #07121a;
  transform: translateY(-.15rem);
}

.atlas-canvas-stamp {
  position: absolute;
  z-index: 1;
  right: 2rem;
  bottom: 1.6rem;
  padding: .6rem .8rem;
  display: flex;
  align-items: center;
  gap: .55rem;
  background: rgba(7, 18, 26, .8);
  color: var(--gold-bright);
  border: 1px solid rgba(226, 189, 122, .48);
  font-family: var(--display);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.atlas-summary {
  display: grid;
  grid-template-columns: minmax(17rem, .62fr) minmax(0, 1.38fr);
  border: 1px solid rgba(185, 138, 69, .35);
  border-top: 0;
}

.atlas-summary-intro {
  padding: clamp(2rem, 4vw, 4rem);
  background: #0d1c24;
  border-right: 1px solid rgba(185, 138, 69, .35);
}

.atlas-summary-intro h3 {
  margin: .3rem 0 1rem;
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -.04em;
}

.atlas-summary-intro > p:not(.eyebrow) {
  color: var(--bone-soft);
}

.atlas-summary-intro > span {
  margin-top: 1.6rem;
  display: inline-flex;
  gap: .45rem;
  color: var(--gold-bright);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.atlas-place-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
}

.atlas-place-list li {
  min-width: 0;
  border-right: 1px solid rgba(185, 138, 69, .23);
  border-bottom: 1px solid rgba(185, 138, 69, .23);
}

.atlas-place-list li:nth-child(even) {
  border-right: 0;
}

.atlas-place-list a {
  height: 100%;
  min-height: 10rem;
  padding: 1.25rem;
  display: grid;
  align-items: start;
  grid-template-columns: auto 1fr auto;
  gap: .9rem;
  color: inherit;
  text-decoration: none;
  transition: background .2s ease;
}

.atlas-place-list a:hover,
.atlas-place-list a:focus-visible {
  background: rgba(66, 110, 112, .18);
}

.atlas-place-index {
  color: var(--gold);
  font-family: var(--display);
  font-size: .78rem;
}

.atlas-place-list a > span:nth-child(2) {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.atlas-place-list small {
  color: var(--gold-bright);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.atlas-place-list strong {
  margin: .2rem 0 .35rem;
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 500;
}

.atlas-place-list em {
  color: #9f988a;
  font-size: .8rem;
  font-style: normal;
  line-height: 1.45;
}

.atlas-place-list a > i {
  color: var(--gold-bright);
}

.world-shape {
  padding: 7rem var(--page-padding);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, .7fr);
  gap: clamp(3rem, 8vw, 9rem);
  background: var(--bone);
  color: #132029;
}

.world-shape h2 {
  max-width: 10ch;
}

.world-shape-copy {
  color: #4d4d49;
  font-size: 1.05rem;
}

.world-shape-copy p:first-child {
  margin-top: 0;
}

.world-shape-copy .button {
  margin-top: 1.3rem;
  color: #132029;
  border-color: #8e632a;
}

@media (max-width: 1000px) {
  .maps-hero {
    grid-template-columns: 1fr;
  }

  .planet-facts {
    max-width: 43rem;
  }

  .atlas-pin-label {
    display: none;
  }

  .atlas-pin-dot {
    width: 2.2rem;
    height: 2.2rem;
  }

  .atlas-summary {
    grid-template-columns: 1fr;
  }

  .atlas-summary-intro {
    border-right: 0;
    border-bottom: 1px solid rgba(185, 138, 69, .35);
  }
}

@media (max-width: 720px) {
  .maps-hero {
    min-height: 43rem;
    padding-top: 8rem;
    gap: 2.5rem;
  }

  .maps-hero h1 {
    font-size: clamp(3.5rem, 19vw, 5.3rem);
  }

  .maps-hero-orbit {
    top: 8rem;
    right: -2.5rem;
    opacity: .55;
  }

  .planet-facts {
    grid-template-columns: 1fr;
  }

  .planet-facts div,
  .planet-facts div:last-child {
    padding: .8rem 1rem;
    display: flex;
    justify-content: space-between;
    border-right: 0;
    border-bottom: 1px solid rgba(185, 138, 69, .25);
  }

  .planet-facts div:last-child {
    border-bottom: 0;
  }

  .planet-facts dd {
    margin-top: 0;
  }

  .atlas-section {
    padding: 5rem var(--page-padding);
  }

  .atlas-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .atlas-spoiler {
    width: 100%;
  }

  .atlas-switcher {
    grid-template-columns: 1fr;
  }

  .atlas-switcher button,
  .atlas-switcher button:last-child {
    min-height: 5.8rem;
    padding: 1rem;
    border-right: 0;
    border-bottom: 1px solid rgba(185, 138, 69, .35);
  }

  .atlas-switcher button:last-child {
    border-bottom: 0;
  }

  .atlas-switcher button strong {
    display: none;
  }

  .atlas-canvas-wrap {
    margin-right: calc(var(--page-padding) * -1);
    margin-left: calc(var(--page-padding) * -1);
    padding: .3rem;
    border-right: 0;
    border-left: 0;
  }

  .atlas-canvas {
    aspect-ratio: 1 / 1.08;
  }

  .atlas-canvas > img {
    object-position: center;
  }

  .atlas-pin-dot {
    width: 1.75rem;
    height: 1.75rem;
    font-size: .8rem;
  }

  .atlas-canvas-stamp {
    right: .75rem;
    bottom: .75rem;
  }

  .atlas-summary {
    margin-right: calc(var(--page-padding) * -1);
    margin-left: calc(var(--page-padding) * -1);
    border-right: 0;
    border-left: 0;
  }

  .atlas-place-list {
    grid-template-columns: 1fr;
  }

  .atlas-place-list li,
  .atlas-place-list li:nth-child(even) {
    border-right: 0;
  }

  .atlas-place-list a {
    min-height: 0;
  }

  .atlas-place-list em {
    display: none;
  }

  .world-shape {
    padding: 5rem var(--page-padding);
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Character directory */
.characters-page {
  background: #07121a;
}

.characters-hero {
  min-height: 47rem;
  padding: 10rem var(--page-padding) 6rem;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(24rem, .85fr) minmax(32rem, 1.15fr);
  gap: clamp(3rem, 7vw, 8rem);
  overflow: hidden;
  background: #07121a;
  border-bottom: 1px solid rgba(185, 138, 69, .32);
}

.characters-hero-copy {
  position: relative;
  z-index: 2;
}

.characters-hero h1 {
  margin: .4rem 0 1.4rem;
  color: var(--bone);
  font-family: var(--display);
  font-size: clamp(4.3rem, 8vw, 8.3rem);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: .85;
  text-transform: uppercase;
}

.characters-hero-copy > p:not(.eyebrow) {
  max-width: 39rem;
  margin-bottom: 2rem;
  color: var(--bone-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.characters-hero-gallery {
  min-height: 34rem;
  display: grid;
  align-items: center;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.characters-hero-gallery a {
  position: relative;
  aspect-ratio: 3 / 4.4;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(185, 138, 69, .5);
  box-shadow: 0 1.4rem 3.5rem rgba(0, 0, 0, .38);
  transition: transform .25s ease, border-color .25s ease;
}

.characters-hero-gallery a:first-child {
  z-index: 1;
  transform: rotate(-3deg) translate(8%, 2.5rem);
}

.characters-hero-gallery a:nth-child(2) {
  z-index: 3;
  transform: translateY(-1rem) scale(1.08);
}

.characters-hero-gallery a:last-child {
  z-index: 2;
  transform: rotate(3deg) translate(-8%, 2rem);
}

.characters-hero-gallery a:hover,
.characters-hero-gallery a:focus-visible {
  z-index: 4;
  border-color: var(--gold-bright);
  transform: translateY(-1.2rem) scale(1.04);
}

.characters-hero-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.cast-section {
  padding: 7.5rem var(--page-padding) 8rem;
  background: #0d1c24;
}

.cast-heading {
  margin-bottom: 4rem;
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, .55fr);
  gap: 4rem;
}

.cast-heading h2,
.character-archive-heading h2 {
  margin: .4rem 0 0;
  font-family: var(--display);
  font-size: clamp(3rem, 5.5vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .94;
  text-transform: uppercase;
}

.cast-heading > p {
  margin: 0;
  color: var(--bone-soft);
  font-size: 1.05rem;
}

.featured-cast {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(185, 138, 69, .42);
  border: 1px solid rgba(185, 138, 69, .42);
  list-style: none;
}

.featured-character {
  min-width: 0;
  background: #07121a;
}

.featured-character-inner {
  position: relative;
  aspect-ratio: 4 / 5;
  display: block;
  overflow: hidden;
  color: var(--bone);
  text-decoration: none;
}

.featured-character img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}

.featured-character-inner::after {
  position: absolute;
  inset: 36% 0 0;
  content: "";
  background: linear-gradient(0deg, rgba(4, 12, 18, .98), rgba(4, 12, 18, .78) 55%, transparent);
  pointer-events: none;
}

a.featured-character-inner:hover img,
a.featured-character-inner:focus-visible img {
  transform: scale(1.035);
}

.featured-character-number,
.featured-character-alignment,
.featured-character-copy,
.featured-character-arrow {
  position: absolute;
  z-index: 1;
}

.featured-character-number {
  top: 1rem;
  left: 1rem;
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: .72rem;
}

.featured-character-alignment {
  top: 1rem;
  right: 1rem;
  padding: .45rem .6rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(7, 18, 26, .82);
  color: var(--gold-bright);
  border: 1px solid rgba(226, 189, 122, .38);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.featured-character-copy {
  right: 1.4rem;
  bottom: 1.45rem;
  left: 1.4rem;
  display: flex;
  flex-direction: column;
}

.featured-character-copy small {
  color: var(--gold-bright);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.featured-character-copy strong {
  margin: .24rem 0 .45rem;
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1;
  text-transform: uppercase;
}

.featured-character-copy em {
  max-width: 29rem;
  color: var(--bone-soft);
  font-size: .84rem;
  font-style: normal;
  line-height: 1.45;
}

.featured-character-arrow {
  right: 1.4rem;
  bottom: 1.5rem;
  color: var(--gold-bright);
  font-size: 1.1rem;
  transform: translateY(-4.5rem);
}

.featured-character.is-locked img {
  filter: grayscale(1) blur(10px) brightness(.34);
  transform: scale(1.08);
}

.featured-character.is-locked .featured-character-inner::after {
  inset: 0;
  background: rgba(4, 12, 18, .48);
}

.character-archive {
  padding: 7.5rem var(--page-padding) 8rem;
}

.character-archive-heading {
  margin-bottom: 2.5rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.book-character-filters {
  margin-bottom: 1.2rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid rgba(185, 138, 69, .32);
}

.book-character-filters a {
  position: relative;
  min-height: 6.6rem;
  padding: 1rem 2rem 1rem 1rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
  color: var(--bone-soft);
  border-right: 1px solid rgba(185, 138, 69, .25);
  font-family: var(--display);
  font-size: .8rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.book-character-filters a:last-child {
  border-right: 0;
}

.book-character-filters a:hover,
.book-character-filters a:focus-visible {
  background: rgba(66, 110, 112, .18);
  color: var(--bone);
}

.book-character-filters a.is-active {
  background: var(--gold);
  color: #07121a;
}

.book-character-filters small {
  margin-bottom: .45rem;
  font-family: var(--body);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .12em;
  opacity: .75;
  text-transform: uppercase;
}

.book-character-filters span {
  position: absolute;
  top: .8rem;
  right: .75rem;
  font-family: var(--body);
  font-size: .68rem;
}

.character-search {
  max-width: 43rem;
  margin: 0 0 2rem;
  display: grid;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  background: var(--bone);
  color: #18252c;
}

.character-search > i {
  padding-left: 1.1rem;
  color: #8e632a;
  font-size: 1.1rem;
}

.character-search input {
  min-width: 0;
  padding: 1rem;
  background: transparent;
  color: #18252c;
  border: 0;
  font: inherit;
  outline: none;
}

.character-search button {
  align-self: stretch;
  padding: 0 1.6rem;
  background: var(--gold);
  color: #07121a;
  border: 0;
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  cursor: pointer;
  text-transform: uppercase;
}

.character-search button:hover,
.character-search button:focus-visible {
  background: var(--gold-bright);
}

.character-index {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(185, 138, 69, .3);
  border-left: 1px solid rgba(185, 138, 69, .3);
  list-style: none;
}

.character-index li {
  min-width: 0;
  border-right: 1px solid rgba(185, 138, 69, .3);
  border-bottom: 1px solid rgba(185, 138, 69, .3);
}

.character-index a {
  min-height: 10.5rem;
  padding: 1.35rem;
  display: grid;
  align-items: start;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  color: inherit;
  text-decoration: none;
  transition: background .2s ease;
}

.character-index a:hover,
.character-index a:focus-visible {
  background: rgba(66, 110, 112, .16);
}

.character-monogram {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  color: var(--gold-bright);
  border: 1px solid rgba(226, 189, 122, .45);
  border-radius: 50%;
  font-family: var(--display);
}

.character-index-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.character-index-copy small {
  color: var(--gold);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.character-index-copy strong {
  margin: .35rem 0 .45rem;
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 500;
}

.character-index-copy em {
  color: #a59d8d;
  font-size: .8rem;
  font-style: normal;
  line-height: 1.42;
}

.character-index a > i {
  color: var(--gold-bright);
}

.character-empty {
  padding: 4rem 2rem;
  grid-column: 1 / -1;
  color: var(--bone-soft);
  text-align: center;
}

.character-empty > i {
  color: var(--gold-bright);
  font-size: 2.5rem;
}

.character-empty h3 {
  margin: .6rem 0;
  color: var(--bone);
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 500;
}

@media (max-width: 1050px) {
  .characters-hero {
    min-height: 43rem;
    grid-template-columns: minmax(21rem, .8fr) minmax(26rem, 1.2fr);
    gap: 2rem;
  }

  .book-character-filters {
    grid-template-columns: repeat(3, 1fr);
  }

  .book-character-filters a:nth-child(3) {
    border-right: 0;
  }

  .book-character-filters a:nth-child(-n+3) {
    border-bottom: 1px solid rgba(185, 138, 69, .25);
  }

  .character-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .characters-hero {
    padding-top: 8rem;
    grid-template-columns: 1fr;
  }

  .characters-hero-gallery {
    min-height: 24rem;
  }

  .characters-hero-gallery img {
    height: 100%;
  }

  .characters-hero-gallery a {
    aspect-ratio: 4 / 5;
  }

  .cast-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .featured-cast {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .characters-hero {
    min-height: 0;
    padding-bottom: 4.5rem;
  }

  .characters-hero h1 {
    font-size: clamp(3.8rem, 20vw, 5.6rem);
  }

  .characters-hero-gallery {
    min-height: 19rem;
  }

  .characters-hero-gallery a:first-child {
    transform: rotate(-3deg) translate(10%, 1.5rem);
  }

  .characters-hero-gallery a:nth-child(2) {
    transform: translateY(-.5rem) scale(1.06);
  }

  .characters-hero-gallery a:last-child {
    transform: rotate(3deg) translate(-10%, 1.2rem);
  }

  .cast-section,
  .character-archive {
    padding: 5rem var(--page-padding);
  }

  .featured-cast {
    grid-template-columns: 1fr;
  }

  .featured-character-inner {
    aspect-ratio: 4 / 4.65;
  }

  .featured-character-copy em {
    display: none;
  }

  .featured-character-arrow {
    transform: translateY(-2.7rem);
  }

  .character-archive-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .character-archive-heading .spoiler-level {
    width: 100%;
  }

  .book-character-filters {
    grid-template-columns: 1fr;
  }

  .book-character-filters a,
  .book-character-filters a:nth-child(3),
  .book-character-filters a:last-child {
    min-height: 4.8rem;
    border-right: 0;
    border-bottom: 1px solid rgba(185, 138, 69, .25);
  }

  .book-character-filters a:last-child {
    border-bottom: 0;
  }

  .character-search {
    grid-template-columns: auto 1fr;
  }

  .character-search button {
    min-height: 3rem;
    grid-column: 1 / -1;
  }

  .character-index {
    grid-template-columns: 1fr;
  }

  .character-index a {
    min-height: 0;
  }
}

/* Chronology */
.chronology-page {
  background: #07121a;
}

.chronology-hero {
  position: relative;
  min-height: 45rem;
  padding: 11rem var(--page-padding) 5.5rem;
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, .7fr);
  gap: 4rem;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(6, 16, 26, .98) 0%, rgba(6, 16, 26, .88) 48%, rgba(6, 16, 26, .48) 100%),
    url("../images/map-ereshkigal.webp") center / cover;
  border-bottom: 1px solid rgba(185, 138, 69, .38);
}

.chronology-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, #07121a 0%, transparent 38%);
  pointer-events: none;
}

.chronology-hero-copy,
.chronology-facts {
  position: relative;
  z-index: 1;
}

.chronology-hero-copy {
  max-width: 48rem;
}

.chronology-hero h1 {
  margin: .4rem 0 1.4rem;
  font-family: var(--display);
  font-size: clamp(4.2rem, 8.3vw, 8.7rem);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: .84;
  text-transform: uppercase;
}

.chronology-hero-copy > p:not(.eyebrow) {
  max-width: 40rem;
  margin-bottom: 2rem;
  color: var(--bone-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.chronology-facts {
  margin: 0;
  background: rgba(6, 16, 26, .84);
  border: 1px solid rgba(185, 138, 69, .42);
  backdrop-filter: blur(12px);
}

.chronology-facts div {
  padding: 1.15rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(185, 138, 69, .25);
}

.chronology-facts div:last-child {
  border-bottom: 0;
}

.chronology-facts dt,
.chronology-facts dd {
  margin: 0;
}

.chronology-facts dt {
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.chronology-facts dd {
  color: var(--bone-soft);
  font-size: .88rem;
}

.chronology-facts dd i {
  margin-right: .35rem;
  color: var(--gold-bright);
}

.chronology-explorer {
  padding: 7.5rem var(--page-padding) 8rem;
}

.chronology-heading {
  margin-bottom: 2.5rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.chronology-heading h2 {
  margin: .4rem 0 0;
  font-family: var(--display);
  font-size: clamp(3rem, 5.4vw, 5.7rem);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: .94;
  text-transform: uppercase;
}

.chronology-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(185, 138, 69, .36);
}

.chronology-switcher button {
  min-height: 7rem;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(13, 28, 36, .75);
  color: var(--bone);
  border: 0;
  border-right: 1px solid rgba(185, 138, 69, .36);
  cursor: pointer;
  text-align: left;
  transition: background .2s ease, color .2s ease;
}

.chronology-switcher button:last-child {
  border-right: 0;
}

.chronology-switcher button:hover,
.chronology-switcher button:focus-visible {
  background: rgba(66, 110, 112, .24);
}

.chronology-switcher button[aria-selected="true"] {
  background: var(--gold);
  color: #07121a;
}

.chronology-switcher button > i {
  font-size: 2rem;
}

.chronology-switcher button span {
  display: flex;
  flex-direction: column;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.chronology-switcher small {
  margin-bottom: .28rem;
  font-family: var(--body);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .13em;
  opacity: .72;
}

.chronology-notice {
  margin: 1rem 0 3rem;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  color: #a79e8c;
  font-size: .84rem;
}

.chronology-notice i {
  margin-top: .18rem;
  color: var(--gold-bright);
}

[data-chronology-panel][hidden] {
  display: none;
}

.era-timeline {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(185, 138, 69, .36);
  list-style: none;
}

.timeline-era {
  display: grid;
  grid-template-columns: minmax(19rem, .72fr) minmax(0, 1.28fr);
  border-right: 1px solid rgba(185, 138, 69, .36);
  border-bottom: 1px solid rgba(185, 138, 69, .36);
  border-left: 1px solid rgba(185, 138, 69, .36);
}

.timeline-era-heading {
  padding: clamp(2rem, 4vw, 4rem);
  background: #0d1c24;
  border-right: 1px solid rgba(185, 138, 69, .36);
}

.timeline-era-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 2.3rem;
  display: grid;
  place-items: center;
  color: var(--gold-bright);
  border: 1px solid rgba(226, 189, 122, .45);
  border-radius: 50%;
  font-size: 1.55rem;
}

.timeline-era-heading > p {
  margin: 0 0 .45rem;
  color: var(--gold-bright);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.timeline-era-heading h3 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(2rem, 3.3vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1;
  text-transform: uppercase;
}

.timeline-era-heading > span:last-child {
  display: block;
  color: var(--bone-soft);
  font-size: .92rem;
  line-height: 1.55;
}

.timeline-events {
  position: relative;
  margin: 0;
  padding: 1.25rem 0 1.25rem 3.6rem;
  list-style: none;
}

.timeline-events::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 2rem;
  width: 1px;
  content: "";
  background: rgba(185, 138, 69, .44);
}

.timeline-event {
  position: relative;
  min-height: 10rem;
  padding: 1.35rem 1.4rem;
  display: grid;
  align-items: start;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  border-bottom: 1px solid rgba(185, 138, 69, .24);
}

.timeline-event:last-child {
  border-bottom: 0;
}

.timeline-event::before {
  position: absolute;
  top: 1.7rem;
  left: -2rem;
  width: .85rem;
  height: .85rem;
  content: "";
  background: #07121a;
  border: 1px solid var(--gold-bright);
  border-radius: 50%;
  transform: translateX(-50%);
}

.timeline-event > i {
  margin-top: .12rem;
  color: var(--gold-bright);
  font-size: 1.4rem;
}

.timeline-event-number {
  position: absolute;
  top: 1.45rem;
  right: 1.2rem;
  color: rgba(226, 189, 122, .65);
  font-family: var(--display);
  font-size: .7rem;
}

.timeline-event div {
  padding-right: 2rem;
}

.timeline-event small {
  color: var(--gold);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.timeline-event h4 {
  margin: .3rem 0 .45rem;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.15;
  text-transform: uppercase;
}

.timeline-event p {
  max-width: 46rem;
  margin: 0;
  color: #a79f90;
  font-size: .86rem;
  line-height: 1.5;
}

.timeline-event a {
  margin-top: .85rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--gold-bright);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
}

.timeline-event.is-locked {
  background: rgba(6, 16, 26, .48);
}

.timeline-event.is-locked::before {
  background: var(--gold);
}

.timeline-more-link {
  padding: 1.6rem 1.8rem;
  display: grid;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  background: var(--gold);
  color: #07121a;
  text-decoration: none;
}

.timeline-more-link > i {
  font-size: 1.7rem;
}

.timeline-more-link span {
  display: flex;
  flex-direction: column;
  font-family: var(--display);
  font-size: 1.15rem;
  text-transform: uppercase;
}

.timeline-more-link small {
  font-family: var(--body);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .12em;
  opacity: .72;
}

.chronicle-timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chronicle-timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 3.5rem;
  width: 1px;
  content: "";
  background: rgba(185, 138, 69, .5);
}

.chronicle-step {
  position: relative;
  min-height: 29rem;
  padding: 3rem 3rem 3rem 7.5rem;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(11rem, 15rem) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  border: 1px solid rgba(185, 138, 69, .34);
  border-bottom: 0;
}

.chronicle-step:last-child {
  border-bottom: 1px solid rgba(185, 138, 69, .34);
}

.chronicle-step::before {
  position: absolute;
  top: 50%;
  left: 3.5rem;
  width: 1.15rem;
  height: 1.15rem;
  content: "";
  background: #07121a;
  border: 1px solid var(--gold-bright);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.chronicle-step.is-origin::before {
  background: var(--teal);
}

.chronicle-step-number {
  position: absolute;
  top: calc(50% - 2.3rem);
  left: 1.4rem;
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: .78rem;
}

.chronicle-cover {
  display: block;
  text-decoration: none;
}

.chronicle-cover img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 1.3rem 2.8rem rgba(0, 0, 0, .35);
}

.chronicle-step-copy {
  max-width: 47rem;
}

.chronicle-step-copy > small {
  color: var(--gold-bright);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.chronicle-step-copy h3 {
  margin: .45rem 0 .3rem;
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.8vw, 5rem);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: .96;
  text-transform: uppercase;
}

.chronicle-step-copy > p:not(.chronicle-subtitle) {
  max-width: 43rem;
  color: var(--bone-soft);
  line-height: 1.62;
}

.chronicle-subtitle {
  margin: 0 0 1.4rem;
  color: var(--gold-bright);
  font-family: var(--display);
  font-style: italic;
}

.chronicle-seal {
  margin-top: 2rem;
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(13, 28, 36, .72);
  color: var(--bone-soft);
  border: 1px solid rgba(185, 138, 69, .34);
}

.chronicle-seal > i {
  color: var(--gold-bright);
  font-size: 1.5rem;
}

.chronicle-seal span {
  display: flex;
  flex-direction: column;
  font-size: .82rem;
}

.chronicle-seal strong {
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.chronicle-step.is-locked .chronicle-cover img {
  filter: grayscale(.8) brightness(.55);
}

@media (max-width: 1100px) and (min-width: 721px) {
  .main-navigation {
    gap: 1.25rem;
  }

  .main-navigation a {
    font-size: .72rem;
  }
}

@media (max-width: 900px) {
  .chronology-hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .chronology-facts {
    max-width: 38rem;
  }

  .timeline-era {
    grid-template-columns: 1fr;
  }

  .timeline-era-heading {
    border-right: 0;
    border-bottom: 1px solid rgba(185, 138, 69, .36);
  }
}

@media (max-width: 650px) {
  .chronology-hero {
    min-height: 0;
    padding-top: 8.5rem;
    padding-bottom: 4.5rem;
    background-position: 62% center;
  }

  .chronology-hero h1 {
    font-size: clamp(3.75rem, 18vw, 5.2rem);
  }

  .chronology-facts div {
    align-items: flex-start;
    flex-direction: column;
    gap: .25rem;
  }

  .chronology-explorer {
    padding: 5rem var(--page-padding);
  }

  .chronology-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .chronology-level {
    width: 100%;
  }

  .chronology-switcher {
    grid-template-columns: 1fr;
  }

  .chronology-switcher button,
  .chronology-switcher button:last-child {
    min-height: 5.5rem;
    padding: 1rem;
    border-right: 0;
    border-bottom: 1px solid rgba(185, 138, 69, .36);
  }

  .chronology-switcher button:last-child {
    border-bottom: 0;
  }

  .timeline-era {
    margin-right: calc(var(--page-padding) * -1);
    margin-left: calc(var(--page-padding) * -1);
    border-right: 0;
    border-left: 0;
  }

  .timeline-era-heading {
    padding: 2rem var(--page-padding);
  }

  .timeline-era-icon {
    margin-bottom: 1.3rem;
  }

  .timeline-events {
    padding-left: 2.7rem;
  }

  .timeline-events::before {
    left: 1.45rem;
  }

  .timeline-event {
    min-height: 0;
    padding: 1.25rem .9rem;
  }

  .timeline-event::before {
    left: -1.25rem;
  }

  .timeline-event div {
    padding-right: 1.3rem;
  }

  .timeline-more-link {
    margin-right: calc(var(--page-padding) * -1);
    margin-left: calc(var(--page-padding) * -1);
  }

  .chronicle-timeline {
    margin-right: calc(var(--page-padding) * -1);
    margin-left: calc(var(--page-padding) * -1);
  }

  .chronicle-timeline::before {
    left: 1.55rem;
  }

  .chronicle-step {
    min-height: 0;
    padding: 2rem 1.2rem 2rem 3.2rem;
    grid-template-columns: 6.8rem minmax(0, 1fr);
    gap: 1.2rem;
    border-right: 0;
    border-left: 0;
  }

  .chronicle-step::before {
    left: 1.55rem;
  }

  .chronicle-step-number {
    top: 1rem;
    left: 1.05rem;
  }

  .chronicle-step-copy h3 {
    font-size: clamp(1.75rem, 8vw, 2.45rem);
  }

  .chronicle-step-copy > p:not(.chronicle-subtitle) {
    display: none;
  }

  .chronicle-subtitle {
    font-size: .8rem;
  }

  .chronicle-seal {
    margin-top: 1rem;
    padding: .8rem;
  }

  .chronicle-seal span {
    font-size: .7rem;
  }
}

/* Races */
.races-page {
  background: var(--ink);
}

.races-hero {
  min-height: 49rem;
  padding: 9.5rem var(--page-padding) 4.5rem;
  display: grid;
  grid-template-columns: minmax(22rem, .8fr) minmax(34rem, 1.2fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
  overflow: hidden;
  border-bottom: 1px solid rgba(185, 138, 69, .35);
  background-color: #07131b;
}

.races-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 37rem;
}

.races-hero h1 {
  margin: 0;
  color: var(--bone);
  font-family: var(--display);
  font-size: clamp(4rem, 7.4vw, 8.2rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .86;
  text-transform: uppercase;
}

.races-hero-copy > p:not(.eyebrow) {
  max-width: 33rem;
  margin: 2rem 0 2.2rem;
  color: var(--bone-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  line-height: 1.65;
}

.races-hero-mosaic {
  min-width: 0;
  height: clamp(32rem, 56vw, 47rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, 1fr);
  gap: .65rem;
  transform: rotate(2deg);
}

.races-hero-tile {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(226, 189, 122, .32);
  background: var(--ink-raised);
}

.races-hero-tile:nth-child(2),
.races-hero-tile:nth-child(5) {
  transform: translateY(-1.5rem);
}

.races-hero-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(.82) contrast(1.04);
}

.races-hero-tile figcaption {
  position: absolute;
  right: .8rem;
  bottom: .6rem;
  color: rgba(238, 227, 202, .9);
  font-family: var(--display);
  font-size: .82rem;
  letter-spacing: .16em;
}

.races-explorer {
  padding: 7rem var(--page-padding) 8rem;
  background: var(--bone);
  color: var(--ink);
}

.races-explorer-heading {
  margin-bottom: 2.6rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.races-explorer-heading h2,
.race-comparison h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.7rem, 5vw, 5.6rem);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .96;
  text-transform: uppercase;
}

.race-switcher {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid rgba(6, 16, 26, .28);
}

.race-switcher button {
  position: relative;
  min-width: 0;
  min-height: 9.2rem;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-right: 1px solid rgba(238, 227, 202, .25);
  background: var(--ink-raised);
  color: var(--bone);
  cursor: pointer;
  font: inherit;
}

.race-switcher button:last-child {
  border-right: 0;
}

.race-switcher button::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: .28rem;
  background: var(--gold-bright);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.race-switcher button:hover::after,
.race-switcher button:focus-visible::after,
.race-switcher button[aria-selected="true"]::after {
  transform: scaleX(1);
}

.race-switcher button[aria-selected="true"] {
  background: #142932;
}

.race-switcher button img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .3;
  filter: grayscale(.35) contrast(1.15);
  transition: opacity .2s ease, transform .3s ease;
}

.race-switcher button:hover img,
.race-switcher button:focus-visible img,
.race-switcher button[aria-selected="true"] img {
  opacity: .62;
  transform: scale(1.04);
}

.race-switcher button > span,
.race-switcher button > strong {
  position: absolute;
  z-index: 1;
}

.race-switcher button > span {
  top: .65rem;
  left: .75rem;
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: .72rem;
  letter-spacing: .12em;
}

.race-switcher button > strong {
  right: .55rem;
  bottom: .75rem;
  left: .55rem;
  font-family: var(--display);
  font-size: clamp(.72rem, 1vw, 1rem);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.race-profile[hidden] {
  display: none;
}

.race-profile {
  display: grid;
  grid-template-columns: minmax(21rem, .83fr) minmax(30rem, 1.17fr);
  min-height: 48rem;
  border: 1px solid rgba(6, 16, 26, .25);
  border-top: 0;
  background: #f4ead4;
}

.race-profile-portrait {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: var(--ink-raised);
}

.race-profile-portrait::after {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(226, 189, 122, .44);
  pointer-events: none;
}

.race-profile-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.race-profile-portrait > span {
  position: absolute;
  z-index: 1;
  bottom: 2rem;
  left: 2rem;
  padding: .55rem .8rem;
  background: rgba(6, 16, 26, .84);
  color: var(--gold-bright);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.race-profile-copy {
  min-width: 0;
  padding: clamp(2.3rem, 5vw, 5.4rem);
}

.race-profile-copy h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.8rem, 7vw, 7.4rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .9;
  text-transform: uppercase;
}

.race-ancestry {
  margin: .75rem 0 2rem;
  color: #765a31;
  font-family: var(--display);
  font-size: .9rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.race-description {
  max-width: 44rem;
  margin: 0 0 2.25rem;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.45;
}

.race-locations {
  margin: 0 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(6, 16, 26, .22);
  border-bottom: 1px solid rgba(6, 16, 26, .22);
}

.race-locations div {
  padding: 1rem 1.2rem;
}

.race-locations div + div {
  border-left: 1px solid rgba(6, 16, 26, .22);
}

.race-locations dt {
  color: #765a31;
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.race-locations dt i {
  margin-right: .3rem;
  font-size: 1rem;
  vertical-align: -.12em;
}

.race-locations dd {
  margin: .2rem 0 0;
  font-family: var(--display);
  font-size: 1.25rem;
}

.race-locations a {
  text-decoration: none;
}

.race-locations a:hover,
.race-locations a:focus-visible {
  color: #765a31;
}

.race-culture {
  position: relative;
  margin: 0 0 2rem;
  padding: 1.2rem 1.3rem 1.2rem 3.35rem;
  border-left: .18rem solid var(--gold);
  background: rgba(185, 138, 69, .1);
}

.race-culture > i {
  position: absolute;
  top: 1.2rem;
  left: 1.15rem;
  color: #765a31;
  font-size: 1.25rem;
}

.race-culture p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
}

.race-faculties {
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.race-faculties > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .25rem .6rem;
}

.race-faculties span,
.race-faculties strong {
  font-size: .69rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.race-faculties strong {
  color: #765a31;
}

.race-faculties meter {
  width: 100%;
  height: .42rem;
  grid-column: 1 / -1;
  border: 0;
  background: rgba(6, 16, 26, .16);
}

.race-faculties meter::-webkit-meter-bar {
  border: 0;
  border-radius: 0;
  background: rgba(6, 16, 26, .16);
}

.race-faculties meter::-webkit-meter-optimum-value {
  background: var(--gold);
}

.race-faculties meter::-moz-meter-bar {
  background: var(--gold);
}

.race-representatives h4 {
  margin: 0 0 .75rem;
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.race-representatives ol {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(6, 16, 26, .22);
  list-style: none;
}

.race-representatives li {
  min-height: 4.3rem;
  padding: .75rem .5rem;
  display: grid;
  grid-template-columns: 2.4rem 1fr auto;
  align-items: center;
  gap: .8rem;
  border-bottom: 1px solid rgba(6, 16, 26, .22);
}

.race-representatives li.is-locked {
  color: #6f6d65;
}

.race-representative-index,
.race-representative-lock {
  color: #765a31;
  font-family: var(--display);
  font-size: .74rem;
}

.race-representative-lock {
  font-size: 1.15rem;
}

.race-representatives li > span:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.race-representatives small {
  color: #765a31;
  font-size: .63rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.race-representatives strong {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 500;
}

.race-representatives li > a {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(6, 16, 26, .35);
  border-radius: 50%;
  text-decoration: none;
}

.race-representatives li > a:hover,
.race-representatives li > a:focus-visible {
  border-color: var(--gold);
  background: var(--gold);
}

.race-profile-link {
  margin-top: 2rem;
}

.race-comparison {
  padding: 7rem var(--page-padding);
  background: var(--ink-soft);
  color: var(--bone);
}

.race-comparison-heading {
  max-width: 54rem;
  margin-bottom: 3rem;
}

.race-comparison-heading > p:last-child {
  max-width: 41rem;
  margin: 1.4rem 0 0;
  color: var(--bone-soft);
  font-size: 1.08rem;
}

.race-comparison-table-wrap {
  overflow-x: auto;
  border-top: 1px solid rgba(226, 189, 122, .4);
}

.race-comparison-table {
  width: 100%;
  min-width: 52rem;
  border-collapse: collapse;
}

.race-comparison-table th,
.race-comparison-table td {
  padding: 1.1rem 1rem;
  border-bottom: 1px solid rgba(226, 189, 122, .22);
  text-align: left;
}

.race-comparison-table thead th {
  color: var(--gold-bright);
  font-size: .67rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.race-comparison-table tbody th {
  width: 24%;
}

.race-comparison-table tbody td {
  color: var(--bone-soft);
}

.race-comparison-table tbody td a {
  color: var(--bone);
  text-underline-offset: .25em;
}

.race-comparison-table button {
  padding: 0;
  display: flex;
  align-items: center;
  gap: .8rem;
  border: 0;
  background: transparent;
  color: var(--bone);
  cursor: pointer;
  font-family: var(--display);
  font-size: 1rem;
  text-align: left;
  text-transform: uppercase;
}

.race-comparison-table button img {
  width: 3rem;
  height: 3rem;
  object-fit: cover;
  border: 1px solid rgba(226, 189, 122, .4);
  border-radius: 50%;
}

.race-comparison-table button span {
  color: var(--gold-bright);
  font-size: .65rem;
}

.race-comparison-table button:hover,
.race-comparison-table button:focus-visible {
  color: var(--gold-bright);
}

.race-comparison-action {
  margin-top: 2.5rem;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 1100px) {
  .races-hero {
    grid-template-columns: .8fr 1.2fr;
    gap: 2rem;
  }

  .races-hero-mosaic {
    height: 35rem;
  }

  .race-profile {
    grid-template-columns: minmax(18rem, .7fr) minmax(26rem, 1.3fr);
  }
}

@media (max-width: 800px) {
  .races-hero {
    min-height: 0;
    padding-top: 9rem;
    grid-template-columns: 1fr;
  }

  .races-hero-copy {
    max-width: 42rem;
  }

  .races-hero-mosaic {
    height: 29rem;
    transform: none;
  }

  .races-explorer-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .races-spoiler {
    width: 100%;
  }

  .race-switcher {
    grid-template-columns: repeat(3, 1fr);
  }

  .race-switcher button {
    min-height: 8rem;
    border-bottom: 1px solid rgba(238, 227, 202, .25);
  }

  .race-switcher button:nth-child(3n) {
    border-right: 0;
  }

  .race-profile {
    grid-template-columns: 1fr;
  }

  .race-profile-portrait {
    min-height: 34rem;
  }
}

@media (max-width: 520px) {
  .races-hero {
    padding: 8.5rem var(--page-padding) 3.5rem;
  }

  .races-hero h1 {
    font-size: clamp(3.45rem, 17vw, 5.1rem);
  }

  .races-hero-mosaic {
    height: 21rem;
    gap: .35rem;
  }

  .races-hero-tile:nth-child(2),
  .races-hero-tile:nth-child(5) {
    transform: none;
  }

  .races-hero-tile figcaption {
    right: .4rem;
    bottom: .3rem;
    font-size: .62rem;
  }

  .races-explorer,
  .race-comparison {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .race-switcher button {
    min-height: 6.6rem;
  }

  .race-switcher button > strong {
    font-size: .66rem;
  }

  .race-profile-portrait {
    min-height: 25rem;
  }

  .race-profile-copy {
    padding: 2rem 1.25rem 2.5rem;
  }

  .race-profile-copy h3 {
    font-size: clamp(3.2rem, 16vw, 4.8rem);
  }

  .race-description {
    font-size: 1.2rem;
  }

  .race-locations,
  .race-faculties {
    grid-template-columns: 1fr;
  }

  .race-locations div + div {
    border-top: 1px solid rgba(6, 16, 26, .22);
    border-left: 0;
  }

  .race-faculties {
    gap: .8rem;
  }

  .race-comparison-action .button {
    width: 100%;
    justify-content: center;
  }
}

/* Bestiary */
.bestiary-page {
  background: var(--ink);
}

.bestiary-hero {
  position: relative;
  min-height: 54rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(185, 138, 69, .45);
  background: var(--ink);
}

.bestiary-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 16, 26, .32);
}

.bestiary-hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bestiary-hero-copy {
  position: relative;
  z-index: 2;
  width: min(55rem, 62vw);
  margin: 6rem 0 0 var(--page-padding);
}

.bestiary-hero h1 {
  max-width: 55rem;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.2rem, 8vw, 8.5rem);
  font-weight: 400;
  letter-spacing: -.062em;
  line-height: .85;
  text-transform: uppercase;
}

.bestiary-hero-copy > p:not(.eyebrow) {
  max-width: 37rem;
  margin: 2rem 0;
  color: var(--bone-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.62;
}

.bestiary-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.bestiary-hero-facts {
  position: absolute;
  z-index: 3;
  right: var(--page-padding);
  bottom: 3.5rem;
  width: min(41rem, 47vw);
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(226, 189, 122, .42);
  border-left: 1px solid rgba(226, 189, 122, .42);
  background: rgba(6, 16, 26, .86);
}

.bestiary-hero-facts div {
  min-width: 0;
  padding: 1rem;
  border-right: 1px solid rgba(226, 189, 122, .42);
  border-bottom: 1px solid rgba(226, 189, 122, .42);
}

.bestiary-hero-facts dt {
  color: var(--gold-bright);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.bestiary-hero-facts dt i {
  margin-right: .25rem;
  font-size: 1rem;
  vertical-align: -.1em;
}

.bestiary-hero-facts dd {
  margin: .3rem 0 0;
  color: var(--bone-soft);
  font-family: var(--display);
  font-size: .82rem;
}

.field-notes {
  padding: 7rem var(--page-padding) 8rem;
  background: var(--bone);
  color: var(--ink);
}

.field-notes-heading,
.nature-archive-heading {
  margin-bottom: 2.8rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.field-notes-heading h2,
.nature-archive-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 5.8vw, 6.3rem);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .9;
  text-transform: uppercase;
}

.field-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(6, 16, 26, .3);
  border-left: 1px solid rgba(6, 16, 26, .3);
}

.field-note {
  min-width: 0;
  border-right: 1px solid rgba(6, 16, 26, .3);
  border-bottom: 1px solid rgba(6, 16, 26, .3);
}

.field-note > a {
  height: 100%;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
}

.field-note-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--ink-raised);
}

.field-note-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.field-note > a:hover .field-note-image img,
.field-note > a:focus-visible .field-note-image img {
  transform: scale(1.035);
}

.field-note-image span {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: .4rem .55rem;
  background: rgba(6, 16, 26, .82);
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: .68rem;
}

.field-note-copy {
  min-height: 17rem;
  padding: 1.6rem;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.field-note-copy > i {
  margin-bottom: 1.5rem;
  color: #806035;
  font-size: 1.5rem;
}

.field-note-copy small,
.field-note-seal small,
.nature-entry-grid small {
  color: #765a31;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.field-note-copy h3,
.field-note-seal h3 {
  margin: .35rem 0 .8rem;
  font-family: var(--display);
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .95;
  text-transform: uppercase;
}

.field-note-copy p,
.field-note-seal p {
  margin: 0;
  color: #47463f;
  line-height: 1.55;
}

.field-note-copy strong {
  margin-top: auto;
  padding-top: 1.5rem;
  color: #765a31;
  font-size: .67rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.field-note-seal {
  min-height: 100%;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  background: rgba(6, 16, 26, .065);
  color: #68665f;
}

.field-note-seal > span {
  color: #765a31;
  font-family: var(--display);
  font-size: .68rem;
}

.field-note-seal > i {
  margin: auto 0 2rem;
  color: #77746b;
  font-size: 3rem;
}

.nature-archive {
  padding: 7rem var(--page-padding) 8rem;
  background: var(--ink-soft);
  color: var(--bone);
}

.nature-archive-heading > div {
  max-width: 58rem;
}

.nature-archive-heading > div > p:last-child {
  max-width: 42rem;
  margin: 1.25rem 0 0;
  color: var(--bone-soft);
  font-size: 1.08rem;
}

.nature-archive-heading .button-outline {
  flex: 0 0 auto;
  color: var(--bone);
}

.nature-filters {
  margin-bottom: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(226, 189, 122, .35);
  border-left: 1px solid rgba(226, 189, 122, .35);
}

.nature-filters a {
  min-height: 4.5rem;
  padding: .8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border-right: 1px solid rgba(226, 189, 122, .35);
  border-bottom: 1px solid rgba(226, 189, 122, .35);
  color: var(--bone-soft);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
}

.nature-filters a:hover,
.nature-filters a:focus-visible,
.nature-filters a.is-active {
  background: var(--gold);
  color: var(--ink);
}

.nature-filters a > span {
  color: var(--gold-bright);
  font-size: .64rem;
}

.nature-filters a:hover > span,
.nature-filters a:focus-visible > span,
.nature-filters a.is-active > span {
  color: var(--ink);
}

.nature-search {
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  border: 1px solid rgba(226, 189, 122, .4);
  background: var(--bone);
}

.nature-search > i {
  padding: 0 1rem;
  align-self: center;
  color: #765a31;
  font-size: 1.1rem;
}

.nature-search input {
  min-width: 0;
  padding: 1rem 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.nature-search button {
  min-width: 9rem;
  padding: 0 1.5rem;
  border: 0;
  background: var(--gold);
  color: var(--ink);
  cursor: pointer;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nature-search button:hover,
.nature-search button:focus-visible {
  background: var(--gold-bright);
}

.nature-search-summary {
  margin: -.6rem 0 1.5rem;
  color: var(--bone-soft);
}

.nature-entry-grid {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(226, 189, 122, .28);
  border-left: 1px solid rgba(226, 189, 122, .28);
  list-style: none;
}

.nature-entry-grid > li {
  min-width: 0;
  border-right: 1px solid rgba(226, 189, 122, .28);
  border-bottom: 1px solid rgba(226, 189, 122, .28);
}

.nature-entry-grid > li > a {
  position: relative;
  min-height: 18rem;
  padding: 1.45rem;
  display: flex;
  flex-direction: column;
  color: var(--bone);
  text-decoration: none;
  transition: background-color .2s ease;
}

.nature-entry-grid > li > a:hover,
.nature-entry-grid > li > a:focus-visible {
  background: rgba(185, 138, 69, .11);
}

.nature-entry-number {
  position: absolute;
  top: 1.35rem;
  right: 1.35rem;
  color: rgba(226, 189, 122, .65);
  font-family: var(--display);
  font-size: .67rem;
}

.nature-entry-grid a > i {
  margin-bottom: 2rem;
  color: var(--gold-bright);
  font-size: 1.6rem;
}

.nature-entry-grid h3 {
  margin: .35rem 0 .8rem;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.3vw, 2.15rem);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1;
  text-transform: uppercase;
}

.nature-entry-grid p {
  margin: 0 0 1.2rem;
  color: var(--bone-soft);
  line-height: 1.5;
}

.nature-entry-grid a > strong {
  margin-top: auto;
  color: var(--gold-bright);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nature-empty {
  min-height: 18rem;
  padding: 2rem;
  grid-column: 1 / -1;
  text-align: center;
}

.nature-empty > i {
  color: var(--gold-bright);
  font-size: 2rem;
}

@media (max-width: 1100px) and (min-width: 721px) {
  .main-navigation {
    gap: .72rem;
  }

  .main-navigation a {
    font-size: .65rem;
  }

  .brand {
    font-size: 1.7rem;
  }

  .bestiary-hero-copy {
    width: 72vw;
  }
}

@media (max-width: 850px) {
  .bestiary-hero-facts {
    right: var(--page-padding);
    left: var(--page-padding);
    width: auto;
  }

  .field-note-grid,
  .nature-entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .bestiary-hero {
    min-height: 48rem;
    align-items: flex-start;
  }

  .bestiary-hero-art {
    object-position: 62% center;
  }

  .bestiary-hero-copy {
    width: auto;
    margin: 9rem var(--page-padding) 0;
  }

  .bestiary-hero h1 {
    font-size: clamp(3.6rem, 16.5vw, 5.4rem);
  }

  .bestiary-hero-facts {
    bottom: 2rem;
  }

  .field-notes-heading,
  .nature-archive-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .bestiary-spoiler {
    width: 100%;
  }

  .nature-archive-heading .button {
    align-self: flex-start;
  }
}

@media (max-width: 520px) {
  .bestiary-hero {
    min-height: 49rem;
  }

  .bestiary-hero::after {
    background: rgba(6, 16, 26, .48);
  }

  .bestiary-hero-copy {
    margin-top: 8rem;
  }

  .bestiary-hero-copy > p:not(.eyebrow) {
    font-size: .95rem;
  }

  .bestiary-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: .9rem;
  }

  .bestiary-hero-facts {
    display: none;
  }

  .field-notes,
  .nature-archive {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .field-note-grid,
  .nature-entry-grid,
  .nature-filters {
    grid-template-columns: 1fr;
  }

  .field-note-seal {
    min-height: 22rem;
  }

  .nature-filters a {
    min-height: 3.6rem;
    justify-content: flex-start;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .nature-search {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .nature-search button {
    min-height: 3.25rem;
    grid-column: 1 / -1;
  }

  .nature-archive-heading .button {
    width: 100%;
    justify-content: center;
  }
}

/* Places */
.places-page {
  background: var(--ink);
}

.places-hero {
  position: relative;
  min-height: 52rem;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid rgba(185, 138, 69, .45);
  background: var(--ink);
}

.places-hero-maps {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.places-hero-maps::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 16, 26, .48);
}

.places-hero-maps figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.places-hero-maps figure + figure {
  border-left: 1px solid rgba(226, 189, 122, .34);
}

.places-hero-maps img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(.75) contrast(1.12);
}

.places-hero-maps figcaption {
  position: absolute;
  z-index: 2;
  top: 8.5rem;
  right: 2rem;
  color: rgba(238, 227, 202, .74);
  font-family: var(--display);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.places-hero-maps figure:first-child figcaption {
  right: auto;
  left: 2rem;
}

.places-hero-copy {
  position: relative;
  z-index: 2;
  width: min(50rem, 72vw);
  margin: 0 0 5rem var(--page-padding);
  padding: 2.25rem 2.5rem 2.4rem;
  border: 1px solid rgba(226, 189, 122, .4);
  background: rgba(6, 16, 26, .9);
}

.places-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.2rem, 9vw, 9rem);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .82;
  text-transform: uppercase;
}

.places-hero-copy > p:not(.eyebrow) {
  max-width: 38rem;
  margin: 2rem 0;
  color: var(--bone-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}

.place-destinations {
  padding: 7rem var(--page-padding) 8rem;
  background: var(--bone);
  color: var(--ink);
}

.place-destinations-heading,
.places-archive-heading {
  margin-bottom: 2.8rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.place-destinations-heading h2,
.places-archive-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 6.6rem);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .92;
  text-transform: uppercase;
}

.place-destination-grid {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(6, 16, 26, .32);
  border-left: 1px solid rgba(6, 16, 26, .32);
  list-style: none;
}

.place-destination-grid li {
  min-width: 0;
  border-right: 1px solid rgba(6, 16, 26, .32);
  border-bottom: 1px solid rgba(6, 16, 26, .32);
}

.place-destination-grid a,
.place-destination-locked {
  position: relative;
  min-height: 21rem;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}

.place-destination-grid a:hover,
.place-destination-grid a:focus-visible {
  background: var(--ink-raised);
  color: var(--bone);
}

.place-destination-grid a > span,
.place-destination-locked > span {
  color: #765a31;
  font-family: var(--display);
  font-size: .7rem;
  letter-spacing: .14em;
}

.place-destination-grid a:hover > span,
.place-destination-grid a:focus-visible > span {
  color: var(--gold-bright);
}

.place-destination-grid a > i,
.place-destination-locked > i {
  margin: 2.5rem 0 auto;
  color: #8e6936;
  font-size: 2.2rem;
}

.place-destination-grid small,
.place-entry-grid small {
  color: #765a31;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.place-destination-grid a:hover small,
.place-destination-grid a:focus-visible small {
  color: var(--gold-bright);
}

.place-destination-grid h3 {
  margin: .35rem 0 .65rem;
  font-family: var(--display);
  font-size: clamp(1.75rem, 2.6vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1;
  text-transform: uppercase;
}

.place-destination-grid p {
  margin: 0;
  color: #47463f;
  line-height: 1.55;
}

.place-destination-grid a:hover p,
.place-destination-grid a:focus-visible p {
  color: var(--bone-soft);
}

.place-destination-grid strong {
  margin-top: 1.25rem;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.place-destination-grid li.is-locked {
  background: rgba(6, 16, 26, .06);
}

.place-destination-locked {
  color: #65645d;
}

.place-destination-locked > i {
  color: #77746b;
}

.places-archive {
  padding: 7rem var(--page-padding) 8rem;
  background: var(--ink-soft);
  color: var(--bone);
}

.places-archive-heading > div {
  max-width: 58rem;
}

.places-archive-heading > div > p:last-child {
  max-width: 44rem;
  margin: 1.25rem 0 0;
  color: var(--bone-soft);
  font-size: 1.08rem;
}

.places-archive-heading .button-outline {
  flex: 0 0 auto;
  color: var(--bone);
}

.place-region-filters {
  margin-bottom: 1rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid rgba(226, 189, 122, .35);
  border-left: 1px solid rgba(226, 189, 122, .35);
}

.place-region-filters a {
  min-height: 4.5rem;
  padding: .8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border-right: 1px solid rgba(226, 189, 122, .35);
  border-bottom: 1px solid rgba(226, 189, 122, .35);
  color: var(--bone-soft);
  font-size: .69rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.place-region-filters a:hover,
.place-region-filters a:focus-visible,
.place-region-filters a.is-active {
  background: var(--gold);
  color: var(--ink);
}

.place-region-filters a > i {
  font-size: 1rem;
}

.place-region-filters a > span {
  color: var(--gold-bright);
  font-size: .64rem;
}

.place-region-filters a.is-active > span,
.place-region-filters a:hover > span,
.place-region-filters a:focus-visible > span {
  color: var(--ink);
}

.place-search {
  position: relative;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  border: 1px solid rgba(226, 189, 122, .4);
  background: var(--bone);
}

.place-search > i {
  padding: 0 1rem;
  align-self: center;
  color: #765a31;
  font-size: 1.1rem;
}

.place-search input {
  min-width: 0;
  padding: 1rem 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.place-search button {
  min-width: 9rem;
  padding: 0 1.5rem;
  border: 0;
  background: var(--gold);
  color: var(--ink);
  cursor: pointer;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.place-search button:hover,
.place-search button:focus-visible {
  background: var(--gold-bright);
}

.place-search-summary {
  margin: -.6rem 0 1.5rem;
  color: var(--bone-soft);
}

.place-entry-grid {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(226, 189, 122, .28);
  border-left: 1px solid rgba(226, 189, 122, .28);
  list-style: none;
}

.place-entry-grid > li {
  min-width: 0;
  border-right: 1px solid rgba(226, 189, 122, .28);
  border-bottom: 1px solid rgba(226, 189, 122, .28);
}

.place-entry-grid > li > a {
  position: relative;
  min-height: 18rem;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  color: var(--bone);
  text-decoration: none;
  transition: background-color .2s ease;
}

.place-entry-grid > li > a:hover,
.place-entry-grid > li > a:focus-visible {
  background: rgba(185, 138, 69, .11);
}

.place-entry-number {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  color: rgba(226, 189, 122, .65);
  font-family: var(--display);
  font-size: .67rem;
}

.place-entry-grid a > i {
  margin-bottom: 2rem;
  color: var(--gold-bright);
  font-size: 1.5rem;
}

.place-entry-grid h3 {
  margin: .35rem 0 .8rem;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.1;
  text-transform: uppercase;
}

.place-entry-grid p {
  margin: 0 0 1.2rem;
  color: var(--bone-soft);
  line-height: 1.5;
}

.place-entry-grid a > strong {
  margin-top: auto;
  color: var(--gold-bright);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.places-empty {
  min-height: 18rem;
  padding: 2rem;
  grid-column: 1 / -1;
  text-align: center;
}

.places-empty > i {
  color: var(--gold-bright);
  font-size: 2rem;
}

.places-empty h3 {
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 400;
}

@media (max-width: 1050px) {
  .place-destination-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .place-entry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .place-region-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .places-hero {
    min-height: 47rem;
  }

  .places-hero-maps {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .places-hero-maps figure + figure {
    border-top: 1px solid rgba(226, 189, 122, .34);
    border-left: 0;
  }

  .places-hero-maps figcaption,
  .places-hero-maps figure:first-child figcaption {
    display: none;
  }

  .places-hero-copy {
    width: auto;
    margin: 0 var(--page-padding) 3rem;
    padding: 1.7rem;
  }

  .places-hero h1 {
    font-size: clamp(3.8rem, 17vw, 6rem);
  }

  .place-destinations-heading,
  .places-archive-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .places-spoiler {
    width: 100%;
  }

  .places-archive-heading .button {
    align-self: flex-start;
  }

  .place-entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .places-hero {
    min-height: 43rem;
  }

  .places-hero-copy {
    padding: 1.35rem;
  }

  .places-hero-copy > p:not(.eyebrow) {
    font-size: 1rem;
  }

  .place-destinations,
  .places-archive {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .place-destination-grid,
  .place-entry-grid,
  .place-region-filters {
    grid-template-columns: 1fr;
  }

  .place-destination-grid a,
  .place-destination-locked {
    min-height: 18rem;
  }

  .place-entry-grid > li > a {
    min-height: 16rem;
  }

  .place-region-filters a {
    min-height: 3.6rem;
    justify-content: flex-start;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .place-search {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .place-search button {
    min-height: 3.25rem;
    grid-column: 1 / -1;
  }

  .places-archive-heading .button {
    width: 100%;
    justify-content: center;
  }
}

/* Technology cabinet */
.technology-page {
  background: var(--ink);
}

@media (min-width: 981px) {
  .main-navigation {
    gap: .8rem;
  }

  .main-navigation a {
    font-size: .67rem;
  }
}

.organization-hero::after {
  background: linear-gradient(90deg, rgba(6, 16, 26, .95) 0%, rgba(6, 16, 26, .74) 36%, rgba(6, 16, 26, .08) 72%);
}

.organization-hero-art {
  object-position: center;
}

.organization-feature-copy h3 {
  font-size: clamp(1.75rem, 2.75vw, 2.7rem);
}

@media (max-width: 720px) {
  .organization-hero-art {
    object-position: 65% center;
  }
}

@media (max-width: 520px) {
  .organization-archive-heading h2 {
    font-size: 2.45rem;
  }
}

/* The primary navigation now has four durable destinations. */
@media (min-width: 721px) {
  .main-navigation {
    gap: clamp(1.75rem, 4vw, 4rem);
  }

  .main-navigation a {
    font-size: .84rem;
    letter-spacing: .14em;
  }

  .brand {
    font-size: clamp(1.55rem, 3vw, 2.6rem);
  }
}

.technology-hero {
  position: relative;
  min-height: 54rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(185, 138, 69, .45);
  background: var(--ink);
}

.technology-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 16, 26, .93) 0%, rgba(6, 16, 26, .62) 38%, rgba(6, 16, 26, .12) 72%);
}

.technology-hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.technology-hero-copy {
  position: relative;
  z-index: 2;
  width: min(55rem, 62vw);
  margin: 5.5rem 0 0 var(--page-padding);
}

.technology-hero h1 {
  max-width: 58rem;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.2rem, 7.6vw, 8rem);
  font-weight: 400;
  letter-spacing: -.062em;
  line-height: .86;
  text-transform: uppercase;
}

.technology-hero-copy > p:not(.eyebrow) {
  max-width: 37rem;
  margin: 2rem 0;
  color: var(--bone-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.62;
}

.technology-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.technology-hero-facts {
  position: absolute;
  z-index: 3;
  right: var(--page-padding);
  bottom: 3.5rem;
  width: min(42rem, 48vw);
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(226, 189, 122, .42);
  border-left: 1px solid rgba(226, 189, 122, .42);
  background: rgba(6, 16, 26, .88);
}

.technology-hero-facts div {
  min-width: 0;
  padding: 1rem;
  border-right: 1px solid rgba(226, 189, 122, .42);
  border-bottom: 1px solid rgba(226, 189, 122, .42);
}

.technology-hero-facts dt {
  color: var(--gold-bright);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.technology-hero-facts dt i {
  margin-right: .25rem;
  font-size: 1rem;
  vertical-align: -.1em;
}

.technology-hero-facts dd {
  margin: .3rem 0 0;
  color: var(--bone-soft);
  font-family: var(--display);
  font-size: .82rem;
}

.technology-specimens {
  padding: 7rem var(--page-padding) 8rem;
  background: var(--bone);
  color: var(--ink);
}

.technology-specimens-heading,
.technology-archive-heading {
  margin-bottom: 2.8rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.technology-specimens-heading h2,
.technology-archive-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 5.8vw, 6.3rem);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .9;
  text-transform: uppercase;
}

.technology-specimen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(6, 16, 26, .3);
  border-left: 1px solid rgba(6, 16, 26, .3);
}

.technology-specimen {
  min-width: 0;
  border-right: 1px solid rgba(6, 16, 26, .3);
  border-bottom: 1px solid rgba(6, 16, 26, .3);
}

.technology-specimen > a {
  height: 100%;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
}

.technology-specimen-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--ink-raised);
}

.technology-specimen-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.technology-specimen > a:hover .technology-specimen-image img,
.technology-specimen > a:focus-visible .technology-specimen-image img {
  transform: scale(1.035);
}

.technology-specimen-image span {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: .4rem .55rem;
  background: rgba(6, 16, 26, .85);
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: .68rem;
}

.technology-specimen-copy {
  min-height: 17rem;
  padding: 1.6rem;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.technology-specimen-copy > i {
  margin-bottom: 1.5rem;
  color: #806035;
  font-size: 1.5rem;
}

.technology-specimen-copy small,
.technology-specimen-seal small,
.technology-entry-grid small {
  color: #765a31;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.technology-specimen-copy h3,
.technology-specimen-seal h3 {
  margin: .35rem 0 .8rem;
  font-family: var(--display);
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .95;
  text-transform: uppercase;
}

.technology-specimen-copy p,
.technology-specimen-seal p {
  margin: 0;
  color: #47463f;
  line-height: 1.55;
}

.technology-specimen-copy strong {
  margin-top: auto;
  padding-top: 1.5rem;
  color: #765a31;
  font-size: .67rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.technology-specimen-seal {
  min-height: 100%;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  background: rgba(6, 16, 26, .065);
  color: #68665f;
}

.technology-specimen-seal > span {
  color: #765a31;
  font-family: var(--display);
  font-size: .68rem;
}

.technology-specimen-seal > i {
  margin: auto 0 2rem;
  color: #77746b;
  font-size: 3rem;
}

.technology-archive {
  padding: 7rem var(--page-padding) 8rem;
  background: var(--ink-soft);
  color: var(--bone);
}

.technology-archive-heading > div {
  max-width: 62rem;
}

.technology-archive-heading > div > p:last-child {
  max-width: 42rem;
  margin: 1.25rem 0 0;
  color: var(--bone-soft);
  font-size: 1.08rem;
}

.technology-archive-heading .button-outline {
  flex: 0 0 auto;
  color: var(--bone);
}

.technology-filters {
  margin-bottom: 1rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid rgba(226, 189, 122, .35);
  border-left: 1px solid rgba(226, 189, 122, .35);
}

.technology-filters a {
  min-height: 4.5rem;
  padding: .8rem .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border-right: 1px solid rgba(226, 189, 122, .35);
  border-bottom: 1px solid rgba(226, 189, 122, .35);
  color: var(--bone-soft);
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.technology-filters a:hover,
.technology-filters a:focus-visible,
.technology-filters a.is-active {
  background: var(--gold);
  color: var(--ink);
}

.technology-filters a > span {
  color: var(--gold-bright);
  font-size: .64rem;
}

.technology-filters a:hover > span,
.technology-filters a:focus-visible > span,
.technology-filters a.is-active > span {
  color: var(--ink);
}

.technology-search {
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  border: 1px solid rgba(226, 189, 122, .4);
  background: var(--bone);
}

.technology-search > i {
  padding: 0 1rem;
  align-self: center;
  color: #765a31;
  font-size: 1.1rem;
}

.technology-search input {
  min-width: 0;
  padding: 1rem 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.technology-search button {
  min-width: 9rem;
  padding: 0 1.5rem;
  border: 0;
  background: var(--gold);
  color: var(--ink);
  cursor: pointer;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.technology-search button:hover,
.technology-search button:focus-visible {
  background: var(--gold-bright);
}

.technology-search-summary {
  margin: -.6rem 0 1.5rem;
  color: var(--bone-soft);
}

.technology-entry-grid {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(226, 189, 122, .28);
  border-left: 1px solid rgba(226, 189, 122, .28);
  list-style: none;
}

.technology-entry-grid > li {
  min-width: 0;
  border-right: 1px solid rgba(226, 189, 122, .28);
  border-bottom: 1px solid rgba(226, 189, 122, .28);
}

.technology-entry-grid > li > a {
  position: relative;
  min-height: 18rem;
  padding: 1.45rem;
  display: flex;
  flex-direction: column;
  color: var(--bone);
  text-decoration: none;
  transition: background-color .2s ease;
}

.technology-entry-grid > li > a:hover,
.technology-entry-grid > li > a:focus-visible {
  background: rgba(185, 138, 69, .11);
}

.technology-entry-number {
  position: absolute;
  top: 1.35rem;
  right: 1.35rem;
  color: rgba(226, 189, 122, .65);
  font-family: var(--display);
  font-size: .67rem;
}

.technology-entry-grid a > i {
  margin-bottom: 2rem;
  color: var(--gold-bright);
  font-size: 1.6rem;
}

.technology-entry-grid h3 {
  margin: .35rem 0 .8rem;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.3vw, 2.15rem);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1;
  text-transform: uppercase;
}

.technology-entry-grid p {
  margin: 0 0 1.2rem;
  color: var(--bone-soft);
  line-height: 1.5;
}

.technology-entry-grid a > strong {
  margin-top: auto;
  color: var(--gold-bright);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.technology-empty {
  min-height: 18rem;
  padding: 2rem;
  grid-column: 1 / -1;
  text-align: center;
}

.technology-empty > i {
  color: var(--gold-bright);
  font-size: 2rem;
}

@media (max-width: 850px) {
  .technology-hero-facts {
    right: var(--page-padding);
    left: var(--page-padding);
    width: auto;
  }

  .technology-specimen-grid,
  .technology-entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .technology-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .technology-hero {
    min-height: 48rem;
    align-items: flex-start;
  }

  .technology-hero-art {
    object-position: 62% center;
  }

  .technology-hero-copy {
    width: auto;
    margin: 8.5rem var(--page-padding) 0;
  }

  .technology-hero h1 {
    font-size: clamp(3.4rem, 15.5vw, 5.2rem);
  }

  .technology-hero-facts {
    bottom: 2rem;
  }

  .technology-specimens-heading,
  .technology-archive-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .technology-spoiler {
    width: 100%;
  }

  .technology-archive-heading .button {
    align-self: flex-start;
  }
}

@media (max-width: 520px) {
  .technology-hero {
    min-height: 49rem;
  }

  .technology-hero::after {
    background: rgba(6, 16, 26, .53);
  }

  .technology-hero-copy {
    margin-top: 7.8rem;
  }

  .technology-hero-copy > p:not(.eyebrow) {
    font-size: .95rem;
  }

  .technology-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: .9rem;
  }

  .technology-hero-facts {
    display: none;
  }

  .technology-specimens,
  .technology-archive {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .technology-specimen-grid,
  .technology-entry-grid,
  .technology-filters {
    grid-template-columns: 1fr;
  }

  .technology-specimen-seal {
    min-height: 22rem;
  }

  .technology-filters a {
    min-height: 3.6rem;
    justify-content: flex-start;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .technology-search {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .technology-search button {
    min-height: 3.25rem;
    grid-column: 1 / -1;
  }

  .technology-archive-heading .button {
    width: 100%;
    justify-content: center;
  }
}

/* Mundo de Ki: editorial gateway to the specialist sections. */
.world-hub-page {
  background: var(--bone);
  color: var(--ink);
}

.world-hub-hero {
  position: relative;
  min-height: min(58rem, 92vh);
  padding: 9rem var(--page-padding) 5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--bone);
}

.world-hub-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(6, 16, 26, .22);
  pointer-events: none;
}

.world-hub-hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.world-hub-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 49rem;
}

.world-hub-hero-copy h1 {
  max-width: 12ch;
  margin: .75rem 0 1.5rem;
  font-family: var(--display);
  font-size: clamp(3rem, 6.8vw, 6.75rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .9;
  text-transform: uppercase;
}

.world-hub-hero-copy > p:not(.eyebrow) {
  max-width: 40rem;
  margin: 0 0 2rem;
  color: var(--bone-soft);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.65;
}

.world-hub-facts {
  position: absolute;
  z-index: 2;
  right: var(--page-padding);
  bottom: 2.5rem;
  width: min(35rem, 48vw);
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(226, 189, 122, .4);
  background: rgba(6, 16, 26, .88);
}

.world-hub-facts div {
  padding: 1rem 1.2rem;
  border-right: 1px solid rgba(226, 189, 122, .25);
}

.world-hub-facts div:last-child {
  border-right: 0;
}

.world-hub-facts dt {
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: 1.35rem;
}

.world-hub-facts dd {
  margin: .15rem 0 0;
  color: var(--bone-soft);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.world-hub-routes,
.world-hub-files {
  padding: 7.5rem var(--page-padding);
}

.world-hub-heading {
  margin-bottom: 3.5rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
}

.world-hub-heading h2,
.world-hub-kipedia h2,
.world-hub-files h2 {
  margin: .7rem 0 1rem;
  font-family: var(--display);
  font-size: clamp(2.8rem, 5.7vw, 6rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .9;
  text-transform: uppercase;
}

.world-hub-heading > div > p:last-child,
.world-hub-files-intro > p:last-child {
  max-width: 34rem;
  margin: 0;
  color: #52606a;
  font-size: 1.05rem;
}

.world-hub-spoiler {
  width: min(23rem, 100%);
  flex: 0 0 auto;
}

.world-hub-spoiler small {
  display: block;
  margin-top: .55rem;
  color: #617078;
  font-size: .76rem;
}

.world-route-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1px;
  background: rgba(6, 16, 26, .35);
  border: 1px solid rgba(6, 16, 26, .35);
}

.world-route-card {
  position: relative;
  min-height: 31rem;
  overflow: hidden;
  background: var(--ink);
  color: var(--bone);
}

.world-route-card--atlas {
  min-height: 42rem;
  grid-column: span 7;
}

.world-route-card--peoples {
  min-height: 42rem;
  grid-column: span 5;
}

.world-route-card--history,
.world-route-card--bestiary {
  grid-column: span 6;
}

.world-route-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .58;
  transition: opacity .35s ease, transform .55s ease;
}

.world-route-card--atlas > img {
  object-position: center;
}

.world-route-card--peoples > img {
  object-position: center 34%;
}

.world-route-card:hover > img {
  opacity: .72;
  transform: scale(1.025);
}

.world-route-copy {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 5rem clamp(1.5rem, 3vw, 3rem) 2.4rem;
  background: rgba(6, 16, 26, .82);
}

.world-route-index {
  color: var(--gold-bright);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.world-route-copy h3 {
  margin: .55rem 0 .7rem;
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .96;
  text-transform: uppercase;
}

.world-route-copy p {
  max-width: 38rem;
  margin: 0 0 1.3rem;
  color: var(--bone-soft);
}

.world-route-copy a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--gold-bright);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}

.world-route-copy a:hover,
.world-route-copy a:focus-visible {
  color: #fff0c9;
}

.world-route-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.world-route-actions a + a {
  color: var(--bone-soft);
}

.world-hub-kipedia {
  padding: 7.5rem var(--page-padding);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .65fr);
  align-items: end;
  gap: clamp(3rem, 9vw, 9rem);
  background: var(--ink-soft);
  color: var(--bone);
}

.world-hub-kipedia h2 {
  max-width: 17ch;
}

.world-hub-kipedia > div:last-child p {
  margin: 0 0 1.8rem;
  color: var(--bone-soft);
  font-size: 1.08rem;
  line-height: 1.65;
}

.world-hub-files {
  display: grid;
  grid-template-columns: minmax(17rem, .75fr) minmax(24rem, 1.25fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.world-hub-files h2 {
  font-size: clamp(2.5rem, 4.5vw, 4.8rem);
}

.world-file-links {
  border-top: 1px solid rgba(6, 16, 26, .35);
}

.world-file-links > a {
  min-height: 8.5rem;
  padding: 1.7rem 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.35rem;
  border-bottom: 1px solid rgba(6, 16, 26, .35);
  text-decoration: none;
}

.world-file-links > a > i:first-child {
  color: var(--gold);
  font-size: 2rem;
}

.world-file-links > a > i:last-child {
  font-size: 1.35rem;
  transition: transform .2s ease;
}

.world-file-links > a:hover > i:last-child,
.world-file-links > a:focus-visible > i:last-child {
  transform: translate(.2rem, -.2rem);
}

.world-file-links small,
.world-file-links strong {
  display: block;
}

.world-file-links small {
  margin-bottom: .35rem;
  color: #69757b;
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.world-file-links strong {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 2.15rem);
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .world-hub-hero {
    min-height: 49rem;
  }

  .world-hub-hero-art {
    object-position: 64% center;
  }

  .world-hub-hero-copy {
    max-width: 37rem;
  }

  .world-hub-facts {
    right: var(--page-padding);
    left: var(--page-padding);
    width: auto;
  }

  .world-hub-heading,
  .world-hub-files {
    grid-template-columns: 1fr;
  }

  .world-hub-heading {
    align-items: start;
    flex-direction: column;
  }

  .world-hub-files {
    display: grid;
    gap: 3rem;
  }

  .world-route-card--atlas,
  .world-route-card--peoples,
  .world-route-card--history,
  .world-route-card--bestiary {
    min-height: 34rem;
    grid-column: span 6;
  }

  .world-hub-kipedia {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 2rem;
  }

  .world-hub-kipedia > div:last-child {
    max-width: 38rem;
  }
}

@media (max-width: 720px) {
  .world-hub-hero {
    min-height: 43rem;
    padding-top: 7rem;
    align-items: flex-start;
  }

  .world-hub-hero::after {
    background: rgba(6, 16, 26, .55);
  }

  .world-hub-hero-copy h1 {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

  .world-hub-hero-copy > p:not(.eyebrow) {
    font-size: .95rem;
  }

  .world-hub-facts {
    bottom: 1.25rem;
  }

  .world-hub-facts div {
    padding: .8rem .65rem;
  }

  .world-hub-facts dt {
    font-size: 1.05rem;
  }

  .world-hub-facts dd {
    font-size: .54rem;
    letter-spacing: .08em;
  }

  .world-hub-routes,
  .world-hub-files,
  .world-hub-kipedia {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .world-hub-heading h2,
  .world-hub-kipedia h2 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .world-route-card--atlas,
  .world-route-card--peoples,
  .world-route-card--history,
  .world-route-card--bestiary {
    min-height: 31rem;
    grid-column: 1 / -1;
  }

  .world-route-copy {
    padding-right: 1.3rem;
    padding-left: 1.3rem;
  }

  .world-route-copy h3 {
    font-size: 2.25rem;
  }

  .world-route-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: .8rem;
  }

  .world-hub-files {
    grid-template-columns: 1fr;
  }

  .world-file-links > a {
    min-height: 7rem;
  }
}

/* Organization-specific overrides must follow the shared technology cabinet. */
.organization-hero::after {
  background: linear-gradient(90deg, rgba(6, 16, 26, .95) 0%, rgba(6, 16, 26, .74) 36%, rgba(6, 16, 26, .08) 72%);
}

.organization-hero-art {
  object-position: center;
}

.organization-feature-copy h3 {
  font-size: clamp(1.75rem, 2.75vw, 2.7rem);
}

@media (max-width: 720px) {
  .organization-hero-art {
    object-position: 65% center;
  }
}

@media (max-width: 520px) {
  .organization-archive-heading h2 {
    font-size: 2.45rem;
  }
}
