:root {
  --background: #090a0d;
  --cream: #f4e6ce;
  --gold: #c9a77c;
  --copy: #d5cec2;
  --muted: #a19581;
  --line: rgba(201, 167, 124, 0.32);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: Manrope, Arial, sans-serif;
  --gutter: clamp(24px, 4.22vw, 72px);
  --rail: min(1172px, calc(100% - 2 * var(--gutter)));
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--cream);
  font: 400 1rem/1.45 var(--sans);
}
h1,
h2,
h3,
p,
figure,
ul,
dl,
dd {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
h1,
h2,
h3 {
  font: 500 2rem/1.05 var(--serif);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
select {
  font: inherit;
  color: inherit;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid #f3d7a6;
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
img {
  display: block;
  max-width: 100%;
}
.container {
  width: var(--rail);
  margin-inline: auto;
}
.sr-only,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  color: #14100b;
  background: var(--gold);
  padding: 12px;
}
.eyebrow {
  color: #c7aa80;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  min-width: 218px;
  max-width: 100%;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #c6a47f;
  color: #0a0a09;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-align: center;
  text-transform: uppercase;
  transition:
    background-color 180ms ease-out,
    box-shadow 180ms ease-out,
    translate 180ms ease-out;
}
.button:is(:hover, :focus-visible) {
  background: #e3c9a6;
  box-shadow: 0 5px 22px #100c09a8;
  translate: 0 -2px;
}
.button.sentence-case {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.875rem;
}
.site-header {
  position: absolute;
  z-index: 5;
  top: 47px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.desktop-nav {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 471px;
  padding: 4px;
  color: #f3ece4;
  background: #211d1a8f;
  border: 1px solid #e4c39d26;
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 36px #0004;
  pointer-events: auto;
}
.nav-pill {
  position: absolute;
  z-index: -1;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / 4);
  border-radius: inherit;
  background: #d2c7bb;
  transform: translateX(var(--nav-position));
  transition: transform 0.32s cubic-bezier(0.22, 0.77, 0.26, 1);
}
.nav-slot {
  position: relative;
  min-width: 0;
}
.nav-slot > a {
  display: grid;
  place-items: center;
  min-height: 39px;
  border-radius: 999px;
  font:
    400 0.75rem 'Frank Ruhl Libre',
    Georgia,
    serif;
  transition: color 0.16s;
}
.nav-slot.under-pill {
  color: #10100f;
}
.nav-slot:has(.specimen-nav-trigger) > a {
  padding-right: 17px;
}
.chevron {
  display: inline-block;
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}
.specimen-nav-trigger {
  position: absolute;
  top: 0;
  right: 5px;
  height: 100%;
  width: 32px;
  display: grid;
  place-content: center;
  background: transparent;
  border: 0;
}
.specimen-nav-trigger[aria-expanded='true'] .chevron {
  transform: rotate(225deg);
}
.specimen-nav {
  position: absolute;
  left: 51%;
  top: calc(100% + 8px);
  min-width: 190px;
  padding: 6px;
  border: 1px solid #d2ab764f;
  border-radius: 13px;
  background: #181815f2;
  box-shadow: 0 18px 36px #0008;
  backdrop-filter: blur(20px) saturate(0.8);
  animation: reveal-nav 0.18s ease-out both;
}
@supports (backdrop-filter: blur(20px)) {
  .specimen-nav {
    background: #211e1bcf;
  }
}
.specimen-nav a {
  display: block;
  padding: 9px 12px;
  border-radius: 7px;
  color: #f3ece4;
  font-size: 0.82rem;
}
.specimen-nav a:is(:hover, :focus-visible, [aria-current]) {
  background: #d2ab7628;
  color: #f7d9af;
}
@keyframes reveal-nav {
  from {
    opacity: 0;
    translate: 0 -6px;
  }
}
.icon-button {
  border: 0;
  padding: 0;
  background: transparent;
  display: grid;
  place-items: center;
}
.mobile-trigger {
  display: none;
}
.mobile-menu {
  position: fixed;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  padding: max(28px, env(safe-area-inset-top)) clamp(24px, 8vw, 62px) 32px;
  color: var(--cream);
  border: 0;
  overflow: auto;
  pointer-events: auto;
  background:
    linear-gradient(139deg, #111414f5, #090a0bf7 77%),
    url('assets/55e4b.jpg') center / cover;
}
body:has(.mobile-menu[open]) {
  overflow: hidden;
}
.mobile-menu[open] {
  animation: menu-slide 0.28s cubic-bezier(0.22, 0.77, 0.26, 1) both;
}
.mobile-menu::backdrop {
  background: #000a;
}
.menu-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: clamp(27px, 8vh, 68px);
}
.menu-title .museum-logo {
  margin: 0;
  font-size: 1.18rem;
}
.menu-close,
.ar-close {
  width: 44px;
  height: 44px;
  border: 1px solid #d2ab7647;
  border-radius: 50%;
}
.mobile-menu nav {
  max-width: 720px;
  margin-inline: auto;
}
.mobile-menu nav > a,
.mobile-menu summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #d2ab7640;
  font: 500 clamp(2rem, 7vw, 3.25rem)/1.1 var(--serif);
}
.mobile-menu summary {
  cursor: pointer;
  list-style: none;
}
.mobile-menu summary::-webkit-details-marker {
  display: none;
}
.mobile-menu details ul {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 14px;
}
.mobile-menu details a {
  display: block;
  padding-block: 9px;
}
.mobile-menu nav a[aria-current] {
  color: var(--gold);
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: #090a0d;
}
.hero-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}
.hero-copy {
  position: relative;
  margin-inline: auto;
  width: min(1048px, calc(100% - 2 * clamp(24px, 9.06vw, 116px)));
  animation: hero-in 0.32s ease-in-out both;
}
.hero-kicker {
  color: #b09d79;
  font-size: 1.125rem;
  line-height: 1.45;
}
.hero h1 {
  font-size: clamp(2.75rem, 5.47vw, 4.375rem);
  font-weight: 600;
  line-height: 1.2;
}
.hero-description {
  color: #c7c5b7;
  max-width: 438px;
}
.home-hero {
  height: var(--hero-height);
  display: flex;
  align-items: flex-start;
}
.home-hero::after {
  background: linear-gradient(0deg, #090a0d 1%, #090a0d00 23%);
}
.home-hero .hero-copy {
  padding-top: clamp(180px, 19.3vw, 270px);
}
.home-hero h1 {
  color: #c1a78d;
}
.home-hero .hero-description {
  margin-top: 1px;
}
.home-hero .button {
  margin-top: 36px;
  min-height: 58px;
}

[data-view='home'] {
  --hero-height: clamp(590px, 60.16vw, 850px);
}
[data-view='exhibition'] {
  --hero-height: clamp(590px, 59.375vw, 850px);
}
[data-view='specimen'] {
  --hero-height: clamp(520px, 53.1vw, 790px);
}
body[data-view] {
  position: relative;
  isolation: isolate;
}
body[data-view]::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: var(--hero-height) 0 0;
  background:
    linear-gradient(#090a0d 0%, #090a0dc2 10%, #090a0dc2 75%, #090a0d 100%),
    url('assets/55e4b.jpg') center / cover;
}
.collection {
  padding-top: 56px;
}
.collection h2 {
  margin: 9px 0 3px;
  font-size: clamp(2.25rem, 3.83vw, 3.0625rem);
  font-weight: 400;
}
.collection header > p:last-child {
  color: #c7c5b7;
  font-size: 0.875rem;
}
.world-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 9px;
}
.world-card {
  --accent: #d4c5a2;
  --wash: #101411;
  isolation: isolate;
  position: relative;
  min-height: 280px;
  aspect-ratio: 381 / 398;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  border-radius: 4px;
  background: var(--wash);
  transition:
    border 0.18s ease-out,
    translate 0.18s ease-out;
}
.world-card.water {
  --accent: #9ad7e1;
  --wash: #092326;
}
.world-card.ice {
  --accent: #d0e2e7;
  --wash: #111a21;
}
.world-card::after {
  content: '';
  z-index: -1;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--wash) 12%, transparent),
    color-mix(in srgb, var(--wash) 86%, transparent)
  );
}
.card-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.65s ease-out;
}
.world-card:hover {
  border-color: var(--accent);
  translate: 0 -3px;
}
.world-card:hover .card-art,
.exhibit-art:hover img,
.related-card:hover img {
  scale: 1.045;
}
.world-count {
  position: absolute;
  top: 23px;
  left: 18px;
  color: var(--accent);
}
.world-caption {
  position: absolute;
  inset: auto 16px 16px;
  min-height: 91px;
  border-top: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
  padding: 10px 34px 0 0;
}
.world-caption h3 {
  font-size: clamp(1.65rem, 2.74vw, 2.1875rem);
  font-weight: 400;
  text-transform: uppercase;
}
.world-caption p {
  font-size: 0.75rem;
  margin-top: 8px;
}
.world-arrow {
  position: absolute;
  bottom: 2px;
  right: 0;
  transition: translate 0.18s ease-out;
}
.world-card:hover .world-arrow {
  translate: 3px 0;
}
.museum-about {
  display: grid;
  grid-template-columns: minmax(0, 0.91fr) minmax(0, 1fr);
  gap: 47px;
  padding: 90px 0 82px;
}
.fossil-archive,
.anatomy-art {
  position: relative;
  overflow: hidden;
  border: 1px solid #d2ab7645;
  border-radius: 4px;
  background: #171410;
}
.fossil-archive {
  aspect-ratio: 535 / 335;
}
.fossil-archive img,
.anatomy-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fossil-archive::after {
  content: '';
  position: absolute;
  inset: 63% 0 0;
  background: linear-gradient(transparent, #0e0e0de6);
}
.fossil-archive figcaption {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 18px;
}
.about-copy h2 {
  font-size: clamp(2.2rem, 3.6vw, 2.875rem);
  font-weight: 400;
  margin: 11px 0 18px;
}
.about-copy p:not(.eyebrow) {
  color: #c7c5b7;
  max-width: 550px;
}
.about-copy p + p {
  margin: clamp(18px, 3vw, 42px) 0 20px;
  font-size: 0.9375rem;
}
.site-footer {
  background: #080a0a;
  color: var(--muted);
}
body[data-view] .site-footer {
  background: transparent;
}
.footer-inner {
  width: min(1034px, var(--rail));
  margin: auto;
  padding-top: 39px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.18fr 1.12fr 0.58fr;
  gap: 26px;
  min-height: 312px;
}
.footer-brand {
  padding-top: 12px;
}
.museum-logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 55px;
  color: var(--gold);
  font: 700 1.5625rem/0.88 var(--serif);
}
.museum-logo img {
  flex: none;
}
.footer-grid h2 {
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 600;
}
.footer-brand h2 {
  color: var(--muted);
  font-size: 1.5625rem;
  margin: 6px 0 10px;
  line-height: 1.07;
}
.footer-label,
.footer-bottom {
  font-family: Montserrat, var(--sans);
  font-size: 0.625rem;
}
.footer-label {
  color: #c09e71;
  font-weight: 500;
}
.footer-grid p:not(.footer-label),
.footer-grid li {
  font-weight: 300;
  font-size: 0.9375rem;
  color: var(--muted);
}
.footer-about > p {
  margin-top: 7px;
  max-width: 367px;
}
.footer-about section {
  margin-top: 37px;
}
.footer-explore {
  padding-top: 66px;
}
.footer-grid ul {
  margin-top: 9px;
  display: grid;
  gap: 8px;
}
.footer-grid a:hover,
.footer-bottom a:hover {
  color: var(--cream);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0 22px;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
}
.footer-bottom small {
  font-size: inherit;
}

.exhibition-hero {
  height: var(--hero-height);
}
.exhibition-hero::after {
  background:
    linear-gradient(0deg, var(--background), transparent 36%),
    linear-gradient(90deg, #0d0f0eea, #17130d26);
}
.exhibition-hero .hero-copy {
  padding-top: clamp(225px, 22.18vw, 314px);
}
.exhibition-hero .hero-kicker {
  font-size: 1rem;
  color: #c8ab87;
}
.exhibition-hero h1 {
  margin: 12px 0 12px;
  color: #e9ddc9;
  font-size: clamp(3.3rem, 5.63vw, 4.5rem);
}
.exhibition-hero .hero-description {
  font-size: 1.125rem;
  color: var(--copy);
}
.exhibit-strip {
  --subtitle: #c8ab87;
  min-height: min(76.56vw, 980px);
  display: grid;
  align-items: start;
  padding: 32px 0 66px;
}
.exhibit-mosasaurus {
  --subtitle: #a5d4da;
}
.exhibit-mammoth {
  --subtitle: #d2e4e8;
}
.exhibit-card {
  display: grid;
  grid-template-columns: 1.34fr 1fr;
  column-gap: 25px;
  row-gap: 28px;
}
.exhibit-art {
  position: relative;
  isolation: isolate;
  grid-column: 1 / -1;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1172 / 640;
  background: #0e1110;
}
.exhibit-art::before {
  position: absolute;
  content: '';
  z-index: -1;
  inset: -38px;
  background:
    linear-gradient(#081010a8, #0a0b0bd1),
    var(--exhibit-image) center / cover;
  filter: blur(32px);
}
/* The source exports have a bright row at the bottom of the artwork. */
.exhibit-art img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  clip-path: inset(0 0 1px 0);
  translate: var(--art-shift, -6%) 0;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 10%,
    #000 92%,
    transparent
  );
  transition: scale 0.65s ease-out;
}
.exhibit-tyrannosaurus {
  --art-shift: -7%;
}
.exhibit-stegosaurus {
  --art-shift: -8%;
}
.exhibit-pterodactyl {
  --art-shift: -8%;
}
.exhibit-mosasaurus {
  --art-shift: -6%;
}
.exhibit-mammoth {
  --art-shift: -8%;
}

.exhibit-card header {
  padding-left: 26px;
}
.exhibit-card h2 {
  font-size: clamp(2.4rem, 4.06vw, 3.25rem);
  font-weight: 600;
  text-transform: uppercase;
  margin: 13px 0 7px;
}
.serif-subtitle {
  font: 500 clamp(1.65rem, 2.42vw, 1.9375rem)/1.1 var(--serif);
  color: var(--subtitle, var(--gold));
}
.exhibit-card .eyebrow {
  color: var(--subtitle);
}
.exhibit-copy {
  padding: 29px 18px 0 0;
  color: var(--copy);
  font-size: 1.0625rem;
}
.exhibit-copy .button {
  margin-top: 20px;
}
.side-by-side {
  align-items: center;
  padding-block: 65px;
}
.side-by-side .exhibit-card {
  grid-template-columns: 0.71fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 0 30px;
}
.side-by-side .exhibit-art {
  grid-column: 2;
  grid-row: 1 / 3;
  aspect-ratio: 668 / 560;
}
.side-by-side header {
  grid-column: 1;
  grid-row: 1;
  margin-top: 42px;
}
.side-by-side .exhibit-copy {
  grid-column: 1;
  grid-row: 2;
  padding-left: 26px;
}
.exhibit-mammoth .exhibit-card {
  grid-template-columns: 1fr 0.7fr;
}
.exhibit-mammoth .exhibit-art {
  grid-column: 1;
}
.exhibit-mammoth header,
.exhibit-mammoth .exhibit-copy {
  grid-column: 2;
  padding-left: 10px;
}
.exhibit-mammoth h2 {
  max-width: 320px;
}
.story-continues {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 380px;
  text-align: center;
  padding: 40px var(--gutter);
}
.story-continues h2 {
  font-size: clamp(2.5rem, 4.14vw, 3.3125rem);
  font-weight: 600;
}
.story-continues p {
  margin-top: 11px;
  color: var(--copy);
}
.story-continues .button {
  margin-top: 31px;
}

.specimen-hero {
  height: var(--hero-height);
  background: #050909;
}
.specimen-hero .hero-art {
  inset: 0 0 0 auto;
  width: 75%;
  object-position: 50% 50%;
}
.specimen-hero::after {
  background:
    linear-gradient(
      90deg,
      #050909 0%,
      #050909 21%,
      #05090936 57%,
      transparent 75%
    ),
    linear-gradient(0deg, var(--background) 0%, transparent 14%);
}
.specimen-hero .hero-copy {
  padding-top: clamp(168px, 16.1vw, 240px);
  width: min(1070px, calc(100% - 2 * clamp(24px, 8.2vw, 106px)));
}
.specimen-hero h1 {
  font-size: clamp(2.9rem, 4.7vw, 4.2rem);
  line-height: 1.02;
  max-width: 585px;
  font-weight: 700;
  text-transform: uppercase;
}
[data-specimen='tyrannosaurus'] .specimen-hero h1 {
  max-width: 470px;
}
.specimen-hero .serif-subtitle {
  margin: 5px 0 13px;
  font-size: clamp(1.8rem, 2.95vw, 2.375rem);
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.875rem;
}
.badges li {
  min-width: 96px;
  text-align: center;
  padding: 7px 15px;
  background: #5e4d3b80;
  border: 1px solid #ad8a635e;
  border-radius: 7px;
}
.specimen-hero .hero-description {
  color: #eee4d3;
  margin-top: 24px;
  max-width: 522px;
  font-size: 1.0625rem;
}
.specimen-top {
  display: grid;
  grid-template-columns: minmax(0, 2.19fr) minmax(0, 1fr);
  gap: clamp(22px, 2.97vw, 38px);
  padding-top: clamp(70px, 8.3vw, 106px);
  align-items: start;
}
.viewer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #111514 url('assets/5ac26.jpg') center / cover;
  border: 1px solid #c9a77c66;
  border-radius: 9px;
  aspect-ratio: 779 / 520;
  min-height: 305px;
}
.viewer-image,
model-viewer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.viewer-image {
  display: grid;
  place-items: center;
  background: linear-gradient(transparent 72%, #0b0b0b5e);
}
.viewer-poster {
  width: 76%;
  height: 63%;
  object-fit: contain;
  transition: opacity 0.24s ease-in-out;
  pointer-events: none;
}
.viewer.is-loaded .viewer-poster {
  opacity: 0;
}
model-viewer {
  --poster-color: transparent;
  --progress-bar-color: var(--gold);
  --progress-bar-height: 2px;
}
.viewer-top,
.viewer-bottom,
.viewer-arrow,
.viewer-status {
  position: absolute;
  z-index: 1;
}
.viewer-top {
  inset: 16px 16px auto;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.viewer-top button {
  pointer-events: auto;
}
.view-reset,
.viewer-full,
.playback button,
.motion-picker,
.playback > span {
  border: 1px solid #c9a77c6f;
  background: #161714e0;
  border-radius: 6px;
}
.view-reset {
  min-height: 34px;
  padding-inline: 11px;
  font-size: 0.75rem;
}
.view-reset:hover,
.playback button:hover {
  background: var(--gold);
  color: #17100b;
}
.viewer-full {
  width: 34px;
  height: 34px;
}
.viewer-arrow {
  top: 50%;
  margin-top: -20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #10101048;
}
.viewer-arrow:hover {
  background: #101010d9;
}
.viewer-prev {
  left: 9px;
}
.viewer-next {
  right: 9px;
}
.viewer-bottom {
  inset: auto 10px 12px;
  display: grid;
  justify-items: center;
  gap: 9px;
  pointer-events: none;
}
.drag-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #efe4d1;
  font-size: 0.8125rem;
  text-shadow: 0 2px 8px #000;
}
.playback {
  display: flex;
  gap: 0;
  pointer-events: auto;
  border: 1px solid #c9a77c75;
  padding: 3px;
  border-radius: 999px;
  background: #151713e0;
  backdrop-filter: blur(12px);
}
.playback button,
.motion-picker select,
.playback > span {
  min-height: 32px;
  padding: 4px 12px;
  font-size: 0.8125rem;
}
.playback button {
  border-radius: 999px;
  border: 0;
  color: #11100b;
  background: var(--gold);
}
.playback button:hover {
  background: #edc997;
}
.motion-picker {
  position: relative;
  display: flex;
  border: 0;
  background: transparent;
}
.motion-picker:has(select[hidden]) {
  display: none;
}
.motion-picker select {
  appearance: none;
  cursor: pointer;
  border: 0;
  background: transparent;
  padding-right: 27px;
}
.motion-picker option {
  color: var(--cream);
  background: #161714;
}
.motion-picker .chevron {
  position: absolute;
  right: 12px;
  top: 10px;
  pointer-events: none;
}
.playback > span {
  display: flex;
  align-items: center;
  background: transparent;
  border: 0;
}
.experience-dock {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.experience-dock :is(button, a) {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  min-height: 58px;
  border: 1px solid #c9a77c50;
  border-radius: 7px;
  background: linear-gradient(140deg, #31291dd9, #121614);
  color: var(--cream);
  text-align: left;
  font-size: 0.875rem;
}
.experience-dock :is(button, a):hover {
  border-color: var(--gold);
  background: linear-gradient(140deg, #4c3823, #191915);
}
.experience-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #c9a77c80;
  border-radius: 50%;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}
.ar-dialog {
  width: min(440px, calc(100vw - 34px));
  padding: 21px;
  background: #181916;
  color: var(--cream);
  border: 1px solid #c9a77c80;
  border-radius: 12px;
  text-align: center;
}
.ar-dialog::backdrop {
  background: #050505c9;
}
.ar-dialog-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
}
.ar-close {
  flex: none;
}
.ar-qr {
  display: block;
  margin: 0 auto 15px;
  width: 192px;
  height: 192px;
  object-fit: contain;
  border-radius: 4px;
}
.ar-dialog p {
  color: var(--copy);
  font-size: 0.875rem;
  margin: 12px 0;
}
.viewer-status {
  inset: 62px 16px auto;
  width: fit-content;
  max-width: calc(100% - 32px);
  color: var(--cream);
  background: #10100fe8;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.875rem;
  pointer-events: none;
}
.viewer:fullscreen {
  border-radius: 0;
  border: 0;
}
.specimen-info h2,
.anatomy h2 {
  color: var(--gold);
  font: 600 1.5rem/1.15 var(--serif);
}
.specimen-info h2 {
  margin: 24px 0 36px;
}
.specimen-info dl {
  display: grid;
  gap: clamp(18px, 2.9vw, 38px);
}
.specimen-info dl div {
  position: relative;
  padding-left: 55px;
  min-height: 44px;
}
.specimen-info img {
  position: absolute;
  left: 4px;
  top: 4px;
}
.specimen-info dt {
  font-size: 0.875rem;
  color: var(--gold);
  font-weight: 700;
}
.specimen-info dd {
  font-size: 1rem;
  margin-top: 3px;
}
.anatomy {
  padding: 67px 0 60px;
}
.anatomy h2 {
  margin-bottom: 19px;
}
.anatomy-content {
  display: grid;
  grid-template-columns: 1.03fr 1.03fr 0.97fr;
  gap: 26px;
}
.anatomy-art {
  aspect-ratio: 375 / 236;
}
.anatomy-copy {
  padding-top: 10px;
}
.anatomy-copy h3 {
  font-size: 2rem;
  margin-bottom: 8px;
}
.anatomy-copy p {
  color: var(--copy);
}
.anatomy-facts {
  display: grid;
  align-content: start;
  gap: 10px;
  padding-top: 6px;
}
.anatomy-facts button {
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  width: 100%;
  padding: 12px;
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #171411b3;
  font-size: 0.875rem;
}
.anatomy-facts img {
  flex: none;
}
.anatomy-facts button:hover,
.anatomy-facts button[aria-pressed='true'] {
  border-color: var(--gold);
  background: #32281e;
}
.related {
  padding: 44px 0 16px;
  text-align: center;
}
.related h2 {
  font-size: 2rem;
  font-weight: 600;
}
.related p {
  color: var(--copy);
  margin: 4px 0 25px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}
.related-card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid #c9a77c6b;
  border-radius: 6px;
  aspect-ratio: 279 / 204;
  min-height: 129px;
}
.related-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.5s ease-out;
}
.related-card span {
  position: absolute;
  inset: auto 0 0;
  padding: 10px 3px;
  color: var(--cream);
  background: #0c0d0ccf;
  font-size: 0.875rem;
  font-weight: 700;
}
.related-card:hover {
  border-color: var(--gold);
}
[data-view='specimen'] .footer-inner {
  padding-top: 94px;
}
@keyframes hero-in {
  from {
    opacity: 0.25;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes menu-slide {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@media (max-width: 1080px) and (min-width: 701px) {
  .museum-about {
    gap: 32px;
    padding-top: 70px;
  }
  .exhibit-strip {
    min-height: min(95.7vw, 980px);
  }
  [data-specimen='tyrannosaurus'] .specimen-hero h1 {
    max-width: none;
    font-size: clamp(2.35rem, 4.6vw, 3.2rem);
  }
  .specimen-hero .hero-description {
    max-width: 420px;
  }
  .specimen-info h2 {
    margin: 12px 0 26px;
  }
  .specimen-info dl {
    gap: 16px;
  }
}
@media (max-width: 700px) {
  :root {
    --gutter: 24px;
  }
  .site-header {
    top: 42px;
    justify-content: flex-end;
    padding-right: 13px;
  }
  .desktop-nav {
    display: none;
  }
  .mobile-trigger {
    display: grid;
    width: 44px;
    height: 47px;
    pointer-events: auto;
  }
  .mobile-trigger img {
    pointer-events: none;
  }
  .hero-copy {
    width: var(--rail);
  }
  .hero-kicker {
    font-size: 0.75rem;
  }
  .hero h1 {
    font-size: clamp(2.05rem, 10.43vw, 3.2rem);
    line-height: 1;
  }
  [data-view='home'] {
    --hero-height: 670px;
  }
  .home-hero {
    display: block;
    height: auto;
    min-height: var(--hero-height);
  }
  .home-hero .hero-art {
    height: 425px;
    object-position: 95% center;
  }
  .home-hero::after {
    inset: 0 0 auto;
    height: 435px;
    background: linear-gradient(0deg, #090a0d 3%, #090a0d00 34%);
  }
  .home-hero .hero-copy {
    padding: 374px 0 35px;
  }
  .home-hero h1 {
    margin: 12px 0 18px;
  }
  .hero-description {
    font-size: 0.9375rem;
    line-height: 1.35;
  }
  .home-hero .button {
    margin-top: 20px;
    min-height: 50px;
  }
  .collection {
    padding-top: 43px;
  }
  .collection h2 {
    max-width: 300px;
    font-size: 2.1875rem;
    line-height: 1.05;
    margin: 9px 0 12px;
  }
  .world-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }
  .world-card {
    aspect-ratio: 345 / 301;
    min-height: 250px;
  }
  .world-count {
    top: 15px;
  }
  .world-caption {
    min-height: 91px;
    padding-top: 11px;
  }
  .world-caption h3 {
    font-size: 1.9375rem;
  }
  .museum-about {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 42px 0 48px;
  }
  .about-copy h2 {
    max-width: 285px;
    margin: 8px 0 12px;
    font-size: 2.1875rem;
  }
  .about-copy p:not(.eyebrow) {
    font-size: 0.9375rem;
  }
  .about-copy p + p {
    margin: 12px 0 18px;
  }
  .footer-inner {
    padding-top: 36px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    padding: 0;
  }
  .museum-logo {
    margin-bottom: 26px;
  }
  .footer-about {
    display: contents;
  }
  .footer-about > h2,
  .footer-about > p {
    grid-column: 1 / -1;
  }
  .footer-about > h2 {
    margin-top: 24px;
  }
  .footer-about > p {
    margin-top: -8px;
  }
  .footer-about section,
  .footer-explore {
    margin: 6px 0 14px;
    padding: 0;
  }
  .footer-grid ul {
    gap: 6px;
  }
  .footer-grid p:not(.footer-label),
  .footer-grid li {
    font-size: 0.875rem;
  }
  .footer-bottom {
    margin-top: 21px;
    flex-wrap: wrap;
    padding-bottom: 20px;
    font-size: 0.6875rem;
  }

  [data-view='exhibition'] {
    --hero-height: 660px;
  }
  .exhibition-hero .hero-art {
    height: 400px;
    object-position: 68% center;
  }
  .exhibition-hero::after {
    inset: 0 0 auto;
    height: 416px;
    background:
      linear-gradient(0deg, var(--background) 3%, transparent 46%),
      linear-gradient(90deg, #0b0d0c6e, transparent 70%);
  }
  .exhibition-hero .hero-copy {
    padding-top: 409px;
  }
  .exhibition-hero .hero-kicker {
    font-size: 0.75rem;
  }
  .exhibition-hero h1 {
    font-size: 2.5rem;
    margin-top: 14px;
  }
  .exhibition-hero .hero-description {
    font-size: 0.9375rem;
  }
  .exhibit-strip,
  .side-by-side {
    min-height: 0;
    padding: 42px 0 66px;
  }
  .exhibit-card,
  .side-by-side .exhibit-card,
  .exhibit-mammoth .exhibit-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    gap: 16px;
  }
  .exhibit-art,
  .side-by-side .exhibit-art {
    grid-column: 1;
    grid-row: auto;
    aspect-ratio: 4 / 3;
    border-radius: 7px;
  }
  .exhibit-card header,
  .side-by-side header,
  .exhibit-card .exhibit-copy,
  .side-by-side .exhibit-copy {
    grid-column: 1;
    grid-row: auto;
    padding: 0;
    margin: 0;
  }
  .exhibit-card h2 {
    font-size: clamp(2rem, 9vw, 2.6rem);
    margin-top: 8px;
  }
  .exhibit-card .serif-subtitle {
    font-size: 1.625rem;
  }
  .exhibit-copy {
    font-size: 0.9375rem;
  }
  .story-continues {
    min-height: 310px;
  }

  [data-view='specimen'] {
    --hero-height: 617px;
  }
  .specimen-hero .hero-copy {
    width: var(--rail);
    padding-top: 125px;
  }
  .specimen-hero .hero-art {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 274px;
    object-position: center;
  }
  .specimen-hero::after {
    background: linear-gradient(
      180deg,
      #050909 52%,
      #05090900 66%,
      #05090900 92%,
      var(--background)
    );
  }
  .specimen-hero h1,
  [data-specimen='tyrannosaurus'] .specimen-hero h1 {
    font-size: clamp(1.92rem, 7.9vw, 2.875rem);
    max-width: none;
  }
  .specimen-hero .serif-subtitle {
    font-size: 1.7rem;
    margin: 7px 0 14px;
  }
  .badges {
    gap: 7px;
    font-size: 0.74rem;
  }
  .badges li {
    flex: 1;
    min-width: 0;
    padding: 6px 8px;
  }
  .specimen-hero .hero-description {
    margin-top: 14px;
    font-size: 0.875rem;
  }
  .specimen-top {
    padding-top: 42px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .viewer {
    min-height: 274px;
    aspect-ratio: 345 / 286;
  }
  .viewer-top {
    inset: 11px 10px auto;
  }
  .viewer-full {
    width: 34px;
    min-height: 28px;
  }
  .experience-dock :is(button, a) {
    font-size: 0.75rem;
    gap: 7px;
    padding-inline: 8px;
  }
  .viewer-full {
    height: 28px;
  }
  .viewer-prev {
    left: 2px;
  }
  .viewer-next {
    right: 2px;
  }
  .viewer-bottom {
    bottom: 9px;
  }
  .specimen-info h2 {
    margin: 5px 0 19px;
  }
  .specimen-info dl {
    gap: 13px;
  }
  .anatomy {
    padding: 46px 0;
  }
  .anatomy h2 {
    font-size: 1.36rem;
  }
  .anatomy-content {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .anatomy-copy {
    padding-top: 0;
  }
  .anatomy-copy h3 {
    font-size: 1.85rem;
  }
  .anatomy-copy p {
    font-size: 0.9375rem;
  }
  .anatomy-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }
  .anatomy-facts button {
    min-height: 50px;
    padding: 6px;
    gap: 5px;
    font-size: 0.67rem;
  }
  .anatomy-facts img {
    max-width: 22px;
  }
  .related {
    padding: 41px 0 32px;
  }
  .related p {
    font-size: 0.875rem;
  }
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
    margin-bottom: 24px;
  }
  .related-card {
    aspect-ratio: 1;
  }
  [data-view='specimen'] .footer-inner {
    padding-top: 45px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .world-grid,
    .museum-about,
    .exhibit-card,
    .related-grid {
      animation: exhibit-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 75%;
    }
    @keyframes exhibit-reveal {
      from {
        opacity: 0.64;
        transform: translateY(16px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
  }
}
