:root {
  --bg: #f6f4ef;
  --paper: #fffdf8;
  --ink: #20242a;
  --muted: #667085;
  --line: #d8d2c6;
  --grid: rgba(36, 40, 48, 0.08);
  --friesland: #6da6d8;
  --rotterdam: #d7685e;
  --canada: #6dbd83;
  --overijssel: #c99b52;
  --shadow: 0 14px 40px rgba(45, 38, 25, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: auto;
}

.home-body {
  overflow: auto;
}

button,
input {
  font: inherit;
}

select {
  font: inherit;
}

.app-shell {
  display: grid;
  grid-template-columns: 320px 1fr;
  height: 100vh;
  overflow: hidden;
}

.home-shell {
  min-height: 100vh;
  background: #f6f4ef;
  overflow: hidden;
}

.home-nav {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(246, 244, 239, 0.9);
  border-bottom: 1px solid rgba(32, 36, 42, 0.12);
  backdrop-filter: blur(10px);
}

.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #20242a;
  text-decoration: none;
}

.home-brand strong,
.home-brand small {
  display: block;
}

.home-brand small {
  margin-top: 2px;
  color: #667085;
  font-size: 12px;
}

.home-nav-link {
  color: #20242a;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.home-hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  padding: 140px clamp(22px, 7vw, 104px) 90px;
  isolation: isolate;
}

.home-visual {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: #f3f1eb;
  background-image:
    linear-gradient(rgba(36, 40, 48, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 40, 48, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
}

.home-century-overview {
  position: absolute;
  z-index: 0;
  right: clamp(24px, 5vw, 88px);
  top: 118px;
  width: min(44vw, 620px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
  opacity: 0.22;
  filter: saturate(0.88) contrast(0.96);
  box-shadow: 0 28px 80px rgba(45, 38, 25, 0.18);
}

.home-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(246, 244, 239, 0.96) 0 32%, rgba(246, 244, 239, 0.7) 52%, rgba(246, 244, 239, 0.34));
}

.home-century,
.home-event,
.home-person,
.home-line {
  position: absolute;
  z-index: 1;
}

.home-century {
  top: 0;
  bottom: 0;
  opacity: 0.2;
}

.century-a {
  left: 31%;
  width: 13%;
  background: #8c6bb1;
}

.century-b {
  left: 47%;
  width: 18%;
  background: #bf7d2c;
}

.century-c {
  left: 70%;
  width: 12%;
  background: #7c8a45;
}

.home-event {
  height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(32, 36, 42, 0.18);
  color: #fffdf8;
  font-size: 13px;
  font-weight: 800;
  text-shadow: 0 1px 1px rgba(32, 36, 42, 0.34);
}

.event-a {
  left: 28%;
  right: 59%;
  bottom: 148px;
  background: #8c6bb1;
}

.event-b {
  left: 46%;
  right: 30%;
  bottom: 104px;
  background: #bf7d2c;
}

.event-c {
  left: 68%;
  right: 14%;
  bottom: 60px;
  background: #7c8a45;
}

.home-person {
  width: min(520px, 34vw);
  min-width: 270px;
  height: 58px;
  padding: 10px 18px;
  border: 1.5px solid rgba(32, 36, 42, 0.5);
  background: rgba(255, 253, 248, 0.52);
  box-shadow: 0 16px 34px rgba(45, 38, 25, 0.12);
}

.home-person span,
.home-person strong {
  display: block;
}

.home-person span {
  font-weight: 850;
}

.home-person strong {
  margin-top: 2px;
  color: #667085;
  font-size: 15px;
}

.person-a {
  top: 260px;
  left: 41%;
}

.person-b {
  top: 360px;
  left: 54%;
}

.person-c {
  top: 462px;
  left: 67%;
}

.person-d {
  top: 562px;
  left: 80%;
}

.home-line {
  width: 2px;
  background: rgba(32, 36, 42, 0.32);
}

.line-a {
  top: 318px;
  left: 52%;
  height: 102px;
}

.line-b {
  top: 418px;
  left: 66%;
  height: 102px;
}

.line-c {
  top: 518px;
  left: 79%;
  height: 102px;
}

.home-copy {
  max-width: 680px;
}

.home-copy h1 {
  max-width: 760px;
  margin-top: 12px;
  color: #14181d;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
}

.home-copy p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 24px;
  color: #4b5563;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.45;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.home-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(32, 36, 42, 0.22);
  color: #20242a;
  font-weight: 800;
  text-decoration: none;
}

.home-button.primary {
  background: #20242a;
  color: #fffdf8;
}

.home-button.secondary {
  background: rgba(255, 253, 248, 0.72);
}

.home-section {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: clamp(28px, 6vw, 80px);
  padding: 72px clamp(22px, 7vw, 104px) 90px;
  background: #fffdf8;
  border-top: 1px solid rgba(32, 36, 42, 0.12);
}

.home-section h2 {
  margin-top: 10px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
}

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

.home-feature-grid article {
  padding: 22px;
  border: 1px solid rgba(32, 36, 42, 0.14);
  background: #f6f4ef;
}

.home-feature-grid h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.home-feature-grid p {
  color: #59616c;
  font-size: 15px;
  line-height: 1.45;
}

.sidebar {
  min-height: 0;
  overflow: auto;
  background: #262b31;
  color: #f6f4ef;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: #f6f4ef;
  color: #262b31;
  font-weight: 800;
}

h1,
h2,
p {
  margin: 0;
}

.brand h1 {
  font-size: 18px;
  line-height: 1.2;
}

.brand p,
.eyebrow {
  color: #9aa4b2;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.panel {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.panel h2 {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 14px;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.segmented button {
  min-height: 36px;
  border: 0;
  background: transparent;
  color: #dce3ea;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
}

.segmented button.active {
  background: #f6f4ef;
  color: #20242a;
}

.toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: #dce3ea;
  font-size: 14px;
}

.toggle input {
  width: 18px;
  height: 18px;
  accent-color: #7ab184;
}

.field-label {
  display: block;
  margin: 14px 0 6px;
  color: #dce3ea;
  font-size: 13px;
  font-weight: 700;
}

.file-upload {
  display: block;
  cursor: pointer;
}

.file-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.file-upload span {
  display: block;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #f6f4ef;
  font-size: 14px;
  text-align: center;
}

.upload-status {
  margin-top: 10px;
  color: #b9c2cc;
  font-size: 12px;
  line-height: 1.45;
}

.person-search,
.person-select {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #f6f4ef;
  padding: 8px 10px;
}

.person-search {
  margin-bottom: 8px;
}

.person-search::placeholder {
  color: #9aa4b2;
}

.person-select option {
  color: #20242a;
}

.zoom-controls {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.zoom-controls button {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #f6f4ef;
  cursor: pointer;
  font-size: 18px;
}

.zoom-controls span {
  color: #dce3ea;
  font-size: 13px;
  text-align: center;
}

.legend {
  display: grid;
  gap: 10px;
}

.legend-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #dce3ea;
  font-size: 14px;
}

.swatch {
  width: 28px;
  height: 14px;
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.details {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e8edf2;
  font-size: 14px;
  line-height: 1.45;
}

.details span {
  color: #b9c2cc;
}

.details-century-image {
  width: 100%;
  aspect-ratio: 1.8;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  cursor: zoom-in;
}

.details-century-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.details-action {
  min-height: 36px;
  margin-top: 4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #f6f4ef;
  color: #20242a;
  cursor: pointer;
  font-weight: 750;
}

.workspace {
  position: relative;
  min-height: 0;
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.toolbar h2 {
  margin-top: 2px;
  font-size: 21px;
  line-height: 1.15;
}

.year-range {
  display: none;
  grid-template-columns: auto 160px 160px auto;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.year-range input {
  accent-color: #59616c;
}

.canvas-wrap {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  background-color: #f3f1eb;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 58px 58px;
  cursor: grab;
  user-select: none;
}

.event-timeline-strip {
  position: absolute;
  z-index: 7;
  left: 0;
  right: 0;
  bottom: 0;
  height: 132px;
  border-top: 1px solid rgba(32, 36, 42, 0.16);
  background: linear-gradient(to top, rgba(246, 244, 239, 0.96), rgba(246, 244, 239, 0.72));
  pointer-events: none;
}

.strip-tick {
  position: absolute;
  z-index: 4;
  bottom: 8px;
  width: 1px;
  height: 20px;
  border-left: 1px solid rgba(32, 36, 42, 0.24);
  color: #4b5563;
  font-size: 12px;
  font-weight: 650;
  padding-left: 6px;
  background: rgba(246, 244, 239, 0.94);
  box-shadow: 0 0 0 4px rgba(246, 244, 239, 0.86);
}

.strip-event {
  position: absolute;
  z-index: 2;
  min-width: 10px;
  height: 24px;
  overflow: hidden;
  border: 1px solid rgba(32, 36, 42, 0.12);
  color: #fffdf8;
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.15;
  padding: 3px 7px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: auto;
  text-shadow: 0 1px 1px rgba(32, 36, 42, 0.42);
  box-shadow: inset 0 0 0 999px rgba(255, 253, 248, 0.12);
  opacity: 0.9;
}

.strip-event.family-insight {
  height: 12px;
  padding: 0 6px;
  border-color: rgba(32, 36, 42, 0.08);
  color: transparent;
  opacity: 0.64;
  text-shadow: none;
}

.strip-event.family-insight.selected {
  height: 18px;
  color: #fffdf8;
  opacity: 1;
  line-height: 18px;
  transform: translateY(-3px);
}

.strip-event-icon {
  position: absolute;
  z-index: 3;
  width: 36px;
  height: 36px;
  margin-left: -18px;
  opacity: 0.34;
  pointer-events: auto;
  cursor: pointer;
  transition: opacity 160ms ease, transform 160ms ease;
}

.strip-event-icon.selected {
  opacity: 0.95;
  transform: translateY(-3px) scale(1.18);
  filter: drop-shadow(0 6px 12px rgba(32, 36, 42, 0.18));
}

.strip-century-image {
  position: absolute;
  z-index: 4;
  width: 46px;
  height: 46px;
  margin-left: -23px;
  padding: 0;
  overflow: hidden;
  border: 2px solid rgba(255, 253, 248, 0.82);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.36);
  box-shadow: 0 8px 18px rgba(32, 36, 42, 0.14);
  cursor: zoom-in;
  opacity: 0.62;
  pointer-events: auto;
  transition: opacity 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.strip-century-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.strip-century-image:hover,
.strip-century-image.selected {
  opacity: 1;
  transform: translateY(-4px) scale(1.15);
  box-shadow: 0 14px 26px rgba(32, 36, 42, 0.22);
}

.strip-event.compact {
  overflow: hidden;
  min-width: 10px;
  padding-right: 4px;
  text-indent: 0;
  color: #fffdf8;
  border-right: 1px solid rgba(32, 36, 42, 0.12);
  box-shadow: inset 0 0 0 999px rgba(255, 253, 248, 0.08);
  text-shadow: 0 1px 1px rgba(32, 36, 42, 0.42);
}

.strip-event.selected {
  background: #20242a;
  color: #fffdf8;
  opacity: 1;
}

.canvas-wrap.is-dragging {
  cursor: grabbing;
}

#timeline {
  display: block;
  min-width: 1180px;
  min-height: 720px;
}

.axis-label {
  fill: #2f343b;
  font-size: 18px;
  font-weight: 700;
}

.minor-label {
  fill: #697381;
  font-size: 12px;
}

.event-band {
  cursor: pointer;
}

.event-illustration {
  pointer-events: none;
  transition: opacity 160ms ease;
}

.event-illustration.selected {
  filter: drop-shadow(0 8px 16px rgba(32, 36, 42, 0.18));
}

.event-label {
  pointer-events: none;
  fill: #1f252c;
  font-size: 12px;
  font-weight: 650;
  paint-order: stroke;
  stroke: rgba(255, 253, 248, 0.86);
  stroke-width: 4px;
  stroke-linejoin: round;
}

.event-label.selected-label {
  font-size: 13px;
  font-weight: 800;
}

.generation-band {
  fill: rgba(255, 253, 248, 0.12);
  stroke: rgba(36, 40, 48, 0.045);
}

.generation-band.selected-generation {
  fill: rgba(255, 253, 248, 0.2);
  stroke: rgba(32, 36, 42, 0.08);
}

.generation-band.nearby-generation {
  fill: rgba(255, 253, 248, 0.14);
}

.generation-band.dimmed-generation {
  fill: transparent;
  stroke: rgba(36, 40, 48, 0.025);
}

.generation-label {
  fill: #59616c;
  font-size: 13px;
  font-weight: 800;
}

.century-image-modal {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 52px);
  background: rgba(19, 23, 29, 0.72);
  backdrop-filter: blur(12px);
}

.century-image-modal[hidden] {
  display: none;
}

.century-image-frame {
  width: min(82vw, 920px);
  margin: 0;
  display: grid;
  gap: 14px;
}

.century-image-frame img {
  width: 100%;
  max-height: min(78vh, 920px);
  display: block;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.38);
}

.century-image-frame figcaption {
  color: #fffdf8;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.34);
}

.century-image-close {
  position: fixed;
  top: 22px;
  right: 24px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 253, 248, 0.28);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.12);
  color: #fffdf8;
  cursor: pointer;
  font-size: 30px;
  line-height: 38px;
}

.family-node {
  cursor: pointer;
  transition: opacity 180ms ease;
}

.family-dot {
  fill: #f8f4ec;
  stroke: #59616c;
  stroke-width: 2;
}

.family-label {
  pointer-events: none;
  fill: #404750;
  font-size: 11px;
  font-weight: 750;
  paint-order: stroke;
  stroke: rgba(255, 253, 248, 0.88);
  stroke-width: 4px;
  stroke-linejoin: round;
}

.family-node.selected .family-dot,
.family-node.related .family-dot {
  fill: #fffdf8;
  stroke: #20242a;
  stroke-width: 3;
}

.family-node.dimmed {
  opacity: 0.2;
}

.family-node.dimmed .family-label {
  fill: rgba(64, 71, 80, 0.44);
  stroke: rgba(255, 253, 248, 0.52);
}

.family-node.related .family-label,
.family-node.selected .family-label {
  fill: #20242a;
  stroke: rgba(255, 253, 248, 0.94);
}

.relation-line {
  fill: none;
  stroke: rgba(68, 73, 82, 0.46);
  stroke-width: 1.8;
  transition: opacity 180ms ease;
}

.relation-line.selected,
.relation-line.related,
.radial-link.selected,
.radial-link.related {
  stroke: rgba(32, 36, 42, 0.82);
  stroke-width: 2.8;
}

.relation-line.dimmed,
.radial-link.dimmed {
  opacity: 0.14;
}

.life-card {
  cursor: pointer;
  filter: drop-shadow(0 8px 16px rgba(43, 40, 32, 0.14));
  transition: opacity 180ms ease;
}

.life-card.related {
  filter: drop-shadow(0 10px 20px rgba(43, 40, 32, 0.2));
}

.life-card.generation-focus {
  opacity: 0.48;
  filter: drop-shadow(0 6px 12px rgba(43, 40, 32, 0.08));
}

.life-card.dimmed {
  opacity: 0.24;
}

.pedigree-buffer {
  opacity: 0.22;
}

.life-card rect.card-bg {
  fill: rgba(255, 253, 248, 0.34);
  stroke: rgba(28, 32, 38, 0.56);
}

.life-card.related rect.card-bg {
  stroke: rgba(32, 36, 42, 0.9);
  stroke-width: 2.2;
}

.life-span {
  fill: rgba(255, 255, 255, 0.18);
  stroke: rgba(28, 32, 38, 0.42);
}

.life-origin {
  opacity: 0.68;
}

.life-origin-death {
  opacity: 0.54;
}

.vertical-life-card .card-bg {
  fill: rgba(255, 253, 248, 0.42);
}

.vertical-life-segment {
  opacity: 0.64;
}

.vertical-life-card .life-span {
  fill: rgba(255, 255, 255, 0.1);
}

.life-name {
  pointer-events: none;
  fill: #22272f;
  font-size: 13px;
  font-weight: 700;
}

.life-years,
.life-place {
  pointer-events: none;
  fill: #667085;
  font-size: 12px;
}

.raw-relation-line {
  fill: none;
  stroke: rgba(68, 73, 82, 0.18);
  stroke-width: 1.2;
}

.raw-person {
  cursor: pointer;
}

.raw-person-name {
  pointer-events: none;
  fill: #20242a;
  font-size: 11px;
  font-weight: 750;
  paint-order: stroke;
  stroke: rgba(255, 253, 248, 0.72);
  stroke-width: 3px;
  stroke-linejoin: round;
}

.raw-life-outline {
  fill: rgba(255, 255, 255, 0.12);
  stroke: rgba(32, 36, 42, 0.3);
  stroke-width: 1;
}

.raw-life-years {
  pointer-events: none;
  fill: #4b5563;
  font-size: 10px;
  font-weight: 700;
}

.raw-person.selected .raw-life-outline {
  stroke: #20242a;
  stroke-width: 2.4;
}

.avatar {
  fill: rgba(255, 255, 255, 0.5);
  stroke: rgba(59, 64, 74, 0.16);
}

.selected rect.card-bg,
.selected.event-band {
  stroke: #20242a;
  stroke-width: 2.5;
}

.selected rect.card-bg {
  fill: rgba(255, 253, 248, 0.58);
}

.radial-ring {
  fill: none;
  stroke: rgba(42, 48, 56, 0.18);
  stroke-width: 1;
}

.radial-event {
  fill: none;
  pointer-events: stroke;
  cursor: pointer;
}

.radial-link {
  fill: none;
  stroke: rgba(54, 60, 68, 0.42);
  stroke-width: 1.5;
}

.radial-node {
  cursor: pointer;
  filter: drop-shadow(0 6px 12px rgba(43, 40, 32, 0.12));
}

.radial-node circle {
  stroke: rgba(28, 32, 38, 0.58);
  stroke-width: 1.5;
}

.radial-life-part {
  fill: none;
  stroke-linecap: round;
  opacity: 0.72;
}

.radial-life.related .radial-life-part {
  opacity: 0.95;
}

.radial-life.dimmed {
  opacity: 0.22;
}

.radial-life.selected .radial-life-part {
  opacity: 1;
}

.radial-label {
  fill: #20242a;
  font-size: 11px;
  font-weight: 750;
  paint-order: stroke;
  stroke: rgba(255, 253, 248, 0.9);
  stroke-width: 4px;
  stroke-linejoin: round;
}

.radial-year {
  fill: #697381;
  font-size: 11px;
  font-weight: 700;
}

.selection-callout {
  pointer-events: none;
  filter: drop-shadow(0 12px 28px rgba(43, 40, 32, 0.18));
}

.selection-callout rect {
  fill: rgba(255, 253, 248, 0.92);
  stroke: rgba(32, 36, 42, 0.34);
}

.callout-title {
  fill: #20242a;
  font-size: 13px;
  font-weight: 850;
}

.callout-line {
  fill: #59616c;
  font-size: 12px;
  font-weight: 650;
}

@media (max-width: 880px) {
  .home-nav {
    position: static;
  }

  .home-hero {
    min-height: 720px;
    padding-top: 64px;
  }

  .home-visual::after {
    background: linear-gradient(rgba(246, 244, 239, 0.96) 0 46%, rgba(246, 244, 239, 0.58));
  }

  .home-century-overview {
    top: 140px;
    right: -80px;
    width: 420px;
    opacity: 0.14;
  }

  .home-person {
    width: 300px;
    min-width: 0;
  }

  .person-a {
    top: 420px;
    left: 14%;
  }

  .person-b {
    top: 500px;
    left: 28%;
  }

  .person-c {
    top: 580px;
    left: 42%;
  }

  .person-d {
    top: 660px;
    left: 28%;
  }

  .home-section,
  .home-feature-grid {
    grid-template-columns: 1fr;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

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

  .year-range {
    width: 100%;
    grid-template-columns: auto 1fr auto;
  }

  .year-range input + input {
    grid-column: 2;
  }
}

@media (max-width: 1120px) {
  .toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
}
