@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Space+Mono:wght@400;700&display=swap");

:root {
  --paper: #f5f4f0;
  --ink: #11110f;
  --line: rgba(17, 17, 15, 0.2);
  --dark: #0b0c0b;
  --muted: #777873;
  --mono: "Space Mono", monospace;
  --sans: "DM Sans", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
.hero {
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #f8f7f3;
  background: #4c4b47;
}
.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-video {
  object-fit: cover;
  z-index: -2;
  filter: grayscale(1) contrast(0.88);
  opacity: 1;
  transition: opacity 0.3s ease;
}
.hero-shade {
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(10, 10, 9, 0.72),
      rgba(10, 10, 9, 0.17) 65%,
      rgba(10, 10, 9, 0.33)
    ),
    linear-gradient(0deg, rgba(10, 10, 9, 0.48), transparent 50%);
}
.site-header {
  position: relative;
  z-index: 5;
  padding: 25px 4.3vw 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: clamp(3.3rem, 8.5vw, 8.5rem);
  font-weight: 600;
  letter-spacing: -0.1em;
  line-height: 0.7;
}
.desktop-nav {
  display: flex;
  gap: 2.2rem;
  font: 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-right: 4rem;
}
.desktop-nav a,
.mobile-nav a {
  transition: opacity 0.25s;
}
.desktop-nav a:hover,
.mobile-nav a:hover {
  opacity: 0.55;
}
.menu-toggle {
  position: absolute;
  right: 4.3vw;
  top: 25px;
  width: 28px;
  height: 28px;
  background: none;
  border: 0;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  height: 1px;
  width: 100%;
  background: currentColor;
  transition:
    transform 0.35s,
    width 0.35s;
}
.menu-toggle.open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.menu-toggle.open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}
.mobile-nav {
  display: none;
}
.hero-meta {
  position: relative;
  z-index: 2;
  margin: 6.8rem 4.3vw 0;
  display: grid;
  grid-template-columns: 1fr 28px 2.8fr 28px 1fr;
  align-items: start;
  gap: 1.3rem;
  font: 10px/1.6 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.museum-mark {
  display: flex;
  flex-direction: column;
}
.meta-arrow {
  color: #a8a7a0;
  font-size: 18px;
  line-height: 1;
}
.mission {
  margin: 0;
  max-width: 400px;
  color: #edebe5;
}
.edition {
  margin: 0;
  color: #c5c3bb;
}
.hero-content {
  position: relative;
  z-index: 2;
  margin: clamp(5.5rem, 12vh, 9rem) 4.3vw 6rem;
  max-width: 510px;
}
.eyebrow,
.section-label {
  display: flex;
  align-items: center;
  gap: 13px;
  font: 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.eyebrow i {
  width: 58px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.hero h1 {
  font-size: clamp(4.7rem, 9.8vw, 10rem);
  line-height: 0.81;
  letter-spacing: -0.075em;
  font-weight: 400;
  margin: 1.25rem 0;
}
.hero h1 em {
  font-style: normal;
  color: #c5c1b7;
}
.hero-copy {
  max-width: 255px;
  font-size: 13px;
  line-height: 1.65;
  color: #dedbd2;
  margin: 0 0 2.2rem;
}
.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 13px 16px 13px 20px;
  font: 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.3s;
}
.primary-button b {
  font-size: 18px;
  font-weight: 400;
  line-height: 0;
}
.primary-button:hover {
  background: #f5f4f0;
  color: #111;
  transform: translateY(-2px);
}
.specimen {
  position: absolute;
  right: 4.3vw;
  bottom: 8.5rem;
  width: 180px;
  z-index: 2;
}
.specimen-label,
.specimen-date {
  font: 10px/1.55 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #bbb9b1;
}
.specimen-label {
  margin: 0 0 1.5rem;
}
.specimen h2 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 0.7rem;
}
.specimen-date {
  margin: 0 0 1.5rem;
  color: #c4c1b8;
}
.specimen-stats {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
}
.specimen-stats span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.specimen-stats b {
  font: 9px var(--mono);
  text-transform: uppercase;
  color: #a9a79f;
}
.specimen-stats strong {
  font-size: 13px;
  font-weight: 500;
}
.details-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 1.4rem;
  font: 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.details-link b {
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  font-size: 18px;
  font-weight: 400;
  transition: 0.3s;
}
.details-link:hover b {
  background: #fff;
  color: #111;
}
.scroll-note {
  position: absolute;
  bottom: 2.5rem;
  left: 4.3vw;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #cbc9c1;
  font: 10px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-icon {
  height: 42px;
  width: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.scroll-icon i {
  display: block;
  width: 1px;
  height: 12px;
  background: #d0cec6;
}
.world {
  position: relative;
  min-height: 93vh;
  padding: 8rem 4.3vw 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--paper);
}
.section-label {
  align-self: flex-start;
  margin-bottom: 4.5rem;
  color: #1b1b19;
}
.section-label span {
  color: #85857f;
}
.section-label b {
  font-weight: 700;
}
.world-title {
  max-width: 1000px;
  text-align: center;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.065em;
  font-weight: 500;
  margin: 0 auto;
}
.topic-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 4.2rem auto 0;
}
.topic-list a,
.tag-list span {
  border: 1px solid #bfc0bb;
  border-radius: 999px;
  padding: 11px 17px;
  font: 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: 0.3s;
}
.topic-list a span {
  font-size: 16px;
  line-height: 0;
  vertical-align: -2px;
  margin-right: 4px;
}
.topic-list a:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}
.world-footer {
  position: absolute;
  bottom: 2.5rem;
  left: 4.3vw;
  right: 4.3vw;
  display: flex;
  justify-content: space-between;
  font: 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #797a74;
}
.collection {
  position: relative;
  background: var(--dark);
  color: #f4f2ec;
  overflow: hidden;
}
.winged-fossil {
  height: 0;
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 0;
  transform: translate(-50%, -48%);
  width: min(1100px, 90vw);
  opacity: 0.8;
}
.winged-fossil img {
  width: 100%;
  filter: grayscale(1) contrast(1.15);
  mix-blend-mode: screen;
}
.collection-heading {
  position: relative;
  z-index: 1;
  padding: 12rem 4.3vw 5rem;
  display: flex;
  justify-content: space-between;
  gap: 3rem;
}
.section-label.light {
  color: #eeeae2;
  margin: 0 0 2rem;
}
.section-label.light span {
  color: #777870;
}
.collection-heading h2 {
  font-size: clamp(2.8rem, 5.7vw, 6.5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.07em;
  margin: 0;
}
.orbital-icons {
  display: inline-flex;
  gap: 6px;
  vertical-align: middle;
  transform: translateY(-5px);
  margin: 0 8px;
}
.orbital-icons i {
  font-style: normal;
  width: 43px;
  height: 43px;
  border: 1px solid #61635f;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #8d8e88;
  font-size: 20px;
}
.collection-intro {
  width: 240px;
  flex-shrink: 0;
  padding-top: 3.4rem;
}
.collection-intro p {
  font: 10px/1.6 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #a6a69f;
  margin: 0 0 1.5rem;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.tag-list span {
  font-size: 9px;
  padding: 9px 12px;
  border-color: #50524e;
  color: #c0c0b9;
}
.collection-panels {
  position: relative;
  z-index: 1;
  border-top: 1px solid #30322f;
  display: grid;
  grid-template-columns: 35% 65%;
}
.image-panel {
  min-height: 520px;
  border-right: 1px solid #30322f;
  position: relative;
  padding: 2rem 4.3vw;
}
.asterisks {
  color: #777870;
  letter-spacing: 0.4em;
}
.chapter-art {
  position: absolute;
  inset: 12% 7% 16%;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.chapter-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1) contrast(1.15);
  transition:
    opacity 0.25s,
    transform 0.8s;
  animation: floatIn 0.8s ease both;
}
.chapter-art img.changing {
  opacity: 0;
  transform: translateY(25px) scale(0.96);
}
@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(35px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.chapter-count {
  position: absolute;
  bottom: 2rem;
  left: 4.3vw;
  font: 11px var(--mono);
  color: #747670;
}
.chapter-count strong {
  color: #ddd9d0;
  font-weight: 400;
}
.chapter-panel {
  min-width: 0;
}
.chapter-top {
  height: 74px;
  padding: 0 4.3vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #30322f;
  font: 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #868781;
}
.chapter-top b {
  font-weight: 400;
  color: #e3e0d7;
}
.chapter {
  width: 100%;
  display: grid;
  grid-template-columns: 42px 1fr 35px;
  align-items: center;
  text-align: left;
  padding: 28px 4.3vw;
  border: 0;
  border-bottom: 1px solid #252724;
  background: none;
  color: #454843;
  cursor: pointer;
  transition: 0.35s;
}
.chapter:hover,
.chapter.active {
  color: #efede6;
}
.chapter > span {
  font: 10px var(--mono);
  color: #747670;
}
.chapter strong {
  font-size: clamp(1.4rem, 2.5vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.05em;
}
.chapter i {
  font-style: normal;
  text-align: right;
  font-size: 24px;
  color: #a8a9a1;
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: 0.35s;
}
.chapter.active i {
  opacity: 1;
  transform: none;
}
.collection-footer {
  border-top: 1px solid #30322f;
  padding: 25px 4.3vw;
  font: 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #777870;
  display: flex;
  justify-content: space-between;
}
.reveal {
  animation: rise 1.1s 0.15s both;
}
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.9s,
    transform 0.9s;
}
.reveal-on-scroll.visible {
  opacity: 1;
  transform: none;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 800px) {
  .site-header {
    padding: 22px 6vw 0;
  }
  .logo {
    font-size: 4.8rem;
  }
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
    right: 6vw;
    top: 26px;
  }
  .mobile-nav {
    position: absolute;
    z-index: 4;
    top: 86px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem 6vw 1.8rem;
    background: rgba(15, 15, 14, 0.97);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font: 11px var(--mono);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: 0.35s;
  }
  .mobile-nav.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .hero-meta {
    margin: 4.7rem 6vw 0;
    display: block;
  }
  .meta-arrow,
  .edition {
    display: none;
  }
  .mission {
    margin-top: 1.2rem;
    max-width: 270px;
  }
  .hero-content {
    margin: 6rem 6vw 7rem;
  }
  .hero h1 {
    font-size: clamp(4.3rem, 18vw, 7rem);
  }
  .hero-copy {
    font-size: 12px;
  }
  .specimen {
    display: none;
  }
  .scroll-note {
    left: 6vw;
    bottom: 2rem;
  }
  .world {
    min-height: 78vh;
    padding: 6rem 6vw 5rem;
  }
  .section-label {
    margin-bottom: 3.2rem;
  }
  .world-title {
    font-size: clamp(2rem, 9.5vw, 4rem);
    text-align: left;
    margin: 0;
  }
  .desktop-only {
    display: none;
  }
  .topic-list {
    justify-content: flex-start;
    margin-top: 3rem;
  }
  .topic-list a {
    padding: 10px 13px;
  }
  .world-footer {
    display: none;
  }
  .collection-heading {
    padding: 9rem 6vw 4rem;
    display: block;
  }
  .collection-heading h2 {
    font-size: clamp(2.7rem, 12vw, 5rem);
  }
  .collection-intro {
    padding-top: 3rem;
    width: auto;
  }
  .collection-panels {
    display: block;
  }
  .image-panel {
    min-height: 390px;
    border-right: 0;
    border-bottom: 1px solid #30322f;
  }
  .chapter-art {
    inset: 11% 8% 15%;
  }
  .chapter-count {
    left: 6vw;
  }
  .chapter-top {
    height: auto;
    min-height: 78px;
    padding: 20px 6vw;
    gap: 20px;
    align-items: flex-start;
    flex-direction: column;
  }
  .chapter {
    grid-template-columns: 33px 1fr 28px;
    padding: 23px 6vw;
  }
  .chapter strong {
    font-size: 1.45rem;
  }
  .collection-footer {
    padding: 22px 6vw;
    display: block;
  }
  .collection-footer span {
    display: block;
    margin-top: 8px;
  }
  .winged-fossil {
    width: 150vw;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Shared layout for the linked editorial pages. */
.inner-page {
  min-height: 100vh;
  background: var(--paper);
}
.inner-header {
  padding: 28px 4.3vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.inner-logo {
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 600;
  letter-spacing: -0.1em;
  line-height: 0.7;
}
.inner-header nav {
  display: flex;
  gap: 2rem;
  font: 10px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.inner-header nav a:hover {
  opacity: 0.55;
}
.info-page,
.chapter-detail {
  padding: 7rem 8.5vw 8rem;
}
.info-page .section-label {
  margin-bottom: 3.2rem;
}
.info-page h1,
.chapter-detail h1 {
  max-width: 950px;
  font-size: clamp(3.6rem, 8vw, 9rem);
  line-height: 0.88;
  letter-spacing: -0.08em;
  font-weight: 400;
  margin: 0;
}
.lede {
  max-width: 600px;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  line-height: 1.45;
  margin: 3rem 0 5rem;
}
.info-columns {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 3rem;
}
.info-columns > div {
  padding: 2rem 2rem 2rem 0;
  border-right: 1px solid var(--line);
}
.info-columns > div:not(:first-child) {
  padding-left: 2rem;
}
.info-columns > div:last-child {
  border: 0;
}
.info-columns h2,
.fact-grid h2,
.learn-notes h2 {
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 1rem;
}
.info-columns p,
.fact-grid p,
.learn-notes p {
  font: 13px/1.7 var(--mono);
  color: #666760;
  margin: 0;
}
.dark-button {
  border-color: #111;
  color: #111;
  margin-top: 1rem;
}
.dark-button:hover {
  background: #111;
  color: #fff;
}
.exhibition-list {
  border-top: 1px solid var(--line);
}
.exhibition-list a {
  display: block;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.35s;
}
.exhibition-list a:hover {
  padding-left: 1rem;
}
.exhibition-list span,
.fact-grid > article > span,
.learn-notes span {
  font: 10px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #777870;
}
.exhibition-list h2 {
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  margin: 0.7rem 0;
}
.exhibition-list h2 b {
  font-size: 0.65em;
  font-weight: 400;
}
.exhibition-list p {
  font: 13px var(--mono);
  color: #777870;
  margin: 0;
}
.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--line);
  margin-bottom: 3rem;
}
.fact-grid article {
  min-height: 220px;
  padding: 1.7rem 1.7rem 1.7rem 0;
  border-right: 1px solid var(--line);
}
.fact-grid article:last-child {
  border: 0;
}
.fact-grid h2,
.learn-notes h2 {
  font-size: clamp(1.6rem, 3vw, 3rem);
  font-family: var(--sans);
  letter-spacing: -0.05em;
  margin: 3rem 0 1rem;
}
.learn-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.learn-notes article {
  padding-right: 2rem;
}
.sources {
  font: 10px/1.8 var(--mono);
  color: #777870;
  margin-top: 4rem;
}
.sources a {
  text-decoration: underline;
}
.manifesto {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 3rem 0;
  margin: 4rem 0;
  max-width: 720px;
}
.manifesto p {
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.06em;
  margin: 0;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: center;
}
.back-link {
  display: inline-block;
  font: 10px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6rem;
}
.back-link:hover {
  text-decoration: underline;
}
.detail-period {
  font: 11px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #777870;
  margin: 2rem 0;
}
.detail-copy {
  max-width: 480px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #595a55;
  margin: 0 0 2rem;
}
.detail-figure {
  margin: 0;
  background: #dedbd4;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.detail-figure img {
  width: 100%;
  height: 440px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.1);
}
.detail-figure figcaption {
  padding: 1.2rem 1.5rem;
  font: 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666760;
}
@media (max-width: 800px) {
  .inner-header {
    padding: 24px 6vw;
  }
  .inner-header nav {
    gap: 0.8rem;
    font-size: 8px;
  }
  .info-page,
  .chapter-detail {
    padding: 5rem 6vw 6rem;
  }
  .info-page h1,
  .chapter-detail h1 {
    font-size: clamp(3.2rem, 15vw, 6rem);
  }
  .lede {
    margin: 2rem 0 3rem;
  }
  .info-columns,
  .fact-grid,
  .learn-notes,
  .detail-grid {
    display: block;
  }
  .info-columns > div,
  .info-columns > div:not(:first-child) {
    padding: 1.5rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .fact-grid article {
    min-height: 0;
    padding: 1.5rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .learn-notes article {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--line);
  }
  .learn-notes h2,
  .fact-grid h2 {
    margin: 1.5rem 0 0.8rem;
  }
  .back-link {
    margin-bottom: 3.5rem;
  }
  .detail-grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 3rem;
    align-items: stretch;
  }
  .detail-figure {
    min-height: 320px;
  }
  .detail-figure img {
    height: 280px;
  }
}
