:root {
  --ink: #140d24;
  --ink-soft: #211437;
  --paper: #f5ecd8;
  --paper-deep: #e7d7b6;
  --coral: #ff6046;
  --gold: #f4bd45;
  --teal: #24b5a6;
  --blue: #4b79ff;
  --plum: #6f3dbf;
  --white: #fffaf0;
  --muted: #b7a9c8;
  --line: rgba(255, 250, 240, 0.22);
  --display: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 8% 18%, rgba(111, 61, 191, 0.22), transparent 29rem),
    radial-gradient(circle at 92% 9%, rgba(255, 96, 70, 0.16), transparent 31rem),
    var(--ink);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 0.7rem 1rem;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0.75rem max(1.25rem, calc((100vw - var(--max)) / 2));
  background: rgba(20, 13, 36, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--white);
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: inline-grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  background: var(--coral);
  color: var(--ink);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.site-nav a {
  color: #ddd2ea;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--gold);
}

.menu-button {
  display: none;
  padding: 0.55rem 0.8rem;
  background: transparent;
  color: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(390px, 0.93fr);
  gap: clamp(2rem, 7vw, 8rem);
  min-height: calc(100svh - 76px);
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 8.5rem) max(1.25rem, calc((100vw - var(--max)) / 2)) 5rem;
  align-items: center;
}

.hero::after {
  position: absolute;
  right: 5vw;
  bottom: 1.5rem;
  left: 5vw;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.4rem, 10vw, 9.5rem);
  font-weight: 500;
  line-height: 0.83;
  letter-spacing: -0.075em;
}

.hero h1::first-line {
  color: var(--paper);
}

.hero-intro {
  max-width: 680px;
  margin: 2rem 0 0;
  color: #d9cee6;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 780;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--coral);
  color: var(--ink);
}

.button-secondary {
  border-color: var(--line);
  color: var(--white);
}

.button-secondary:hover {
  background: var(--white);
  color: var(--ink);
}

.scope-note {
  max-width: 630px;
  margin: 1.6rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
  border-left: 2px solid var(--teal);
  font-size: 0.88rem;
}

.hero-atlas {
  position: relative;
  min-height: 570px;
  isolation: isolate;
}

.atlas-title {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.atlas-rings,
.ring {
  position: absolute;
  inset: 0;
}

.atlas-rings {
  top: 2.5rem;
  bottom: 0;
}

.ring {
  margin: auto;
  border: 1px solid rgba(255, 250, 240, 0.25);
  border-radius: 50%;
}

.ring-one {
  width: min(92%, 500px);
  height: min(92%, 500px);
  border-style: dashed;
  animation: rotate 55s linear infinite;
}

.ring-two {
  width: min(67%, 360px);
  height: min(67%, 360px);
  border-color: rgba(244, 189, 69, 0.34);
}

.ring-three {
  width: min(42%, 225px);
  height: min(42%, 225px);
  background: repeating-conic-gradient(from 20deg, rgba(255, 96, 70, 0.22) 0 8deg, transparent 8deg 21deg);
  border: 0;
  animation: rotate-reverse 40s linear infinite;
}

.atlas-centre {
  position: absolute;
  inset: 2.5rem 0 0;
  display: flex;
  width: 140px;
  height: 140px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto;
  background: var(--paper);
  color: var(--ink);
  border-radius: 50%;
  font-family: var(--display);
  line-height: 1.02;
  transform: rotate(-8deg);
}

.atlas-centre span {
  font-size: 1rem;
  font-style: italic;
}

.atlas-centre strong {
  font-size: 1.85rem;
  font-weight: 500;
}

.atlas-point {
  position: absolute;
  z-index: 3;
  display: flex;
  min-width: 170px;
  flex-direction: column;
  padding: 0.75rem 0.9rem;
  background: rgba(33, 20, 55, 0.88);
  border: 1px solid var(--line);
  border-radius: 0.3rem;
  text-decoration: none;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, border-color 180ms ease;
}

.atlas-point::before {
  position: absolute;
  top: 50%;
  left: -5px;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
  transform: translateY(-50%);
}

.atlas-point:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.atlas-point span {
  font-weight: 760;
}

.atlas-point small {
  color: var(--muted);
  font-size: 0.72rem;
}

.point-sahel { top: 14%; left: 2%; }
.point-horn { top: 25%; right: -2%; }
.point-coast { top: 58%; right: 0; }
.point-forest { top: 63%; left: -4%; }
.point-south { bottom: 1%; left: 36%; }

.section-shell {
  width: min(calc(100% - 2.5rem), var(--max));
  margin-inline: auto;
}

.section-number {
  margin-bottom: 1.5rem;
  color: var(--coral);
  font-family: var(--display);
  font-size: 1.05rem;
  font-style: italic;
}

.section-heading h2,
.reading-section h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.7rem, 6vw, 5.5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.orientation {
  padding: 7rem 0;
}

.orientation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.orientation-grid article {
  min-height: 320px;
  padding: 2rem;
  border-right: 1px solid var(--line);
}

.orientation-grid article:first-child {
  padding-left: 0;
}

.orientation-grid article:last-child {
  padding-right: 0;
  border-right: 0;
}

.orientation-index {
  display: block;
  margin-bottom: 4rem;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
}

.orientation-grid h3,
.method-grid h3 {
  margin: 0 0 0.7rem;
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 500;
}

.orientation-grid p,
.method-grid p {
  margin: 0;
  color: var(--muted);
}

.timeline-section {
  padding: 7rem 0;
}

.timeline-heading,
.regions-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 3rem;
  align-items: end;
}

.timeline-heading > p,
.regions-heading > p {
  margin: 0 0 0.25rem;
  color: var(--muted);
}

.era-controls {
  display: flex;
  gap: 0.6rem;
  margin: 3rem 0 1.25rem;
  padding-bottom: 0.5rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.era-button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0.65rem 1rem;
  background: transparent;
  color: #ded2ec;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.era-button:hover,
.era-button.is-active {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.timeline-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.timeline-key {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timeline-key i {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
}

.timeline-list {
  border-top: 1px solid var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 185px minmax(220px, 0.65fr) minmax(300px, 1fr) 36px;
  gap: 1.5rem;
  width: 100%;
  padding: 1.4rem 0;
  background: transparent;
  color: var(--white);
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
  align-items: start;
  transition: background 180ms ease, padding 180ms ease;
}

.timeline-item:hover,
.timeline-item[aria-expanded="true"] {
  padding-inline: 1rem;
  background: rgba(255, 250, 240, 0.06);
}

.timeline-date {
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.1rem;
}

.timeline-title {
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.25;
}

.timeline-preview {
  color: var(--muted);
}

.timeline-toggle {
  color: var(--coral);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.timeline-item[aria-expanded="true"] .timeline-toggle {
  transform: rotate(45deg);
}

.timeline-detail {
  grid-column: 2 / 4;
  display: none;
  max-width: 760px;
  padding: 0.5rem 0 0.75rem;
  color: #e7dced;
}

.timeline-item[aria-expanded="true"] .timeline-detail {
  display: block;
}

.timeline-detail p {
  margin: 0 0 0.7rem;
}

.timeline-detail span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.regions-section {
  padding: 7rem 0 9rem;
}

.region-explorer {
  display: grid;
  grid-template-columns: minmax(250px, 0.42fr) minmax(0, 1fr);
  margin-top: 3.5rem;
  border: 1px solid var(--line);
}

.region-tabs {
  background: rgba(255, 250, 240, 0.04);
  border-right: 1px solid var(--line);
}

.region-tab {
  position: relative;
  display: block;
  width: 100%;
  min-height: 68px;
  padding: 1rem 2.5rem 1rem 1.25rem;
  background: transparent;
  color: #d9cee6;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
}

.region-tab::after {
  position: absolute;
  top: 50%;
  right: 1rem;
  content: "→";
  color: var(--coral);
  opacity: 0;
  transform: translate(-5px, -50%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.region-tab:hover,
.region-tab.is-active {
  background: var(--paper);
  color: var(--ink);
}

.region-tab.is-active::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.region-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 4rem;
  min-height: 520px;
  padding: clamp(2rem, 5vw, 4.5rem);
  background:
    linear-gradient(135deg, transparent 0 72%, rgba(36, 181, 166, 0.12) 72% 74%, transparent 74%),
    var(--ink-soft);
}

.region-panel::before {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 68px;
  height: 68px;
  content: "";
  background: repeating-conic-gradient(var(--coral) 0 11deg, transparent 11deg 24deg);
  border-radius: 50%;
  opacity: 0.6;
}

.region-kicker,
.small-label {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.region-panel h3 {
  max-width: 720px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.region-summary {
  max-width: 680px;
  margin: 1.5rem 0;
  color: #d9cee6;
  font-size: 1.08rem;
}

.theme-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.theme-list span {
  padding: 0.45rem 0.7rem;
  color: var(--teal);
  border: 1px solid rgba(36, 181, 166, 0.38);
  border-radius: 999px;
  font-size: 0.78rem;
}

.region-places {
  align-self: end;
}

.region-places ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: places;
}

.region-places li {
  display: flex;
  gap: 0.75rem;
  padding: 0.65rem 0;
  color: #e5d9ee;
  border-top: 1px solid var(--line);
  counter-increment: places;
}

.region-places li::before {
  content: counter(places, decimal-leading-zero);
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 800;
}

.stories-section {
  padding: 7rem 0;
  background: var(--paper);
  color: var(--ink);
}

.stories-section .section-number {
  color: var(--plum);
}

.stories-section .eyebrow {
  color: #8e321f;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3.5rem;
}

.story-card {
  display: flex;
  min-height: 660px;
  flex-direction: column;
  border: 1px solid rgba(20, 13, 36, 0.2);
}

.story-art {
  position: relative;
  display: grid;
  min-height: 280px;
  flex: 0 0 auto;
  margin: 0;
  place-items: center;
  overflow: hidden;
  background: var(--ink-soft);
}

.story-art::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, transparent 20%, rgba(20, 13, 36, 0.26) 66%, rgba(20, 13, 36, 0.84));
  pointer-events: none;
}

.story-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.story-card:hover .story-art img {
  transform: scale(1.035);
}

.story-art-word {
  position: relative;
  z-index: 2;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(2.6rem, 4.4vw, 4.6rem);
  font-style: italic;
  line-height: 1;
  transform: rotate(-8deg);
}

.story-art figcaption {
  position: absolute;
  right: 0.8rem;
  bottom: 0.55rem;
  left: 0.8rem;
  z-index: 3;
  color: rgba(255, 250, 240, 0.82);
  font-size: 0.68rem;
  line-height: 1.35;
}

.story-art figcaption a {
  color: inherit;
  text-decoration-color: rgba(255, 250, 240, 0.55);
  text-underline-offset: 2px;
}

.story-card-benin .story-art img {
  object-position: center 28%;
}

.story-card-timbuktu .story-art img {
  object-position: center 22%;
}

.story-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.6rem;
}

.story-meta {
  margin: 0 0 1rem;
  color: #7a3b2d;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.story-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.story-card p:not(.story-meta) {
  color: #554b5c;
}

.story-card a {
  margin-top: auto;
  padding-top: 1.5rem;
  color: var(--ink);
  font-weight: 780;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.method-section {
  padding: 8rem 0;
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.method-heading {
  position: sticky;
  top: 120px;
  align-self: start;
}

.method-heading p:last-child {
  max-width: 480px;
  margin-top: 1.5rem;
  color: var(--muted);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.method-grid article {
  min-height: 245px;
  padding: 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method-grid article > span {
  display: block;
  margin-bottom: 3rem;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 800;
}

.myths-section {
  padding: 7rem 0 9rem;
}

.myths-heading {
  max-width: 830px;
}

.myth-list {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}

.myth-list details {
  border-bottom: 1px solid var(--line);
}

.myth-list summary {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  cursor: pointer;
  list-style: none;
}

.myth-list summary::-webkit-details-marker {
  display: none;
}

.myth-list summary::after {
  grid-column: 3;
  content: "+";
  color: var(--coral);
}

.myth-list details[open] summary::after {
  content: "×";
}

.myth-list summary span {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

.myth-list details p {
  max-width: 820px;
  margin: 0 0 1.7rem 96px;
  color: var(--muted);
}

.reading-section {
  padding: 7rem 0;
  background: var(--coral);
  color: var(--ink);
}

.reading-section .eyebrow {
  color: #4e261f;
}

.reading-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.reading-layout > div:first-child > p:last-child {
  max-width: 460px;
  font-size: 1.03rem;
}

.reading-links {
  border-top: 1px solid rgba(20, 13, 36, 0.38);
}

.reading-links a {
  position: relative;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0.25rem 1rem;
  padding: 1.4rem 2.5rem 1.4rem 0;
  border-bottom: 1px solid rgba(20, 13, 36, 0.38);
  text-decoration: none;
}

.reading-links a::after {
  position: absolute;
  top: 1.3rem;
  right: 0;
  content: "↗";
  font-size: 1.2rem;
}

.reading-links span {
  grid-row: 1 / 3;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reading-links strong {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
}

.reading-links small {
  line-height: 1.45;
}

.site-footer {
  display: flex;
  width: min(calc(100% - 2.5rem), var(--max));
  min-height: 190px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-inline: auto;
  padding: 3rem 0;
  color: var(--muted);
  font-size: 0.83rem;
}

.site-footer > div {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.site-footer p {
  max-width: 480px;
  margin: 0;
}

.noscript {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  max-width: 340px;
  padding: 1rem;
  background: var(--paper);
  color: var(--ink);
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

@keyframes rotate-reverse {
  to { transform: rotate(-360deg); }
}

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

  .hero-atlas {
    min-height: 520px;
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
  }

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

  .orientation-grid article,
  .orientation-grid article:first-child,
  .orientation-grid article:last-child {
    min-height: auto;
    padding: 1.7rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .orientation-grid article:last-child {
    border-bottom: 0;
  }

  .orientation-index {
    margin-bottom: 1.5rem;
  }

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

  .story-card {
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    min-height: 420px;
  }

  .story-art {
    min-height: 100%;
  }

  .method-layout,
  .reading-layout {
    grid-template-columns: 1fr;
  }

  .method-heading {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
  }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: auto;
    padding-top: 4.5rem;
  }

  .hero h1 {
    font-size: clamp(4rem, 20vw, 6.7rem);
  }

  .hero-atlas {
    min-height: 490px;
  }

  .atlas-point {
    min-width: 145px;
    padding: 0.6rem 0.7rem;
  }

  .atlas-point small {
    display: none;
  }

  .point-sahel { left: 0; }
  .point-horn { right: 0; }
  .point-coast { right: 0; }
  .point-forest { left: 0; }
  .point-south { left: 30%; }

  .timeline-heading,
  .regions-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .timeline-status {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
  }

  .timeline-item {
    grid-template-columns: 90px 1fr 28px;
    gap: 0.8rem;
  }

  .timeline-title {
    grid-column: 2;
  }

  .timeline-preview {
    grid-column: 1 / 4;
  }

  .timeline-toggle {
    grid-column: 3;
    grid-row: 1;
  }

  .timeline-detail {
    grid-column: 1 / 4;
  }

  .region-explorer {
    grid-template-columns: 1fr;
  }

  .region-tabs {
    display: flex;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .region-tab {
    min-width: 180px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .region-panel {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    min-height: 0;
  }

  .region-places {
    max-width: 420px;
  }

  .story-card {
    display: flex;
    min-height: 610px;
  }

  .story-art {
    min-height: 250px;
  }

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

  .myth-list summary {
    grid-template-columns: 42px 1fr 24px;
  }

  .myth-list details p {
    margin-left: 58px;
  }

  .reading-links a {
    grid-template-columns: 1fr;
  }

  .reading-links span {
    grid-row: auto;
  }

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

@media (max-width: 430px) {
  .hero-atlas {
    min-height: 430px;
  }

  .ring-one {
    width: 360px;
    height: 360px;
  }

  .ring-two {
    width: 255px;
    height: 255px;
  }

  .ring-three {
    width: 155px;
    height: 155px;
  }

  .atlas-centre {
    width: 112px;
    height: 112px;
  }

  .atlas-centre strong {
    font-size: 1.5rem;
  }

  .point-sahel { top: 12%; }
  .point-horn { top: 30%; }
  .point-coast { top: 56%; }
  .point-forest { top: 66%; }
  .point-south { left: 26%; }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
