:root {
  --bg: #101314;
  --panel: rgba(35, 39, 40, .86);
  --panel-solid: #242829;
  --panel-soft: rgba(52, 58, 59, .74);
  --line: rgba(255, 255, 255, .14);
  --text: #f1f4f2;
  --muted: #b9c3bf;
  --orange: #dd6900;
  --orange-bright: #ff8c00;
  --cyan: #46e0d0;
  --violet: #8b7cff;
  --cream: #ffffde;
  --shadow: rgba(0, 0, 0, .46);
  --focus: #ffd05c;
  --radius: 8px;
  --glass: blur(14px) saturate(1.08);
}

* {
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 140, 0, .22), transparent 30rem),
    radial-gradient(circle at 92% 8%, rgba(70, 224, 208, .13), transparent 28rem),
    linear-gradient(180deg, #181b1c 0, var(--bg) 46rem);
  color: var(--text);
  font: 14px Verdana, Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
}

body.high-contrast {
  --bg: #111;
  --panel: #202020;
  --panel-soft: #2b2b2b;
  --line: #8a8a8a;
  --text: #fff;
  --muted: #d7d7d7;
  --orange: #ff9d2e;
  --orange-bright: #ffbd5b;
}

a {
  color: var(--orange);
  text-decoration: none;
}

a:hover {
  color: #a9a9a9;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

#wrap {
  min-height: calc(100vh - 86px);
}

.site-header {
  background: rgba(18, 20, 21, .86);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.header-top {
  height: clamp(120px, 18.75vw, 180px);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(12, 14, 15, .96), rgba(12, 14, 15, .38)),
    #111;
}

.header-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.08)),
    linear-gradient(180deg, transparent 64%, rgba(0,0,0,.48));
}

.header-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.header-top h1 {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 18px;
  margin: 0;
  font-size: clamp(22px, 3.2vw, 38px);
  line-height: 1.1;
  letter-spacing: 0;
  text-shadow: 0 3px 18px #000, 1px 1px 0 #000;
  z-index: 2;
}

.header-top h1 a {
  color: var(--text);
}

.header-bottom {
  min-height: 42px;
  position: relative;
  background: rgba(22, 25, 26, .82);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: var(--glass);
}

.header-search {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 6px 16px;
}

.header-search input,
.table-tools input,
.chart-layout select {
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 6px;
  background: rgba(255, 255, 255, .92);
  color: #172021;
  min-height: 30px;
  padding: 4px 8px;
}

.header-search button {
  width: 31px;
  min-height: 30px;
  border: 1px solid #545454;
  background: #1f1f1f url("../images/go.png") center / 18px 18px no-repeat;
  cursor: pointer;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 11px 12px 13px;
  background: rgba(17, 19, 20, .82);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: var(--glass);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.main-nav a {
  min-width: 104px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-bottom-color: rgba(255, 140, 0, .66);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
  color: var(--text);
  font-size: 12px;
  text-align: center;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.main-nav a:hover,
.main-nav a.active {
  border-color: var(--orange-bright);
  background: rgba(255, 140, 0, .14);
  transform: translateY(-1px);
}

.divider {
  height: 4px;
  background: linear-gradient(90deg, #111, #777, #111);
}

#content {
  max-width: 1220px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 34px) 18px 40px;
}

.view {
  display: none;
}

.active-view {
  display: block;
  animation: viewIn .28s ease both;
}

@keyframes viewIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  align-items: start;
}

.main-column,
.side-column {
  display: grid;
  gap: 18px;
}

.hero-panel {
  min-height: 250px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0,0,0,.75), rgba(21, 28, 29, .78)),
    url("../images/header.jpg") center / cover no-repeat;
  box-shadow: 0 18px 44px var(--shadow), 0 0 0 1px rgba(255, 255, 255, .04) inset;
}

.kicker {
  margin: 0 0 10px;
  color: var(--cyan);
  font-weight: bold;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-panel h2 {
  max-width: 760px;
  margin: 0 0 12px;
  font-size: clamp(30px, 6vw, 58px);
  line-height: 1.05;
  font-weight: normal;
  text-shadow: 0 4px 24px #000;
}

.hero-panel p {
  max-width: 760px;
  color: #f0f0f0;
  font-size: 16px;
  line-height: 1.6;
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.quick-actions a,
.media-card a,
.video-card a,
.profile-actions button,
.profile-actions a {
  padding: 9px 12px;
  border: 1px solid rgba(255, 140, 0, .7);
  border-radius: 999px;
  background: rgba(255, 140, 0, .1);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.quick-actions a:hover,
.media-card a:hover,
.video-card a:hover,
.profile-actions button:hover,
.profile-actions a:hover {
  border-color: var(--cyan);
  background: rgba(70, 224, 208, .12);
  color: var(--text);
  transform: translateY(-1px);
}

.site-banner-rotator {
  position: relative;
  width: min(720px, calc(100% - 24px));
  height: 120px;
  max-height: 120px;
  margin: 24px auto 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: #141617;
  overflow: hidden;
  box-shadow:
    0 18px 48px var(--shadow),
    0 0 0 1px rgba(255, 255, 255, .04) inset;
}

.promo-slide {
  position: absolute;
  inset: 0;
  display: none;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  height: 120px;
  max-height: 120px;
  color: #f4efe7;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .8s ease;
}

.promo-slide.active {
  display: flex;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.promo-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.promo-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.84), rgba(0,0,0,.38) 54%, rgba(0,0,0,.12)),
    radial-gradient(circle at 20% 20%, rgba(212, 175, 55, .24), transparent 32rem);
}

.promo-clovis::after {
  background:
    linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.14) 52%, rgba(0,0,0,.54)),
    radial-gradient(circle at 84% 22%, rgba(212,175,55,.2), transparent 12rem);
}

.promo-veracity {
  background:
    linear-gradient(135deg, rgba(221,105,0,.2), transparent 40%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 14px),
    radial-gradient(circle at 76% 40%, rgba(221,105,0,.28), transparent 12rem),
    #222;
}

.promo-veracity::after {
  background:
    linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.18) 58%, rgba(0,0,0,.5));
}

.promo-veracity-integrity img {
  object-position: center;
}

.promo-veracity-integrity::after {
  background:
    linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.2) 58%, rgba(0,0,0,.42)),
    radial-gradient(circle at 74% 40%, rgba(0,229,255,.16), transparent 14rem);
}

.promo-spunweb {
  background:
    linear-gradient(135deg, rgba(84,192,176,.16), transparent 42%),
    radial-gradient(circle at 74% 46%, rgba(255,140,0,.26), transparent 12rem),
    linear-gradient(90deg, #141617, #2b2b2b 58%, #171717);
}

.promo-spunweb::after {
  background:
    linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.18) 58%, rgba(0,0,0,.52));
}

.promo-kacey img {
  object-position: 68% center;
}

.promo-kacey::after {
  background:
    linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.24) 52%, rgba(0,0,0,.3)),
    radial-gradient(circle at 82% 38%, rgba(255,255,255,.2), transparent 12rem);
}


.promo-slu2::after {
  background:
    linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.2) 58%, rgba(0,0,0,.42)),
    radial-gradient(circle at 74% 40%, rgba(70,224,208,.16), transparent 14rem);
}

.promo-disruptarian::after {
  background: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.16) 52%, rgba(0,0,0,.46));
}

.promo-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  width: min(48%, 360px);
  height: 100%;
  padding: 12px 18px;
  text-shadow: 0 2px 10px rgba(0,0,0,.86);
}

.promo-clovis .promo-copy {
  margin-left: 0;
}

.promo-copy b {
  color: #f5df9a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 4vw, 34px);
  line-height: 1;
}

.promo-copy small {
  color: #f4efe7;
  font-size: clamp(10px, 1.8vw, 13px);
  line-height: 1.35;
  margin-top: 4px;
}

.block {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px var(--shadow), 0 0 0 1px rgba(255,255,255,.035) inset;
  overflow: clip;
  content-visibility: auto;
  contain-intrinsic-size: 340px;
  backdrop-filter: var(--glass);
}

.blockheader {
  margin: 0;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background:
    linear-gradient(90deg, rgba(255,140,0,.18), rgba(70,224,208,.08), rgba(255,255,255,.03)),
    rgba(255,255,255,.035);
  color: var(--text);
  font-size: 18px;
  font-weight: normal;
}

.blockcontent {
  padding: 16px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--orange-bright);
}

.breadcrumbs span[aria-current="page"] {
  color: var(--text);
}

.breadcrumb-separator {
  color: #777;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 10px;
}

.stat-card {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .045);
  transition: transform .18s ease, border-color .18s ease;
}

.stat-card:hover,
.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--orange-bright);
}

.stat-card strong {
  display: block;
  color: var(--cyan);
  font-size: 25px;
}

.stat-card span {
  color: var(--muted);
  font-size: 12px;
}

.stat-card small {
  display: block;
  margin-top: 6px;
  color: #cbd2d9;
  font-size: 11px;
  line-height: 1.45;
}

.stat-card small a {
  color: var(--orange-bright);
}

.stat-highlight {
  border-color: rgba(255, 166, 77, 0.45);
  background: rgba(255, 166, 77, 0.08);
}

.news-list {
  display: grid;
  gap: 14px;
}


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

.archive-card {
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.archive-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

.archive-card p {
  margin: 0;
}

.archive-card a {
  justify-self: start;
  align-self: end;
  margin-top: 4px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 140, 0, .68);
  border-radius: 999px;
  background: rgba(255, 140, 0, .1);
  color: var(--text);
}

.archive-card a:hover {
  border-color: var(--cyan);
  background: rgba(70, 224, 208, .12);
  color: var(--text);
}

@media (max-width: 760px) {
  .archive-rotator {
    grid-template-columns: 1fr;
  }
}


.news-box {
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .045);
}

.news-box h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.news-box time {
  color: var(--muted);
  font-size: 12px;
}

.news-box p,
.prose p {
  line-height: 1.65;
}

.prose h3 {
  margin: 22px 0 8px;
  color: var(--cyan);
  font-size: 18px;
}

.icon-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
}

.icon-links a {
  min-height: 78px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .045);
  color: var(--text);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud a {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
}

.compact-list {
  display: grid;
  gap: 9px;
}

.compact-list a {
  display: block;
  padding: 8px;
  border-bottom: 1px solid #4d4d4d;
}

.featured-profile-card {
  min-height: 176px;
}

.featured-profile-link {
  display: grid;
  gap: 12px;
  min-height: 176px;
  padding: 14px;
  border: 1px solid #555;
  background:
    linear-gradient(155deg, rgba(255, 140, 0, .12), rgba(255, 255, 255, .025) 48%, rgba(0, 0, 0, .2)),
    #303030;
  color: var(--text);
}

.featured-profile-photo,
.featured-profile-initials {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid #4f4f4f;
  background: #242424;
  overflow: hidden;
}

.featured-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-profile-initials {
  color: var(--orange-bright);
  font-size: 40px;
}

.featured-profile-copy {
  display: grid;
  gap: 5px;
}

.featured-profile-copy b {
  color: var(--orange-bright);
  font-size: 20px;
  font-weight: normal;
}

.featured-profile-copy small {
  color: var(--muted);
  line-height: 1.45;
}

.featured-profile-copy em {
  color: var(--text);
  font-style: normal;
  font-weight: bold;
}

.branch-intro p {
  max-width: 780px;
  margin-top: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.branch-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255,140,0,.14), rgba(70,224,208,.06) 48%, rgba(0,0,0,.18)),
    rgba(255, 255, 255, .045);
}

.branch-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: normal;
}

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

.branch-surname {
  justify-self: start;
  padding: 4px 8px;
  border: 1px solid var(--orange);
  color: var(--orange-bright);
  font-size: 12px;
  font-weight: bold;
}

.branch-card dl {
  display: grid;
  gap: 7px;
  margin: 0;
}

.branch-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #4c4c4c;
  padding-bottom: 7px;
}

.branch-card dt {
  color: var(--muted);
}

.branch-card dd {
  margin: 0;
  text-align: right;
}

.branch-people {
  display: grid;
  gap: 6px;
  padding-top: 2px;
}

.branch-people b {
  color: var(--orange-bright);
}

.branch-people a {
  padding: 5px 0;
  border-bottom: 1px solid #4c4c4c;
}

.branch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.branch-actions a {
  padding: 7px 9px;
  border: 1px solid var(--orange);
  background: rgba(0, 0, 0, .24);
  color: var(--text);
  font-size: 12px;
}

.table-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.alpha-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.alpha-bar button,
.pager button {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
  color: var(--text);
  min-height: 30px;
  padding: 4px 8px;
  cursor: pointer;
}

.alpha-bar button.active,
.pager button:hover {
  border-color: var(--orange-bright);
  color: var(--orange-bright);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--cyan);
  font-weight: normal;
}

.data-table tr:hover td {
  background: rgba(255, 255, 255, .045);
}

.pager {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.person-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
  margin-bottom: 14px;
}

.person-head.has-portrait {
  grid-template-columns: 112px minmax(0, 1fr) auto;
}

.profile-portrait {
  display: block;
  width: 112px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: #151819;
  overflow: hidden;
}

.profile-portrait img,
.media-thumb img,
.media-thumb iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  align-items: start;
}

.person-name {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: normal;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.person-id {
  color: var(--muted);
}

.facts-grid,
.relatives-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.fact {
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .045);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.fact b {
  display: block;
  margin-bottom: 5px;
  color: var(--cyan);
}

.connection-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.connection-group {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(0, 229, 255, .08), rgba(255, 139, 0, .06)),
    rgba(255, 255, 255, .04);
}

.connection-group b {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
}

.connection-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.connection-links a {
  max-width: 100%;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(0, 0, 0, .22);
  color: var(--text);
  font-size: 13px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.connection-links a:hover,
.connection-links a:focus-visible {
  border-color: rgba(0, 229, 255, .55);
  color: var(--cyan);
}

.connection-group span,
.connection-group small {
  color: var(--muted);
}

.associated-media {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
}

.associated-media h3 {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 18px;
  font-weight: normal;
}

.associated-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.associated-media-item {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .18);
}

.media-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
  background: #1f1f1f;
  overflow: hidden;
}

.associated-media-item b {
  color: var(--text);
}

.associated-media-item span,
.associated-media-item small {
  color: var(--muted);
}

.associated-media-item a {
  color: var(--orange-bright);
  font-weight: bold;
}

.chart-layout {
  display: grid;
  gap: 20px;
}

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

.relationship-map {
  min-height: 0;
  overflow: hidden;
}

.network-svg {
  display: block;
  width: 100%;
  height: clamp(260px, 34vw, 360px);
  border: 1px solid #555;
  background:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px),
    #303030;
  background-size: 28px 28px;
}

.network-svg text {
  fill: var(--text);
  font-size: 3.6px;
  paint-order: stroke;
  stroke: rgba(0, 0, 0, .82);
  stroke-width: .7px;
  stroke-linejoin: round;
  pointer-events: none;
}

.network-svg .node {
  fill: #272727;
  stroke: var(--orange-bright);
  stroke-width: 2;
}

.network-svg .root-node {
  fill: #4a2b0d;
}

.network-svg [data-role="parent"] {
  fill: #123740;
}

.network-svg [data-role="grand"] {
  fill: #26324a;
}

.network-svg [data-role="sibling"] {
  fill: #262f46;
}

.network-svg [data-role="spouse"] {
  fill: #3e2637;
}

.network-svg [data-role="child"] {
  fill: #263826;
}

.network-svg .node-role {
  fill: var(--cyan);
  font-size: 3px;
  stroke-width: .45px;
}

.network-svg .node-initials {
  fill: #fff;
  font-size: 3.2px;
  font-weight: bold;
  stroke-width: .35px;
}

.network-svg line {
  stroke: #777;
  stroke-width: 1.5;
}

.tree-chart {
  overflow: auto;
  max-height: 680px;
  padding: 12px;
  border: 1px solid #555;
  background: #303030;
}

.tree-node {
  margin: 6px 0 6px 14px;
  padding-left: 12px;
  border-left: 1px solid #666;
}

.tree-node > a {
  color: var(--text);
}

.tree-node small {
  display: block;
  color: var(--muted);
}

.place-list {
  columns: 2;
}

.place-item {
  break-inside: avoid;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid #4c4c4c;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.media-intro {
  max-width: 760px;
  margin-top: 0;
  color: var(--muted);
  line-height: 1.6;
}

.media-review-note,
.associated-media p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.channel-link {
  margin-bottom: 18px;
}

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

.video-card,
.media-card {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .045);
}

.video-card h3,
.media-card h3 {
  margin: 12px 0;
  line-height: 1.35;
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: #111;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  overflow: hidden;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.reference-frame {
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at top left, rgba(221,105,0,.28), transparent 42%),
    linear-gradient(135deg, #181818, #2a2a2a);
}

.reference-copy {
  display: grid;
  gap: 8px;
  text-align: left;
}

.reference-copy strong {
  color: var(--orange-bright);
  font-size: 18px;
}

.reference-copy span {
  color: var(--muted);
  line-height: 1.55;
}

.media-documents {
  margin-top: 18px;
}

.noscript-seo {
  max-width: 1220px;
  margin: 0 auto;
  padding: 20px;
  color: var(--text);
}

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

.feature-card {
  min-height: 210px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255,140,0,.12), rgba(70,224,208,.06) 45%, rgba(0,0,0,.16)),
    rgba(255, 255, 255, .045);
  transition: transform .18s ease, border-color .18s ease;
}

.feature-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--orange);
  color: var(--orange-bright);
  font-weight: bold;
}

.feature-card h3 {
  margin: 16px 0 8px;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.6;
}

footer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 14px 20px 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: rgba(12, 14, 15, .62);
  color: var(--muted);
  font-size: 12px;
}

footer div:nth-child(2) {
  text-align: center;
}

footer div:nth-child(3) {
  text-align: right;
}

footer div:nth-child(4) {
  text-align: right;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .home-grid,
  .chart-columns,
  .facts-grid,
  .relatives-grid,
  .connection-summary,
  .video-grid,
  .branch-grid,
  .resources-grid,
  footer {
    grid-template-columns: 1fr;
  }

  .header-top h1 {
    left: 20px;
    right: 20px;
    bottom: 14px;
  }

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

  .place-list {
    columns: 1;
  }

  footer div,
  footer div:nth-child(2),
  footer div:nth-child(3),
  footer div:nth-child(4) {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .header-search {
    justify-content: stretch;
  }

  .header-search input {
    width: 100%;
  }

  .main-nav a {
    min-width: calc(50% - 6px);
  }

  .site-banner-rotator {
    width: calc(100% - 36px);
    height: 120px;
  }

  .promo-copy {
    width: 62%;
  }

  .person-head,
  .profile-actions {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .person-head.has-portrait {
    grid-template-columns: 1fr;
  }

  .profile-portrait {
    width: min(160px, 55vw);
  }

  .profile-actions a,
  .profile-actions button {
    width: 100%;
    text-align: center;
  }

  .hero-panel {
    padding: 22px;
  }

  .stats-grid,
  .icon-links,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table thead {
    display: none;
  }

  .network-svg text {
    font-size: 4.6px;
  }
}

/* Modern video loading: thumbnails first, iframe only after visitor action. */
.video-frame,
.video-thumb {
  position: relative;
}

.video-frame img,
.video-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.video-frame::after,
.video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .74));
}

.video-load {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 2;
  min-height: 40px;
  min-width: 122px;
  transform: translateX(-50%);
  padding: 0 14px;
  border: 1px solid rgba(255, 140, 0, .8);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(0, 0, 0, .78);
  cursor: pointer;
}

.video-load:hover,
.video-load:focus-visible {
  border-color: var(--cyan);
  background: rgba(70, 224, 208, .16);
}

.associated-media-item .video-thumb {
  aspect-ratio: 16 / 9;
}

/* Responsive and performance hardening added June 8, 2026. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

button,
input,
select,
textarea {
  max-width: 100%;
  font: inherit;
}

#wrap,
#content,
.view,
.home-grid,
.main-column,
.side-column,
.block,
.blockcontent,
.hero-panel,
.branch-card,
.news-box,
.fact,
.connection-group,
.video-card,
.media-card,
.archive-card,
.featured-profile-link {
  min-width: 0;
}

.block {
  overflow: hidden;
}

.blockcontent {
  overflow-wrap: anywhere;
}

.data-table {
  table-layout: fixed;
}

.data-table th,
.data-table td {
  overflow-wrap: anywhere;
}

.tree-chart,
.chart-columns,
.network-panel,
.network-svg,
.place-list,
.video-grid,
.media-grid,
.resources-grid {
  max-width: 100%;
}

.tree-chart,
.chart-columns,
.network-panel {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.media-thumb,
.video-frame,
.video-thumb {
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
}

.stat-card strong {
  font-size: clamp(24px, 5vw, 34px);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.quick-actions a,
.branch-actions a,
.profile-actions a,
.profile-actions button,
.archive-card a,
.media-card a,
.video-card a {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  #content {
    padding: 14px 10px 30px;
  }

  .header-top {
    height: clamp(104px, 30vw, 142px);
  }

  .header-top h1 {
    left: 12px;
    right: 12px;
    bottom: 10px;
    font-size: clamp(20px, 7vw, 30px);
  }

  .header-search {
    padding: 8px 10px;
  }

  .main-nav {
    justify-content: flex-start;
    gap: 8px;
    padding: 9px 10px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .main-nav a {
    flex: 0 0 auto;
    min-width: auto;
    scroll-snap-align: start;
  }

  .hero-panel {
    min-height: 0;
    padding: 20px 16px;
  }

  .hero-panel h2 {
    font-size: clamp(28px, 10vw, 42px);
  }

  .hero-panel p {
    font-size: 15px;
  }

  .quick-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .quick-actions a {
    text-align: center;
  }

  .blockheader {
    font-size: 17px;
  }

  .blockcontent {
    padding: 12px;
  }

  .archive-card {
    min-height: 0;
  }

  .pager {
    align-items: stretch;
    flex-direction: column;
  }

  .pager button {
    width: 100%;
  }

  .promo-copy {
    width: min(72%, 320px);
    padding: 10px 12px;
  }

  .promo-copy b {
    font-size: clamp(19px, 7vw, 28px);
  }
}

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

  .stat-card {
    padding: 12px;
  }

  .main-nav a {
    padding: 9px 11px;
    font-size: 12px;
  }

  .site-banner-rotator {
    width: calc(100% - 20px);
  }

  footer {
    padding: 14px 12px 18px;
  }
}



.lineage-highlights {
  margin-top: 18px;
}

.lineage-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.lineage-highlight-item {
  border: 1px solid rgba(123, 236, 229, 0.18);
  border-radius: 8px;
  background: rgba(123, 236, 229, 0.04);
  padding: 12px;
}

.lineage-highlight-item span,
.lineage-highlight-item small {
  display: block;
}

.lineage-highlight-item span {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.lineage-highlight-item a,
.lineage-highlight-item strong {
  display: block;
  font-size: 16px;
  color: var(--orange-bright);
}

.lineage-highlight-item small {
  margin-top: 6px;
  color: #cbd2d9;
  line-height: 1.45;
}

.lineage-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.lineage-links a {
  color: var(--orange-bright);
}


.promo-localdealatlas::after {
  background:
    linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.22) 58%, rgba(0,0,0,.36)),
    radial-gradient(circle at 76% 38%, rgba(15,118,98,.28), transparent 14rem);
}
