/* Dinos.info - site pages ([dn_home], [dn_page]; includes/site-pages.php). Structure and the image bands;
   colours and type come from the design system's tokens and dn- classes. Backgrounds read --dn-bg-1x / --dn-bg-2x,
   set on the element from the shipped artwork. Every image band carries its credit (bottom right). */

.dn-wrap { box-sizing: border-box; width: 100%; max-width: var(--site-width, 1700px); margin: 0 auto; padding-inline: var(--space-5); }
/* The side gutter of the full-width blocks (core 0.16.2): the Timeline's controls and title, the Time Machine under it
   and the Evolution family tree (Ben, 2026-10-16 11:49 and 18:19). One value, so they can't drift. */
:root { --dn-gutter-wide: 28px; }
@media (max-width: 760px) { :root { --dn-gutter-wide: 16px; } }
.dn-wrap-narrow { max-width: 808px; }
.dn-home-section, .dn-page { padding-block: var(--space-8); background: var(--surface-dark); color: var(--text-on-dark); }
/* Section spacing (core 0.33.0; DECISIONS 2026-12-03 "Spacing, nav, shadows and the Website tour"): a section's block padding
   is the site-wide --dn-section-gap (dn-site.css, from tokens.json: 120 px from 1,281 px, 96 to 1,280, 80 to 760, 60 on phones;
   it was 64, 48 on phones). Unchanged: the house ad band and the side of a section that faces it (Ben: "Some sections are ok
   for space - usually around our ads"), the hero, and the fit layouts' first screen (their own rules). */
.dn-home-section { padding-block: var(--dn-section-gap); }
.dn-home-section.dn-home-ad { padding-block: var(--space-8); }
.dn-home-section:not(.dn-home-featured):has(+ .dn-home-ad), .fusion-fullwidth:has(+ .fusion-fullwidth .dn-home-ad) .dn-home-section:not(.dn-home-featured) { padding-bottom: var(--space-8); }
.dn-home-ad + .dn-home-section, .fusion-fullwidth:has(.dn-home-ad) + .fusion-fullwidth .dn-home-section { padding-top: var(--space-8); }
.dn-home-section .dn-section-title.dn-section-title { margin-bottom: var(--space-5); }
.dn-home-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: var(--space-5) 0 0; }
.dn-home-intro { margin: calc(-1 * var(--space-3)) 0 var(--space-5); }

/* Image bands: the artwork under the slate scrim, credit in the corner */
.dn-home-hero, .dn-home-era { position: relative; overflow: hidden; background-color: var(--surface-dark); color: var(--text-on-dark);
  background-image: var(--dn-bg-1x); background-image: image-set(var(--dn-bg-1x) 1x, var(--dn-bg-2x) 2x); background-size: cover; background-repeat: no-repeat; }
/* Wide windows (core 0.31.0): image-set picks its file by pixel ratio only, so a 1x screen wider than 1280 px got
   the 1280 file stretched (bg-home-energy-lips-1280 on a 1920 px band, about 150 %). From 1281 px every band uses the
   2x (2560) file; narrower windows keep the image-set. */
@media (min-width: 1281px) { .dn-home-hero, .dn-home-era { background-image: var(--dn-bg-2x); } }
.dn-art-credit { margin: var(--space-3) 0 0; font-family: var(--font-body); font-size: 12px; line-height: 17px; color: var(--text-muted-on-dark); }
.dn-art-credit.is-corner { position: absolute; right: var(--space-4); bottom: var(--space-2); margin: 0; max-width: calc(100% - 2 * var(--space-4)); text-align: right; z-index: 1; }

/* Home hero: T. rex on the right, text on the left over the dark gradient (desktop) */
.dn-home-hero { min-height: var(--hero-min-height, 560px); display: flex; align-items: center; background-position: 72% 45%; }
/* The scrim (Ben's review 2026-10-13, item 4: it covered too much of the left): it follows the text column, not the
   screen width. --dn-hero-text-end is where the 620 px text block ends (the site-width wrap's left edge plus its padding
   plus 620 px); the scrim holds under the text and is gone 160 px past it, so the artwork shows from there. Contrast
   was measured against the artwork's own pixels behind every line of text (lightest pixel, WCAG): see the smoke test
   "home hero contrast" and docs/review/chrome2/. */
.dn-home-hero { --dn-hero-text-end: calc(max(0px, (100% - var(--site-width, 1700px)) / 2) + var(--space-5) + 620px); }
.dn-home-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 20, 23, .85) 0, rgba(18, 20, 23, .78) calc(var(--dn-hero-text-end) - 220px), rgba(18, 20, 23, .56) var(--dn-hero-text-end), rgba(18, 20, 23, 0) calc(var(--dn-hero-text-end) + 160px)); }
@media (min-width: 640px) and (max-width: 1139.98px) { /* tablets and small laptops: the text column covers most of the width */
  .dn-home-hero::before { background: linear-gradient(90deg, rgba(18, 20, 23, .88) 0, rgba(18, 20, 23, .82) calc(var(--dn-hero-text-end) - 220px), rgba(18, 20, 23, .62) var(--dn-hero-text-end), rgba(18, 20, 23, 0) calc(var(--dn-hero-text-end) + 160px)); } }
.dn-home-hero .dn-art-credit.is-corner { top: var(--space-3); bottom: auto; padding: 2px 8px; border-radius: var(--radius-sm); background: #121417e0; }
.dn-home-hero-media { display: none; }
.dn-home-hero-inner { position: relative; padding-block: var(--space-9); }
/* core 0.32.1 (DECISIONS 2026-12-02 "Home hero edits"): from 1,281 px the top padding is 40 px, so the stats row fits a
   1920 x 940 window; the bottom stays var(--space-9); phones and tablets unchanged */
@media (min-width: 1281px) { .dn-home-hero-inner { padding-top: 40px; } }
.dn-home-hero-text { max-width: 620px; display: flex; flex-direction: column; gap: var(--space-4); }
.dn-home-title.dn-home-title span { display: block; }
.dn-home-hero .dn-lead { margin: 0; }
.dn-search-form .dn-search-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.dn-search-form .dn-field { flex: 1 1 240px; min-width: 0; }
.dn-search-form .dn-field-label { display: block; margin-bottom: var(--space-1); }
.dn-home-hero .dn-home-actions { margin: 0; }
.dn-home-stats { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); }
.dn-home-stats li { display: flex; flex-direction: column; }
.dn-home-stats .dn-stat-number { font-family: var(--font-display); font-weight: 900; font-size: 44px; line-height: 44px; color: var(--accent-on-dark); }
.dn-home-stats .dn-stat-label { font-size: 14px; line-height: 20px; color: var(--text-muted-on-dark); }

/* Tiles (Core 5, groups): lift on hover, not with reduced motion */
.dn-home-tile-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--space-5); }
.dn-home-tile, .dn-home-group { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--text-on-dark); transition: transform .2s ease, border-color .2s ease; }
a.dn-home-tile:hover, a.dn-home-group:hover { transform: translateY(-4px); border-color: var(--action); }
@media (prefers-reduced-motion: reduce) { .dn-home-tile, .dn-home-group { transition: none; } a.dn-home-tile:hover, a.dn-home-group:hover { transform: none; } }
.dn-home-tile-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.dn-home-group .dn-home-tile-img { aspect-ratio: 16 / 9; }
.dn-home-tile-body { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-4); flex: 1; }
.dn-home-tile-body .dn-tag { align-self: flex-start; }
.dn-home-tile-body .dn-art-credit { margin-top: auto; }
.dn-home-tile.is-soon { opacity: .85; }

/* Featured species (Ben's review 2026-10-13, item 7; board Main .pg-feature): one wide panel. Desktop: the image
   left and the name, chips, facts and button right; below, At a glance (left) and Did you know? (right). Phones:
   one column. Parts with no data aren't printed, so the grid only places what is there. */
.dn-feat { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--surface-dark-raised); border: 1px solid var(--line-dark); border-radius: var(--radius-lg, 8px); overflow: hidden; }
.dn-feat-fig { margin: 0; display: flex; flex-direction: column; justify-content: center; gap: var(--space-3); padding: var(--space-5); background: radial-gradient(ellipse 80% 70% at 50% 45%, #26282b 0%, #18191b 70%); border-bottom: 1px solid var(--line-dark); min-width: 0; }
.dn-feat-img { display: block; position: relative; }
.dn-feat-img img { display: block; width: 100%; height: auto; }
.dn-feat-fig.is-art .dn-feat-img::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 3%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0)); z-index: 0; }
.dn-feat-fig.is-art .dn-feat-img img { position: relative; z-index: 1; aspect-ratio: 2 / 1; object-fit: contain; }
/* No side view yet: the generic group silhouette (our own drawing, Stone Brown) on the same shadow, the same 2:1 box; never
   the group artwork or a fossil photo (core 0.14.2). */
.dn-feat-fig.is-sil .dn-feat-img { display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 2 / 1; }
.dn-feat-fig.is-sil .dn-feat-img::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 3%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0)); z-index: 0; }
.dn-feat-sil { position: relative; z-index: 1; display: block; width: 62%; height: auto; max-height: 92%; margin-bottom: 4%; fill: var(--stone-brown); }
.dn-feat-fig figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-1) var(--space-2); font-size: 12px; line-height: 17px; color: var(--text-muted-on-dark); }
.dn-feat-fig figcaption a { color: var(--text-muted-on-dark); }
.dn-feat-tag { font-family: var(--font-heading); font-weight: 700; font-size: 11px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-on-dark); padding: 2px 8px; border: 1px solid var(--line-dark); border-radius: var(--radius-sm); background: var(--surface-dark); }
.dn-feat-head { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6) var(--space-5); min-width: 0; }
.dn-feat-head > * { margin: 0; }
.dn-feat-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.dn-feat-chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-weight: 700; font-size: 12px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: var(--radius-sm); text-decoration: none; }
.dn-feat-chip.is-group { background: var(--surface-dark); color: var(--text-on-dark); border: 1px solid var(--border-control-dark); }
a.dn-feat-chip:hover { text-decoration: underline; }
a.dn-feat-chip:focus-visible, .dn-feat a:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-dark); }
.dn-feat-name.dn-feat-name { font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: 56px; line-height: 54px; color: var(--text-on-dark); overflow-wrap: anywhere; }
.dn-feat-name.dn-feat-name i { font-style: inherit; }
.dn-feat-auth { font-size: 14px; line-height: 20px; color: var(--text-muted-on-dark); }
.dn-feat-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3) var(--space-5); padding-top: var(--space-4) !important; border-top: 1px solid var(--line-dark); }
.dn-feat-fact dd { margin: 2px 0 0; }
.dn-feat-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); padding-top: var(--space-2); }
.dn-feat-meet { display: inline-block; text-align: center; font-size: 16px; line-height: 22px; letter-spacing: .02em; text-transform: none; padding: 14px var(--space-5); }
.dn-feat-glance, .dn-feat-dyk { padding: var(--space-5); border-top: 1px solid var(--line-dark); min-width: 0; }
.dn-feat-glance > *, .dn-feat-dyk > * { margin: 0; }
.dn-feat-h { font-family: var(--font-heading); font-weight: 700; font-size: 13px; line-height: 18px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-on-dark); margin-bottom: var(--space-2) !important; }
.dn-feat-glance-p { font-size: 16px; line-height: 26px; color: var(--text-on-dark); }
.dn-feat-dyk { background: linear-gradient(180deg, rgba(201, 183, 154, .1), rgba(201, 183, 154, .04)); border-left: 4px solid var(--fossil-stone); }
.dn-feat-dyk { display: flex; flex-direction: column; justify-content: center; }
.dn-feat-dyk-t { font-size: 20px; line-height: 30px; color: var(--text-on-dark); }
@media (min-width: 900px) { .dn-feat.has-both .dn-feat-dyk-t { font-size: 24px; line-height: 36px; } }
.dn-feat .sp-cite { font-family: var(--font-heading); font-weight: 700; font-size: 11px; vertical-align: super; line-height: 0; color: var(--accent-on-dark); text-decoration: none; margin-left: 1px; padding: 0 1px; }
.dn-feat .sp-cite:hover { text-decoration: underline; }
.dn-feat-note { margin-top: var(--space-3) !important; font-size: 12px; line-height: 17px; color: var(--text-muted-on-dark); }
@media (min-width: 900px) {
  .dn-feat { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .dn-feat-fig { border-bottom: 0; border-right: 1px solid var(--line-dark); padding: var(--space-6); }
  .dn-feat.is-noimg .dn-feat-head { grid-column: 1 / -1; }
  .dn-feat-glance, .dn-feat-dyk { grid-column: 1 / -1; padding: var(--space-5) var(--space-6); }
  .dn-feat.has-both .dn-feat-glance { grid-column: 1; border-right: 1px solid var(--line-dark); }
  .dn-feat.has-both .dn-feat-dyk { grid-column: 2; border-left: 0; box-shadow: inset 4px 0 0 var(--fossil-stone); }
  .dn-feat-head { padding: var(--space-6); justify-content: center; }
}
@media (max-width: 639px) {
  .dn-feat-fig { padding: var(--space-4); }
  .dn-feat-head, .dn-feat-glance, .dn-feat-dyk { padding: var(--space-4); }
  .dn-feat-name.dn-feat-name { font-size: 40px; line-height: 40px; }
  .dn-feat-facts { grid-template-columns: minmax(0, 1fr); }
  .dn-feat-glance-p { font-size: 15px; line-height: 24px; }
  .dn-feat-dyk-t { font-size: 16px; line-height: 26px; }
  .dn-feat-meet { display: block; width: 100%; box-sizing: border-box; }
}

/* Era band on bg-cretaceous-2, faded */
.dn-home-era { padding-block: var(--space-8) calc(var(--dn-section-gap) * 1.5); background-position: center; }   /* top: faces the house ad (unchanged); bottom 96 -> 1.5 x the gap (core 0.33.0) */
.dn-home-era::before { content: ""; position: absolute; inset: 0; background: rgba(18, 20, 23, .84); }
.dn-home-era .dn-wrap { position: relative; }
.dn-home-era .dn-section-title.dn-section-title { margin-bottom: var(--space-5); }

/* Map preview */
.dn-home-map-row { display: flex; flex-wrap: wrap; gap: var(--space-6); align-items: flex-start; }
.dn-home-map-fig { flex: 1 1 560px; min-width: 0; margin: 0; padding: var(--space-4); }
.dn-home-map-svg { display: block; width: 100%; height: auto; }
.dn-hm-land { fill: #2a2b2d; stroke: var(--line-dark); stroke-width: .6; }
/* Markers: the group silhouettes (<use> of one shape per group); fill and stroke come from the group's <g>. */
.dn-home-map-svg .dn-hm-shape { fill: inherit; stroke: inherit; stroke-width: inherit; }
.dn-home-map-svg g { stroke: var(--prehistoric-slate); stroke-width: .8; stroke-linejoin: round; paint-order: stroke; }
.dn-hm-theropoda { fill: var(--data-theropoda); }
.dn-hm-sauropodomorpha { fill: var(--data-sauropodomorpha); }
.dn-hm-ornithischia { fill: var(--data-ornithischia); }
.dn-hm-early-saurischia { fill: var(--data-early-saurischia); }
.dn-hm-mesozoic-birds { fill: var(--data-mesozoic-birds); }
.dn-hm-unplaced { fill: var(--data-unplaced); }
.dn-home-map-svg g.is-uncertain { fill: var(--prehistoric-slate); stroke-width: .7; paint-order: normal; }
.dn-home-map-svg .dn-hm-theropoda.is-uncertain { stroke: var(--data-theropoda); }
.dn-home-map-svg .dn-hm-sauropodomorpha.is-uncertain { stroke: var(--data-sauropodomorpha); }
.dn-home-map-svg .dn-hm-ornithischia.is-uncertain { stroke: var(--data-ornithischia); }
.dn-home-map-svg .dn-hm-early-saurischia.is-uncertain { stroke: var(--data-early-saurischia); }
.dn-home-map-svg .dn-hm-mesozoic-birds.is-uncertain { stroke: var(--data-mesozoic-birds); }
.dn-home-map-svg .dn-hm-unplaced.is-uncertain { fill: none; stroke: var(--data-unplaced); stroke-dasharray: 1.5 1.2; }
.dn-home-map-side { flex: 1 1 260px; display: flex; flex-direction: column; gap: var(--space-3); }
.dn-home-map-side p { margin: 0; }
.dn-home-map-key { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.dn-home-map-key li { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.dn-home-map-name { font-family: var(--font-heading); font-weight: 700; font-size: 14px; }
/* Approval row 79: the markers' sub-groups (they drop in by group, dn-home-motion.css) take their group's look, and each
   key row is a button (mark and text unchanged; rows 32 px tall with no gap, so the key keeps its height). The row
   lights on hover or focus, and in orange while kept; the focus ring is 3 px Bone White. */
.dn-home-map-svg g.h79-drop { stroke: inherit; stroke-width: inherit; paint-order: inherit; }
.dn-home-map-key:has(.h79-key) { gap: 0; }
.dn-home-map-key li:has(.h79-key) { display: block; }
.h79-key { display: flex; flex-wrap: wrap; align-items: center; gap: 2px var(--space-2); width: calc(100% + 20px); min-height: 32px; margin: 0 -10px; padding: 4px 10px; box-sizing: border-box;
  border: 0; border-radius: 8px; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.h79-key .dn-mark { align-self: center; }
.h79-key:hover, .h79-key:focus-visible { background: rgba(245, 241, 230, .08); box-shadow: inset 0 0 0 1px rgba(245, 241, 230, .22); }
.h79-key[aria-pressed="true"] { background: rgba(245, 138, 31, .12); box-shadow: inset 0 0 0 1.5px #F58A1F; }
.h79-key:focus-visible { outline: 3px solid #F5F1E6; outline-offset: 2px; }

/* News */
.dn-home-news-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--space-5); }
.dn-home-news-card { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-4); height: 100%; text-decoration: none; color: var(--text-on-dark); }

/* The signup band and card live in shared/dn-site.css, which every page loads (the footer's signup is on every page,
   species pages included, where this stylesheet isn't loaded). */

/* Pages: approved texts */
.dn-page.dn-page h1 { margin: 0 0 var(--space-5); }
.dn-prose { font-family: var(--font-body); font-size: 17px; line-height: 28px; }
.dn-prose.dn-prose h2 { font-family: var(--font-heading); font-weight: 700; font-size: 22px; line-height: 30px; text-transform: uppercase; margin: var(--space-6) 0 var(--space-3); }
.dn-prose a { color: var(--accent-on-dark); }
.dn-prose ul { padding-left: var(--space-5); }
.dn-prose li + li { margin-top: var(--space-2); }
.dn-gap { background: transparent; color: var(--accent-on-dark); outline: 1px dashed var(--accent-on-dark); outline-offset: 1px; }

/* Coming soon */
.dn-soon .dn-lead { max-width: 760px; }
.dn-soon-tiles { list-style: none; margin: var(--space-6) 0 var(--space-7); padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--space-4); }
.dn-soon-tile { padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); }
.dn-soon-tile .dn-card-title, .dn-soon-tile p { margin: 0; }
.dn-soon-here { padding-block: var(--space-6) 0; }
.dn-soon-here ul { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); }

/* 404: the page header band on its own artwork (Ben, 2026-10-14), then the search and the way back */
.dn-404-text { max-width: 600px; display: flex; flex-direction: column; gap: var(--space-4); }
.dn-404-text p { margin: 0; }

/* Phones: hero option 1, the image cropped on the T. rex with the text below it */
@media (max-width: 639.98px) {
  .dn-wrap { padding-inline: var(--space-4); }
  .dn-page { padding-block: var(--space-7); }
  .dn-home-section.dn-home-ad { padding-block: var(--space-7); }
  .dn-home-section:not(.dn-home-featured):has(+ .dn-home-ad), .fusion-fullwidth:has(+ .fusion-fullwidth .dn-home-ad) .dn-home-section:not(.dn-home-featured) { padding-bottom: var(--space-7); }
  .dn-home-ad + .dn-home-section, .fusion-fullwidth:has(.dn-home-ad) + .fusion-fullwidth .dn-home-section { padding-top: var(--space-7); }
  .dn-home-hero { display: block; min-height: 0; background-image: none; }
  .dn-home-hero::before { display: none; }
  .dn-home-hero-media { display: block; aspect-ratio: 4 / 3; background-image: var(--dn-bg-1x); background-image: image-set(var(--dn-bg-1x) 1x, var(--dn-bg-2x) 2x); background-size: cover; background-position: 72% 45%; }
  .dn-home-hero-inner { padding-block: var(--space-5) var(--space-8); }
  .dn-home-hero .dn-art-credit.is-corner { top: calc(75vw - 24px); bottom: auto; text-shadow: 0 0 3px #121417; color: var(--text-on-dark); }
  .dn-home-stats .dn-stat-number { font-size: 36px; line-height: 38px; }
  .dn-home-map-fig { flex-basis: 100%; padding: var(--space-2); }
}

/* Full-width header bands (Ben's staging review 2026-10-13, item 1): the band runs the full browser width (its Avada
   container is 100% width, and pages use Avada's "100% Width" template), the text stays on the site width (.dn-wrap).
   An image band is the index header pattern: the artwork under the slate scrim, the AI credit in the corner. */
.dn-fullband { position: relative; overflow: hidden; box-sizing: border-box; width: 100%; background-color: var(--surface-dark); color: var(--text-on-dark); border-bottom: 1px solid var(--line-dark); }
.dn-fullband.has-art, .dn-fullband.is-index, .dn-fullband.is-period, .dn-fullband.is-place { background-image: var(--dn-bg-1x); background-image: image-set(var(--dn-bg-1x) 1x, var(--dn-bg-2x) 2x); background-size: cover; background-repeat: no-repeat; background-position: 70% 45%; }
@media (min-width: 1281px) { .dn-fullband.has-art, .dn-fullband.is-index, .dn-fullband.is-period, .dn-fullband.is-place { background-image: var(--dn-bg-2x); } }
.dn-fullband > .dn-wrap { position: relative; z-index: 1; }
.dn-fullband .dn-art-credit.is-corner { z-index: 2; }
/* A header band in a site-width Avada container still runs the full window width, its text on the site width (Ben's
   evening review 2026-10-13, screenshot 3: the Discovery Map page's content is one default container on staging,
   DECISIONS 2026-10-10, so its band stopped at the site width). The band reaches past the centred column to both window
   edges; --dn-scrollbar (dn-site.js) takes a classic scrollbar out of 100vw, and the page clips the rest without it.
   The container's own top padding and column margin go, so the band sits right under the header as on About.
   wp/layouts/page-discovery-map.txt is the page's content in a 100% width container, where none of this applies. */
.fusion-fullwidth.nonhundred-percent-fullwidth .dn-fullband { width: auto; max-width: none; margin-left: calc(50% - 50vw + var(--dn-scrollbar, 0px) / 2); margin-right: calc(50% - 50vw + var(--dn-scrollbar, 0px) / 2); }
html:has(.nonhundred-percent-fullwidth .dn-fullband) body { overflow-x: clip; }
.fusion-fullwidth.nonhundred-percent-fullwidth:has(.dn-page > .dn-fullband:first-child) { padding-top: 0 !important; margin-top: 0 !important; --awb-padding-top: 0px; --awb-margin-top: 0px; }
.fusion-fullwidth.nonhundred-percent-fullwidth:has(.dn-page > .dn-fullband:first-child) :is(.fusion-layout-column, .fusion-column-wrapper) { margin-top: 0 !important; padding-top: 0 !important; --awb-margin-top: 0px; --awb-padding-top: 0px; }

/* Dinosaurs index header (row 2, Index board): the approved artwork, text on the left over the scrim */
.dn-archive-header.is-index { min-height: 240px; display: flex; align-items: center; background-position: 62% 6%; }
.dn-archive-header.is-index::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #121417f5 0%, #121417eb 40%, #121417b3 53%, #12141700 68%), linear-gradient(0deg, #121417e0 0%, #12141700 30%); }
.dn-archive-header.is-index > .dn-wrap { padding-block: var(--space-6); }
.dn-archive-header.is-index .dn-archive-header-text { max-width: 680px; gap: var(--space-2); }
.dn-index-lead { margin: 0; }
.dn-archive-header.is-index .dn-art-credit.is-corner { text-shadow: 0 0 3px #121417, 0 0 8px #121417; padding: 2px 8px; border-radius: var(--radius-sm); background: #121417e0; } /* the home hero credit pill: AA over the bright art (page-bands test) */
.dn-archive-header-text { position: relative; max-width: 600px; }
.dn-archive-header-text .dn-lead { margin: 0; }

/* Type page headers (TypePage board): a period on its own background, a place on the topographic texture, a group
   on the plain band */
.dn-archive-header > .dn-wrap { padding-block: var(--space-6); }
.dn-archive-header.is-period > .dn-wrap { padding-block: var(--space-8) var(--space-7); }
.dn-archive-header.is-period { background-position: 60% 55%; }
.dn-archive-header.is-period::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #121417f0 0%, #121417e0 40%, #12141780 66%, #12141733 100%), linear-gradient(0deg, #121417cc 0%, transparent 40%); }
.dn-archive-header.is-place { background-position: center; }
.dn-archive-header.is-place::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #121417f2 0%, #121417d9 45%, #12141780 75%, #12141740 100%), linear-gradient(0deg, #121417 0%, #12141700 45%); }
.dn-archive-header.is-period .dn-art-credit.is-corner, .dn-archive-header.is-place .dn-art-credit.is-corner { top: var(--space-3); bottom: auto; }

/* The page header band, dn_page_head() (every main page, Ben 2026-10-14: [dn_page], [dn_page_head], the Time Machine,
   the Discovery Map, search results and 404) */
.dn-page:has(> .dn-page-head) { padding-block: 0; }
.dn-page-head > .dn-wrap { padding-block: var(--space-8) var(--space-7); }
.dn-page-head.has-art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #121417f7 0%, #121417ed 44%, #12141799 64%, #12141726 86%, transparent 100%), linear-gradient(0deg, #121417 0%, transparent 30%); }
.dn-page-head-text { max-width: 760px; display: flex; flex-direction: column; gap: var(--space-3); }
.dn-page-head.dn-page-head h1, .dn-page-head .dn-lead { margin: 0; }
.dn-page-head.dn-page-head h1 { color: var(--text-on-dark); text-transform: uppercase; overflow-wrap: anywhere; }
.dn-fullband > .dn-wrap, .dn-page-head-text, .dn-archive-header-text { min-width: 0; }
.dn-archive-header.dn-archive-header h1 { overflow-wrap: anywhere; }
.dn-page-head .dn-lead { max-width: 640px; color: var(--text-on-dark); }
.dn-page-body { padding-block: var(--space-7) var(--space-8); }

@media (max-width: 639.98px) {
  .dn-archive-header.is-index { min-height: 0; display: block; background-size: auto 200px; background-position: 60% 0; }
  .dn-archive-header.is-index .dn-art-credit.is-corner { position: relative; inset: auto; display: block; margin: 0 var(--space-4) var(--space-3); text-align: left; }
  .dn-archive-header.is-index::before { background: linear-gradient(180deg, #12141700 0, #12141700 90px, #121417d9 160px, #121417 200px); }
  .dn-archive-header.is-index > .dn-wrap { padding-block: 140px var(--space-4); }
  .dn-index-lead { font-size: 16px; line-height: 24px; }
  .dn-archive-header.is-period::before, .dn-page-head.has-art::before { background: linear-gradient(180deg, #121417c7 0%, #121417e0 45%, #121417f2 75%, #121417 100%); }
  .dn-archive-header.is-place::before { background: linear-gradient(180deg, #121417d9 0%, #121417e6 60%, #121417 100%); }
  .dn-archive-header.is-period > .dn-wrap, .dn-page-head > .dn-wrap { padding-block: var(--space-8) var(--space-6); }
  .dn-fullband .dn-art-credit.is-corner { top: var(--space-2); bottom: auto; right: var(--space-3); font-size: 11px; line-height: 15px; }
  .dn-page-head .dn-display-lg.dn-display-lg { font-size: 40px; line-height: 42px; }
  .dn-page-body { padding-block: var(--space-6) var(--space-7); }
}
/* Archive ad cards (places 12 and 24) */
.dn-archive-ad { list-style: none; }

/* ==== Start here (/start-here/, includes/start-here.php): Claude Design's Start-Here boards (overnight 2026-10-14, Phase 1
   canvas v57, design/phase-1/source/nv/p/assets/night/start.css), as drawn; the board's stand-in label left out. The band
   and strip classes (lf-band, lf-strip, lf-card) come from shared/dn-life.css. ==== */
.st .dn-page-head .dn-display.dn-display span { color: var(--action); }
.st-lead { max-width: 760px; margin: -8px 0 28px; color: var(--text-muted-on-dark); font-size: 16px; line-height: 25px; }
.st-two { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.st-big { margin: 0 0 22px; font-size: 21px; line-height: 31px; color: var(--text-on-dark); }
.st-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.st-facts li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 16px; border-radius: var(--radius-md); background: var(--surface-dark-raised); border: 1px solid var(--line-dark); font-size: 17px; line-height: 27px; }
.st-facts li .lf-ic { width: 40px; height: 40px; }
.st-facts b { color: var(--accent-on-dark); font-family: var(--font-heading); font-size: 15px; letter-spacing: .02em; margin-right: 4px; }
.st-facts a:not(.sp-cite), .st-prose a:not(.sp-cite) { color: var(--text-on-dark); text-decoration: underline; text-underline-offset: 3px; }
.st-cite { margin-left: 2px; }
.st-sources { margin: 22px 0 0; padding-left: 20px; font-size: 13px; line-height: 19px; color: var(--text-muted-on-dark); overflow-wrap: anywhere; }  /* long web addresses in the groups' citations wrap on a phone */
.st-about-fig { margin: 52px 0 0; display: flex; flex-direction: column; gap: 12px; }
.st-about-fig figcaption { font-size: 13px; line-height: 19px; color: var(--text-muted-on-dark); }
.st-period-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.st-period { display: flex; flex-direction: column; border-radius: var(--radius-md); overflow: hidden; background: var(--surface-dark-raised); border: 1px solid var(--line-dark); }
.st-period-art { position: relative; aspect-ratio: 16 / 7; background: linear-gradient(180deg, transparent 50%, #1d1f22 100%), var(--st-art) center 55% / cover no-repeat; }
.st-period-art .dn-art-credit { position: absolute; right: 8px; top: 8px; }
.st-period-body { display: flex; flex-direction: column; gap: 8px; padding: 0 20px 20px; margin-top: -26px; position: relative; }
.st-period-band { align-self: flex-start; margin: 0; padding: 4px 10px; border-radius: 4px; font: 700 11px/16px var(--font-heading); letter-spacing: .08em; text-transform: uppercase; color: #121417; box-shadow: 0 0 0 1px var(--period), 0 0 18px -4px rgba(var(--period-rgb), .8); }
.st-period-band.dn-ics-period-triassic { color: #fff; }
.st-period-h.st-period-h { margin: 4px 0 0; font: 900 40px/40px var(--font-display); text-transform: uppercase; color: var(--period); text-shadow: 0 0 22px rgba(var(--period-rgb), .35); }
.st-period-dates, .st-period-count { margin: 0; font-size: 15px; line-height: 22px; color: var(--text-muted-on-dark); }
.st-period-dates b, .st-period-count b { color: var(--text-on-dark); font-size: 17px; }
.st-period-sp { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.st-period-sp a { display: flex; flex-direction: column; gap: 3px; text-decoration: none; color: var(--text-on-dark); font-size: 12px; line-height: 15px; }
.st-period-sp i { font-family: var(--font-name); font-weight: 700; font-size: 13px; }
.st-period-sp small { color: var(--text-muted-on-dark); font-size: 11px; }
.st-cut { display: flex; align-items: flex-end; height: 62px; border-radius: 4px; padding: 4px; background: radial-gradient(ellipse at 50% 90%, rgba(var(--period-rgb), .2) 0%, #18191b 70%); border-bottom: 2px solid rgba(var(--period-rgb), .7); }
.st-cut img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.st-period-sp a:hover i, .st-period-sp a:focus-visible i { text-decoration: underline; }
.st-period-actions { margin-top: 6px; }
.st-ways { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.st-way { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding: 18px; border-radius: var(--radius-md); background: var(--surface-dark-raised); border: 1px solid var(--line-dark); }
.st-way-ic img, .st-way-ic svg { width: 48px; height: 48px; display: block; }
.st-way.st-way h3 { margin: 2px 0 6px; font: 700 16px/22px var(--font-heading); color: var(--text-on-dark); }
.st-way p { margin: 0 0 14px; font-size: 14px; line-height: 21px; color: var(--text-muted-on-dark); }
.dn-btn-sm { padding: 9px 14px; font-size: 12px; min-height: 40px; box-sizing: border-box; }
.st-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.st-tile { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.st-tile-pic { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.st-tile-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-note { margin-top: 14px; font-size: 12px; }
.st-form .dn-search-row { display: flex; gap: 8px; }
.st-form .dn-field { flex: 1; min-width: 0; }
@media (max-width: 1100px) { .st-two { grid-template-columns: minmax(0, 1fr); } .st-about-fig { display: none; } .st-period-row { grid-template-columns: minmax(0, 1fr); } .st-ways, .st-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .st-big { font-size: 18px; line-height: 27px; }
  .st-facts li { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; padding: 12px; font-size: 16px; line-height: 25px; }
  .st-facts li .lf-ic { width: 32px; height: 32px; }
  .st-ways { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .st-way { grid-template-columns: 40px minmax(0, 1fr); padding: 14px; }
  .st-way-ic img, .st-way-ic svg { width: 40px; height: 40px; }
  .st-tiles { gap: 12px; }
  .st-period-h.st-period-h { font-size: 34px; line-height: 34px; }
}
.st-cite { display: inline-block; min-width: 16px; height: 16px; padding: 0 4px; margin-left: 3px; border-radius: 3px; background: rgba(245, 138, 31, .12); color: var(--accent-on-dark); font: 700 10px/16px var(--font-heading); text-align: center; text-decoration: none; vertical-align: super; }
/* core 0.20.5: the tint .18 to .12; on the page's dark texture the orange number read 4.31 to 4.49:1, now about 4.9:1 (found when the contrast test began measuring text over images) */
.st-cite:hover, .st-cite:focus-visible { background: var(--action); color: var(--on-action); outline: none; }
/* Home hero (Claude Code): the three buttons keep their words on one line each */
.dn-home-hero .dn-home-actions .dn-btn { white-space: nowrap; }
/* The AI credit of a rendered band (lf-band): in the corner on its own dark pill (the Life boards keep the credit on each band) */
.lf-band > .dn-art-credit.is-corner { position: absolute; z-index: 1; right: var(--space-4); bottom: var(--space-2); top: auto; margin: 0; padding: 2px 8px; border-radius: var(--radius-sm); background: #121417e0; }
@media (max-width: 760px) { .lf-band > .dn-art-credit.is-corner { position: relative; right: auto; bottom: auto; display: block; margin: var(--space-4) var(--space-4) 0; padding: 0; background: none; text-align: left; } }
/* Start here, by Claude Code: the period landscape's credit on its own dark pill (AA over the art), the note's link */
.st-period-art .dn-art-credit { margin: 0; max-width: calc(100% - 16px); padding: 2px 8px; border-radius: var(--radius-sm); background: #121417e0; font-size: 11px; line-height: 15px; text-align: right; }
.st-note a { color: var(--text-on-dark); }
/* Start here, 0.16.4 (approval row 51, Ben 2026-10-17 11:51; Claude Design's st2.css, boards StartHere-Periods-Groups).
   1. Three periods colour-coded (.st-pv2): a 6 px top band in the period colour, a 13% to 3% tint of it over the card, a
      50% border, the dates, the species underline and the Time Machine link in it, the links lined up at the card foot.
      On the tinted card (top tint, worst case) Triassic 5.0:1, Jurassic 6.5:1, Cretaceous 7.6:1, Bone White 10.9:1.
   2. Three main groups (.st-group): the same card family, coloured by group (--gc, the Evolution card edges); text in the
      group colour uses --gt where the edge is too dark: Ornithischia #2cc99b (6.6:1; #00a57a is 4.4:1 on its tint). */
.st-pv2 .st-period, .st-group { position: relative; border: 1px solid rgba(var(--period-rgb), .5);
  background: linear-gradient(180deg, rgba(var(--period-rgb), .13) 0%, rgba(var(--period-rgb), .05) 55%, rgba(var(--period-rgb), .03) 100%), var(--surface-dark-raised, #1d1f22);
  box-shadow: 0 0 0 1px rgba(var(--period-rgb), .12), 0 16px 34px -18px rgba(var(--period-rgb), .55); }
.st-pv2 .st-period::before, .st-group::before { content: ""; position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 6px; background: var(--period); }
.st-pv2 .st-period-art, .st-group-art { margin-top: 6px; }
.st-pv2 .st-period-art { background: linear-gradient(180deg, transparent 45%, rgba(29, 31, 34, .2) 70%, rgba(var(--period-rgb), .08) 100%), var(--st-art) center 55% / cover no-repeat; }
.st-pv2 .st-period-dates b { color: var(--period); }
.st-pv2 .st-period-count b { color: var(--text-on-dark); }
.st-pv2 .st-cut, .st-group .st-cut { border-bottom: 3px solid var(--period); }
.st-pv2 .st-period-sp a:hover i, .st-group .st-period-sp a:hover i { color: var(--period); }
.st-pv2 .st-period-actions .dn-link-more, .st-group .st-period-actions .dn-link-more { color: var(--period); text-decoration: underline; text-decoration-color: rgba(var(--period-rgb), .55); text-underline-offset: 4px; }
.st-pv2 .st-period-actions, .st-group .st-period-actions { margin-top: auto; padding-top: 6px; }
.st-pv2 .st-period-body, .st-group-body { flex: 1; }
/* the groups: --period carries the group colour so the shared rules apply */
[data-group="theropoda"] { --gc: var(--data-theropoda, #f58a1f); --gc-rgb: 245, 138, 31; }
[data-group="early-saurischia"] { --gc: var(--data-early-saurischia, #f0e442); --gc-rgb: 240, 228, 66; }
[data-group="mesozoic-birds"] { --gc: var(--data-mesozoic-birds, #cc79a7); --gc-rgb: 204, 121, 167; }   /* the Evolution key colours (Home, 0.16.7) */
[data-group="sauropodomorpha"] { --gc: var(--data-sauropodomorpha, #56b4e9); --gc-rgb: 86, 180, 233; }
[data-group="ornithischia"] { --gc: var(--data-ornithischia, #00a57a); --gc-rgb: 0, 165, 122; --gt: #2cc99b; }
.st-group { --period: var(--gt, var(--gc)); --period-rgb: var(--gc-rgb); display: flex; flex-direction: column; border-radius: var(--radius-md); overflow: hidden; }
.st-group-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.st-group-art { position: relative; aspect-ratio: 16 / 7; background: linear-gradient(180deg, transparent 45%, rgba(29, 31, 34, .25) 72%, rgba(var(--gc-rgb), .08) 100%), var(--st-art) center 45% / cover no-repeat; }
.st-group-body { display: flex; flex-direction: column; gap: 8px; padding: 0 20px 20px; margin-top: -26px; position: relative; }
.st-group-band { align-self: flex-start; margin: 0; padding: 4px 10px; border-radius: 4px; background: var(--gc); color: #121417; font: 700 11px/16px var(--font-heading); letter-spacing: .08em; text-transform: uppercase; font-style: italic; }
.st-group-h.st-group-h { margin: 4px 0 0; font: 900 40px/40px var(--font-display); text-transform: uppercase; color: var(--gt, var(--gc)); text-shadow: 0 0 22px rgba(var(--gc-rgb), .35); }
.st-group .st-period-dates b { color: var(--gt, var(--gc)); }
.st-group .st-cut { border-bottom-color: var(--gc); background: radial-gradient(ellipse at 50% 90%, rgba(var(--gc-rgb), .2) 0%, #18191b 70%); }
.st-sourced { margin: 2px 0; font-size: 15px; line-height: 23px; color: var(--text-on-dark); }
.st-groups { padding-bottom: calc(var(--dn-section-gap) - 8px); }   /* was 56 px, 8 under the old 64 (core 0.33.0) */
/* the small tree under the cards: HTML and CSS, stacked under 760 px */
.st-tree { display: flex; align-items: center; gap: 32px; margin-top: 26px; padding: 18px 22px; border-radius: var(--radius-md); background: #18191b; border: 1px solid var(--line-dark); }
.st-tree-t { margin: 0; max-width: 520px; font-size: 16px; line-height: 25px; color: var(--text-on-dark); }
.st-tree-t .dn-link-more { display: inline-block; margin-top: 6px; }
.st-clad { flex: none; display: flex; align-items: center; gap: 0; font: 700 13px/18px var(--font-heading); color: var(--text-on-dark); }
.sc-root { padding: 6px 12px; border: 1px solid var(--action); border-radius: 6px; letter-spacing: .04em; text-transform: uppercase; }
.sc-kids { position: relative; display: grid; gap: 12px; margin-left: 22px; padding-left: 18px; border-left: 2px solid #4a4d52; }
.sc-kids::before { content: ""; position: absolute; left: -24px; top: 50%; width: 22px; border-top: 2px solid #4a4d52; }
.sc-br { position: relative; display: flex; align-items: center; gap: 0; }
.sc-br::before { content: ""; position: absolute; left: -18px; top: 50%; width: 16px; border-top: 2px solid #4a4d52; }
.sc-node { display: grid; padding: 4px 10px; border-radius: 6px; background: #232528; font-weight: 400; font-family: var(--font-body); font-size: 12px; color: var(--text-muted-on-dark); }
.sc-node b { font: 700 13px/18px var(--font-heading); font-style: italic; color: var(--text-on-dark); }
.sc-leaves { position: relative; display: grid; gap: 4px; margin-left: 16px; padding-left: 14px; border-left: 2px solid #4a4d52; }
.sc-leaves::before { content: ""; position: absolute; left: -18px; top: 50%; width: 16px; border-top: 2px solid #4a4d52; }
.sc-leaves span { padding: 2px 10px; border-left: 4px solid var(--gc); border-radius: 4px; background: rgba(255, 255, 255, .04); color: var(--gt, var(--gc)); }
.sc-leaves span.is-early { --gc: #8b8f96; color: var(--text-muted-on-dark); font-weight: 400; font-family: var(--font-body); border-left-style: dashed; }
@media (max-width: 1100px) { .st-group-row { grid-template-columns: minmax(0, 1fr); } .st-tree { flex-direction: column; align-items: flex-start; } }
@media (max-width: 760px) {
  .st-group-h.st-group-h { font-size: 34px; line-height: 34px; }
  .st-tree { gap: 16px; padding: 16px; }
  .st-clad { flex-direction: column; align-items: flex-start; font-size: 12px; }
  .sc-root { padding: 4px 8px; } .sc-kids { margin: 0 0 0 14px; padding: 10px 0 0 12px; gap: 10px; } .sc-kids::before { display: none; }
  .sc-br { flex-direction: column; align-items: flex-start; } .sc-br::before { left: -12px; top: 14px; width: 10px; }
  .sc-node { display: flex; gap: 6px; align-items: baseline; }
  .sc-leaves { margin: 6px 0 0 12px; padding: 0 0 0 12px; } .sc-leaves::before { display: none; }
  .sc-leaves span { padding: 2px 6px; }
  .st-tree-t { font-size: 15px; line-height: 23px; }
}
/* ---------- Start here groups v2 (approval row 60, core 0.17.5; ported from design/phase-1/canvas-2/source/st60/sh60.css) ----------
   On top of dn-pages.css (.st-group, the tree) and dn-worktable.css (.st-dossier).
   1. The fourth card, .st-group-x: the dossier family, plainly secondary. A slim card under the three, a dashed 1 px
      Fossil Stone border and a thin top edge (no glow), a smaller title, the art as a side panel, the picks and the
      "not yet" line in its own column. Fossil Stone (#C9B79A) is a palette neutral, not a group colour.
   2. The Ornithischians age note (.st-agenote) under the age line.
   3. The tree: the early leaf is a link to the fourth card; a dashed leaf for the species with no group.
   4. More groups, pages not yet (.st-more): the named groups under their main group, as chips. */
[data-group="early"] { --gc: #c9b79a; --gc-rgb: 201, 183, 154; --gt: #c9b79a; }

.st-group-more { margin-top: 24px; }
.st .st-dossier.st-group-x { display: grid; grid-template-columns: 240px minmax(0, 1fr) minmax(0, 390px); gap: 0 26px; align-items: stretch;
  border: 1px dashed rgba(201, 183, 154, .55) !important; border-radius: 12px;
  background: linear-gradient(90deg, rgba(201, 183, 154, .07) 0%, rgba(201, 183, 154, .03) 60%), var(--surface-dark-raised, #1d1f22);
  box-shadow: 0 10px 24px -18px rgba(0, 0, 0, .7); }
.st .st-dossier.st-group-x::before { height: 3px; background: rgba(201, 183, 154, .55); }
.st .st-dossier.st-group-x .st-group-art { margin: 14px 0 14px 14px; aspect-ratio: auto; min-height: 168px; background-position: 58% 60%; }
.st .st-dossier.st-group-x .st-group-body { margin: 0; padding: 18px 0 18px; gap: 6px; }
.st-group-x .st-group-band { font-style: normal; }
.st-group-x .st-group-h.st-group-h { margin: 2px 0 0; font-size: 30px; line-height: 32px; text-shadow: none; }
.st-group-x .st-period-count b { font-size: 20px !important; }
.st-group-x .st-sourced { font-size: 15px; line-height: 23px; }
.st-group-side { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 18px 0; }
.st .st-group-x .st-period-sp { margin-top: 0; }
.st-notyet-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: auto 0 0; }
.st-notyet { display: inline-block; padding: 3px 10px; border: 1px dashed rgba(201, 183, 154, .6); border-radius: 999px; color: #c9b79a; font: 700 12px/18px var(--font-heading); letter-spacing: .03em; }
.st-group-x .st-notyet-line .dn-link-more { color: #e3d6bf; text-decoration: underline; text-decoration-color: rgba(201, 183, 154, .6); text-underline-offset: 4px; }

/* 2. the age note: small, under the age line, a dashed rule in the group colour */
.st-agenote { margin: -2px 0 2px; padding: 2px 0 2px 10px; border-left: 2px dashed rgba(var(--gc-rgb), .7); font-size: 13px; line-height: 19px; color: #d9d2c4; }
.st-agenote-k { margin-right: 6px; font: 700 10px/19px var(--font-heading); letter-spacing: .08em; text-transform: uppercase; color: var(--gt, var(--gc)); }
.st-agenote .st-cite { font-size: 10px; }

/* 3. the tree */
.sc-leaves a.is-early { --gc: #8b8f96; display: block; padding: 2px 10px; border-left: 4px dashed var(--gc); border-radius: 4px; background: rgba(255, 255, 255, .04);
  color: var(--text-on-dark); font: 400 13px/18px var(--font-body); text-decoration: underline; text-decoration-color: rgba(245, 241, 230, .4); text-underline-offset: 3px; }
.sc-leaves a.is-early:hover { text-decoration-color: currentColor; }
.sc-br.is-none::before { border-top-style: dashed; }
.sc-x { padding: 2px 10px; border: 1px dashed #8b8f96; border-radius: 4px; color: #d9d2c4; font: 400 13px/18px var(--font-body); text-decoration: underline; text-decoration-color: rgba(217, 210, 196, .4); text-underline-offset: 3px; }
.st-x-sp { color: inherit; text-decoration: underline; text-decoration-color: rgba(201, 183, 154, .5); text-underline-offset: 3px; }
.sc-x:focus-visible, .st-x-sp:focus-visible { outline: 3px solid #f5f1e6; outline-offset: 2px; }
.sc-leaves a.is-early:focus-visible, .st-chip:focus-visible, .st-notyet-line a:focus-visible { outline: 3px solid #f5f1e6; outline-offset: 2px; }

/* 4. More groups, pages not yet */
.st-more { margin-top: 18px; padding: 20px 22px 22px; border-radius: var(--radius-md); background: #18191b; border: 1px solid var(--line-dark); }
.st-more-h.st-more-h { margin: 0; font: 700 17px/24px var(--font-heading); letter-spacing: .05em; text-transform: uppercase; color: var(--text-on-dark); }
.st-more-t { margin: 4px 0 16px; font-size: 15px; line-height: 23px; color: #d9d2c4; }
.st-more-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, .8fr); gap: 18px 22px; align-items: start; }
.st-more-gh { margin: 0 0 8px; padding-bottom: 6px; border-bottom: 2px solid var(--gc); font: 700 13px/18px var(--font-heading); letter-spacing: .06em; text-transform: uppercase; color: var(--gt, var(--gc)); }
.st-more-col ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.st-chip { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 6px 8px 6px 10px; border-radius: 6px;
  border-left: 3px solid var(--gc); background: #222428; color: var(--text-on-dark); font: 600 14px/18px var(--font-body); text-decoration: none; }
.st-chip-n { min-width: 0; overflow-wrap: anywhere; }
.st-chip:hover .st-chip-n { text-decoration: underline; text-underline-offset: 3px; }
.st-chip b { font: 900 18px/1 var(--font-display); letter-spacing: .02em; color: var(--gt, var(--gc)); }
.st-chip small { padding: 1px 7px; border: 1px dashed rgba(245, 241, 230, .4); border-radius: 999px; color: #d9d2c4; font: 700 10px/14px var(--font-heading); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }

@media (max-width: 1279.98px) {
  .st .st-dossier.st-group-x { grid-template-columns: 200px minmax(0, 1fr); grid-template-areas: "art body" "art side"; }
  .st .st-dossier.st-group-x .st-group-art { grid-area: art; } .st-group-x .st-group-body { grid-area: body; } .st-group-x .st-group-side { grid-area: side; padding: 4px 18px 18px 0; }
  .st-group-x .st-group-body { padding-right: 18px !important; }
}
/* More groups' column pictures (core 0.18.1, approval row 62 option A; Claude Design's sh62.css): a round medallion
   beside each column title, a close crop of the group art already shipped (start-here.php dn_start_here_medallion()) */
.st-more-head { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 2px solid var(--gc); }
.st-more-head .st-more-gh { margin: 0; padding: 0; border: 0; }
.st-more-pic { display: block; flex: none; width: 64px; height: 64px; border-radius: 50%; background-repeat: no-repeat; background-color: #2a2622;
  box-shadow: 0 0 0 2px #18191b, 0 0 0 4px var(--gc), 0 6px 14px -6px rgba(0, 0, 0, .8); }
@media (max-width: 520px) { .st-more-pic { width: 56px; height: 56px; } }
@media (max-width: 899.98px) { .st-more-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .st .st-dossier.st-group-x { grid-template-columns: minmax(0, 1fr); grid-template-areas: "art" "body" "side"; }
  .st .st-dossier.st-group-x .st-group-art { margin: 12px 10px 0; min-height: 0; aspect-ratio: 16 / 4; }
  .st .st-dossier.st-group-x .st-group-body { margin-top: -16px; padding: 0 14px 6px !important; }
  .st-group-x .st-group-h.st-group-h { font-size: 26px; line-height: 28px; }
  .st-group-x .st-group-side { padding: 6px 14px 14px; }
  .st-more { padding: 16px; }
}
@media (max-width: 520px) { .st-more-cols { grid-template-columns: minmax(0, 1fr); } }
/* The index filters on their rendered band (Life-Index): room under the controls for the band's AI credit */
.dn-filters-band { padding-block: var(--space-4) calc(var(--space-6) + 8px); }
@media (max-width: 760px) { .dn-filters-band { padding-bottom: var(--space-4); } }

/* ---------- Home v3 (board 44, approved by Ben 2026-10-16 00:28; Claude Design's home3.css) ---------- */
/* 1. Explore: eight tiles, 4 x 2 from 1100 px, 2 columns to 640 px, then a compact list (112 px picture beside the text) */
.dn-home-tile-row.is-explore { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); }
.is-explore .dn-home-tile.is-start .dn-home-tile-img { object-position: 50% 40%; }
.is-explore .dn-home-tile.is-kids .dn-home-tile-img { object-position: 50% 35%; }
.is-explore .dn-home-tile-body .dn-card-text { flex: 1 0 auto; }
.is-explore .dn-home-tile-body .dn-tag { align-self: flex-start; }
@media (max-width: 1099.98px) { .dn-home-tile-row.is-explore { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639.98px) {
  .dn-home-tile-row.is-explore { grid-template-columns: 1fr; gap: var(--space-3); }
  .is-explore .dn-home-tile { flex-direction: row; align-items: stretch; }
  .is-explore .dn-home-tile-img { width: 112px; flex: none; aspect-ratio: auto; height: auto; min-height: 112px; object-fit: cover; }
  .is-explore .dn-home-tile-body { padding: 12px 14px; gap: 4px; }
  .is-explore .dn-card-title { font-size: 17px; }
  .is-explore .dn-card-text { font-size: 14px; line-height: 20px; }
  .is-explore .dn-card-arrow { display: none; }
}
/* 2. When they lived: a 4 px top rule in the period colour and a 16% tint of it; a card spanning two periods blends them */
.dn-term-tile.dn-era-tile { position: relative; overflow: hidden; padding-top: calc(var(--space-4) + 4px);
  background: linear-gradient(90deg, color-mix(in srgb, var(--p1) 16%, #202123), color-mix(in srgb, var(--p2) 16%, #202123)); }
.dn-term-tile.dn-era-tile::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--p1), var(--p2)); }
.dn-term-tile.dn-era-tile:not(.is-span)::before { background: var(--p1); }
.dn-term-tile.dn-era-tile:hover { border-color: var(--p2); }
.dn-term-tile.dn-era-tile .dn-card-meta { color: var(--fossil-stone); }
/* 3. Where were they found: three teasers under the map row */
.dn-data-credit { margin: var(--space-3) 0 0; font-size: 12px; line-height: 17px; color: var(--text-muted-on-dark); }
.dn-teasers { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.dn-teaser { display: flex; flex-direction: column; height: 100%; overflow: hidden; text-decoration: none; color: var(--text-on-dark); transition: transform .2s ease, border-color .2s ease; }
a.dn-teaser:hover { transform: translateY(-4px); border-color: var(--action); }
@media (prefers-reduced-motion: reduce) { .dn-teaser { transition: none; } a.dn-teaser:hover { transform: none; } }
.dn-tz-vis { position: relative; display: block; height: 240px; overflow: hidden; background: #15191c; border-bottom: 1px solid var(--line-dark); }
.dn-tz-globe { position: absolute; left: 50%; top: 50%; width: 224px; height: 224px; max-width: none; transform: translate(-50%, -50%); }
.is-globe .dn-tz-vis { background: radial-gradient(60% 80% at 50% 50%, #1b2830, #121417 70%); }
.dn-tz-tilt { position: absolute; left: -40px; right: -40px; top: 0; bottom: 0; perspective: 340px; perspective-origin: 50% 0%; }
.dn-tz-flat { position: absolute; left: 0; bottom: -40px; width: 100%; height: auto; max-width: none; transform: rotateX(55deg); transform-origin: 50% 100%; }
/* Row 79: the flat card's picture is a plane of layers (land and grid, six bands of points) at the same place and tilt */
.h79-plane { display: block; aspect-ratio: 1000 / 486.7; transform-style: preserve-3d; }
.h79-plane img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; }
.is-flat .dn-tz-vis::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #121417 0, rgba(18, 20, 23, 0) 38%); pointer-events: none; }
.dn-tz-tour { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.dn-tz-play { position: absolute; left: 16px; bottom: 14px; width: 48px; height: 48px; border-radius: 50%; background: var(--action); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .5); }
.dn-tz-play svg { width: 22px; height: 22px; fill: #121417; margin-left: 3px; }
.dn-tz-clips { position: absolute; left: 74px; bottom: 26px; padding: 3px 10px; border-radius: 999px; background: rgba(18, 20, 23, .85); border: 1px solid var(--line-dark); font: 700 11px/16px var(--font-heading); letter-spacing: .06em; text-transform: uppercase; color: var(--text-on-dark); }
.dn-tz-body { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-4); flex: 1; }
.dn-tz-body .dn-eyebrow { margin: 0; }
.dn-tz-body .dn-card-text { color: var(--text-muted-on-dark); }
.dn-tz-cta { margin-top: auto; padding-top: var(--space-2); font: 700 13px/18px var(--font-heading); letter-spacing: .08em; text-transform: uppercase; color: var(--action); }
@media (max-width: 899.98px) { .dn-teasers { grid-template-columns: 1fr; } .dn-tz-vis { height: 200px; } }
/* 4. Browse by group: all five on one row from 1100 px, three to 640 px, two on phones */
.dn-home-tile-row.is-groups { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-4); }
@media (max-width: 1099.98px) { .dn-home-tile-row.is-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 639.98px) {
  .dn-home-tile-row.is-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
  .is-groups .dn-home-tile-body { padding: 12px; }
  .is-groups .dn-card-title { font-size: 15px; line-height: 20px; overflow-wrap: anywhere; }
  .dn-home-era .dn-terms.is-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
  .dn-term-tile.dn-era-tile { padding: 14px 12px 12px; }
  .dn-term-tile.dn-era-tile .dn-card-title { font-size: 15px; line-height: 20px; }
}

/* print (core 0.20.8): the page head as plain text, the eyebrow, title and lead in black; no artwork, scrim or credit */
@media print {
  .dn-page-head, .dn-page-head.has-art { min-height: 0 !important; background: none !important; color: #000 !important; }
  .dn-page-head::before, .dn-page-head::after, .dn-page-head .dn-art-credit, .dn-page-head picture, .dn-page-head img { display: none !important; }
  .dn-page-head > .dn-wrap { padding: 0 0 12px !important; }
  .dn-page-head .dn-eyebrow, .dn-page-head .dn-lead { color: #000 !important; background: none !important; }
}

/* core 0.20.8: running text keeps a measure of about 72 characters in the 1,700 px wrapper (Ben, 2026-11-15) */
.dn-feat-glance-p, .dn-rex-feature-text, .st-note, .sp-cr-src { max-width: 72ch; }
/* Start here: the fact slabs side by side (two from about 900 px, three at 1920) rather than one stretched slab; the sources list at its measure */
.st-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); }
.st-sources li { max-width: 72ch; }
.wt-slab :is(p, li):not(.dn-feat-h) { max-width: 72ch; }

/* core 0.20.8: in the 1,700 px wrapper, the card grids add columns rather than stretching cards (Ben, 2026-11-15): from
   1280 px each card is at least 260 px and under 2 x 260 wide (4 across at 1280 and 1366, 5 or 6 at 1920); narrower windows unchanged */
@media (min-width: 1280px) { .st-tiles { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); } }

/* ---------- Meet the dinosaurs, the home slider (core 0.30.0; approval row 78, briefs/handoff-home78-design-2026-11-30.md;
   lifted from the prototype design/phase-1/canvas-3/source/home78/ed78.css). Tokens and the three fonts only. Text on the
   dark stone: Bone White #F5F1E6, #E6DCC7 and Fossil Stone #C9B79A; orange #F58A1F for marks and the Source label; every
   text AA on its worst pixel. The fit budget: the whole section in one window at 1920 x 940 and 1366 x 768, idle and
   narrating. Without JavaScript (.h78 without .is-js) every slide shows, stacked, and the bar stays hidden. Only opacity
   and transform are animated (the crossfade, the progress line). */
.dn-home-featured.is-h78 { padding-block: 20px 22px; }
.dn-home-featured.is-h78 > .dn-wrap > .dn-bh { margin-bottom: 18px; }
.h78 { --gap: 32px; --p: 0; position: relative; display: flex; flex-direction: column; }
.h78 > .nar-plate { order: 0; margin: 0 0 12px; }
.h78 > .nar-live { order: 4; }
.h78-stage { order: 1; display: grid; gap: 24px; }
.h78-bar { order: 2; }
.h78-live { order: 5; }
.h78.is-js .h78-stage { gap: 0; }
.h78.is-js .h78-stage > .h78-slide { grid-area: 1 / 1; }
.h78 .dn-feat-auth, .h78 .dn-feat-glance-p { font-family: var(--font-body); }

/* a slide */
.h78-slide { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr) minmax(0, 1.08fr); grid-template-areas: "a b c"; gap: 0 var(--gap);
  padding: 24px 28px; box-sizing: border-box; min-width: 0; }
.h78.is-js .h78-slide { visibility: hidden; opacity: 0; }
.h78.is-js .h78-slide.is-on { visibility: visible; opacity: 1; }
/* the crossfade only once the first slide is set (no fade on arrival) */
.h78.is-ready .h78-slide { transition: opacity .45s ease, visibility 0s linear .45s; }
.h78.is-ready .h78-slide.is-on { transition: opacity .45s ease, visibility 0s; }
.h78.is-rm .h78-slide { transition: none !important; }
.h78-slide > * { position: relative; z-index: 1; min-width: 0; }
.h78-a { grid-area: a; display: flex; flex-direction: column; gap: 14px; }
.h78-b { grid-area: b; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.h78-c { grid-area: c; display: flex; flex-direction: column; gap: 16px; }
.h78-a > *, .h78-b > *, .h78-c > * { margin: 0; }

/* the side view on its ground */
/* from 760 px the picture takes the room its column has left (at least --fig-min), so the stage is as tall as the tallest
   slide's text, not its picture */
.h78-fig { --fig-min: 250px; margin: 0; flex: 1 1 0; display: flex; flex-direction: column; align-items: stretch; justify-content: center; min-height: var(--fig-min); padding: 10px 14px 6px; box-sizing: border-box; border-radius: 10px;
  background: radial-gradient(ellipse 85% 75% at 50% 50%, #2c2a27 0%, #1a1816 72%, #141210 100%); box-shadow: inset 0 0 0 1px rgba(201, 183, 154, .14), inset 0 -24px 40px -28px rgba(107, 79, 46, .55); }
.h78-fig .dn-feat-img { display: block; position: relative; flex: 1 1 0; min-height: 0; width: 100%; }
.h78-fig .dn-feat-img::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 3%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0)); z-index: 0; }
.h78-fig img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: contain; }
.h78-fig.is-sil .dn-feat-img { display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 2 / 1; }
.h78-fig.is-sil .dn-feat-sil { position: relative; z-index: 1; width: 62%; height: auto; max-height: 92%; margin-bottom: 4%; fill: var(--stone-brown); }
.h78-fig figcaption { margin-top: 6px; }
/* core 0.33.0: the picture sits on the bottom of its box and the shadow's centre line sits on the feet. --dn-feet is the side
   view's lowest opaque row as a fraction of its height (measure_side_views.py, printed on the figure); the drawn picture is
   min(box height, box width / 2) tall, because every side view is 2:1 */
.h78-fig:not(.is-sil) .dn-feat-img { container-type: size; }
.h78-fig:not(.is-sil) img { object-position: 50% 100%; }
.h78-fig[style*="--dn-feet"]:not(.is-sil) .dn-feat-img::after { --ih: min(100cqh, 50cqw); height: calc(var(--ih) * .09); bottom: calc((1 - var(--dn-feet)) * var(--ih) - var(--ih) * .045); }
.dn-feat-fig.is-art[style*="--dn-feet"] .dn-feat-img::after { bottom: calc((1 - var(--dn-feet)) * 100% - 4.5%); }

/* the stat tiles: a 40 px bronze medallion (the banner's), the label and the value */
.h78-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.h78-tiles[data-n="3"] .h78-tile:nth-child(3) { grid-column: 1 / -1; }
.h78-tile { position: relative; min-height: 61px; box-sizing: border-box; padding: 10px 14px 11px 62px; border-radius: 10px;
  background: linear-gradient(180deg, #26221d, #1c1916); box-shadow: inset 0 0 0 1px rgba(201, 183, 154, .2), 0 6px 14px -8px rgba(0, 0, 0, .9); }
.h78-tile dt { margin: 1px 0 0; font: 700 11px/15px var(--font-heading); letter-spacing: .08em; text-transform: uppercase; color: #C9B79A; }
.h78-tile dd { margin: 3px 0 0; font: 600 16px/21px var(--font-body); color: #F5F1E6; overflow-wrap: anywhere; }
.h78-med { position: absolute; left: 10px; top: 10px; width: 40px; height: 40px; display: grid; place-items: center; box-sizing: border-box; border-radius: 50%; border: 2px solid transparent;
  background: radial-gradient(circle at 38% 32%, var(--bh-med-1, #3a2c20) 0%, #241b14 58%, var(--bh-med-2, #1b1510) 100%) padding-box,
              linear-gradient(140deg, #F2C89A 0%, #C47C44 42%, #8E5228 78%, #5E3317 100%) border-box;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .55), 0 4px 8px rgba(0, 0, 0, .5); }
.h78-med .dn-bh-ic { width: 64%; height: 64%; }
/* Length with Michael: the value, its source (and the young line), and the scale beside them */
.h78-tile.is-len { grid-column: 1 / -1; padding-right: calc(max(var(--b) + 15px, 190px) + 28px); }
.h78-len-v { display: block; }
.h78-len-src, .h78-len-young { display: block; margin-top: 1px; font: 400 12px/16px var(--font-body); color: #E6DCC7; }
.h78-scale { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: max(calc(var(--b) + 15px), 190px); display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: flex-end; column-gap: 4px; }
.h78-scale img { display: block; width: 11px; height: 30px; filter: brightness(1.15); }
.h78-scale .b { position: relative; width: var(--b); height: 12px; border-radius: 3px;
  background: repeating-linear-gradient(135deg, rgba(245, 138, 31, .55) 0 3px, rgba(245, 138, 31, .2) 3px 6px); box-shadow: inset 0 0 0 1px rgba(245, 138, 31, .7); }
.h78-scale .b::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--a); border-radius: 3px; background: #F58A1F; }
.h78-scale .k { flex: 1 1 100%; margin-top: 4px; font: 400 11px/14px var(--font-body); color: #E6DCC7; text-align: right; }

/* the head */
.h78-b .dn-feat-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.h78-b .dn-feat-name.dn-feat-name { margin: 2px 0 0; font-size: 50px; line-height: 48px; color: #F5F1E6; text-wrap: balance; }
.h78-say .sp-say { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 6px; border: 0; border-radius: 999px; background: rgba(18, 20, 23, .82); cursor: pointer;
  box-shadow: inset 0 0 0 1.5px #F58A1F, 0 8px 22px -10px rgba(0, 0, 0, .9); color: #F5F1E6; font: 700 14px/20px var(--font-heading); }
.h78-say .sp-say .c { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #F58A1F; }
.h78-say .sp-say .c svg { width: 14px; height: 14px; fill: #121417; }
.h78-say .sp-say .c .pl { transform: translateX(1px); }
.h78-say .sp-say .c .wv { display: none; }
.h78-say .sp-say:hover, .h78-say .sp-say:focus-visible { box-shadow: inset 0 0 0 1.5px #F58A1F, 0 0 22px -4px rgba(245, 138, 31, .7); }
.h78-say .sp-say:focus-visible { outline: 3px solid #F5F1E6; outline-offset: 3px; }
.h78-say .sp-say.is-playing { background: #F58A1F; color: #121417; }
.h78-say .sp-say.is-playing .c { background: #121417; }
.h78-say .sp-say.is-playing .c svg { fill: #F58A1F; }
.h78-say .sp-say.is-playing .c .pl { display: none; }
.h78-say .sp-say.is-playing .c .wv { display: inline; }
.h78-say .sp-say-line { margin: 8px 0 0; font: 400 13px/19px var(--font-body); color: #E6DCC7; }
.h78-by { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.h78-by .dn-feat-auth { margin: 0; font-size: 15px; line-height: 20px; color: #E6DCC7; }
.h78-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding-top: 10px; }
.h78-act .dn-feat-meet { font-size: 16px; line-height: 22px; padding: 13px 22px; }
.h78-act .dn-link-more { color: #F5F1E6; }

/* Deep dive: a 36 px Bone White disc with a play icon, "Deep dive" and its length; playing: orange, the progress ring */
.h78-dive { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 6px; border: 0; border-radius: 999px; cursor: pointer; text-align: left;
  background: #121417; box-shadow: inset 0 0 0 1.5px rgba(245, 241, 230, .55); color: #F5F1E6; }
.h78-dive .c { position: relative; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #F5F1E6; color: #121417; flex: none; }
.h78-dive .c svg.pl, .h78-dive .c svg.pa { grid-area: 1 / 1; width: 15px; height: 15px; fill: currentColor; }
.h78-dive .c svg.pl { transform: translateX(1px); }
.h78-dive .c svg.pa { display: none; }
.h78-dive .ring { position: absolute; left: -4px; top: -4px; width: 44px; height: 44px; transform: rotate(-90deg); opacity: 0; }
.h78-dive .ring circle { fill: none; stroke-width: 3; }
.h78-dive .ring .tr { stroke: rgba(245, 241, 230, .2); }
.h78-dive .ring .pr { stroke: #F58A1F; stroke-linecap: round; stroke-dasharray: 125.7; stroke-dashoffset: calc(125.7 * (1 - var(--dp, 0))); }
.h78-dive .t { display: grid; }
.h78-dive b { font: 700 15px/19px var(--font-heading); }
.h78-dive small { font: 400 12px/16px var(--font-body); color: #E6DCC7; }
.h78-dive:hover, .h78-dive:focus-visible { box-shadow: inset 0 0 0 1.5px #F5F1E6, 0 0 22px -6px rgba(245, 241, 230, .5); }
.h78-dive:focus-visible { outline: 3px solid #F58A1F; outline-offset: 3px; }
.h78-dive.is-on { box-shadow: inset 0 0 0 2px #F58A1F; }
.h78-dive.is-on .c { background: #F58A1F; }
.h78-dive.is-on .ring { opacity: 1; }
.h78-dive.is-playing .c svg.pl { display: none; }
.h78-dive.is-playing .c svg.pa { display: block; }

/* Did you know? the feature; At a glance the support */
.h78-h { margin: 0; font: 700 12px/16px var(--font-heading); letter-spacing: .1em; text-transform: uppercase; color: #F58A1F; }
.h78-dyk { position: relative; margin: 0; padding: 18px 20px 18px 22px; border-radius: 10px; background: linear-gradient(180deg, rgba(201, 183, 154, .085), rgba(201, 183, 154, .04));
  box-shadow: inset 4px 0 0 #C9B79A, inset 0 0 0 1px rgba(201, 183, 154, .16); }
.h78-q { position: absolute; right: 18px; top: 14px; width: 30px; height: 30px; fill: #F58A1F; }
.h78-dyk .h78-h { padding-right: 54px; }
.h78-dyk-t { margin: 10px 0 12px; font: italic 400 22px/31px var(--font-body); color: #F5F1E6; text-wrap: pretty; }
.h78-dyk-t i, .h78-dyk-t em { font-style: normal; }
.h78 .h78-chip { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; max-width: 100%; box-sizing: border-box; min-height: 28px; margin: 0 6px 0 0; padding: 5px 12px; border-radius: 999px;
  background: #121417; box-shadow: inset 0 0 0 1px rgba(201, 183, 154, .45); color: #F5F1E6; text-decoration: none; font: 400 13px/18px var(--font-body); }
.h78-chip .n { font: 700 11px/18px var(--font-heading); letter-spacing: .08em; text-transform: uppercase; color: #F58A1F; }
.h78 .h78-chip:hover { box-shadow: inset 0 0 0 1.5px #F58A1F; text-decoration: underline; }
.h78 .h78-chip:focus-visible { outline: 3px solid #F5F1E6; outline-offset: 2px; }
.h78-glance { padding: 0 4px 0 2px; }
.h78-glance .dn-feat-glance-p { max-width: none; margin: 6px 0 0; font: 400 14px/22px var(--font-body); color: #E6DCC7; }
.h78-note { margin: 8px 0 0; font: 400 12px/16px var(--font-body); color: #C9B79A; }
.h78 .h78-slide a.sp-cite { position: relative; display: inline-block; margin-left: 2px; padding: 2px 4px 1px; border-radius: 3px; vertical-align: 5px; font: 700 10px/1 var(--font-heading); text-decoration: none;
  background: #6B2806; color: #F5F1E6; }
.h78 .h78-slide a.sp-cite::after { content: ""; position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; transform: translate(-50%, -50%); }
.h78 .h78-slide a.sp-cite:hover { background: #F58A1F; color: #121417; }
.h78 .h78-slide a.sp-cite:focus-visible { outline: 3px solid #F5F1E6; outline-offset: 2px; }

/* the controls: Pause / Play, Previous, the thumbnails, Next, "1 of 7"; first in the reading order, shown under the stage */
.h78-bar { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; }
.h78-bar[hidden] { display: none; }
.h78-pp, .h78-nav { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; min-width: 44px; padding: 0; border: 0; border-radius: 999px; cursor: pointer; flex: none;
  background: #121417; color: #F5F1E6; box-shadow: inset 0 0 0 1.5px rgba(245, 241, 230, .45); font: 700 14px/20px var(--font-heading); }
.h78-pp { padding: 0 18px 0 14px; margin-right: 6px; }
.h78-pp svg, .h78-nav svg { width: 18px; height: 18px; fill: currentColor; }
.h78-pp .pl { display: none; }
.h78-pp.is-paused { background: #F58A1F; color: #121417; box-shadow: none; }
.h78-pp.is-paused .pl { display: block; }
.h78-pp.is-paused .pa { display: none; }
.h78-pp:hover, .h78-nav:hover { box-shadow: inset 0 0 0 1.5px #F58A1F; }
.h78-pp:focus-visible, .h78-nav:focus-visible, .h78-th:focus-visible { outline: 3px solid #F5F1E6; outline-offset: 3px; }
.h78-thumbs { display: flex; gap: 8px; }
.h78-th { position: relative; width: 84px; height: 48px; padding: 3px; border: 0; border-radius: 8px; cursor: pointer; background: #1c1916; box-shadow: inset 0 0 0 1px rgba(201, 183, 154, .3); }
.h78-th img, .h78-th .h78-th-sil { display: block; width: 100%; height: 100%; object-fit: contain; opacity: .7; filter: saturate(.75); transition: opacity .2s; fill: var(--stone-brown); }
.h78-th:hover img, .h78-th:hover .h78-th-sil { opacity: 1; filter: none; }
.h78-th[aria-current="true"] { box-shadow: inset 0 0 0 2px #F58A1F, 0 0 18px -6px rgba(245, 138, 31, .8); }
.h78-th[aria-current="true"] img, .h78-th[aria-current="true"] .h78-th-sil { opacity: 1; filter: none; }
.h78-th .d { display: none; }
.h78-th .pg { position: absolute; left: 6px; right: 6px; bottom: -8px; height: 3px; border-radius: 2px; background: rgba(245, 241, 230, .16); overflow: hidden; display: none; }
.h78-th[aria-current="true"] .pg { display: block; }
.h78-th .pg::before { content: ""; position: absolute; inset: 0; background: #F58A1F; transform-origin: 0 50%; transform: scaleX(var(--p)); }
.h78.is-user-paused .h78-th .pg::before { background: #C9B79A; }
.h78.is-rm .h78-th .pg { display: none !important; }
.h78-pos { min-width: 52px; margin: 0 0 0 6px; font: 700 14px/20px var(--font-heading); color: #E6DCC7; font-variant-numeric: tabular-nums; }
.h78.is-dive .h78-bar { display: none; }

/* narrower screens */
@media (max-width: 1500px) {
  .h78 { --gap: 26px; }
  .h78-slide { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.12fr); padding: 16px 22px; }
  .h78-fig { --fig-min: 190px; }
  .h78-c { gap: 12px; }
  .h78-note { margin-top: 6px; }
  .h78-b .dn-feat-name.dn-feat-name { font-size: 40px; line-height: 40px; }
  .h78-dyk { padding: 14px 16px 14px 18px; }
  .h78-dyk-t { margin: 6px 0 8px; font-size: 19px; line-height: 27px; }
  .h78-q { top: 12px; right: 14px; width: 24px; height: 24px; }
  .h78-glance .dn-feat-glance-p { font-size: 13px; line-height: 20px; }
  .h78-a { gap: 10px; }
  .h78-tiles { gap: 8px; }
  .h78-tile { min-height: 51px; padding: 8px 12px 9px 52px; }
  .h78-tile dd { font-size: 15px; line-height: 20px; }
  .h78-med { left: 8px; top: 8px; width: 34px; height: 34px; }
  /* the source beside the value, the scale under them */
  .h78-tile.is-len { padding-right: 12px; }
  .h78-len-v { display: inline; }
  .h78-len-src { display: inline; margin-left: 8px; }
  .h78-scale { position: static; transform: none; width: auto; margin-top: 6px; justify-content: flex-start; flex-wrap: nowrap; }
  .h78-scale .k { flex: 0 1 auto; margin: 0 0 0 8px; align-self: flex-end; text-align: left; }
}
@media (max-width: 1099px) {
  .h78-slide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "a b" "c c"; gap: 22px; }
  .h78-c { flex-direction: row; }
  .h78-c > * { flex: 1 1 0; }
}
@media (max-width: 759px) {
  .dn-home-featured.is-h78 { padding-block: 20px 24px; }
  .h78-slide { grid-template-columns: minmax(0, 1fr); grid-template-areas: "a" "b" "c"; gap: 18px; padding: 14px 14px 18px; }
  .h78-a { display: contents; }
  .h78-fig { grid-area: a; flex: none; min-height: 0; }
  .h78-fig .dn-feat-img { flex: none; aspect-ratio: 2 / 1; }
  .h78-b { grid-row: 2; }
  .h78-tiles { grid-row: 3; }
  .h78-c { grid-row: 4; flex-direction: column; }
  .h78-b .dn-feat-name.dn-feat-name { font-size: 36px; line-height: 36px; }
  /* a 28 px medallion beside the label, the value under both (so "Tyrannosauridae" never breaks) */
  .h78-tile { min-height: 0; padding: 9px 11px 10px; }
  .h78-tile dt { display: flex; align-items: center; gap: 8px; min-height: 28px; margin: 0; }
  .h78-med { position: static; flex: none; width: 28px; height: 28px; border-width: 1.5px; }
  .h78-tile dd { margin-top: 6px; overflow-wrap: normal; }
  .h78-len-v, .h78-len-src, .h78-len-young { display: block; margin-left: 0; }
  .h78-scale { flex-wrap: wrap; margin-top: 8px; }
  .h78-scale .k { flex: 1 1 100%; margin: 4px 0 0; }
  .h78-dyk-t { font-size: 18px; line-height: 27px; }
  .h78-act .dn-feat-meet { display: block; width: 100%; box-sizing: border-box; text-align: center; }
  /* the bar: seven dots in a full-width row, then Pause at the left, Previous, "1 of 7" and Next at the right */
  .h78-bar { flex-wrap: wrap; gap: 8px 6px; }
  .h78-thumbs { order: -1; flex: 1 1 100%; justify-content: center; gap: 0; }
  .h78-th { width: 44px; height: 44px; padding: 0; background: none; box-shadow: none; border-radius: 50%; }
  .h78-th img, .h78-th .h78-th-sil { display: none; }
  .h78-th .d { display: block; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #121417; box-shadow: inset 0 0 0 2px #C9B79A; }
  .h78-th[aria-current="true"] { box-shadow: none; }
  .h78-th[aria-current="true"] .d { width: 26px; margin-left: -13px; border-radius: 6px; background: #F58A1F; box-shadow: none; }
  .h78-th .pg { left: 9px; right: 9px; bottom: 4px; }
  .h78-pp { order: 1; margin-right: auto; }
  .h78-nav.is-prev { order: 1; }
  .h78-pos { order: 2; margin: 0; text-align: center; }
  .h78-nav.is-next { order: 3; }
}
@media (prefers-reduced-motion: reduce) {
  .h78-slide, .h78-th img { transition: none !important; }
}
/* print: every slide's text, stacked, no controls, Pronounce or Deep dive */
@media print {
  .h78-bar, .h78-say .sp-say, .h78-dive, .h78 > .nar-plate { display: none !important; }
  .h78.is-js .h78-stage { gap: 24px; }
  .h78.is-js .h78-stage > .h78-slide { grid-area: auto; visibility: visible !important; opacity: 1 !important; transition: none !important; }
}
/* the Deep dive's plate, docked above the slide at the slider's width (dn-tours.css narrows a plate outside .dn-wrap) */
.h78 > .nar-plate.is-tour { width: auto; margin: 0 0 12px; }
