@font-face {
  font-family: "Sangam Icons";
  src: url("/assets/fonts/sangam-icons.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

:root {
  color-scheme: light;
  --bg: #f4f5f2;
  --surface: #ffffff;
  --surface-alt: #e9ece7;
  --ink: #171918;
  --muted: #5d625e;
  --line: #c9cec8;
  --dark: #171918;
  --dark-soft: #262a27;
  --light: #f7f8f5;
  --accent: #a53e2c;
  --accent-2: #146b70;
  --focus: #005fcc;
  --map-water: #dbe7e8;
  --map-land: #d9ddd6;
  --map-line: #8b948c;
  --header-height: 70px;
  --page: 1240px;
  --gutter: 48px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  background: var(--bg);
  color: var(--ink);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #151716;
  --surface: #202321;
  --surface-alt: #292d2a;
  --ink: #f0f2ee;
  --muted: #b3b9b3;
  --line: #444a45;
  --dark: #0d0f0e;
  --dark-soft: #1b1e1c;
  --light: #f7f8f5;
  --accent: #ef765c;
  --accent-2: #6bc3c2;
  --map-water: #151d1d;
  --map-land: #2c3430;
  --map-line: #59655e;
}

html[data-region-theme="africa"] {
  --accent: #a9472e;
  --accent-2: #267461;
}

html[data-region-theme="west-asia"] {
  --accent: #94631f;
  --accent-2: #276e78;
  --atlas-display: "Noto Naskh Arabic", "Segoe UI", Georgia, serif;
}

html[data-region-theme="south-asia"] {
  --accent: #a13f3b;
  --accent-2: #217064;
  --atlas-display: "Noto Serif Tamil", "Nirmala UI", Georgia, serif;
}

html[data-region-theme="southeast-asia"] {
  --accent: #27745d;
  --accent-2: #9b4a35;
  --atlas-display: "Noto Serif Thai", "Leelawadee UI", Georgia, serif;
}

html[data-region-theme="east-asia"] {
  --accent: #3f6595;
  --accent-2: #9b493b;
  --atlas-display: "Noto Serif CJK SC", "Yu Mincho", Georgia, serif;
}

html[data-region-theme="europe"] {
  --accent: #2f7180;
  --accent-2: #a34c36;
}

html[data-region-theme="north-america"] {
  --accent: #655599;
  --accent-2: #267263;
}

html[data-region-theme="south-america"] {
  --accent: #91506f;
  --accent-2: #277367;
}

html[data-region-theme="oceania"] {
  --accent: #477d3d;
  --accent-2: #386f91;
}

html[data-theme="dark"][data-region-theme] {
  --accent: #ef765c;
  --accent-2: #6bc3c2;
}

html[data-era-theme="deep-origins"],
html[data-era-theme="early-homo"],
html[data-era-theme="sapiens-migrations"] {
  --atlas-period-bg: #e8e4dc;
}

html[data-era-theme="farmers-villages"],
html[data-era-theme="first-cities"],
html[data-era-theme="iron-networks"] {
  --atlas-period-bg: #e8ece5;
}

html[data-era-theme="classical-worlds"],
html[data-era-theme="post-classical"],
html[data-era-theme="connected-medieval"] {
  --atlas-period-bg: #e5ecec;
}

html[data-era-theme="early-modern"],
html[data-era-theme="industrial-colonial"] {
  --atlas-period-bg: #ece8e2;
}

html[data-era-theme="decolonization"],
html[data-era-theme="present"] {
  --atlas-period-bg: #e4ebee;
}

html[data-theme="dark"][data-era-theme] {
  --atlas-period-bg: #272c29;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 122px;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.02;
}

h1 {
  font-size: 76px;
}

h2 {
  font-size: 46px;
}

h3 {
  font-size: 18px;
  line-height: 1.25;
}

.page-gutter {
  width: min(100%, calc(var(--page) + (var(--gutter) * 2)));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0 28px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 68%, transparent);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 36px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.primary-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
}

.primary-nav a {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.icon-button {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-size: 17px;
}

.theme-icon-moon,
html[data-theme="dark"] .theme-icon-sun {
  display: none;
}

html[data-theme="dark"] .theme-icon-moon {
  display: inline;
}

.reading-progress {
  position: fixed;
  top: calc(var(--header-height) - 2px);
  left: 0;
  z-index: 60;
  width: 100%;
  height: 2px;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
}

.eyebrow,
.kicker {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  color: #ffffff;
}

.kicker {
  color: var(--accent);
}

.button-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.button-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.light-link {
  color: #ffffff;
}

.home-hero {
  position: relative;
  min-height: 620px;
  height: calc(88svh - var(--header-height));
  max-height: 780px;
  overflow: hidden;
  background: #161918;
  color: #ffffff;
}

.home-hero-media {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero-media img:nth-child(1) {
  object-position: 42% center;
}

.home-hero-media img:nth-child(2) {
  object-position: 50% center;
}

.home-hero-media img:nth-child(3) {
  object-position: 58% center;
}

.home-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -180px 160px -80px rgba(0, 0, 0, 0.8);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(10, 13, 12, 0.48);
}

.home-hero-copy,
.hero-copy {
  position: absolute;
  z-index: 2;
  left: max(var(--gutter), calc((100vw - var(--page)) / 2));
  width: min(660px, calc(100% - (var(--gutter) * 2)));
}

.home-hero-copy {
  top: 50%;
  transform: translateY(-50%);
}

.home-hero-copy h1,
.hero-copy h1 {
  margin-bottom: 16px;
  color: #ffffff;
}

.home-hero-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.home-hero .button-link {
  border-color: #ffffff;
  background: #ffffff;
  color: #151716;
}

.home-hero .button-link:hover {
  border-color: #ffffff;
  background: transparent;
  color: #ffffff;
}

.image-note {
  position: absolute;
  z-index: 3;
  right: 22px;
  bottom: 14px;
  max-width: 480px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  text-align: right;
}

.world-index {
  padding-top: 110px;
  padding-bottom: 120px;
}

.section-head {
  max-width: 780px;
  margin-bottom: 52px;
}

.section-head h2 {
  margin-bottom: 18px;
}

.section-head > p:last-child:not(.kicker) {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

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

.world-row {
  min-height: 188px;
  display: grid;
  grid-template-columns: 68px 1fr 40px;
  align-items: center;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.world-row-visual {
  grid-template-columns: 50px minmax(240px, 360px) minmax(0, 1fr) 40px;
}

.world-row-visual > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
}

.world-row:hover h2 {
  color: var(--accent);
}

.world-number,
.temple-number,
.source-number {
  align-self: start;
  padding-top: 8px;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
}

.world-row p {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.world-row h2 {
  margin-bottom: 8px;
  font-size: 38px;
}

.world-row div > span {
  color: var(--muted);
}

.world-row > b {
  font-size: 28px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.world-row:hover > b {
  transform: translateX(7px);
}

.section-dark {
  width: 100%;
  max-width: none;
  padding-top: 110px;
  padding-bottom: 110px;
  background: var(--dark);
  color: var(--light);
}

.section-dark > * {
  width: min(100%, var(--page));
  margin-inline: auto;
}

.section-dark .section-head > p:last-child:not(.kicker),
.section-dark .comparison-row p,
.section-dark .ritual-step p,
.section-dark .figure-ledger p {
  color: #bcc3bd;
}

.comparison-table {
  border-top: 1px solid #444a45;
}

.comparison-row {
  display: grid;
  grid-template-columns: 150px repeat(3, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid #444a45;
}

.comparison-row > span {
  color: #8fd1cd;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.comparison-row strong {
  font-size: 15px;
}

.comparison-row p {
  margin: 0;
  font-size: 14px;
}

.comparison-head {
  padding-block: 12px;
}

.method-band {
  padding-top: 120px;
  padding-bottom: 120px;
}

.method-band > div:first-child {
  max-width: 720px;
}

.method-band h2 {
  margin-bottom: 52px;
}

.method-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-bottom: 42px;
  border-top: 1px solid var(--line);
}

.method-points article {
  padding-top: 22px;
}

.method-points span,
.temple-principles span {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
}

.method-points h3,
.temple-principles h3 {
  margin: 28px 0 10px;
}

.method-points p,
.temple-principles p {
  margin: 0;
  color: var(--muted);
}

.temple-preview {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: end start;
  overflow: hidden;
  background: #151716;
  color: #ffffff;
}

.temple-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  filter: brightness(0.7);
}

.temple-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 13, 12, 0.5);
}

.temple-preview > div {
  position: relative;
  z-index: 2;
  width: min(650px, calc(100% - (var(--gutter) * 2)));
  margin-left: max(var(--gutter), calc((100vw - var(--page)) / 2));
  padding-bottom: 64px;
}

.temple-preview h2 {
  margin-bottom: 26px;
  color: #ffffff;
}

.temple-preview .button-link {
  border-color: #ffffff;
  background: #ffffff;
  color: #171918;
}

.civilization-hero,
.temple-hero {
  position: relative;
  min-height: 580px;
  height: calc(82svh - var(--header-height));
  max-height: 790px;
  overflow: hidden;
  background: #161918;
}

.civilization-hero > img,
.temple-hero > img,
.ritual-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.civilization-hero > img {
  object-position: center;
}

.hero-copy {
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
}

.hero-copy .native-title {
  margin: -8px 0 18px;
  color: rgba(255, 255, 255, 0.78);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.hero-deck {
  max-width: 630px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
}

.theme-greek {
  --accent: #b84a35;
  --accent-2: #126d84;
}

.theme-jesus {
  --accent: #8c5b28;
  --accent-2: #2e7072;
}

.theme-egypt {
  --accent: #b46c16;
  --accent-2: #14726c;
}

.theme-tamil {
  --accent: #a8332e;
  --accent-2: #2f7150;
}

html[data-theme="dark"] .theme-greek {
  --accent: #ff8068;
  --accent-2: #6fc9e0;
}

html[data-theme="dark"] .theme-egypt {
  --accent: #e5a14e;
  --accent-2: #67c6ba;
}

html[data-theme="dark"] .theme-tamil {
  --accent: #f16f67;
  --accent-2: #79c694;
}

.section-nav {
  position: sticky;
  top: var(--header-height);
  z-index: 40;
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px max(20px, calc((100vw - var(--page)) / 2));
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  scrollbar-width: thin;
}

.section-nav a {
  flex: 0 0 auto;
  padding: 6px 11px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.section-nav a:hover {
  color: var(--accent);
}

.fact-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-top: 62px;
  padding-bottom: 62px;
  border-bottom: 1px solid var(--line);
}

.fact {
  min-height: 130px;
  padding: 0 26px;
  border-left: 1px solid var(--line);
}

.fact:first-child {
  padding-left: 0;
  border-left: 0;
}

.fact p {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.fact strong {
  display: block;
  max-width: 260px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
}

.evidence-note {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 22px;
  padding-top: 42px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.evidence-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
}

.evidence-note .kicker {
  margin-bottom: 4px;
}

.evidence-note p:last-child {
  max-width: 900px;
  margin-bottom: 0;
  color: var(--muted);
}

.content-section {
  padding-top: 110px;
  padding-bottom: 110px;
}

.section-tint {
  width: 100%;
  max-width: none;
  background: var(--surface-alt);
}

.section-tint > * {
  width: min(100%, var(--page));
  margin-inline: auto;
}

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

.timeline-row {
  min-height: 150px;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 48px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-row time {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.timeline-row h3 {
  margin-bottom: 8px;
}

.timeline-row p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
}

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

.day-entry {
  min-height: 270px;
  padding: 24px 28px 28px 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.day-entry:nth-child(3n + 2),
.day-entry:nth-child(3n + 3) {
  padding-left: 28px;
}

.day-entry:nth-child(3n) {
  border-right: 0;
}

.day-entry > span {
  float: right;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
}

.day-entry time {
  display: block;
  margin-bottom: 30px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.day-entry h3 {
  margin-bottom: 10px;
}

.day-entry p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.prose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 64px;
  border-top: 1px solid var(--line);
}

.prose-item {
  min-height: 190px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.prose-item h3 {
  margin-bottom: 12px;
}

.prose-item p {
  margin: 0;
  color: var(--muted);
}

.work-section {
  padding-top: 30px;
}

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

.numbered-row {
  display: grid;
  grid-template-columns: 60px 220px 1fr;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.numbered-row > span {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
}

.numbered-row h3,
.numbered-row p {
  margin: 0;
}

.numbered-row p {
  max-width: 700px;
  color: var(--muted);
}

.ritual-media {
  position: relative;
  height: 76vh;
  min-height: 560px;
  max-height: 900px;
  overflow: hidden;
  background: #161918;
}

.ritual-media > img {
  object-position: center;
}

.ritual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 46px;
  border-top: 1px solid #444a45;
}

.ritual-step {
  min-height: 160px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid #444a45;
}

.ritual-step > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #6b736c;
  border-radius: 50%;
  color: #8fd1cd;
  font-family: Georgia, "Times New Roman", serif;
}

.ritual-step h3 {
  margin-bottom: 8px;
  color: #ffffff;
}

.ritual-step p {
  margin: 0;
}

.figure-ledger {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 72px;
}

.figure-ledger > .kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.figure-ledger article {
  border-top: 1px solid #444a45;
  padding-top: 18px;
}

.figure-ledger h3 {
  margin-bottom: 8px;
  color: #ffffff;
}

.figure-ledger p {
  margin: 0;
  font-size: 14px;
}

.society-table {
  border-top: 1px solid var(--line);
}

.society-table article {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 50px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.society-table h3,
.society-table p {
  margin: 0;
}

.society-table p {
  max-width: 760px;
  color: var(--muted);
}

.object-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.object-card {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.object-card > span {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
}

.object-card h3 {
  margin: 48px 0 10px;
}

.object-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.people-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 60px;
  border-top: 1px solid var(--line);
}

.person-row {
  min-height: 155px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.person-row h3 {
  margin-bottom: 8px;
}

.person-row p {
  margin: 0;
  color: var(--muted);
}

.place-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 32px;
  border-top: 1px solid var(--line);
}

.place-card {
  min-height: 200px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.place-card > span {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
}

.place-card h3 {
  margin: 34px 0 9px;
}

.place-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.source-section {
  padding-top: 40px;
}

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

.source-entry {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.source-entry h3 {
  margin-bottom: 7px;
}

.source-entry p {
  max-width: 760px;
  margin-bottom: 8px;
  color: var(--muted);
}

.source-entry a {
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.source-method {
  max-width: 800px;
  margin: 42px 0 0 84px;
  color: var(--muted);
  font-size: 13px;
}

.tamil-asset-section {
  padding-top: 30px;
}

.character-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}

.asset-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
}

.character-strip figure {
  margin-bottom: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
}

.character-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.character-strip figcaption {
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 8px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.next-world {
  padding-top: 80px;
  padding-bottom: 110px;
}

.next-world > a {
  min-height: 100px;
  display: grid;
  grid-template-columns: 190px 1fr 30px;
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.next-world > a:last-child {
  border-bottom: 1px solid var(--line);
}

.next-world > a span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.next-world > a strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
}

.next-world > a b {
  font-size: 24px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.next-world > a:hover b {
  transform: translateX(6px);
}

.site-footer {
  min-height: 310px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 60px;
  padding: 64px max(var(--gutter), calc((100vw - var(--page)) / 2));
  border-top: 1px solid #444a45;
  background: #171918;
  color: #f1f3ef;
}

.footer-brand {
  color: #ffffff;
}

.footer-brand .brand-mark {
  border-color: #ffffff;
}

.footer-brand small {
  color: #aeb6af;
}

.site-footer > div > p,
.footer-note {
  max-width: 360px;
  margin-top: 22px;
  color: #aeb6af;
  font-size: 13px;
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer nav a {
  color: #f1f3ef;
  font-size: 14px;
  text-decoration: none;
}

.site-footer nav a:hover {
  color: #8fd1cd;
}

.footer-note {
  margin: 0;
}

.temple-hero {
  min-height: 650px;
  height: calc(90svh - var(--header-height));
}

.temple-hero > img {
  object-position: center 44%;
}

.temple-principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  border-top: 1px solid var(--line);
}

.temple-principles article {
  padding-top: 22px;
}

.temple-atlas {
  padding-top: 30px;
  padding-bottom: 110px;
}

.temple-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(350px, 0.65fr);
  gap: 60px;
  align-items: center;
  padding: 70px 0;
  border-top: 1px solid var(--line);
}

.temple-entry:nth-child(even) figure {
  order: 2;
}

.temple-entry figure {
  margin: 0;
}

.temple-entry figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.temple-entry figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
}

.temple-copy {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: start;
}

.temple-copy > *:not(.temple-number) {
  grid-column: 2;
}

.temple-copy .temple-number {
  grid-column: 1;
  grid-row: 1 / span 8;
}

.temple-copy .kicker {
  margin-bottom: 9px;
}

.temple-copy h2 {
  margin-bottom: 8px;
  font-size: 38px;
}

.tamil-name {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 17px;
  font-weight: 650;
}

.tamil-name::before {
  content: "\e028";
  margin-right: 9px;
  font-family: "Sangam Icons";
  font-weight: 400;
}

.temple-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.temple-copy > p:not(.kicker):not(.tamil-name) {
  color: var(--muted);
}

.temple-copy .text-link {
  width: fit-content;
  margin-top: 8px;
  color: var(--accent-2);
}

.plain-hero {
  padding-top: 130px;
  padding-bottom: 100px;
  border-bottom: 1px solid var(--line);
}

.plain-hero .eyebrow {
  color: var(--accent);
}

.plain-hero h1 {
  margin-bottom: 22px;
}

.plain-hero > p:last-child {
  max-width: 800px;
  color: var(--muted);
  font-size: 20px;
}

.method-detail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 60px;
  padding-top: 80px;
  padding-bottom: 80px;
}

.method-detail article {
  min-height: 230px;
  padding: 25px 0;
  border-top: 1px solid var(--line);
}

.method-detail span {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
}

.method-detail h2 {
  margin: 38px 0 12px;
  font-size: 31px;
}

.method-detail p {
  color: var(--muted);
}

.editorial-note {
  padding-top: 30px;
  padding-bottom: 110px;
}

.editorial-note h2 {
  margin-bottom: 18px;
}

.editorial-note p:last-child {
  max-width: 750px;
  color: var(--muted);
}

.not-found {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.not-found .eyebrow {
  color: var(--accent);
}

.not-found p:not(.eyebrow) {
  color: var(--muted);
}

.atlas-page main {
  overflow: clip;
}

.atlas-workspace {
  display: grid;
  grid-template-columns: minmax(320px, 390px) minmax(0, 1fr);
  height: calc(100svh - var(--header-height));
  min-height: 680px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.atlas-workspace:fullscreen {
  width: 100vw;
  height: 100svh;
  min-height: 0;
}

.atlas-sidebar {
  position: relative;
  z-index: 3;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: auto;
  border-right: 1px solid var(--line);
  background: var(--surface);
  scrollbar-width: thin;
}

.atlas-intro {
  padding: 26px 26px 22px;
  border-bottom: 1px solid var(--line);
}

.atlas-intro h1 {
  max-width: 340px;
  margin-bottom: 14px;
  font-family: var(--atlas-display, Georgia, "Times New Roman", serif);
  font-size: 42px;
  line-height: 0.98;
}

.atlas-intro > p:last-child {
  max-width: 36rem;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.atlas-era-readout {
  min-height: 156px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
  background: var(--atlas-period-bg, var(--surface-alt));
  transition: background-color 240ms ease;
}

.atlas-era-readout span {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.atlas-era-readout strong {
  display: block;
  margin: 3px 0 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 500;
}

.atlas-era-readout p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.48;
}

.atlas-control {
  padding: 20px 26px 8px;
}

.atlas-control > label,
.atlas-filter-grid label {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

#atlas-era {
  width: 100%;
  margin: 10px 0 12px;
  accent-color: var(--accent);
}

.atlas-era-ends {
  display: flex;
  justify-content: space-between;
  margin: -7px 0 10px;
  color: var(--muted);
  font-size: 9px;
}

.atlas-era-ticks {
  display: flex;
  gap: 6px;
  padding-bottom: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.atlas-era-ticks button {
  min-width: 108px;
  min-height: 38px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--muted);
  font: inherit;
  font-size: 10px;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
}

.atlas-era-ticks button:hover,
.atlas-era-ticks button[aria-current="step"] {
  border-color: var(--accent);
  color: var(--ink);
}

.atlas-era-ticks button[aria-current="step"] {
  box-shadow: inset 3px 0 0 var(--accent);
}

.atlas-filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 8px 26px 14px;
}

.atlas-filter-grid select,
.atlas-filter-grid input {
  width: 100%;
  height: 40px;
  margin-top: 5px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
}

.atlas-result-count {
  margin: 0;
  padding: 0 26px 8px;
  color: var(--muted);
  font-size: 11px;
}

.atlas-results {
  border-top: 1px solid var(--line);
}

.atlas-result {
  display: grid;
  width: 100%;
  min-height: 56px;
  grid-template-columns: 8px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 8px 26px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.atlas-result:hover,
.atlas-result.is-selected {
  background: var(--surface-alt);
}

.atlas-result > span:first-child {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--place-color);
}

.atlas-result strong,
.atlas-result small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.atlas-result strong {
  font-size: 13px;
}

.atlas-result small {
  color: var(--muted);
  font-size: 10px;
}

.atlas-stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  background: var(--map-water);
}

#civilization-map {
  width: 100%;
  height: 100%;
  min-height: 560px;
  background: var(--map-water);
}

.atlas-map-note {
  position: absolute;
  z-index: 500;
  top: 14px;
  left: 14px;
  width: min(390px, calc(100% - 28px));
  margin: 0;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.08);
}

.atlas-tools {
  position: absolute;
  z-index: 520;
  top: 14px;
  right: 14px;
  display: flex;
  gap: 6px;
}

.atlas-tools button {
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  color: var(--ink);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.08);
}

.atlas-tools button[aria-pressed="true"] {
  border-color: var(--accent-2);
  box-shadow: inset 3px 0 0 var(--accent-2);
}

.atlas-sound-note {
  position: absolute;
  z-index: 500;
  right: 14px;
  bottom: 14px;
  max-width: 340px;
  margin: 0;
  padding: 7px 9px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
}

.atlas-map-error {
  display: none;
  position: absolute;
  z-index: 510;
  right: 14px;
  bottom: 14px;
  max-width: 340px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font-size: 12px;
}

.map-geometry-error + .atlas-map-error {
  display: block;
}

.atlas-detail {
  position: absolute;
  z-index: 700;
  inset: 0 0 0 auto;
  width: min(440px, 48%);
  overflow: auto;
  border-left: 1px solid var(--line);
  background: var(--surface);
  box-shadow: -12px 0 30px rgba(0, 0, 0, 0.13);
}

.atlas-detail[hidden] {
  display: none;
}

.atlas-detail > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.atlas-detail-copy {
  position: relative;
  padding: 28px 28px 34px;
}

.atlas-detail-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.atlas-detail-copy h2 {
  margin: 10px 42px 4px 0;
  font-family: var(--atlas-display, Georgia, "Times New Roman", serif);
  font-size: 36px;
}

.atlas-modern {
  color: var(--muted);
  font-size: 12px;
}

.atlas-summary {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.atlas-detail dl {
  margin: 0;
}

.atlas-detail dl > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.atlas-detail dt {
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
}

.atlas-detail dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.atlas-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  padding-top: 22px;
}

.atlas-deep-link {
  font-size: 12px;
}

.atlas-page .leaflet-control-zoom a {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

.atlas-page .leaflet-control-attribution {
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  color: var(--muted);
}

.atlas-page .leaflet-tooltip {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.14);
}

.global-scope-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.4fr) auto;
  gap: 42px;
  align-items: end;
  padding-top: 54px;
  padding-bottom: 54px;
  border-bottom: 1px solid var(--line);
}

.global-scope-band h2,
.global-scope-band p {
  margin: 0;
}

.global-scope-band h2 {
  font-size: 34px;
}

.global-scope-band > p {
  color: var(--muted);
  font-size: 15px;
}

.global-lenses {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid #424743;
  background: #424743;
}

.global-lenses article {
  min-height: 245px;
  padding: 28px;
  background: var(--dark);
}

.global-lenses span {
  color: #9ba39d;
  font-size: 12px;
}

.global-lenses h3 {
  margin: 34px 0 12px;
  color: var(--light);
  font-size: 20px;
}

.global-lenses p {
  margin: 0;
  color: #c7ccc8;
  font-size: 13px;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1000px) {
  :root {
    --gutter: 30px;
  }

  h1 {
    font-size: 62px;
  }

  h2 {
    font-size: 40px;
  }

  .fact-band {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 0;
  }

  .fact:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .day-grid,
  .object-grid,
  .place-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .day-entry:nth-child(3n + 2),
  .day-entry:nth-child(3n + 3) {
    padding-left: 0;
  }

  .day-entry:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .day-entry:nth-child(even) {
    padding-left: 28px;
    border-right: 0;
  }

  .comparison-row {
    grid-template-columns: 120px repeat(3, 1fr);
    gap: 16px;
  }

  .character-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .temple-principles {
    grid-template-columns: repeat(2, 1fr);
  }

  .temple-entry {
    gap: 36px;
  }

  .atlas-workspace {
    grid-template-columns: 340px minmax(0, 1fr);
  }

  .atlas-detail {
    width: min(410px, 60%);
  }

  .global-lenses {
    grid-template-columns: repeat(2, 1fr);
  }

  .global-scope-band {
    grid-template-columns: 1fr 1fr;
  }

  .global-scope-band .text-link {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 62px;
    --gutter: 20px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 34px;
  }

  .site-header {
    z-index: 1100;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 0 16px;
    background: var(--bg);
    backdrop-filter: none;
  }

  .site-header .brand small {
    display: none;
  }

  .primary-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    height: 58px;
    justify-content: flex-start;
    gap: 0;
    padding: 5px 8px;
    border-top: 1px solid var(--line);
    background: var(--bg);
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .primary-nav a {
    min-width: max-content;
    padding: 8px 7px;
    font-size: 12px;
  }

  .icon-button {
    grid-column: 2;
  }

  .reading-progress {
    top: calc(var(--header-height) - 2px);
  }

  body {
    padding-bottom: 58px;
  }

  .atlas-workspace {
    display: flex;
    height: auto;
    min-height: 0;
    flex-direction: column;
  }

  .atlas-sidebar {
    overflow: visible;
    border-right: 0;
  }

  .atlas-intro {
    padding: 24px var(--gutter) 18px;
  }

  .atlas-intro h1 {
    max-width: 300px;
    font-size: 40px;
  }

  .atlas-era-readout {
    min-height: 0;
    padding: 16px var(--gutter);
  }

  .atlas-control {
    padding: 14px var(--gutter) 4px;
  }

  .atlas-filter-grid {
    padding: 4px var(--gutter) 10px;
  }

  .atlas-result-count {
    padding-inline: var(--gutter);
  }

  .atlas-results {
    display: flex;
    overflow-x: auto;
  }

  .atlas-result {
    width: 210px;
    min-width: 210px;
    padding-inline: 16px;
    border-right: 1px solid var(--line);
  }

  .atlas-stage,
  #civilization-map {
    height: 64svh;
    min-height: 480px;
  }

  .atlas-map-note {
    top: 60px;
    right: 12px;
    left: 12px;
    width: auto;
  }

  .atlas-tools {
    top: 12px;
    right: 12px;
  }

  .atlas-sound-note {
    display: none;
  }

  .atlas-detail {
    inset: auto 0 0;
    width: 100%;
    max-height: 78%;
    border-top: 1px solid var(--line);
    border-left: 0;
    box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.16);
  }

  .atlas-detail-copy h2 {
    font-size: 31px;
  }

  .global-lenses {
    grid-template-columns: 1fr;
  }

  .global-scope-band {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .global-scope-band .text-link {
    grid-column: 1;
  }

  .global-lenses article {
    min-height: 190px;
  }

  .home-hero {
    min-height: 580px;
    height: calc(82svh - var(--header-height));
  }

  .home-hero-media {
    grid-template-columns: 1fr;
  }

  .home-hero-media img {
    display: none;
  }

  .home-hero-media img:nth-child(3) {
    display: block;
    width: 100%;
  }

  .hero-shade {
    background: rgba(10, 13, 12, 0.58);
  }

  .home-hero-copy,
  .hero-copy {
    left: var(--gutter);
    width: calc(100% - (var(--gutter) * 2));
  }

  .home-hero-copy {
    top: auto;
    bottom: 64px;
    transform: none;
  }

  .home-hero-copy > p:not(.eyebrow),
  .hero-deck {
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .image-note {
    right: 14px;
    bottom: 10px;
    left: 14px;
    max-width: none;
    font-size: 9px;
    text-align: left;
  }

  .world-index,
  .content-section,
  .section-dark,
  .method-band {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .section-head > p:last-child:not(.kicker) {
    font-size: 16px;
  }

  .world-row {
    min-height: 156px;
    grid-template-columns: 36px 1fr 24px;
    gap: 12px;
  }

  .world-row-visual {
    grid-template-columns: 34px minmax(0, 1fr) 22px;
    padding: 22px 0 30px;
  }

  .world-row-visual > img {
    grid-column: 2 / 4;
  }

  .world-row-visual > div {
    grid-column: 2;
  }

  .world-row-visual > b {
    grid-column: 3;
    grid-row: 2;
  }

  .world-row h2 {
    font-size: 30px;
  }

  .world-row div > span {
    font-size: 13px;
  }

  .comparison-table {
    overflow-x: auto;
  }

  .comparison-row {
    min-width: 760px;
  }

  .method-points,
  .day-grid,
  .prose-grid,
  .object-grid,
  .people-list,
  .place-grid,
  .method-detail {
    grid-template-columns: 1fr;
  }

  .temple-preview {
    min-height: 520px;
  }

  .temple-preview > div {
    width: calc(100% - (var(--gutter) * 2));
    margin-left: var(--gutter);
    padding-bottom: 44px;
  }

  .civilization-hero,
  .temple-hero {
    min-height: 570px;
    height: calc(82svh - var(--header-height));
  }

  .civilization-hero > img {
    object-position: 58% center;
  }

  .hero-copy {
    top: auto;
    bottom: 62px;
    transform: none;
  }

  .hero-copy .native-title {
    font-size: 20px;
  }

  .section-nav {
    top: var(--header-height);
    min-height: 46px;
    padding-inline: 12px;
  }

  .fact-band {
    grid-template-columns: 1fr;
  }

  .fact,
  .fact:nth-child(3) {
    min-height: 100px;
    padding: 0 0 20px;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .evidence-note {
    grid-template-columns: 42px 1fr;
    gap: 14px;
  }

  .timeline-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .day-entry,
  .day-entry:nth-child(even),
  .day-entry:nth-child(3n) {
    min-height: 220px;
    padding: 24px 0;
    border-right: 0;
  }

  .numbered-row {
    grid-template-columns: 40px 1fr;
    gap: 10px 16px;
  }

  .numbered-row p {
    grid-column: 2;
  }

  .ritual-media {
    min-height: 460px;
    height: 64vh;
  }

  .ritual-media > img {
    object-position: 52% center;
  }

  .ritual-grid,
  .figure-ledger {
    grid-template-columns: 1fr;
  }

  .figure-ledger {
    gap: 20px;
  }

  .society-table article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .character-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .next-world {
    padding-top: 50px;
    padding-bottom: 80px;
  }

  .next-world > a {
    grid-template-columns: 1fr 24px;
    gap: 6px 16px;
    padding: 18px 0;
  }

  .next-world > a span {
    grid-column: 1;
  }

  .next-world > a strong {
    grid-column: 1;
    font-size: 22px;
  }

  .next-world > a b {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 54px var(--gutter);
  }

  .temple-principles {
    grid-template-columns: 1fr;
  }

  .temple-entry,
  .temple-entry:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 48px 0;
  }

  .temple-entry:nth-child(even) figure {
    order: 0;
  }

  .temple-copy {
    grid-template-columns: 36px 1fr;
  }

  .temple-copy h2 {
    font-size: 31px;
  }

  .plain-hero {
    padding-top: 90px;
    padding-bottom: 70px;
  }

  .plain-hero > p:last-child {
    font-size: 17px;
  }

  .source-entry {
    grid-template-columns: 42px 1fr;
  }

  .source-method {
    margin-left: 0;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 41px;
  }

  h2 {
    font-size: 31px;
  }

  .primary-nav a {
    font-size: 11px;
  }

  .character-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

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

  html.js .reveal {
    opacity: 1;
    transform: none;
  }
}
