:root {
  color-scheme: light;
  --ink: #16201d;
  --muted: #5b6762;
  --faint: #7d8881;
  --paper: #f7f2e8;
  --soft: #efe5d0;
  --surface: #fffdf8;
  --surface-2: #f4ebdc;
  --gold: #c9922f;
  --wine: #8f3447;
  --teal: #2f7b78;
  --forest: #244c3d;
  --blue: #315d81;
  --line: rgba(22, 32, 29, 0.14);
  --line-strong: rgba(22, 32, 29, 0.24);
  --shadow: 0 24px 60px rgba(22, 32, 29, 0.18);
  --shadow-soft: 0 14px 38px rgba(22, 32, 29, 0.1);
  --radius: 8px;
  --revival-healing-image: url("assets/revival-pictures/Asbury_Outpouring_Prayer.jpg");
  --revival-healing-service-image: url("assets/revival-pictures/Angelus_Temple_worship_service_1942.jpg");
  --revival-healing-ministry-image: url("assets/revival-pictures/Asbury_Outpouring_Prayer.jpg");
  --revival-repentance-image: url("assets/revival-pictures/WelshRevival.jpg");
  --revival-crowd-image: url("assets/revival-pictures/Angelus_Temple_worship_service_1942.jpg");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #fbf8f0 0, #f7f2e8 46%, #fbf8f0 100%);
  color: var(--ink);
  overflow-x: hidden;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.is-page-mode .hero {
  min-height: auto;
  display: block;
}

body.is-page-mode:not(.is-home-page) .hero__content,
body.is-page-mode:not(.is-home-page) .search-dock {
  display: none;
}

body.is-page-mode:not(.is-home-page) .hero__media {
  opacity: 0.72;
}

body.is-page-mode main > .section {
  display: none;
}

body.is-page-mode main > .section.is-page-active {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.hero {
  min-height: 92svh;
  position: relative;
  color: white;
  overflow: clip;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.hero__media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 32%, rgba(242, 195, 93, 0.44), transparent 0 22%, rgba(242, 195, 93, 0) 43%),
    linear-gradient(90deg, rgba(6, 11, 10, 0.92), rgba(6, 11, 10, 0.6) 40%, rgba(6, 11, 10, 0.3)),
    linear-gradient(0deg, rgba(6, 11, 10, 0.82), rgba(6, 11, 10, 0.08) 50%),
    var(--revival-crowd-image) center / cover no-repeat,
    linear-gradient(135deg, #16201d, #244c3d);
  transform: scale(1.01);
}

body[data-hero-background="healing"] .hero__media {
  background:
    radial-gradient(circle at 58% 34%, rgba(242, 195, 93, 0.48), transparent 0 24%, rgba(242, 195, 93, 0) 44%),
    linear-gradient(90deg, rgba(6, 11, 10, 0.94), rgba(6, 11, 10, 0.58) 45%, rgba(6, 11, 10, 0.28)),
    linear-gradient(0deg, rgba(6, 11, 10, 0.84), rgba(6, 11, 10, 0.02) 52%),
    var(--revival-healing-image) center / cover no-repeat,
    linear-gradient(135deg, #16201d, #244c3d);
}

body[data-hero-background="healing2"] .hero__media {
  background:
    radial-gradient(circle at 62% 30%, rgba(242, 195, 93, 0.5), transparent 0 25%, rgba(242, 195, 93, 0) 45%),
    linear-gradient(90deg, rgba(6, 11, 10, 0.94), rgba(6, 11, 10, 0.58) 45%, rgba(6, 11, 10, 0.26)),
    linear-gradient(0deg, rgba(6, 11, 10, 0.84), rgba(6, 11, 10, 0.05) 52%),
    var(--revival-healing-service-image) center / cover no-repeat,
    linear-gradient(135deg, #16201d, #244c3d);
}

body[data-hero-background="healing3"] .hero__media {
  background:
    radial-gradient(circle at 48% 26%, rgba(255, 231, 158, 0.52), transparent 0 22%, rgba(255, 231, 158, 0) 45%),
    linear-gradient(90deg, rgba(6, 11, 10, 0.94), rgba(6, 11, 10, 0.6) 46%, rgba(6, 11, 10, 0.3)),
    linear-gradient(0deg, rgba(6, 11, 10, 0.86), rgba(6, 11, 10, 0.05) 52%),
    var(--revival-healing-ministry-image) center 28% / cover no-repeat,
    linear-gradient(135deg, #16201d, #244c3d);
}

body[data-hero-background="repentance"] .hero__media {
  background:
    radial-gradient(circle at 72% 22%, rgba(242, 195, 93, 0.4), transparent 0 20%, rgba(242, 195, 93, 0) 42%),
    linear-gradient(90deg, rgba(6, 11, 10, 0.94), rgba(6, 11, 10, 0.6) 45%, rgba(6, 11, 10, 0.3)),
    linear-gradient(0deg, rgba(6, 11, 10, 0.82), rgba(6, 11, 10, 0.08) 48%),
    var(--revival-repentance-image) center / cover no-repeat,
    linear-gradient(135deg, #16201d, #244c3d);
}

body[data-hero-background="collage"] .hero__media {
  background:
    radial-gradient(circle at 68% 32%, rgba(242, 195, 93, 0.42), transparent 0 22%, rgba(242, 195, 93, 0) 43%),
    linear-gradient(90deg, rgba(6, 11, 10, 0.94), rgba(6, 11, 10, 0.66) 38%, rgba(6, 11, 10, 0.34)),
    linear-gradient(0deg, rgba(6, 11, 10, 0.82), rgba(6, 11, 10, 0.08) 50%),
    linear-gradient(90deg, rgba(6, 11, 10, 0.1) 0 25%, rgba(242, 195, 93, 0.13) 25% 50%, rgba(47, 123, 120, 0.14) 50% 75%, rgba(255, 255, 255, 0.08) 75%),
    var(--revival-crowd-image) left center / 25% 100% no-repeat,
    var(--revival-healing-image) 33.33% center / 25% 100% no-repeat,
    var(--revival-repentance-image) 66.66% center / 25% 100% no-repeat,
    var(--revival-crowd-image) right center / 25% 100% no-repeat,
    linear-gradient(135deg, #16201d, #244c3d);
}

body[data-hero-background="healing"] .hero__media,
body[data-hero-background="healing2"] .hero__media,
body[data-hero-background="healing3"] .hero__media,
body[data-hero-background="repentance"] .hero__media,
body[data-hero-background="crowd"] .hero__media,
body[data-hero-background="glory"] .hero__media {
  transition: background-image 700ms ease, opacity 700ms ease;
}

body[data-hero-background="glory"] .hero__media {
  background:
    radial-gradient(circle at 52% 24%, rgba(255, 231, 158, 0.6), transparent 0 20%, rgba(255, 231, 158, 0) 42%),
    radial-gradient(circle at 78% 42%, rgba(47, 123, 120, 0.32), transparent 0 24%, rgba(47, 123, 120, 0) 48%),
    linear-gradient(90deg, rgba(6, 11, 10, 0.92), rgba(6, 11, 10, 0.58) 44%, rgba(6, 11, 10, 0.22)),
    linear-gradient(0deg, rgba(6, 11, 10, 0.82), rgba(6, 11, 10, 0.04) 54%),
    var(--revival-crowd-image) center 36% / cover no-repeat,
    linear-gradient(135deg, #16201d, #244c3d);
}

.nav,
.hero__content,
.search-dock {
  position: relative;
  z-index: 1;
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand__mark {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(242, 195, 93, 0.54);
  display: grid;
  place-items: center;
  background: rgba(242, 195, 93, 0.14);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.nav__links {
  display: flex;
  gap: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.93rem;
}

.nav__links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: var(--radius);
}

.nav__links a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.nav__links a.is-active {
  background: rgba(242, 195, 93, 0.2);
  color: white;
  box-shadow: inset 0 0 0 1px rgba(242, 195, 93, 0.28);
}

.access-button,
.primary-action,
.secondary-action {
  min-height: 42px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.32);
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.profile-nav {
  display: none;
  align-items: center;
  gap: 8px;
}

.profile-nav.is-visible {
  display: inline-flex;
}

.profile-chip {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 10px 5px 6px;
  cursor: pointer;
}

.profile-chip__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #1f1910;
  font-size: 0.72rem;
  font-weight: 900;
}

.profile-chip strong,
.profile-chip small {
  display: block;
  text-align: left;
  line-height: 1.05;
}

.profile-chip strong {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.82rem;
}

.profile-chip small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
  font-weight: 800;
}

.profile-chip__logout {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  padding: 0 9px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
}

.language-control {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: white;
  padding: 5px 9px;
  display: inline-grid;
  gap: 2px;
  align-content: center;
}

.language-control span {
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.74);
}

.language-control select {
  border: 0;
  background: transparent;
  color: white;
  font-weight: 800;
  outline: 0;
}

.language-control option {
  color: var(--ink);
}

html[dir="rtl"] body {
  font-family:
    Tahoma, Arial, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[dir="rtl"] .hero h1,
html[dir="rtl"] .section__heading h2,
html[dir="rtl"] .drawer h2,
html[dir="rtl"] .metric-strip strong {
  font-family: Georgia, Tahoma, "Times New Roman", serif;
}

html[dir="rtl"] .hero__media {
  transform: scale(1.02);
}

html[dir="rtl"] .map-node::before {
  left: auto;
  right: 8px;
}

html[dir="rtl"] .map-node span,
html[dir="rtl"] .map-node small {
  padding-left: 0;
  padding-right: 10px;
}

html[dir="rtl"] .map-lane__label,
html[dir="rtl"] .map-node,
html[dir="rtl"] .mini-list button,
html[dir="rtl"] .profile-button,
html[dir="rtl"] .movement-link {
  text-align: right;
}

html[dir="rtl"] .metric-strip article {
  border-right: 0;
  border-left: 1px solid var(--line);
}

html[dir="rtl"] .metric-strip article:last-child {
  border-left: 0;
}

html[dir="rtl"] .drawer__panel {
  right: auto;
  left: 0;
  transform: translateX(-100%);
}

html[dir="rtl"] .drawer.is-open .drawer__panel {
  transform: translateX(0);
}

html[dir="rtl"] .drawer__close {
  right: auto;
  left: 14px;
}

html[dir="rtl"] .movement-card::before {
  left: auto;
  right: 20px;
}

html[dir="rtl"] .biography-deep-dive ul {
  padding-left: 0;
  padding-right: 18px;
}

.access-button,
.secondary-action {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.primary-action {
  background: #f2c35d;
  color: #21180a;
  border-color: #f2c35d;
  font-weight: 800;
}

.hero__content {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  align-self: center;
  padding: 56px 0 92px;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gold);
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 7vw, 6.35rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero__copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.background-options {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin-top: 22px;
}

.background-options > span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.background-options div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.background-options button {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: white;
  cursor: pointer;
  padding: 9px 11px;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  backdrop-filter: blur(10px);
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.background-options button:hover,
.background-options button.is-active {
  border-color: rgba(242, 195, 93, 0.78);
  background: rgba(242, 195, 93, 0.22);
  transform: translateY(-1px);
}

.search-dock {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 22px;
  background: rgba(255, 253, 248, 0.96);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
  align-items: end;
  gap: 12px;
  backdrop-filter: blur(16px);
}

.search-status {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 34px;
  border-top: 1px solid rgba(22, 32, 29, 0.1);
  padding-top: 10px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
}

.search-status button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--forest);
  cursor: pointer;
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.search-box {
  display: grid;
  gap: 7px;
  font-weight: 800;
  color: var(--forest);
}

.search-box input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  background: white;
  color: var(--ink);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: end;
}

.filter-chip {
  border: 1px solid var(--line);
  background: #fffdf8;
  color: var(--muted);
  min-height: 36px;
  border-radius: var(--radius);
  padding: 0 13px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
}

.filter-chip.is-active {
  background: var(--forest);
  border-color: var(--forest);
  color: white;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.section--tight {
  padding: 38px 0 0;
}

.section--ink {
  width: 100%;
  background:
    radial-gradient(circle at 18% 12%, rgba(242, 195, 93, 0.08), transparent 26%),
    linear-gradient(180deg, #111b18, #15201d 46%, #101916);
  color: #fbf8f0;
  padding-inline: max(16px, calc((100vw - 1180px) / 2));
  scroll-margin-top: 32px;
}

.section--paper {
  width: 100%;
  background:
    linear-gradient(90deg, rgba(36, 76, 61, 0.08), transparent 34%),
    #f1e5cf;
  padding-inline: max(16px, calc((100vw - 1180px) / 2));
}

.section--materials {
  width: 100%;
  background:
    linear-gradient(180deg, rgba(22, 32, 29, 0.04), transparent 34%),
    #fbf8f0;
  padding-inline: max(16px, calc((100vw - 1180px) / 2));
}

.section__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section__heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.section__copy {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.movement-category-guide {
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 1fr);
  gap: 14px;
  margin: -10px 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 10px 26px rgba(22, 32, 29, 0.06);
  padding: 16px;
}

.movement-category-guide__heading h3 {
  margin: 4px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.08;
}

.movement-category-guide__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.movement-category-guide article {
  border-left: 3px solid var(--gold);
  background: #fffdf8;
  padding: 10px 11px;
}

.movement-category-guide strong {
  display: block;
  color: var(--forest);
  margin-bottom: 5px;
}

.movement-category-guide p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: white;
  box-shadow: var(--shadow-soft);
}

.metric-strip article {
  min-height: 116px;
  background:
    linear-gradient(180deg, #fffdf8, #f7f2e8);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  border-right: 1px solid var(--line);
}

.metric-strip article:last-child {
  border-right: 0;
}

.metric-strip strong {
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-family: Georgia, "Times New Roman", serif;
}

.metric-strip span {
  color: var(--muted);
  font-weight: 700;
}

.atlas-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(36, 76, 61, 0.06), transparent 220px),
    var(--surface);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.atlas-map__toolbar,
.map-scroll {
  grid-column: 1;
}

.atlas-map__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.atlas-map__toolbar > div:first-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scroll-buttons {
  display: flex;
  gap: 6px;
}

.scroll-buttons button {
  width: 38px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--forest);
  color: white;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.map-chip {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  color: var(--muted);
  cursor: pointer;
  padding: 0 12px;
  font-weight: 800;
  font-size: 0.78rem;
}

.map-chip.is-active {
  background: var(--forest);
  border-color: var(--forest);
  color: white;
}

.map-scroll {
  min-width: 0;
  overflow-x: auto;
  overflow-y: visible;
  padding: 2px 0 12px;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--forest) #eadfcd;
}

.map-scroll:focus {
  outline: 2px solid rgba(47, 123, 120, 0.4);
  outline-offset: 3px;
}

.map-canvas {
  width: max-content;
  min-width: 100%;
}

.map-ruler {
  display: grid;
  grid-template-columns: repeat(8, 205px);
  gap: 6px;
  min-height: 54px;
  margin: 4px 6px 0;
}

.time-area {
  border: 1px solid rgba(36, 76, 61, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(244, 235, 220, 0.86));
  padding: 8px;
  min-height: 54px;
}

.time-area strong,
.time-area span {
  display: block;
}

.time-area strong {
  color: var(--forest);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.1;
}

.time-area span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 800;
}

.map-lanes {
  width: max-content;
  min-width: 100%;
  padding: 4px 0 4px;
}

.map-lane {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 6px;
  min-height: 70px;
  transition: opacity 160ms ease;
}

.map-lane + .map-lane {
  margin-top: 10px;
}

.map-lane.is-muted {
  opacity: 0.42;
}

.map-lane__label {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, #fffdf8, #f1e7d6);
  border-radius: var(--radius);
  color: var(--forest);
  cursor: pointer;
  padding: 8px 12px;
  width: max-content;
  max-width: 100%;
  font-weight: 900;
  font-size: 0.72rem;
  text-align: center;
  line-height: 1.15;
}

.map-lane__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, 205px);
  grid-auto-rows: minmax(58px, auto);
  align-items: stretch;
  gap: 7px;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(22, 32, 29, 0.05),
      rgba(22, 32, 29, 0.05) 1px,
      transparent 1px,
      transparent 12.5%
    ),
    linear-gradient(180deg, #fbf8f0, #f4ebdc);
  border: 1px solid var(--line);
  min-height: 68px;
  padding: 9px;
}

.map-node {
  position: relative;
  min-height: 58px;
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--accent), black 10%);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 253, 248, 0.92));
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(22, 32, 29, 0.1);
  cursor: pointer;
  padding: 8px;
  display: grid;
  align-content: center;
  gap: 3px;
  text-align: left;
}

.map-node::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 99px;
  background: var(--accent);
}

.map-node span,
.map-node small {
  display: block;
  padding-left: 10px;
}

.map-node span {
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.14;
}

.map-node small {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
}

.map-node:hover,
.map-node.is-selected {
  z-index: 2;
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 14px 32px rgba(22, 32, 29, 0.18);
}

.map-node::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: calc(100% + 8px);
  background: #16201d;
  color: white;
  border-radius: var(--radius);
  padding: 7px 8px;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1.25;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.map-node:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.map-empty {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.map-focus {
  grid-column: 2;
  grid-row: 1 / span 3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(36, 76, 61, 0.12), transparent 40%),
    #fffdf8;
  padding: 18px;
  align-self: stretch;
  position: sticky;
  top: 16px;
}

.map-focus h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  line-height: 1.05;
}

.map-focus h4 {
  margin: 18px 0 8px;
}

.map-focus p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.world-map-panel {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(49, 93, 129, 0.08), rgba(47, 123, 120, 0.04)),
    var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 16px;
}

.world-map-panel__heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 14px;
}

.world-map-panel__heading h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2vw, 2.05rem);
}

.world-map-panel__heading p:last-child {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.world-map-layout {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.world-map-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1500 / 620;
  min-height: clamp(360px, 44vw, 560px);
  border: 1px solid rgba(49, 93, 129, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
  background: #e7f0ed;
}

.world-map-svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.world-map-pins {
  position: absolute;
  inset: 0;
}

.world-map-pin {
  position: absolute;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 2px solid white;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 8px 18px rgba(22, 32, 29, 0.24);
  cursor: pointer;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.world-map-pin__dot {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: white;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
}

.world-map-pin.is-cluster {
  width: 24px;
  height: 24px;
}

.world-map-pin::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 45%);
  border-radius: 999px;
}

.world-map-pin:hover,
.world-map-pin:focus,
.world-map-pin.is-selected {
  z-index: 5;
  outline: none;
  transform: translate(-50%, -50%) scale(1.18);
}

.world-map-pin__tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  width: min(230px, 54vw);
  border: 1px solid rgba(22, 32, 29, 0.18);
  border-radius: var(--radius);
  background: #16201d;
  color: white;
  padding: 10px;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.world-map-pin:hover .world-map-pin__tooltip,
.world-map-pin:focus .world-map-pin__tooltip,
.world-map-pin.is-selected .world-map-pin__tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.world-map-pin__tooltip strong,
.world-map-pin__tooltip small,
.world-map-pin__tooltip em {
  display: block;
}

.world-map-pin__tooltip strong {
  font-size: 0.82rem;
  line-height: 1.18;
}

.world-map-pin__tooltip small,
.world-map-pin__tooltip em {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-style: normal;
  line-height: 1.25;
}

.world-map-list {
  display: flex;
  gap: 8px;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 8px;
  scroll-snap-type: x proximity;
}

.world-map-list__item {
  min-width: min(250px, 76vw);
  max-width: 290px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  gap: 4px;
  padding: 10px;
  text-align: left;
  scroll-snap-align: start;
}

.world-map-list__item:hover,
.world-map-list__item.is-selected {
  border-color: var(--forest);
  background: white;
  box-shadow: var(--shadow-soft);
}

.world-map-list__item strong {
  color: var(--forest);
  line-height: 1.15;
}

.world-map-list__item span {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.25;
}

.focus-actions {
  margin-top: 14px;
}

.focus-actions button,
.mini-list button,
.text-button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--forest);
  color: white;
  min-height: 38px;
  cursor: pointer;
  padding: 0 12px;
  font-weight: 800;
}

.mini-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.mini-list button {
  background: white;
  color: var(--forest);
  text-align: left;
}

.timeline-shell {
  position: relative;
  overflow-x: auto;
  overflow-y: visible;
  padding: 4px 0 22px;
  scrollbar-color: var(--forest) #eadfcd;
}

.timeline-shell--map-first {
  margin-bottom: 22px;
}

.section--pictures {
  background:
    linear-gradient(180deg, rgba(47, 123, 120, 0.08), rgba(201, 146, 47, 0.08)),
    #fbf8f0;
}

.revival-picture-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.revival-picture-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-rows: auto 1fr;
}

.revival-picture-card img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: contain;
  object-position: center top;
  background:
    linear-gradient(180deg, #fbf8f0, #efe5d0);
  padding: 8px;
}

.revival-picture-card div {
  display: grid;
  gap: 7px;
  padding: 13px;
}

.revival-picture-card span {
  color: var(--wine);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.revival-picture-card strong {
  color: var(--forest);
  font-size: 1.08rem;
  line-height: 1.2;
}

.revival-picture-essence {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.revival-picture-essence li {
  border: 1px solid rgba(36, 76, 61, 0.16);
  border-radius: 999px;
  background: #fff8e7;
  color: #7a5213;
  padding: 5px 8px;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

.revival-picture-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.44;
}

.timeline-shell::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 71px;
  height: 2px;
  min-width: 1780px;
  background: linear-gradient(90deg, var(--gold), var(--teal), var(--wine), var(--blue), var(--forest));
  opacity: 0.56;
}

.century-ruler {
  display: grid;
  grid-template-columns: repeat(8, 220px);
  gap: 12px;
  min-width: max-content;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.century-ruler span {
  min-height: 38px;
  border-bottom: 1px solid var(--line);
}

.century-ruler small {
  display: block;
  margin-top: 4px;
  font-size: 0.68rem;
  color: rgba(90, 82, 69, 0.76);
}

.timeline {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(310px, 360px);
  gap: 14px;
  margin-top: 26px;
  min-width: max-content;
}

.movement-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, white, #fffaf0);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  padding: 18px;
  min-height: 320px;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.movement-card__image {
  position: relative;
  height: 126px;
  margin: -18px -18px 2px;
  background: #e9dfcb;
  overflow: hidden;
}

.movement-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 11, 10, 0.04), rgba(6, 11, 10, 0.22)),
    linear-gradient(90deg, color-mix(in srgb, var(--accent, var(--gold)), transparent 72%), transparent 62%);
}

.movement-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  background:
    linear-gradient(180deg, #fbf8f0, #e9dfcb);
  padding: 5px;
}

.movement-card::before {
  content: "";
  position: absolute;
  left: 20px;
  top: -35px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--accent, var(--gold));
  box-shadow:
    0 0 0 6px #fbf8f0,
    0 0 0 8px rgba(22, 32, 29, 0.08);
}

.movement-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent, var(--gold)), black 10%);
  box-shadow: 0 18px 42px rgba(22, 32, 29, 0.12);
}

.movement-card__date {
  color: var(--accent, var(--gold));
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.34rem;
  line-height: 1;
}

.movement-card__body {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 7px;
  text-align: left;
}

.movement-card h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.18;
}

.movement-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.movement-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 5px;
}

.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.movement-card__score {
  width: 100%;
  display: grid;
  align-content: center;
  gap: 8px;
}

.score-bar {
  height: 9px;
  background: #e9dfcb;
  border-radius: 999px;
  overflow: hidden;
}

.score-bar span {
  display: block;
  height: 100%;
  width: calc(var(--score) * 1%);
  background: var(--accent, var(--gold));
}

.score-label {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 800;
}

.pulse-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.pulse-card,
.pulse-notes,
.pulse-guide-panel,
.generals-grid article,
.study-grid article {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.pulse-card {
  grid-column: 1;
  min-height: 560px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-color: #f2c35d rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035)),
    #1a2723;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 54px rgba(0, 0, 0, 0.2);
}

.pulse-graph-wrap {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  padding: 20px;
}

.pulse-guide-panel {
  grid-column: 1;
  min-height: auto;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(242, 195, 93, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 54px rgba(0, 0, 0, 0.16);
}

.pulse-guide-panel h3 {
  margin: 0 0 12px;
  color: white;
  font-size: 1.25rem;
}

.pulse-guide-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.55;
}

.pulse-guide-panel p + p,
.pulse-guide-key {
  margin-top: 14px;
}

.pulse-guide-key {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pulse-guide-key span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pulse-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pulse-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pulse-graph-wrap svg {
  width: 100%;
  min-width: 1420px;
  height: 100%;
  display: block;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.pulse-zones text {
  fill: rgba(255, 255, 255, 0.46);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pulse-line {
  stroke-dashoffset: 0;
}

.pulse-line--pressure {
  stroke-dashoffset: 0;
}

.pulse-point {
  cursor: pointer;
  outline: none;
}

.pulse-hit-zone {
  fill: transparent;
  pointer-events: all;
}

.pulse-point:hover .pulse-hit-zone,
.pulse-point.is-active .pulse-hit-zone,
.pulse-point:focus .pulse-hit-zone {
  fill: rgba(255, 255, 255, 0.045);
}

.pulse-point line,
.pulse-point text,
.pulse-point circle {
  transition:
    opacity 160ms ease,
    r 160ms ease,
    fill 160ms ease,
    stroke 160ms ease;
}

.pulse-point text {
  fill: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
}

.pulse-point__label {
  paint-order: stroke;
  stroke: rgba(21, 32, 29, 0.86);
  stroke-width: 3px;
}

.pulse-point__trend {
  fill: rgba(255, 255, 255, 0.46);
  font-size: 11px;
}

.pulse-point__vitality {
  fill: #f2c35d;
  stroke: #15201d;
  stroke-width: 4;
  filter: drop-shadow(0 0 9px rgba(242, 195, 93, 0.28));
}

.pulse-point__pressure {
  fill: #b46274;
  stroke: #15201d;
  stroke-width: 3;
  opacity: 0.86;
}

.pulse-point__restore-ring {
  fill: rgba(242, 195, 93, 0.08);
  stroke: rgba(242, 195, 93, 0.48);
  stroke-width: 2;
  transition:
    r 160ms ease,
    stroke 160ms ease,
    opacity 160ms ease;
}

.pulse-point__apostolic {
  fill: #f4e7c3;
  font-size: 13px;
  font-weight: 900;
  paint-order: stroke;
  stroke: rgba(21, 32, 29, 0.9);
  stroke-width: 4px;
}

.pulse-point:hover .pulse-point__vitality,
.pulse-point.is-active .pulse-point__vitality,
.pulse-point:focus .pulse-point__vitality {
  r: 12px;
  fill: #ffe08d;
}

.pulse-point:hover .pulse-point__pressure,
.pulse-point.is-active .pulse-point__pressure,
.pulse-point:focus .pulse-point__pressure {
  r: 9px;
  fill: #d98a9c;
}

.pulse-point:hover .pulse-point__restore-ring,
.pulse-point.is-active .pulse-point__restore-ring,
.pulse-point:focus .pulse-point__restore-ring {
  r: 18px;
  stroke: rgba(242, 195, 93, 0.92);
  opacity: 1;
}

.pulse-point.is-active text,
.pulse-point:hover text,
.pulse-point:focus text {
  fill: white;
}

.pulse-point.is-active line {
  stroke: rgba(242, 195, 93, 0.34);
}

@keyframes drawPulseLine {
  to {
    stroke-dashoffset: 0;
  }
}

.restoration-ribbon {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
  overflow: visible;
  padding-bottom: 4px;
}

.restoration-chip {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  min-height: 68px;
  padding: 10px;
  text-align: start;
  cursor: pointer;
  display: grid;
  gap: 5px;
  align-content: center;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.restoration-chip span {
  font-size: 0.78rem;
  font-weight: 900;
}

.restoration-chip small {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.25;
}

.restoration-chip:hover,
.restoration-chip.is-active {
  transform: translateY(-2px);
  border-color: rgba(242, 195, 93, 0.54);
  background: rgba(242, 195, 93, 0.13);
}

.era-board {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  padding: 20px;
}

.era-board__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.era-board__legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.legend-dot--vitality {
  background: #f2c35d;
}

.legend-dot--pressure {
  background: #b46274;
}

.era-board__scroll {
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 245px);
  align-items: stretch;
  gap: 12px;
  padding: 4px 4px 12px;
  scrollbar-color: #f2c35d rgba(255, 255, 255, 0.12);
}

.era-tile {
  position: relative;
  min-height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent), transparent 72%), rgba(255, 255, 255, 0.045) 38%),
    rgba(255, 255, 255, 0.06);
  padding: 16px;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 14px;
}

.era-tile::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--accent);
}

.era-tile__topline {
  display: grid;
  gap: 7px;
}

.era-tile__topline span {
  color: #f2c35d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  line-height: 1;
}

.era-tile__topline strong {
  color: white;
  font-size: 1.08rem;
  line-height: 1.1;
}

.era-meter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: end;
  min-height: 150px;
}

.era-meter__track {
  height: 100%;
  min-height: 140px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: end;
  overflow: hidden;
}

.era-meter__fill {
  width: 100%;
  min-height: 4px;
  display: block;
}

.era-meter__fill--vitality {
  height: calc(var(--v) * 1%);
  background: linear-gradient(180deg, #f5d986, #c9922f);
}

.era-meter__fill--pressure {
  height: calc(var(--p) * 1%);
  background: linear-gradient(180deg, #d98a9c, #8f3447);
}

.era-tile__scores {
  display: grid;
  gap: 5px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.74rem;
  font-weight: 900;
}

.era-tile p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
  font-size: 0.88rem;
}

.pulse-notes {
  grid-column: 1;
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  align-content: start;
  gap: 14px;
  overflow-x: auto;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 18px 54px rgba(0, 0, 0, 0.14);
}

.pulse-notes article {
  border-radius: var(--radius);
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
}

.pulse-notes article:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.pulse-notes h3 {
  margin: 0 0 6px;
}

.pulse-note-feature h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 1.65rem;
}

.pulse-note-feature h3 span {
  color: #f2c35d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.pulse-note-scores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
}

.pulse-note-scores span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  padding: 9px;
  font-size: 0.78rem;
  font-weight: 900;
}

.pulse-note-scores span:first-child {
  border-color: rgba(242, 195, 93, 0.38);
  background: rgba(242, 195, 93, 0.09);
}

.pulse-note-scores span:last-child {
  border-color: rgba(217, 138, 156, 0.32);
  background: rgba(143, 52, 71, 0.12);
}

.pulse-notes p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.pulse-era-study {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
}

.pulse-restoration-note {
  background: rgba(242, 195, 93, 0.08);
  border: 1px solid rgba(242, 195, 93, 0.18);
  padding: 14px;
}

.pulse-study-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pulse-study-grid div {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  padding: 12px;
}

.pulse-study-grid strong,
.pulse-movement-links strong {
  display: block;
  color: #f2c35d;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.pulse-movement-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pulse-movement-links button {
  border: 1px solid rgba(242, 195, 93, 0.32);
  border-radius: var(--radius);
  background: rgba(242, 195, 93, 0.1);
  color: white;
  padding: 7px 9px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
}

.pulse-movement-links button:hover {
  background: rgba(242, 195, 93, 0.18);
}

html[dir="rtl"] .pulse-note-feature h3 {
  flex-direction: row-reverse;
}

html[dir="rtl"] .era-tile::before {
  inset: 0 0 0 auto;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.generals-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.generals-grid article {
  background:
    linear-gradient(180deg, white, #fffaf0);
  border-color: var(--line);
  padding: 18px;
  min-height: 218px;
  display: grid;
  align-content: space-between;
  gap: 14px;
}

.portrait {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.55), transparent 28%),
    linear-gradient(135deg, var(--tone-a), var(--tone-b));
  border: 1px solid var(--line);
  box-shadow: 0 10px 22px rgba(22, 32, 29, 0.16);
  margin: 0;
}

.portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04);
}

.portrait__fallback {
  display: none;
}

.portrait.is-broken .portrait__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.portrait--fallback {
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.generals-grid h3 {
  margin: 14px 0 8px;
}

.generals-grid p,
.study-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.52;
}

.text-button {
  width: fit-content;
  background: #fbf8f0;
  color: var(--forest);
}

.study-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.section--home-vision {
  padding-top: clamp(28px, 5vw, 52px);
}

.home-vision {
  border: 1px solid rgba(36, 76, 61, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(239, 229, 208, 0.9)),
    var(--surface);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 3vw, 28px);
  padding: clamp(18px, 3vw, 30px);
}

.home-vision__message,
.home-vision__sermons {
  display: grid;
  align-content: start;
  gap: 12px;
}

.home-vision__message h2,
.home-vision__message h3,
.home-vision__sermons h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.02;
}

.home-vision__message h2 {
  color: var(--forest);
  font-size: clamp(2rem, 4vw, 4.4rem);
}

.home-vision__message h3 {
  color: var(--wine);
  font-size: clamp(1.65rem, 3vw, 2.8rem);
}

.home-vision__sermons h3 {
  color: var(--wine);
  font-size: clamp(1.55rem, 2.6vw, 2.6rem);
}

.home-vision p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.home-vision__statement {
  max-width: 1080px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.64);
  color: var(--ink);
  font-size: clamp(1.08rem, 1.5vw, 1.35rem);
  font-weight: 750;
  padding: 14px 16px;
}

.home-vision__author {
  display: inline-flex;
  width: fit-content;
  border-top: 2px solid rgba(201, 146, 47, 0.36);
  padding-top: 10px;
  color: var(--wine);
  font-weight: 900;
  letter-spacing: 0.03em;
}

.home-vision__essay {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin-top: 8px;
}

.home-vision__essay h3 {
  grid-column: 1 / -1;
}

.home-vision__essay p {
  max-width: 68ch;
}

.home-vision__sermons {
  border-top: 1px solid rgba(36, 76, 61, 0.16);
  padding-top: 20px;
}

.sermon-grid--home {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.materials-stack {
  display: grid;
  gap: 24px;
}

.sermon-intro-panel {
  border: 1px solid rgba(201, 146, 47, 0.32);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(36, 76, 61, 0.96), rgba(49, 93, 129, 0.92)),
    var(--forest);
  color: white;
  box-shadow: var(--shadow-soft);
  padding: clamp(18px, 3vw, 28px);
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
}

.sermon-intro-panel__heading {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.62fr);
  gap: 18px;
  align-items: end;
}

.sermon-intro-panel .eyebrow {
  color: #f2c35d;
}

.sermon-intro-panel h3 {
  margin: 0;
  max-width: 780px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.98;
}

.sermon-intro-panel__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  line-height: 1.55;
}

.sermon-vision {
  border: 1px solid rgba(242, 195, 93, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  padding: 14px;
}

.sermon-vision strong {
  display: block;
  color: #f2c35d;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.sermon-vision p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.52;
}

.sermon-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sermon-intro-actions .secondary-action {
  border-color: rgba(255, 255, 255, 0.42);
  color: white;
}

.materials-panel {
  display: grid;
  gap: 14px;
}

.materials-panel h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2vw, 2.1rem);
}

.materials-video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.materials-video-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-soft);
  padding: 16px;
  display: grid;
  gap: 10px;
}

.materials-video-card span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.materials-video-card strong {
  color: var(--forest);
  line-height: 1.2;
}

.materials-video-card a {
  width: fit-content;
  border-radius: 999px;
  background: #fff5dc;
  color: #7a5213;
  padding: 7px 9px;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.sermon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sermon-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-soft);
  padding: 16px;
  display: grid;
  gap: 10px;
}

.sermon-card span {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.sermon-card strong {
  color: var(--forest);
  font-size: 1.05rem;
  line-height: 1.2;
}

.sermon-card p,
.sermon-card small {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.sermon-card a {
  width: fit-content;
  border-radius: 999px;
  background: #e9f7f3;
  color: #195954;
  padding: 7px 9px;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.sermon-intro-panel .sermon-card {
  background: rgba(255, 253, 248, 0.96);
  border-color: rgba(255, 255, 255, 0.16);
}

.teaching-subsection {
  margin-top: 32px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.section--mantles {
  background:
    linear-gradient(180deg, #fffdf8, #f4ebdc);
}

.mantle-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 16px;
  align-items: start;
}

.mantle-resources {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mantle-card,
.mantle-lens {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-soft);
}

.mantle-card {
  display: grid;
  gap: 13px;
  padding: 18px;
}

.mantle-card__type {
  margin: 0;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mantle-card h3,
.mantle-lens h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
}

.mantle-card h3 a {
  color: var(--forest);
  text-decoration: none;
}

.mantle-card h3 a:hover {
  color: var(--accent-2);
}

.mantle-card p,
.mantle-card li,
.mantle-lens p {
  color: var(--muted);
  line-height: 1.55;
}

.mantle-card p,
.mantle-card ul,
.mantle-lens p {
  margin: 0;
}

.mantle-card ul {
  padding-left: 18px;
}

.mantle-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mantle-tags span {
  border: 1px solid rgba(36, 76, 61, 0.16);
  border-radius: var(--radius);
  background: #fbf8f0;
  color: var(--forest);
  padding: 5px 7px;
  font-size: 0.72rem;
  font-weight: 900;
}

.mantle-card__use {
  border-left: 4px solid var(--gold);
  background: #fff8e7;
  padding: 10px 12px;
}

.mantle-card__use strong,
.mantle-lens strong {
  display: block;
  color: var(--forest);
  margin-bottom: 5px;
}

.mantle-lens {
  position: sticky;
  top: 18px;
  padding: 18px;
}

.mantle-lens__items {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.mantle-lens__items article {
  border-top: 1px solid rgba(22, 32, 29, 0.12);
  padding-top: 10px;
}

.section--courses {
  background:
    linear-gradient(180deg, #f7f7f2, #fffdf8);
}

.course-dashboard {
  display: grid;
  grid-template-columns: minmax(240px, 0.32fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.course-summary,
.course-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-soft);
}

.course-summary {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 12px;
  padding: 18px;
}

.course-summary strong {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.9;
}

.course-summary span,
.course-summary p,
.course-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.course-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.course-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.course-card__head span,
.course-card__head strong {
  border-radius: var(--radius);
  padding: 6px 8px;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.course-card__head span {
  background: #fbf8f0;
  color: var(--forest);
}

.course-card__head strong {
  background: #fff5dc;
  color: #8f5f12;
}

.course-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
}

.course-progress {
  height: 9px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(36, 76, 61, 0.12);
}

.course-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--teal));
}

.course-modules {
  display: grid;
  gap: 8px;
}

.course-module {
  min-height: 42px;
  border: 1px solid rgba(36, 76, 61, 0.12);
  border-radius: var(--radius);
  background: #fffdf8;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
}

.course-module input {
  width: 18px;
  height: 18px;
  accent-color: var(--forest);
}

.course-module span {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.course-module a {
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
}

.course-module a:hover {
  color: var(--accent-2);
}

.course-module.is-locked {
  opacity: 0.66;
}

.training-manuals {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.training-manuals__heading {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.training-manuals__heading h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.training-manuals__heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.training-manual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.training-manual-card {
  border: 1px solid rgba(36, 76, 61, 0.14);
  border-radius: var(--radius);
  background: #fffdf8;
  padding: 14px;
  display: grid;
  gap: 9px;
}

.training-manual-card span,
.training-manual-card small,
.notebook-asset__type {
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2);
}

.training-manual-card strong {
  line-height: 1.2;
}

.training-manual-card strong a,
.drive-resource-card strong a {
  color: var(--forest);
  text-decoration: none;
}

.training-manual-card strong a:hover,
.drive-resource-card strong a:hover {
  color: var(--accent-2);
}

.link-button {
  border: 0;
  background: transparent;
  color: var(--forest);
  font: inherit;
  font-weight: 900;
  padding: 0;
  text-align: start;
  cursor: pointer;
}

.link-button:hover {
  color: var(--accent-2);
}

.training-manual-card p,
.training-manual-card small {
  margin: 0;
}

.locked-material {
  border: 1px solid rgba(143, 52, 71, 0.2);
  border-radius: var(--radius);
  background: #fff6f5;
  padding: 12px;
  display: grid;
  gap: 8px;
}

.locked-material strong {
  color: var(--accent-2);
}

.course-file-actions,
.course-file-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.course-file-downloads {
  border-top: 1px solid rgba(36, 76, 61, 0.12);
  padding-top: 9px;
}

.course-file-downloads a {
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 900;
}

.general-video-links {
  border: 1px solid rgba(36, 76, 61, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  padding: 10px;
  display: grid;
  gap: 8px;
}

.general-video-links strong {
  color: var(--forest);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.general-video-links div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.general-video-links a {
  border-radius: 999px;
  background: #fff5dc;
  color: #7a5213;
  padding: 6px 8px;
  font-size: 0.76rem;
  font-weight: 900;
  text-decoration: none;
}

.notebook-asset {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.notebook-asset > div {
  border: 1px solid rgba(36, 76, 61, 0.14);
  border-radius: var(--radius);
  background: #fffdf8;
  padding: 14px;
}

.notebook-asset h4 {
  margin: 6px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.18;
}

.notebook-asset p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.embedded-report {
  margin-top: 14px;
  border: 1px solid rgba(36, 76, 61, 0.14);
  border-radius: var(--radius);
  background: white;
  overflow: hidden;
}

.embedded-report summary {
  cursor: pointer;
  padding: 13px 14px;
  font-weight: 900;
  color: var(--forest);
  background: #fbf8f0;
}

.report-content {
  padding: 16px;
  color: var(--ink);
  line-height: 1.65;
}

.report-content h3,
.report-content h4,
.report-content h5 {
  margin: 22px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.15;
}

.report-content p,
.report-content li {
  color: #2e3631;
}

.report-content blockquote {
  margin: 16px 0;
  border-left: 4px solid var(--gold);
  padding: 10px 14px;
  background: #fff8e8;
  color: var(--forest);
}

.report-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 0.9rem;
}

.report-content th,
.report-content td {
  border: 1px solid rgba(36, 76, 61, 0.16);
  padding: 9px;
  vertical-align: top;
}

.report-content th {
  background: #fbf8f0;
  color: var(--forest);
}

.section--detail-page {
  display: none;
  background: #fbf8f0;
}

.detail-page-shell {
  display: grid;
  gap: 18px;
}

.detail-back {
  width: fit-content;
  border: 1px solid rgba(36, 76, 61, 0.18);
  border-radius: var(--radius);
  background: white;
  color: var(--forest);
  padding: 9px 12px;
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(22, 32, 29, 0.06);
}

.detail-page-hero {
  min-height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 0;
  background:
    radial-gradient(circle at 20% 12%, color-mix(in srgb, var(--tone-a), transparent 32%), transparent 34%),
    linear-gradient(135deg, #15201d, #244c3d);
  color: white;
  box-shadow: var(--shadow-soft);
}

.detail-page-hero > div:first-child {
  padding: clamp(24px, 5vw, 46px);
  align-self: end;
}

.detail-page-hero h2 {
  max-width: 840px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.95;
}

.detail-page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.58;
}

.detail-page-hero__visual {
  min-height: 280px;
  display: grid;
  align-content: end;
  gap: 4px;
  padding: 18px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.28), transparent 28%),
    linear-gradient(135deg, var(--tone-a), var(--tone-b));
}

.detail-page-hero__visual.has-image {
  background:
    linear-gradient(180deg, rgba(6, 11, 10, 0.04), rgba(6, 11, 10, 0.78)),
    var(--detail-image) var(--detail-position) / cover no-repeat,
    linear-gradient(135deg, var(--tone-a), var(--tone-b));
}

.detail-page-hero__visual span,
.detail-page-hero__visual small {
  width: fit-content;
  border-radius: var(--radius);
  background: rgba(6, 11, 10, 0.64);
  padding: 5px 7px;
  color: white;
  font-weight: 800;
}

.detail-page-hero__visual small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
}

.detail-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
  gap: 16px;
  align-items: start;
}

.detail-page-grid--single {
  grid-template-columns: 1fr;
}

.detail-page-main,
.detail-page-side {
  display: grid;
  gap: 16px;
}

.biography-inline-photo {
  border: 1px solid rgba(36, 76, 61, 0.16);
  border-radius: var(--radius);
  background: #fffdf8;
  box-shadow: var(--shadow-soft);
  margin: 0;
  overflow: hidden;
}

.biography-inline-photo img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  background: #efe5d0;
}

.biography-inline-photo figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.detail-page-side {
  position: sticky;
  top: 18px;
}

.detail-page-side .related-movements,
.detail-page-side .revivalist-bio-grid {
  grid-template-columns: 1fr;
}

.drive-preview-shell,
.course-file-panel,
.teacher-lock-page,
.resource-study-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-soft);
}

.drive-preview-shell,
.course-file-panel,
.teacher-lock-page {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.drive-preview-shell h3,
.course-file-panel h3,
.teacher-lock-page h2,
.resource-study-grid h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
}

.drive-preview-frame {
  width: 100%;
  height: min(72vh, 780px);
  min-height: 520px;
  border: 1px solid rgba(36, 76, 61, 0.14);
  border-radius: var(--radius);
  background: #fbf8f0;
}

.drive-preview-video {
  display: block;
  background: #111816;
  object-fit: contain;
}

.resource-study-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.resource-study-grid article {
  padding: 18px;
}

.resource-study-grid li,
.course-file-list li {
  margin-bottom: 9px;
  color: var(--muted);
  line-height: 1.58;
}

.course-file-panel__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.course-file-list {
  margin: 0;
  padding-left: 24px;
}

.teacher-lock-page {
  min-height: 300px;
  align-content: center;
}

.mantle-insight {
  display: grid;
  gap: 14px;
}

.mantle-insight__stream {
  width: fit-content;
  margin: 0;
  border: 1px solid rgba(201, 146, 47, 0.35);
  border-radius: 999px;
  background: #fff5dc;
  color: #8f5f12;
  padding: 7px 10px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mantle-insight__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mantle-insight__grid article {
  border: 1px solid rgba(36, 76, 61, 0.12);
  border-radius: var(--radius);
  background: #fffdf8;
  padding: 13px;
}

.mantle-insight__grid strong,
.mantle-source-list strong {
  display: block;
  color: var(--forest);
  margin-bottom: 6px;
}

.mantle-insight__grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.mantle-source-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.mantle-source-list span {
  border: 1px solid rgba(36, 76, 61, 0.14);
  border-radius: var(--radius);
  background: #fbf8f0;
  color: var(--muted);
  padding: 7px 9px;
  font-size: 0.78rem;
  font-weight: 800;
}

.book-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, white, #fffaf0);
  padding: 18px;
  min-height: 360px;
  display: grid;
  grid-template-rows: 1fr auto auto;
  gap: 14px;
  box-shadow: 0 10px 30px rgba(22, 32, 29, 0.07);
}

.book-card__track,
.book-card__author {
  margin: 0;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.book-card h3 {
  margin: 8px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.08;
}

.book-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.book-card__use {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.book-card__use strong {
  display: block;
  margin-bottom: 6px;
  color: var(--forest);
}

.book-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.book-card__links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--forest);
  color: white;
  padding: 0 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.study-grid article {
  min-height: 220px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 250, 240, 0.72));
  border-color: rgba(22, 32, 29, 0.12);
  padding: 18px;
  display: grid;
  align-content: space-between;
}

.study-grid strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.08;
}

.teaching-upload-panel {
  margin: 0 0 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 232, 0.88));
  box-shadow: 0 18px 48px rgba(35, 28, 12, 0.08);
  padding: 20px;
}

.teaching-upload-panel__heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) 1fr;
  gap: 16px;
  align-items: end;
  margin-bottom: 16px;
}

.teaching-upload-panel__heading h3 {
  margin: 6px 0 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.teaching-upload-panel__heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.drive-resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.drive-resource-card {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drive-resource-card span {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  font-weight: 800;
}

.drive-resource-card strong {
  font-size: 1rem;
}

.drive-resource-card p {
  color: var(--muted);
  line-height: 1.5;
}

.drive-resource-card .text-button {
  margin-top: auto;
  align-self: flex-start;
}

.drawer,
.access-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.drawer.is-open,
.access-modal.is-open {
  pointer-events: auto;
  opacity: 1;
}

.drawer__scrim,
.access-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(7, 12, 11, 0.58);
}

.drawer__panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(840px, 100%);
  overflow: auto;
  background: #fbf8f0;
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 220ms ease;
}

.drawer.is-open .drawer__panel {
  transform: translateX(0);
}

.drawer__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(22, 32, 29, 0.16);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 1.5rem;
}

.drawer__image {
  position: relative;
  display: flex;
  align-items: end;
  min-height: 235px;
  background:
    linear-gradient(90deg, rgba(18, 31, 27, 0.86), rgba(18, 31, 27, 0.22)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent),
    linear-gradient(135deg, color-mix(in srgb, var(--tone-a), transparent 14%), color-mix(in srgb, var(--tone-b), transparent 20%)),
    var(--revival-crowd-image) center / cover no-repeat;
}

.drawer__image.has-image {
  min-height: 310px;
  background:
    linear-gradient(90deg, rgba(18, 31, 27, 0.84), rgba(18, 31, 27, 0.18) 58%, rgba(18, 31, 27, 0.38)),
    linear-gradient(0deg, rgba(18, 31, 27, 0.72), transparent 42%),
    var(--drawer-image) var(--drawer-position) / cover no-repeat;
}

.drawer__image-caption {
  display: inline-grid;
  gap: 4px;
  max-width: min(520px, calc(100% - 42px));
  margin: 0 0 22px 22px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(18, 31, 27, 0.66);
  color: white;
  backdrop-filter: blur(10px);
}

.drawer__image-caption span {
  font-weight: 900;
  line-height: 1.2;
}

.drawer__image-caption small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  font-weight: 800;
}

.drawer__content {
  padding: 34px;
}

.drawer__meta {
  margin: 0 0 10px;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.76rem;
}

.drawer h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.drawer__summary {
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.06rem;
}

.related-strip {
  margin: 18px 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #fffdf8, #f7f2e8);
  padding: 16px;
}

.related-strip h3 {
  margin: 0 0 10px;
}

.profile-button-grid,
.related-movements {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.profile-button,
.movement-link {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  cursor: pointer;
  padding: 11px;
  text-align: left;
  display: grid;
  gap: 5px;
}

.profile-button:hover,
.movement-link:hover {
  border-color: rgba(36, 76, 61, 0.5);
  box-shadow: 0 8px 24px rgba(22, 32, 29, 0.08);
}

.profile-button span,
.movement-link span {
  font-weight: 900;
}

.profile-button small,
.movement-link small {
  color: var(--muted);
  line-height: 1.35;
}

.plain-name-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.plain-name-list span,
.quiet-text {
  border: 1px dashed var(--line);
  border-radius: 999px;
  color: var(--muted);
  padding: 6px 9px;
  font-size: 0.78rem;
  font-weight: 800;
}

.revivalist-bio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.revivalist-bio-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, white, #fffaf0);
  padding: 15px;
}

.revivalist-bio-card .portrait {
  margin-bottom: 12px;
}

.revivalist-bio-card__meta {
  margin: 0 0 7px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.revivalist-bio-card h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.revivalist-bio-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.revivalist-bio-card dl {
  display: grid;
  gap: 9px;
  margin: 13px 0 0;
}

.revivalist-bio-card dt {
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.revivalist-bio-card dd {
  margin: 3px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.bio-brief {
  display: grid;
  gap: 7px;
}

.bio-brief p {
  margin: 0;
}

.bio-brief a {
  color: var(--forest);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.revivalist-bio-card .text-button {
  margin-top: 12px;
}

.miracle-account-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.miracle-account-list li {
  border: 1px solid rgba(22, 32, 29, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #fffaf0, #fffdf8);
  padding: 11px;
}

.miracle-account-list strong,
.miracle-account-list span,
.miracle-account-list em,
.miracle-account-list small {
  display: block;
}

.miracle-account-list strong {
  color: var(--ink);
  font-size: 0.9rem;
}

.miracle-account-list span {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.45;
}

.miracle-account-list em {
  margin-top: 7px;
  color: var(--wine);
  font-style: normal;
  font-weight: 900;
}

.miracle-account-list small {
  margin-top: 3px;
  color: #7a6a4e;
  font-weight: 800;
}

.miracle-account-list.is-compact li {
  padding: 9px;
}

.miracle-account-list.is-compact strong {
  font-size: 0.82rem;
}

.miracle-account-list.is-compact span,
.miracle-account-list.is-compact em,
.miracle-account-list.is-compact small {
  font-size: 0.78rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.detail-grid__wide {
  grid-column: 1 / -1;
}

.detail-grid article,
.lesson-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  padding: 16px;
}

.detail-grid h3,
.lesson-box h3 {
  margin: 0 0 8px;
}

.detail-grid p,
.lesson-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.biography-deep-dive {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.biography-deep-dive section {
  border: 1px solid rgba(22, 32, 29, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #fffdf8, #fff8e7);
  padding: 14px;
}

.biography-deep-dive h4 {
  margin: 0 0 8px;
  color: var(--forest);
}

.biography-deep-dive p,
.biography-deep-dive li {
  color: var(--muted);
  line-height: 1.55;
}

.biography-deep-dive ul {
  margin: 0;
  padding-left: 18px;
}

.biography-video-section {
  grid-column: 1 / -1;
}

.video-story-list {
  display: grid;
  gap: 10px;
}

.video-story-list article {
  border: 1px solid rgba(36, 76, 61, 0.16);
  border-radius: var(--radius);
  background: white;
  padding: 13px;
}

.video-story-list strong {
  display: block;
  color: var(--ink);
  margin-bottom: 8px;
}

.video-story-list p {
  margin: 7px 0 0;
}

.video-story-list p span {
  color: var(--forest);
  font-weight: 900;
}

.video-story-list a {
  min-height: 34px;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--forest);
  color: white;
  padding: 0 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.source-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.source-pill-list span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--forest);
  padding: 6px 8px;
  font-size: 0.78rem;
  font-weight: 900;
}

.lesson-box {
  margin-top: 12px;
  background: #fff8e7;
}

.story-section,
.video-section,
.visual-witness,
.teaching-question {
  margin-top: 14px;
}

.story-section h3,
.video-section h3,
.visual-witness h3,
.teaching-question h3 {
  margin: 0 0 10px;
}

.visual-witness__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.visual-witness article {
  overflow: hidden;
  border: 1px solid rgba(22, 32, 29, 0.14);
  border-radius: var(--radius);
  background: white;
}

.visual-witness img {
  width: 100%;
  aspect-ratio: 1.5;
  display: block;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.03);
}

.visual-witness div {
  padding: 12px;
}

.visual-witness strong {
  display: block;
  color: var(--forest);
  line-height: 1.2;
}

.visual-witness p {
  margin: 7px 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.visual-witness small {
  color: #7a6a4e;
  font-size: 0.72rem;
  font-weight: 800;
}

.story-grid,
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.story-card,
.video-grid a {
  border: 1px solid rgba(22, 32, 29, 0.14);
  border-radius: var(--radius);
  background: white;
  padding: 14px;
}

.story-card h4 {
  margin: 0 0 8px;
}

.story-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.story-card small {
  display: block;
  margin-top: 10px;
  color: #7a6a4e;
  font-weight: 800;
  line-height: 1.35;
}

.video-grid a {
  display: grid;
  gap: 5px;
  color: var(--forest);
  font-weight: 900;
}

.video-grid a small {
  color: var(--muted);
  font-weight: 800;
}

.teaching-question {
  border-top: 1px solid rgba(22, 32, 29, 0.12);
  padding-top: 14px;
}

.access-modal__panel {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -46%);
  width: min(900px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: #fbf8f0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}

.access-modal.is-open .access-modal__panel {
  transform: translate(-50%, -50%);
}

.access-modal h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
}

.access-modal p {
  color: var(--muted);
  line-height: 1.6;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.56fr);
  gap: 16px;
  margin-top: 18px;
  align-items: stretch;
}

.auth-panel,
.launch-panel,
.account-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 12px 30px rgba(22, 32, 29, 0.07);
}

.auth-panel,
.launch-panel {
  padding: 18px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.auth-tabs button,
.auth-form input,
.auth-form select,
.account-role-field select,
.account-card span {
  border: 1px solid rgba(36, 76, 61, 0.16);
  border-radius: var(--radius);
}

.auth-tabs button {
  background: #fbf8f0;
  color: var(--muted);
  font-weight: 900;
}

.auth-tabs button.is-active {
  background: var(--forest);
  color: white;
  border-color: var(--forest);
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-form label {
  display: grid;
  gap: 6px;
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 900;
}

.auth-form input,
.auth-form select,
.account-role-field select {
  min-height: 44px;
  padding: 0 12px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
}

.auth-form input:disabled,
.auth-form select:disabled,
.auth-form button:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.auth-notice {
  margin: 0;
  border-left: 4px solid var(--gold);
  background: #fff8e7;
  padding: 10px 12px;
  font-size: 0.88rem;
}

.launch-panel {
  background: #fffdf8;
}

.launch-panel strong,
.account-card strong {
  display: block;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.launch-panel ol {
  margin: 12px 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.launch-panel code {
  color: var(--forest);
  font-weight: 900;
}

.account-card {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.account-card p,
.account-card span {
  margin: 0;
}

.account-card span {
  width: fit-content;
  background: #fbf8f0;
  color: var(--forest);
  padding: 8px 10px;
  font-weight: 900;
}

.account-role-field {
  display: grid;
  gap: 6px;
  max-width: 280px;
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 900;
}

.account-card .account-role-field span {
  width: auto;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--forest);
}

.account-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.pricing-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: white;
}

.pricing-grid strong,
.pricing-grid span {
  display: block;
}

.pricing-grid span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.4;
}

.sources-section {
  padding-top: 62px;
}

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

.sources-grid article {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.sources-grid strong {
  display: block;
  margin-bottom: 8px;
}

.sources-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.empty-state {
  grid-column: 1 / -1;
  margin-left: 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 26px;
  color: var(--muted);
  background: white;
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav__links {
    display: none;
  }

  .search-dock {
    grid-template-columns: 1fr;
  }

  .metric-strip,
  .atlas-map,
  .pulse-layout,
  .detail-grid,
  .home-vision,
  .home-vision__essay,
  .mantle-layout,
  .mantle-resources,
  .auth-shell,
  .course-dashboard,
  .pricing-grid,
  .sources-grid,
  .visual-witness__grid,
  .mantle-insight__grid,
  .pulse-study-grid,
  .resource-study-grid,
  .movement-category-guide,
  .movement-category-guide__grid,
  .revival-picture-grid,
  .sermon-intro-panel__heading,
  .world-map-panel__heading,
  .world-map-layout,
  .detail-page-hero,
  .detail-page-grid,
  .biography-deep-dive,
  .teaching-upload-panel__heading,
  .training-manual-grid,
  .notebook-asset {
    grid-template-columns: 1fr;
  }

  .pulse-guide-panel,
  .pulse-card,
  .pulse-notes {
    grid-column: 1;
  }

  .pulse-guide-panel {
    position: static;
    min-height: auto;
  }

  .atlas-map__toolbar,
  .map-scroll,
  .map-focus {
    grid-column: 1;
  }

  .map-focus {
    grid-row: auto;
  }

  .generals-grid,
  .study-grid,
  .mantle-resources,
  .course-grid,
  .books-grid,
  .materials-video-grid,
  .sermon-grid,
  .revival-picture-grid,
  .drive-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .world-map-panel__heading {
    display: grid;
    align-items: start;
  }

  .movement-card {
    min-height: 300px;
  }

  .movement-card__score {
    width: 100%;
  }

  .course-file-panel__head {
    display: grid;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 100vh;
  }

  .hero__content {
    padding-top: 48px;
  }

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

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

  .generals-grid,
  .study-grid,
  .mantle-resources,
  .course-grid,
  .books-grid,
  .materials-video-grid,
  .sermon-grid,
  .revival-picture-grid,
  .drive-resource-grid {
    grid-template-columns: 1fr;
  }

  .profile-nav.is-visible {
    width: 100%;
  }

  .profile-chip {
    flex: 1;
  }

  .section {
    padding-block: 54px;
  }

  .drawer__content,
  .access-modal__panel {
    padding: 22px;
  }

  .profile-button-grid,
  .related-movements,
  .revivalist-bio-grid,
  .story-grid,
  .visual-witness__grid,
  .resource-study-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .drive-preview-frame {
    min-height: 420px;
  }

  .map-ruler,
  .map-lane__track {
    grid-template-columns: repeat(8, 175px);
  }

  .map-lane {
    grid-template-columns: minmax(0, 1fr);
  }

  .map-lane__label {
    width: max-content;
    text-align: center;
  }

  .century-ruler {
    grid-template-columns: repeat(8, 180px);
  }

  .timeline {
    grid-auto-columns: minmax(280px, 82vw);
  }
}
