﻿/* Mammalia — v4 "the window"
   The first screen is a place, not a page: one photograph, a museum label,
   and no interface. The record below slides up over the image as you scroll. */

@font-face {
  font-family: "Fraunces";
  src: url(font/fraunces.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url(font/inter-tight.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #11140f;
  --ink-2: #2a2f26;
  --forest: #16241b;
  --bone: #f4f0e6;
  --paper: #fbf8f1;
  --brass: #a37e3b;
  --brass-l: #cfae74;
  --brass-ink: #785a1e;
  --muted: #6b695c;
  --muted-d: #b7b9a9;
  --line: #d8d0be;
  --line-d: rgba(244, 240, 230, 0.2);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", ui-sans-serif, system-ui, "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --gutter: clamp(20px, 5vw, 56px);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: #080b08;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--brass-l); color: var(--ink); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--brass-l); outline-offset: 4px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ---------------- the window ---------------- */

.world {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: #080b08;
  z-index: 1;
}

.world-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 44%;
  transform-origin: 62% 46%;
  will-change: transform, filter;
}

.world.no-photo::after {
  content: ""; position: absolute; inset: 14% 10%; z-index: 2;
  background: #ddd8c8; opacity: .85;
  -webkit-mask: url(img/panthera-tigris.svg) center / contain no-repeat;
          mask: url(img/panthera-tigris.svg) center / contain no-repeat;
}

.atmos {
  position: absolute; inset: 0;
  background:
    radial-gradient(125% 105% at 50% 44%, rgba(4,7,4,0) 42%, rgba(4,7,4,.58) 100%),
    linear-gradient(180deg, rgba(5,9,5,.62) 0%, rgba(5,9,5,.08) 18%,
                    rgba(5,9,5,0) 46%, rgba(5,9,5,.55) 76%, rgba(5,9,5,.94) 100%);
}
.haze {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(214, 228, 216, .12) 0%, rgba(214, 228, 216, 0) 34%);
  mix-blend-mode: screen;
}
.grain {
  position: absolute; inset: 0; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");
}

.mark {
  position: absolute; top: clamp(20px, 4vh, 38px); left: var(--gutter); z-index: 3;
  font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--bone);
  letter-spacing: 0.01em;
}
.mark em { font-style: italic; color: var(--brass-l); }

/* museum label */
.plate {
  position: absolute; left: var(--gutter); bottom: clamp(28px, 7vh, 76px);
  z-index: 3; max-width: min(560px, 82vw);
}
.plate::before {
  content: ""; display: block; width: 46px; height: 1px;
  background: var(--brass-l); margin-bottom: 20px;
}
.plate-taxon {
  display: block;
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass-l);
}
.plate-name {
  margin: 10px 0 0;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  line-height: 0.98; letter-spacing: -0.02em;
  color: #fbf8f1;
  text-shadow: 0 2px 36px rgba(0, 0, 0, .45);
}
.plate-name em {
  display: block; margin-top: 12px;
  font-size: 17px; font-style: italic;
  color: #d9d5c6; letter-spacing: 0; text-shadow: none;
}
.plate-meta {
  display: block; margin-top: 22px;
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: #cfcbba;
}
.plate-meta .st { color: var(--brass-l); }
.plate-meta .st::before {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px;
  border-radius: 50%; background: var(--brass-l); transform: translateY(-1px);
}

.credit {
  display: block; margin-top: 16px;
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.06em; color: #a9a89a;
}
.credit a { border-bottom: 1px solid rgba(184,182,166,.45); }
.credit a:hover { color: var(--bone); }

.cue {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: clamp(24px, 6vh, 64px); z-index: 3;
  display: grid; justify-items: center; gap: 10px;
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: #b8b6a6;
}
.cue i {
  display: block; width: 1px; height: 46px;
  background: linear-gradient(180deg, rgba(207,174,116,.9), rgba(207,174,116,0));
  animation: cue 2.8s var(--ease) infinite;
  transform-origin: top;
}
@keyframes cue {
  0%   { transform: scaleY(.2); opacity: .2; }
  45%  { transform: scaleY(1);  opacity: 1; }
  100% { transform: scaleY(1);  opacity: 0; }
}

/* ---------------- the record slides over ---------------- */

.sheet {
  position: relative; z-index: 2;
  background: var(--bone);
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -60px 100px rgba(3,6,3,.55);
  margin-top: -2px;
}

.sheet-top {
  display: flex; align-items: center; gap: 34px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}
.sheet-top .brand {
  font-family: var(--serif); font-size: 20px; font-weight: 500; margin-right: auto;
}
.sheet-top .brand em { font-style: italic; color: var(--brass-ink); }
.sheet-nav { display: flex; gap: 28px; }
.sheet-nav a {
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
  padding: 10px 0;
}
.sheet-nav a:hover { color: var(--ink); }

/* ---------------- statement ---------------- */

.lead { padding-block: clamp(48px, 8vw, 104px); }
.lead p {
  margin: 0; max-width: 30ch;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.24; letter-spacing: -0.02em;
  /* a five-word-per-line statement needs even lines, not a ragged edge */
  text-wrap: pretty;
  text-wrap: balance;
}
.lead em { font-style: italic; color: var(--brass-ink); }

.figures {
  display: flex; flex-wrap: wrap; gap: 0 clamp(28px, 5vw, 64px);
  margin-top: clamp(34px, 5vw, 56px);
  padding-top: 24px; border-top: 1px solid var(--ink);
}
.figure { display: flex; align-items: baseline; gap: 10px; }
.figure .n {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: var(--brass-ink);
}
.figure .k {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}

/* ---------------- record ---------------- */

.grid2 { display: grid; gap: clamp(40px, 6vw, 80px); padding-bottom: clamp(50px, 7vw, 90px); }
.sec + .sec { margin-top: clamp(36px, 5vw, 56px); }

.sec-head {
  display: flex; align-items: baseline; gap: 14px;
  border-top: 1px solid var(--ink); padding-top: 14px; margin-bottom: 20px;
}
.sec-head h2 {
  margin: 0; font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
}
.sec-head .count {
  margin-left: auto; font-family: var(--sans); font-size: 12px;
  letter-spacing: 0.08em; color: var(--muted);
}

.prose { margin: 0; font-size: 17px; line-height: 1.66; color: var(--ink-2); max-width: 60ch; }
.prose + .prose { margin-top: 16px; }
.note {
  margin: 18px 0 0; max-width: 60ch;
  font-family: var(--sans); font-size: 14px; line-height: 1.6; color: var(--muted);
}

.subs { list-style: none; margin: 0; padding: 0; }
.sub {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: baseline; gap: 4px 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.sub-name { font-family: var(--serif); font-style: italic; font-size: 17px; }
.sub-author { font-family: var(--sans); font-size: 12px; letter-spacing: 0.04em; color: var(--muted); }
.sub-flag {
  font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-ink);
}
.sub-syn { grid-column: 1 / -1; }
.sub-syn > summary {
  display: inline-flex; align-items: center; gap: 7px; min-height: 28px; padding: 4px 0;
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  cursor: pointer; list-style: none;
}
.sub-syn > summary::-webkit-details-marker { display: none; }
.sub-syn > summary::before { content: "+"; font-weight: 600; color: var(--brass-ink); }
.sub-syn[open] > summary::before { content: "–"; }
.sub-syn:not([open]) > ul { display: none; }
.sub-syn ul { margin: 4px 0 12px; padding: 0; list-style: none; display: grid; gap: 5px; }
.sub-syn li { font-family: var(--sans); font-size: 14px; line-height: 1.55; color: var(--muted); overflow-wrap: anywhere; }
.sub-syn li em { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink-2); }

.places { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.places a {
  font-family: var(--sans); font-size: 14px; letter-spacing: 0.04em;
  padding: 6px 0; min-height: 26px; display: inline-flex; align-items: center;
  background-image: linear-gradient(var(--brass), var(--brass));
  background-repeat: no-repeat; background-position: 0 100%; background-size: 100% 1px;
  transition: background-size .32s var(--ease), color .24s var(--ease);
}
.places a:hover { color: var(--brass-ink); background-size: 0% 1px; }

.side { display: grid; gap: clamp(30px, 4vw, 44px); align-content: start; }
.side-block { border-top: 1px solid var(--ink); padding-top: 14px; }
.side-block h2 {
  margin: 0 0 16px; font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
}
.facts { margin: 0; display: grid; gap: 13px; }
.facts dt {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.facts dd { margin: 3px 0 0; font-size: 17px; line-height: 1.3; }
.facts dd a {
  display: inline-flex; align-items: center; min-height: 24px;
  background-image: linear-gradient(var(--brass), var(--brass));
  background-repeat: no-repeat; background-position: 0 100%; background-size: 100% 1px;
  transition: background-size .32s var(--ease), color .24s var(--ease);
}
.facts dd a:hover { color: var(--brass-ink); background-size: 0% 1px; }
.facts dd.sci { font-style: italic; }

.links { display: grid; }
.links a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
  font-family: var(--sans); font-size: 14px; letter-spacing: 0.03em;
}
.links a span { color: var(--brass-ink); transition: transform .26s var(--ease); }
.links a:hover span { transform: translate(2px, -2px); }

.pager {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--ink);
  padding-block: clamp(26px, 4vw, 40px) clamp(50px, 7vw, 80px);
}
.pager a { padding-right: 20px; }
.pager a + a { border-left: 1px solid var(--line); padding-left: clamp(20px, 4vw, 40px); text-align: right; }
.pager .k {
  display: block; font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.pager .v {
  display: block; margin-top: 8px; font-family: var(--serif); font-style: italic; font-size: 20px;
}
.pager a:hover .v { color: var(--brass-ink); }

.colophon { position: relative; z-index: 2; background: var(--forest); color: var(--muted-d); }
.colophon-in {
  display: grid; gap: 10px; padding-block: clamp(32px, 4vw, 48px);
  font-family: var(--sans); font-size: 12px; line-height: 1.75; letter-spacing: 0.02em;
}
.colophon p { margin: 0; max-width: 74ch; }
.colophon b { color: var(--bone); font-weight: 600; }

/* ---------------- motion ---------------- */

.js .world-img { transform: scale(1.08); }
.js .world.ready .world-img {
  transform: scale(1);
  transition: transform 2.4s var(--ease);
}

.js .plate > *, .js .cue, .js .mark { opacity: 0; transform: translateY(12px); }
.js .world.labelled .plate > *,
.js .world.labelled .cue,
.js .world.labelled .mark { opacity: 1; transform: none;
  transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .world.labelled .plate-taxon { transition-delay: .05s; }
.js .world.labelled .plate-name { transition-delay: .15s; }
.js .world.labelled .plate-meta { transition-delay: .3s; }
.js .world.labelled .cue { transition-delay: .45s; }

.js .rise { opacity: 0; transform: translateY(16px); }
.js .rise.in { opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .js .world-img, .js .plate > *, .js .cue, .js .mark, .js .rise {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .cue i { animation: none; }
}

/* ---------------- responsive ---------------- */

@media (min-width: 1000px) {
  .grid2 { grid-template-columns: minmax(0, 1fr) 310px; }
}

@media (max-width: 760px) {
  .world-img { object-position: 40% 40%; }
  .sheet-top { gap: 16px; padding-block: 16px; }
  .sheet-nav { gap: 16px; }
  .sheet-nav a { font-size: 12px; letter-spacing: 0.1em; }
  .cue { display: none; }

  .sub { grid-template-columns: minmax(0, 1fr) auto; }
  .sub-flag { grid-column: 1 / -1; }
  .pager { grid-template-columns: 1fr; }
  .pager a + a {
    border-left: 0; border-top: 1px solid var(--line); margin-top: 20px;
    padding-left: 0; padding-top: 20px; text-align: left;
  }
}


/* ================= homepage ================= */

.hero .slides { position: absolute; inset: 0; }
.hero .slide {
  position: absolute; inset: 0; margin: 0; opacity: 0;
  transition: opacity 1.6s var(--ease);
}
.hero .slide.is-on { opacity: 1; }
.hero .slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 44%;
  transform: scale(1.05);
}
.hero .slide.is-on img { transform: scale(1); transition: transform 9s linear; }

.searchbox {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; color: var(--muted); background: #fff;
  min-height: 40px;
}
.searchbox input {
  border: 0; outline: 0; background: none; width: clamp(140px, 22vw, 260px);
  min-height: 24px;
  font-family: var(--sans); font-size: 14px; color: var(--ink);
}
.searchbox input::placeholder { color: #8b8878; }

.strip-wrap { padding-bottom: clamp(40px, 6vw, 70px); }
.strip-nav { display: flex; gap: 8px; margin-left: 16px; }
.snav {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  background: transparent; color: var(--ink); cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease), opacity .2s var(--ease);
}
.snav:hover:not(:disabled) { border-color: var(--brass); color: var(--brass-ink); }
.snav:disabled { opacity: .28; cursor: default; }

.realm-strip {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  padding-block: 4px 6px; scrollbar-width: none;
  cursor: grab;
}
.realm-strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.realm-strip:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }
.realm-strip::-webkit-scrollbar { display: none; }
.realm-card {
  position: relative; flex: 0 0 auto; scroll-snap-align: start;
  width: clamp(210px, 25vw, 290px); aspect-ratio: 3 / 4;
  border-radius: 16px; overflow: hidden; background: #122;
}
.realm-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease);
}
.realm-card:hover img { transform: scale(1.06); }
.realm-body {
  position: absolute; inset: auto 0 0 0; padding: 18px 16px 16px;
  display: grid; gap: 5px; color: #f4f0e6;
  background: linear-gradient(180deg, rgba(6,10,6,0) 0%, rgba(6,10,6,.82) 70%);
}
.realm-name { font-family: var(--serif); font-size: 20px; line-height: 1.1; }
.realm-count {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: #d3cfbe;
}
.realm-eg {
  font-family: var(--serif); font-style: italic; font-size: 12px;
  color: #bab7a6; line-height: 1.3;
}
.realm-eg:empty { display: none; }
.legend {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
  margin-top: 16px;
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.08em;
  color: var(--muted);
}
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 26px; height: 10px; border-radius: 2px; display: inline-block; }
.strip-more {
  margin: 18px 0 0; font-family: var(--sans); font-size: 14px; color: var(--muted);
}
.strip-more a { border-bottom: 1px solid var(--line); color: var(--ink-2); }
.strip-more a:hover { color: var(--brass-ink); border-color: var(--brass); }

.orders { padding-bottom: clamp(44px, 6vw, 80px); }
.order-list { columns: 2; column-gap: clamp(24px, 4vw, 56px); }
@media (min-width: 900px) { .order-list { columns: 3; } }
.order-list a {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
  break-inside: avoid; font-family: var(--sans); font-size: 14px;
}
.order-list a:hover { color: var(--brass-ink); }
.order-list a span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }

.mapbox { padding-bottom: clamp(50px, 7vw, 90px); }
.map-frame {
  border: 1px solid var(--line); background: #ece7da;
  padding: 10px; border-radius: 4px;
}
.map-frame svg { display: block; width: 100%; height: auto; }
.map-land { fill: #ddd6c6; stroke: #cec6b4; stroke-width: .5; transition: fill .2s var(--ease); }
.map-land.m1 { fill: #e2d6c0; }
.map-land.m2 { fill: #cbb08f; }
.map-land.m3 { fill: #b18a63; }
.map-land.m4 { fill: #7a4a2c; }
.map-land:hover { fill: var(--brass); }
.map-grat { stroke: #d6cebc; stroke-width: .5; fill: none; opacity: .8; }
.map-eq { stroke: #ccc3b0; stroke-width: .7; fill: none; }
.map-note {
  margin: 16px 0 0; max-width: 66ch;
  font-family: var(--sans); font-size: 14px; line-height: 1.6; color: var(--muted);
}

@media (max-width: 760px) {
  .hero .slide img { object-position: 44% 42%; }
  .sheet-top { flex-wrap: wrap; row-gap: 12px; }
  .sheet-nav { order: 3; width: 100%; }
  .searchbox { width: 100%; }
  .searchbox input { width: 100%; }
}

.country-list { display: none; }
.country-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px; padding: 6px 0; border-bottom: 1px solid var(--line);
  font-family: var(--sans); font-size: 14px;
}
.country-list a:hover { color: var(--brass-ink); }
.country-list .ck { color: var(--muted); font-variant-numeric: tabular-nums; }

@media (max-width: 760px) {
  .map-frame, .legend, .map-only { display: none; }
  .country-list { display: grid; }
}

/* ---------------- share card ---------------- */

.share-trigger {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; padding: 9px 16px; min-height: 36px;
  border: 1px solid rgba(244,240,230,.28); border-radius: 999px;
  background: rgba(10,16,10,.28); color: #e6e2d2;
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  cursor: pointer; backdrop-filter: blur(4px);
  transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease);
}
.share-trigger:hover { border-color: var(--brass-l); color: #fff; background: rgba(10,16,10,.5); }

.share-modal {
  position: fixed; inset: 0; z-index: 60;
  display: grid; place-items: center; padding: 20px;
  background: rgba(6,10,7,.78); backdrop-filter: blur(6px);
}
.share-modal[hidden] { display: none; }
.share-box {
  width: min(940px, 100%); max-height: 92vh; overflow: auto;
  background: #10160f; color: var(--bone);
  border: 1px solid rgba(244,240,230,.16); border-radius: 16px;
  padding: 18px;
}
.share-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.share-head .label { color: var(--brass-l); }
.share-formats { display: flex; gap: 6px; margin-left: auto; }
.share-formats button {
  padding: 7px 12px; min-height: 32px;
  border: 1px solid rgba(244,240,230,.2); border-radius: 999px; background: none;
  color: #b9b6a6; font-family: var(--sans); font-size: 12px; letter-spacing: 0.06em; cursor: pointer;
}
.share-formats button.is-on { border-color: var(--brass-l); color: var(--bone); }
.share-close {
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid rgba(244,240,230,.2); border-radius: 50%; background: none;
  color: #cfcbba; font-size: 18px; line-height: 1; cursor: pointer;
}
.share-close:hover { border-color: var(--brass-l); color: #fff; }
.share-stage { display: grid; place-items: center; background: #0b100b; border-radius: 10px; padding: 10px; }
.share-stage canvas { max-width: 100%; max-height: 58vh; height: auto; border-radius: 4px; }
.share-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.btn {
  padding: 10px 16px; min-height: 38px;
  border: 1px solid rgba(244,240,230,.24); border-radius: 8px; background: none;
  color: var(--bone); font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; cursor: pointer;
}
.btn:hover { border-color: var(--brass-l); color: #fff; }
.btn.primary { background: var(--brass-l); border-color: var(--brass-l); color: #14180f; }
.share-note { font-family: var(--sans); font-size: 12px; color: #8d8b7c; margin-left: auto; }

@media (max-width: 760px) {
  .share-trigger { width: 100%; justify-content: center; }
  .share-note { margin-left: 0; width: 100%; }
}

/* ---------------- species record: measurements, chart, FAQ ---------------- */

.plate-figs {
  display: flex; flex-wrap: wrap;
  gap: 8px clamp(18px, 3vw, 32px);
  margin-top: 18px;
}
.plate-fig { display: flex; align-items: baseline; gap: 7px; }
.plate-fig b {
  font-family: var(--serif); font-weight: 300;
  font-size: 20px; line-height: 1;
  color: #fbf8f1; letter-spacing: -0.01em;
  text-shadow: 0 1px 22px rgba(0, 0, 0, .5);
}
.plate-fig span {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: #a9a89a;
}

.glance {
  margin: 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0 clamp(16px, 2vw, 24px);
}
.glance > div { border-top: 1px solid var(--line); padding: 12px 0 20px; }
.glance dt {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.glance dd {
  margin: 5px 0 0; font-family: var(--serif); font-weight: 300;
  font-size: 20px; line-height: 1.15;
}
.glance dd small {
  display: block; margin-top: 4px;
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.04em; color: var(--muted);
}

.bars { display: grid; gap: 10px; max-width: 880px; }
.plot {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(4px, 1vw, 10px); height: 168px;
}
.plot .bar { display: flex; align-items: flex-end; height: 100%; }
.plot i {
  position: relative; display: block; width: 100%;
  height: calc(var(--h) * 1%); min-height: 3px;
  border-radius: 2px 2px 0 0;
  background: #d9c8a4;
  transition: background .3s var(--ease);
}
.plot .bar:hover i { background: var(--brass-l); }
.plot .is-peak i { background: var(--brass); }
.plot .bar-n {
  position: absolute; left: 50%; bottom: calc(100% + 6px);
  transform: translateX(-50%);
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  color: var(--ink); opacity: 0; transition: opacity .2s;
}
.plot .is-peak .bar-n, .plot .bar:hover .bar-n { opacity: 1; }
.axis {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(4px, 1vw, 10px);
}
.axis span {
  text-align: center; font-family: var(--sans);
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted);
}
.axis .is-peak { color: var(--brass-ink); }

.qa { border-top: 1px solid var(--ink); }
.qa-row { padding: 18px 0; border-bottom: 1px solid var(--line); }
.qa-row h3 {
  margin: 0 0 7px; font-family: var(--serif); font-weight: 400;
  font-size: 20px; line-height: 1.35; letter-spacing: -0.005em;
}
.qa-row p { margin: 0; max-width: 62ch; font-size: 17px; line-height: 1.66; color: var(--ink-2); }

.src {
  margin: 14px 0 0; max-width: 66ch;
  font-family: var(--sans); font-size: 12px; line-height: 1.75; color: var(--muted);
}
.src a { border-bottom: 1px solid var(--line); }
.src a:hover { color: var(--brass-ink); }

.sib { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px 24px; }
.sib a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sib b { display: block; font-family: var(--serif); font-weight: 400; font-size: 17px; }
.sib em { display: block; margin-top: 2px; font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--muted); }
.sib a:hover b { color: var(--brass-ink); }

@media (max-width: 760px) {
  .cue { display: none; }
  .plot { height: 132px; }
  .glance dd { font-size: 20px; }
}

/* ---------------- paper hero: plate illustration instead of a photograph ---------------- */

.world.paper { background: #f4f0e6; }
.world.paper + .sheet { box-shadow: 0 -28px 56px rgba(64,52,28,.10); }
.world.paper .world-img { inset: 3% 0 auto 0; height: 64%; object-fit: contain; }
.world.paper .haze, .world.paper .grain { display: none; }
.world.paper .atmos {
  background:
    radial-gradient(120% 100% at 50% 42%, rgba(244,240,230,0) 46%, rgba(244,240,230,.55) 100%),
    linear-gradient(180deg, rgba(244,240,230,.72) 0%, rgba(244,240,230,0) 24%,
                    rgba(244,240,230,0) 48%, rgba(244,240,230,.88) 84%,
                    rgba(244,240,230,.99) 100%);
}
.world.paper .mark { color: var(--ink); }
.world.paper .mark em { color: var(--brass-ink); }
.world.paper .plate::before { background: var(--brass); }
.world.paper .plate-taxon { color: var(--brass-ink); }
.world.paper .plate-name { color: var(--ink); text-shadow: none; }
.world.paper .plate-name em { color: #55574a; }
.world.paper .plate-fig b { color: var(--ink); text-shadow: none; }
.world.paper .plate-fig span { color: var(--muted); }
.world.paper .plate-meta { color: var(--ink-2); }
.world.paper .plate-meta .st { color: var(--brass-ink); }
.world.paper .plate-meta .st::before { background: var(--brass); }
.world.paper .credit { color: var(--muted); }
.world.paper .credit a { border-bottom-color: var(--line); }
.world.paper .share-trigger {
  border-color: rgba(17,20,15,.22); background: rgba(255,255,255,.42); color: var(--ink-2);
}
.world.paper .share-trigger:hover { border-color: var(--brass); color: var(--ink); background: #fff; }
.world.paper .cue { color: var(--muted); }

@media (max-width: 760px) {
  .world.paper .world-img { inset: 1% 0 auto 0; height: 52%; }
}

/* ---------------- catalogue furniture ---------------- */

.cap { padding-top: 20px; }
.cap-k {
  display: block; margin-bottom: 6px;
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-ink);
}
.cap p {
  margin: 0; max-width: 74ch;
  font-family: var(--sans); font-size: 14px; line-height: 1.65; color: var(--muted);
}
.cap p b { font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cap p i { font-family: var(--serif); color: var(--ink-2); }

.sec-head .num {
  flex: none;
  font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; color: var(--brass-ink);
  transform: translateY(-1px);
}

.figure .n, .glance dd, .plate-fig b { font-variant-numeric: tabular-nums; }

.cap + .lead { padding-top: clamp(26px, 4vw, 46px); }

.plate-binom {
  display: block; margin: 12px 0 0;
  font-family: var(--serif); font-style: italic; font-size: 17px;
  color: #d9d5c6; letter-spacing: 0;
}
