:root {
  --ink: #080808;
  --ink-muted: #595959;
  --green: #171717;
  --green-deep: #080808;
  --paper: #fafafa;
  --paper-deep: #e5e5e5;
  --white: #fefefe;
  --gold: #912c68;
  --gold-light: #f4c0df;
  --line: rgba(8, 8, 8, 0.16);
  --card-radius: 16px;
  --pill-radius: 999px;
  --sans: "soleil", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "sofia-pro", "soleil", ui-sans-serif, sans-serif;
  --shell: min(1280px, calc(100vw - 64px));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.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; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; transform: translateY(-150%); background: var(--white); padding: 12px 18px; color: var(--ink); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 50; top: 0; background: rgba(242,238,229,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); transition: box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(13,36,32,.08); }
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid rgba(20,47,43,.55); color: var(--green); font-family: Georgia, serif; font-size: 17px; letter-spacing: -.18em; padding-right: 3px; transform: rotate(45deg); }
.brand-mark::first-letter { transform: rotate(-45deg); }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-family: var(--serif); font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.brand-copy small { color: var(--ink-muted); font-size: 8.5px; text-transform: uppercase; letter-spacing: .15em; }
.brand--jem { gap: 9px; }
.brand--jem img { width: 134px; height: auto; }
.brand--jem > span { padding-left: 9px; border-left: 1px solid var(--line); color: var(--ink-muted); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 25px; }
.primary-nav > a { position: relative; text-decoration: none; font-size: 11px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
.primary-nav > a:not(.nav-search)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--green); transition: right .25s ease; }
.primary-nav > a:hover::after, .primary-nav > a:focus-visible::after, .primary-nav > a[aria-current="page"]::after { right: 0; }
.nav-search { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border: 1px solid var(--green); border-radius: var(--pill-radius); }
.nav-search svg, .search-box svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.menu-toggle { display: none; border: 0; border-radius: 50%; background: transparent; padding: 8px; }

.hero { overflow: hidden; background: var(--green); color: var(--white); }
.hero-grid { min-height: calc(100svh - 89px); padding: 72px 0 84px; display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: center; gap: 80px; }
.eyebrow { margin: 0 0 22px; display: flex; align-items: center; gap: 12px; color: #686b65; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .19em; }
.eyebrow > span { width: 28px; height: 1px; background: var(--gold); }
.eyebrow--light { color: rgba(252,250,245,.64); }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(58px, 6.4vw, 100px); font-weight: 600; line-height: .91; letter-spacing: -.055em; }
.hero h1 em { color: var(--gold-light); font-weight: 600; }
.hero-deck { max-width: 590px; margin: 30px 0 0; color: rgba(252,250,245,.75); font-family: var(--serif); font-size: clamp(18px, 1.5vw, 23px); line-height: 1.48; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 31px; margin-top: 38px; }
.hero-gallery-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.button { display: inline-flex; align-items: center; gap: 22px; padding: 16px 20px; border-radius: var(--pill-radius); text-decoration: none; font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--gold { background: var(--gold); color: var(--white); }
.button--gold:hover { background: var(--gold-light); color: var(--ink); }
.button--outline { border: 1px solid rgba(255,255,255,.35); color: var(--white); }
.button--outline:hover { background: rgba(255,255,255,.1); }
.button--outline:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.button span { font-size: 15px; font-weight: 400; }
.text-link { position: relative; text-decoration: none; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.text-link span { margin-left: 8px; transition: margin .2s ease; }
.text-link:hover span { margin-left: 14px; }
.text-link--light { color: rgba(252,250,245,.82); }

.hero-gallery { position: relative; height: min(650px, 65vw); max-height: 67vh; min-height: 540px; }
.hero-photo { position: absolute; margin: 0; overflow: hidden; border-radius: var(--card-radius); background: #c9c3b7; box-shadow: 0 24px 80px rgba(0,0,0,.24); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.13) contrast(1.03); transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .5s ease; }
.hero-photo:hover img { transform: scale(1.025); filter: sepia(0) contrast(1.03); }
.hero-photo figcaption { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 36px 20px 18px; display: grid; gap: 4px; background: linear-gradient(transparent, rgba(4,15,13,.82)); font-family: var(--serif); font-size: 16px; }
.hero-photo figcaption strong { font-weight: 500; }
.hero-photo figcaption small { display: block; color: rgba(255,255,255,.55); font-family: var(--sans); font-size: 7px; letter-spacing: .1em; text-transform: uppercase; }
.hero-photo--main { z-index: 2; left: 2%; top: 1%; width: 52%; height: 84%; }
.hero-photo--main img { object-position: center 17%; }
.hero-photo--top { z-index: 3; right: 1%; top: 5%; width: 43%; height: 38%; transform: rotate(1.7deg); }
.hero-photo--top figcaption, .hero-photo--bottom figcaption { padding-bottom: 12px; font-size: 13px; }
.hero-photo--bottom { z-index: 1; right: 5%; bottom: 5%; width: 48%; height: 43%; transform: rotate(-1.2deg); }

.section { padding: 120px 0; }
.section-heading { display: grid; grid-template-columns: 1fr 360px; align-items: end; gap: 70px; margin-bottom: 58px; }
.section-heading h2, .sources-intro h2 { margin: 0; font-family: var(--serif); font-size: clamp(45px, 5vw, 70px); font-weight: 400; line-height: .98; letter-spacing: -.045em; }
.section-heading > p { margin: 0 0 3px; color: var(--ink-muted); font-family: var(--serif); font-size: 17px; line-height: 1.6; }
.story-section { background: #ebe6de; }
.story-chapters { border-top: 1px solid var(--line); }
.story-chapter { display: grid; grid-template-columns: 70px 170px minmax(0, 1fr); gap: 35px; padding: 34px 0 38px; border-bottom: 1px solid var(--line); align-items: start; }
.story-chapter > span { color: var(--gold); font-family: var(--serif); font-size: 18px; }
.story-chapter > p { margin: 4px 0 0; color: #777; font-size: 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.story-chapter > div { display: grid; grid-template-columns: minmax(240px, .65fr) minmax(320px, 1fr); gap: 55px; }
.story-chapter h3 { margin: 0; font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.story-chapter div p { max-width: 680px; margin: 0; color: var(--ink-muted); font-family: var(--serif); font-size: 15px; line-height: 1.68; }
.archive-section { background: var(--paper); }
.archive-section .section-heading { grid-template-columns: 1fr; }
.category-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: -10px 0 44px; }
.category-tile { position: relative; min-height: 230px; padding: 0; overflow: hidden; border: 0; border-radius: var(--card-radius); background: #1b1b1b; color: white; cursor: pointer; text-align: left; }
.category-tile::after { content: ""; position: absolute; inset: 20% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.88)); }
.category-tile img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; filter: grayscale(1) contrast(.92); transition: transform .5s ease, filter .35s ease; }
.category-tile > span { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; display: grid; gap: 4px; }
.category-tile small { color: var(--gold-light); font-size: 7px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.category-tile strong { font-family: var(--serif); font-size: 20px; font-weight: 500; line-height: 1.1; }
.category-tile b { color: rgba(255,255,255,.5); font-size: 7px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.category-tile:hover img, .category-tile.is-active img { filter: grayscale(.25) contrast(.98); transform: scale(1.035); }
.category-tile.is-active { box-shadow: inset 0 0 0 3px var(--gold); }
.category-tile:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.archive-tools { display: grid; grid-template-columns: minmax(300px, 1fr) auto; gap: 28px; align-items: center; margin-bottom: 25px; padding: 19px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.search-box { display: flex; align-items: center; gap: 14px; }
.search-box svg { width: 21px; color: var(--ink-muted); }
.search-box input { width: min(100%, 450px); border: 0; outline: 0; background: transparent; color: var(--ink); font-family: var(--serif); font-size: 17px; }
.search-box input::placeholder { color: #8c8d86; }
kbd { margin-left: auto; min-width: 28px; padding: 5px 8px; border: 1px solid var(--line); background: rgba(255,255,255,.28); color: #7b7d77; font-family: var(--sans); font-size: 10px; text-align: center; }
.filters { display: flex; gap: 4px; }
.filter { border: 1px solid transparent; border-radius: var(--pill-radius); background: transparent; padding: 10px 14px; cursor: pointer; color: #6e706a; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.filter:hover { color: var(--ink); }
.filter.is-active { border-color: var(--green); color: var(--green); }
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 24px; }
.archive-card {
  min-width: 0;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--paper-deep);
  border-radius: var(--card-radius);
  background: var(--white);
}
.archive-card[hidden] { display: none; }
.card-hit { position: absolute; z-index: 5; inset: 0; cursor: zoom-in; border: 0; border-radius: inherit; background: transparent; }
.card-hit:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.card-image { position: relative; overflow: hidden; background: #d6d0c4; }
.archive-card .card-image { aspect-ratio: 4 / 3; }
.card-image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) sepia(.13); transition: transform .65s cubic-bezier(.2,.8,.2,1), filter .45s ease; }
.archive-card--portrait .card-image img { object-position: center 12%; }
.archive-card--context .card-image img { filter: grayscale(1) contrast(.94); }
.archive-card:hover .card-image img { transform: scale(1.025); filter: grayscale(.82) sepia(.05); }
.zoom-mark { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(252,250,245,.9); color: var(--green); font-family: var(--serif); font-size: 20px; transition: transform .2s ease; }
.archive-card:hover .zoom-mark { transform: rotate(90deg); }
.card-body { display: flex; flex-direction: column; padding: 18px 20px 20px; }
.card-kicker { margin: 0 0 9px; color: #74766f; font-size: 8px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.card-body h3 { margin: 0; max-width: 560px; font-family: var(--serif); font-size: clamp(24px, 2vw, 31px); font-weight: 400; line-height: 1.08; letter-spacing: -.03em; }
.card-body > p:not(.card-kicker) { max-width: 610px; margin: 16px 0 0; color: var(--ink-muted); font-family: var(--serif); font-size: 15px; line-height: 1.58; }
.archive-card--context .card-body h3 { font-size: clamp(24px, 2vw, 31px); }
.archive-card--context .card-body > p:not(.card-kicker) { font-size: 14px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: auto; padding-top: 18px; color: #777a74; font-size: 8px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.card-meta span + span { padding-left: 18px; border-left: 1px solid var(--line); }
.empty-state { padding: 80px 20px; text-align: center; border: 1px dashed rgba(24,32,30,.25); border-radius: var(--card-radius); }
.empty-state span { font-family: var(--serif); font-size: 42px; }
.empty-state h3 { margin: 10px 0 5px; font-family: var(--serif); font-size: 27px; font-weight: 400; }
.empty-state p { color: var(--ink-muted); }
.empty-state button { border: 1px solid var(--ink); border-radius: var(--pill-radius); background: transparent; padding: 10px 16px; cursor: pointer; text-transform: uppercase; font-size: 9px; letter-spacing: .1em; }
.research-findings { margin-top: 92px; padding-top: 55px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 35px; }
.findings-heading { padding-right: 25px; }
.findings-heading h3 { margin: 0; font-family: var(--serif); font-size: 34px; font-weight: 400; line-height: 1.06; letter-spacing: -.035em; }
.findings-heading > p:last-child { margin: 20px 0 0; color: var(--ink-muted); font-family: var(--serif); font-size: 14px; line-height: 1.55; }
.research-findings article { padding: 20px; border: 1px solid var(--paper-deep); border-radius: var(--card-radius); background: var(--white); }
.research-findings article > span { display: block; margin-bottom: 12px; color: #8a8a82; font-family: var(--serif); font-size: 13px; }
.research-findings h4 { margin: 0; font-family: var(--serif); font-size: 21px; font-weight: 400; }
.research-findings article p { margin: 12px 0 18px; color: var(--ink-muted); font-family: var(--serif); font-size: 13px; line-height: 1.55; }
.research-findings article a { position: relative; z-index: 6; color: var(--green); font-size: 8px; font-weight: 750; letter-spacing: .11em; text-decoration: none; text-transform: uppercase; }

.timeline-section { overflow: hidden; background: var(--green-deep); color: var(--white); }
.section-heading--dark > p { color: rgba(255,255,255,.55); }
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 202px; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.15); }
.timeline-item { display: grid; grid-template-columns: 165px 76px 1fr; min-height: 200px; padding: 38px 0; border-top: 1px solid rgba(255,255,255,.11); }
.timeline-date { display: grid; align-content: start; gap: 7px; }
.timeline-date strong { color: var(--gold-light); font-family: var(--serif); font-size: 36px; font-weight: 400; }
.timeline-date span { color: rgba(255,255,255,.4); font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }
.timeline-marker { position: relative; display: flex; justify-content: center; }
.timeline-marker i { z-index: 2; width: 11px; height: 11px; margin-top: 10px; border: 3px solid var(--green-deep); border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 1px rgba(225,201,150,.7); }
.timeline-copy { display: grid; grid-template-columns: 180px minmax(260px, 420px) 1fr; gap: 35px; align-items: start; }
.timeline-copy > p:first-child { margin: 13px 0 0; color: rgba(255,255,255,.45); font-size: 8px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.timeline-copy h3 { margin: 4px 0 0; font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1.1; }
.timeline-copy > p:last-child { max-width: 490px; margin: 5px 0 0; color: rgba(255,255,255,.58); font-family: var(--serif); font-size: 15px; line-height: 1.58; }
.timeline-item--featured { position: relative; }
.timeline-item--featured::after { content: "Formative moment"; position: absolute; right: 0; top: 24px; color: rgba(225,201,150,.5); font-size: 7px; letter-spacing: .16em; text-transform: uppercase; }

.places-section { background: var(--paper); }
.city-context { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: -18px 0 62px; }
.city-context article { min-height: 300px; padding: 34px; display: flex; flex-direction: column; border-radius: var(--card-radius); background: #e8e3db; }
.city-context article:nth-child(2) { background: #171717; color: var(--white); }
.city-context article > p:first-child { margin: 0; color: var(--gold); font-size: 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.city-context h3 { margin: auto 0 20px; font-family: var(--serif); font-size: clamp(30px, 3.4vw, 46px); font-weight: 500; letter-spacing: -.04em; }
.city-context h3 span { display: block; margin-top: 6px; color: #777; font-family: var(--sans); font-size: 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.city-context article:nth-child(2) h3 span { color: rgba(255,255,255,.4); }
.city-context article > p:last-child { max-width: 540px; margin: 0; color: var(--ink-muted); font-family: var(--serif); font-size: 14px; line-height: 1.65; }
.city-context article:nth-child(2) > p:last-child { color: rgba(255,255,255,.58); }
.places-intro { display: grid; grid-template-columns: .35fr .8fr 1fr; gap: 42px; margin-bottom: 32px; align-items: end; }
.places-intro > p { margin: 0; color: var(--gold); font-size: 8px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.places-intro h3 { margin: 0; font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1.05; }
.places-intro > span { color: var(--ink-muted); font-family: var(--serif); font-size: 13px; line-height: 1.55; }
.places-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 300px; gap: 12px; }
.place-card { position: relative; min-width: 0; margin: 0; overflow: hidden; border-radius: var(--card-radius); background: #ddd; }
.place-card--tall { grid-row: span 2; }
.place-card--wide { grid-column: span 2; }
.place-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(.94); transition: filter .35s ease, transform .55s ease; }
.place-card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.82)); pointer-events: none; }
.place-card:hover img { filter: grayscale(.25) contrast(.98); transform: scale(1.025); }
.place-card figcaption { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 28px 1fr; padding: 20px; color: white; }
.place-card figcaption > span { grid-row: 1 / 3; color: var(--gold-light); font-size: 8px; letter-spacing: .1em; }
.place-card figcaption strong { font-family: var(--serif); font-size: 17px; font-weight: 500; }
.place-card figcaption small { margin-top: 3px; color: rgba(255,255,255,.58); font-size: 7px; letter-spacing: .12em; text-transform: uppercase; }

.evidence-section { background: #171717; color: var(--white); }
.evidence-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 100px; align-items: start; }
.evidence-intro { position: sticky; top: 130px; }
.evidence-intro h2 { max-width: 510px; margin: 0; font-family: var(--serif); font-size: clamp(45px, 5vw, 68px); font-weight: 500; letter-spacing: -.05em; line-height: .98; }
.evidence-intro > p:not(.eyebrow) { max-width: 470px; margin: 28px 0 34px; color: rgba(255,255,255,.57); font-family: var(--serif); font-size: 16px; line-height: 1.65; }
.evidence-list { border-top: 1px solid rgba(255,255,255,.14); }
.evidence-card { display: grid; grid-template-columns: 100px 1fr; gap: 24px; padding: 33px 0 36px; border-bottom: 1px solid rgba(255,255,255,.14); }
.evidence-card > span { color: var(--gold-light); font-family: var(--serif); font-size: 17px; }
.evidence-card div > p:first-child { margin: 1px 0 7px; color: rgba(255,255,255,.36); font-size: 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.evidence-card h3 { margin: 0 0 13px; font-family: var(--serif); font-size: 27px; font-weight: 500; letter-spacing: -.025em; }
.evidence-card div > p:last-child { max-width: 620px; margin: 0; color: rgba(255,255,255,.58); font-family: var(--serif); font-size: 14px; line-height: 1.65; }

.lineage-section { background: #f4f5f8; }
.lineage-profiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: -15px 0 68px; }
.lineage-profiles article { min-height: 270px; padding: 32px; border-radius: var(--card-radius); background: #e6e7eb; }
.lineage-profiles article > p:first-child { margin: 0; color: var(--gold); font-size: 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.lineage-profiles h3 { margin: 58px 0 14px; font-family: var(--serif); font-size: 32px; font-weight: 500; letter-spacing: -.035em; }
.lineage-profiles article > p:last-child { max-width: 540px; margin: 0; color: var(--ink-muted); font-family: var(--serif); font-size: 14px; line-height: 1.65; }
.family-tree { position: relative; display: grid; grid-template-columns: 1fr 1fr; column-gap: 120px; padding: 12px 70px 0; }
.tree-branch { text-align: center; }
.branch-label { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 25px; color: #70736c; font-size: 8px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.branch-label span { width: 18px; height: 1px; background: var(--gold); }
.person-card { position: relative; z-index: 2; max-width: 460px; margin: 0 auto; padding: 27px 30px; border: 1px solid var(--line); border-radius: var(--card-radius); background: var(--paper); text-align: center; }
.person-card p { margin: 0 0 9px; color: #84857e; font-size: 7px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.person-card h3 { margin: 0; font-family: var(--serif); font-size: 21px; font-weight: 400; line-height: 1.2; }
.person-card > span { display: block; margin-top: 8px; color: #6d706a; font-family: var(--serif); font-size: 12px; }
.person-card--ancestor { background: transparent; border-style: dashed; }
.line-down { width: 1px; height: 35px; margin: 0 auto; background: var(--line); }
.tree-union { grid-column: 1 / -1; width: calc(50% + 60px); height: 56px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1px 1fr; }
.tree-union span { border-top: 1px solid var(--line); }
.tree-union span:first-child { border-left: 1px solid var(--line); }
.tree-union span:last-child { border-right: 1px solid var(--line); }
.tree-union i { background: var(--line); }
.person-card--parents, .person-card--rebbe, .line-down--gold { grid-column: 1 / -1; }
.person-card--parents { width: min(600px, 80%); border-color: rgba(203,167,104,.7); background: #ece5d8; }
.line-down--gold { height: 46px; background: var(--gold); }
.person-card--rebbe { width: min(600px, 80%); background: var(--green); color: var(--white); border-color: var(--green); box-shadow: 0 24px 55px rgba(13,36,32,.13); }
.person-card--rebbe p { color: var(--gold-light); }
.person-card--rebbe h3 { font-size: 27px; }
.person-card--rebbe > span { color: rgba(255,255,255,.58); }
.double-cousin { display: grid; grid-template-columns: .72fr 1.28fr; gap: 64px; margin-top: 82px; padding: 52px; border-top: 4px solid var(--gold); border-radius: var(--card-radius); background: var(--white); box-shadow: 0 20px 60px rgba(8,8,8,.06); }
.double-cousin__intro h3 { margin: 12px 0 16px; font-family: var(--serif); font-size: 37px; font-weight: 400; letter-spacing: -.03em; }
.double-cousin__intro > p:last-child { margin: 0; color: var(--ink-muted); font-family: var(--serif); font-size: 15px; line-height: 1.65; }
.cousin-lines { display: grid; gap: 14px; }
.cousin-lines > article { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--card-radius); background: #f5f5f5; }
.cousin-lines > article > p { margin: 0 0 10px; color: #777; font-size: 7px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.cousin-lines > article > div { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
.cousin-lines > article strong { font-family: var(--serif); font-size: 14px; font-weight: 500; }
.cousin-lines > article strong:last-child { text-align: right; }
.cousin-lines > article span { color: var(--gold); font-size: 7px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.cousin-outcome { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch; padding-top: 22px; }
.cousin-outcome > div { display: flex; min-height: 120px; padding: 18px; border: 1px solid rgba(145,44,104,.35); border-radius: var(--card-radius); flex-direction: column; justify-content: center; text-align: center; }
.cousin-outcome small { color: #777; font-size: 7px; letter-spacing: .12em; text-transform: uppercase; }
.cousin-outcome strong { margin: 8px 0 5px; font-family: var(--serif); font-size: 15px; font-weight: 500; line-height: 1.25; }
.cousin-outcome span { color: var(--ink-muted); font-family: var(--serif); font-size: 11px; }
.cousin-outcome i { align-self: center; color: var(--gold); font-size: 7px; font-style: normal; font-weight: 750; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.tree-note { max-width: 690px; margin: 38px auto 0; color: #777971; text-align: center; font-family: var(--serif); font-size: 13px; font-style: italic; line-height: 1.55; }

.sources-section { background: #e5e5e5; }
.sources-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 120px; }
.sources-intro > p:last-child { max-width: 400px; margin: 28px 0 0; color: var(--ink-muted); font-family: var(--serif); font-size: 16px; line-height: 1.6; }
.source-list { border-top: 1px solid rgba(24,32,30,.3); }
.source-list a { display: grid; grid-template-columns: 40px 1fr 25px; gap: 18px; align-items: center; padding: 24px 2px; border-bottom: 1px solid rgba(24,32,30,.18); text-decoration: none; transition: padding .2s ease, background .2s ease; }
.source-list a:hover { padding-left: 10px; background: rgba(255,255,255,.18); }
.source-list a > span { color: #77776f; font-family: var(--serif); font-size: 13px; }
.source-list div { display: grid; gap: 5px; }
.source-list strong { font-family: var(--serif); font-size: 19px; font-weight: 400; }
.source-list small { color: #6f716a; font-size: 7px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.source-list i { font-style: normal; color: #6c6e68; transition: transform .2s ease; }
.source-list a:hover i { transform: translate(3px,-3px); }

.site-footer {
  border-top: 2px solid #eaeaea;
  background: #fff;
  font-family: var(--sans);
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 0;
}
.footer-copyright { width: 200px; }
.footer-logo {
  display: grid;
  place-items: center;
  width: 51px;
  margin-bottom: 10px;
}
.footer-logo img { width: auto; height: 31px; }
.footer-policies {
  display: grid;
  justify-items: start;
  font-size: 10px;
  line-height: 14px;
}
.footer-policies a { color: #999; text-decoration: underline; }
.footer-copyright p {
  margin: 0;
  padding-top: 3px;
  color: #4f4f4f;
  font-size: 10px;
  line-height: 14px;
}
.footer-credit {
  margin: 0 12px 0 auto;
  color: #404040;
  font-size: 11.23px;
  font-style: italic;
  line-height: 17px;
  text-align: center;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding-inline-start: 10px;
}
.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #eee;
  color: #666;
}
.footer-social svg { display: block; width: 15px; height: 15px; fill: currentColor; }
.site-footer a:focus-visible { outline: 2px solid #0063cf; outline-offset: 1px; }

@media (max-width: 800px) {
  .footer-content { flex-wrap: wrap; justify-content: center; }
  .footer-copyright { width: 100%; text-align: center; }
  .footer-logo { margin-inline: auto; margin-bottom: 13px; }
  .footer-policies { justify-items: center; }
  .footer-copyright p { margin-top: 2px; }
  .footer-credit { margin: 7px 0 -3px; padding-bottom: 10px; font-size: 9.23px; line-height: 15px; }
  .footer-social { width: 100%; margin-top: 18px; }
}

/* Information pages */
.info-page { background: var(--paper); }
.info-page .site-header { position: sticky; }
.info-hero { position: relative; overflow: hidden; padding: 112px 0 100px; background: #171717; color: var(--white); }
.info-hero::before { content: ""; position: absolute; width: 620px; height: 620px; right: -250px; top: -310px; border: 1px solid rgba(244,192,223,.15); border-radius: 50%; box-shadow: 0 0 0 90px rgba(145,44,104,.04), 0 0 0 180px rgba(145,44,104,.02); }
.info-hero__inner { position: relative; z-index: 1; max-width: 980px; }
.info-hero h1 { max-width: 900px; margin: 0; font-family: var(--serif); font-size: clamp(55px, 7vw, 96px); font-weight: 600; letter-spacing: -.055em; line-height: .94; }
.info-hero h1 em { color: var(--gold-light); font-style: normal; }
.info-hero__deck { max-width: 720px; margin: 30px 0 0; color: rgba(255,255,255,.67); font-family: var(--serif); font-size: clamp(18px, 2vw, 24px); line-height: 1.55; }
.info-section { padding: 100px 0 120px; }
.info-layout { display: grid; grid-template-columns: 230px minmax(0, 760px); gap: 100px; align-items: start; }
.info-aside { position: sticky; top: 112px; display: grid; gap: 10px; padding-top: 8px; }
.info-aside strong { margin-bottom: 12px; color: #777; font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.info-aside a { width: fit-content; color: #646464; font-size: 10px; line-height: 1.4; text-decoration: none; }
.info-aside a:hover, .info-aside a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }
.info-content > :first-child { margin-top: 0; }
.info-content h2 { margin: 72px 0 20px; font-family: var(--serif); font-size: clamp(34px, 4vw, 52px); font-weight: 500; letter-spacing: -.04em; line-height: 1.02; }
.info-content h3 { margin: 42px 0 12px; font-family: var(--serif); font-size: 23px; font-weight: 500; letter-spacing: -.02em; }
.info-content p, .info-content li { color: var(--ink-muted); font-family: var(--serif); font-size: 17px; line-height: 1.72; }
.info-content p { margin: 0 0 22px; }
.info-content ul, .info-content ol { margin: 18px 0 30px; padding-left: 24px; }
.info-content li + li { margin-top: 9px; }
.info-content a { text-decoration-color: var(--gold); text-underline-offset: 3px; }
.info-lede { color: var(--ink) !important; font-size: clamp(23px, 2.6vw, 32px) !important; line-height: 1.48 !important; }
.policy-meta { margin: 0 0 42px; padding: 18px 20px; border-left: 2px solid var(--gold); background: #eee9e0; color: #696969; font-size: 10px; line-height: 1.6; }
.policy-meta strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }
.stat-strip { margin: 54px 0 72px; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.stat-strip div { padding: 27px 22px 28px 0; }
.stat-strip div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.stat-strip strong { display: block; color: var(--gold); font-family: var(--serif); font-size: 31px; font-weight: 500; }
.stat-strip span { color: #777; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 35px 0 65px; }
.value-card { min-height: 235px; padding: 25px; border-radius: var(--card-radius); background: #e8e3db; }
.value-card span { color: var(--gold); font-size: 8px; font-weight: 700; letter-spacing: .14em; }
.value-card h3 { margin: 54px 0 12px; font-size: 22px; }
.value-card p { margin: 0; font-size: 14px; line-height: 1.6; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 36px 0 70px; }
.contact-card { min-height: 250px; padding: 28px; display: flex; align-items: flex-start; flex-direction: column; border-radius: var(--card-radius); background: #e8e3db; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.contact-card:hover { transform: translateY(-3px); background: #ded7cc; }
.contact-card small { color: #777; font-size: 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.contact-card strong { margin: auto 0 10px; font-family: var(--serif); font-size: 25px; font-weight: 500; line-height: 1.15; }
.contact-card span { color: var(--ink-muted); font-family: var(--serif); font-size: 14px; line-height: 1.5; }
.info-callout { margin-top: 65px; padding: 42px; background: #171717; color: white; }
.info-callout h2, .info-callout h3 { margin-top: 0; color: white; }
.info-callout p { color: rgba(255,255,255,.58); }
.info-callout .button { margin-top: 8px; background: var(--gold); color: white; text-decoration: none; }
.steps { margin: 40px 0 70px; border-top: 1px solid var(--line); }
.steps article { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.steps article > span { color: var(--gold); font-family: var(--serif); font-size: 19px; }
.steps h3 { margin: 0 0 7px; }
.steps p { margin: 0; font-size: 15px; }

.record-modal { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: #000; color: var(--ink); overflow: hidden; }
.record-modal::backdrop { background: #000; }
.photo-viewer { width: 100%; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 480px; background: #000; }
.viewer-stage { position: relative; min-width: 0; height: 100%; overflow: hidden; background: #080808; }
.viewer-topbar { position: absolute; z-index: 4; top: 0; left: 0; right: 0; min-height: 66px; padding: 13px 25px; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(180deg, rgba(0,0,0,.68), transparent); color: #fff; pointer-events: none; }
.viewer-icon-button { width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(0,0,0,.22); color: #fff; cursor: pointer; font-size: 29px; font-weight: 300; line-height: 1; pointer-events: auto; transition: background .2s ease, transform .2s ease; }
.viewer-icon-button:hover { background: rgba(255,255,255,.16); transform: translateX(-2px); }
.viewer-position { margin: 0; color: rgba(255,255,255,.74); font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.viewer-image { position: absolute; inset: 0; }
.viewer-image > #modal-image { width: 100%; height: 100%; object-fit: contain; }
.viewer-watermark { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.viewer-watermark[hidden] { display: none; }
.viewer-navigation { position: absolute; z-index: 4; inset: 50% 20px auto; display: flex; justify-content: space-between; transform: translateY(-50%); pointer-events: none; }
.viewer-arrow {
  appearance: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #424242;
  box-shadow: 0 3px 6px #00000029;
  color: #fafffa;
  cursor: pointer;
  pointer-events: auto;
  transition: background .2s ease;
}
.viewer-arrow:hover { background: #555; }
.viewer-arrow svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.viewer-details {
  --details-gutter: 25px;
  height: 100%;
  overflow-y: auto;
  background: #fafffa;
  font-family: "sofia-pro", var(--sans);
  scrollbar-color: #bfc2bd transparent;
}
.viewer-details-header {
  min-height: 60px;
  padding: 8px var(--details-gutter);
  display: flex;
  align-items: center;
  gap: 5px;
}
.viewer-details-header strong { font-size: 1rem; font-weight: 400; line-height: 1.5; }
.viewer-details-close { width: 30px; height: 42px; margin-inline-start: -5px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; }
.viewer-details-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.viewer-details-actions {
  margin-inline: var(--details-gutter);
  padding-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5px;
  border-bottom: 1px solid #e0e0e0;
}
.viewer-action {
  min-height: 42px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #e0e0e0;
  border-radius: 24px;
  background: #f7f7f7;
  color: #555;
  font-size: 1rem;
  font-weight: 700;
}
.viewer-action:disabled { opacity: 1; }
.viewer-action svg, .viewer-copy-id svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.modal-data { display: grid; gap: 30px; margin: 0; padding: 10px var(--details-gutter) 20px; }
.modal-data dt { margin-bottom: 5px; font-size: .9375rem; font-weight: 400; line-height: 1.6; text-transform: uppercase; }
.modal-data dd { margin: 0; color: #848484; font-size: 1rem; font-weight: 400; line-height: 1.5; }
.metadata-person { display: flex; min-height: 24px; align-items: center; gap: 10px; }
.metadata-person-icon { width: 21px; height: 21px; flex: none; padding: 4px; border-radius: 50%; box-shadow: 1px 1px 3px 1px #0000004d; fill: currentColor; }
.viewer-id { display: flex; align-items: center; flex-wrap: wrap; }
.viewer-copy-id { display: inline-grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; }
.viewer-copy-id svg { width: 14px; height: 14px; stroke-width: 1.1; }
.viewer-copy-id:hover { color: var(--ink); }
.viewer-copy-feedback { padding-left: 3px; font-size: .75rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  :root { --shell: min(100% - 44px, 960px); }
  .hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
  .hero-gallery { min-height: 490px; }
  .hero-photo--main { width: 60%; }
  .hero-photo--top, .hero-photo--bottom { width: 48%; }
  .section { padding: 95px 0; }
  .category-rail { grid-template-columns: repeat(2, 1fr); }
  .archive-tools { grid-template-columns: minmax(0, 1fr); }
  .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-chapter { grid-template-columns: 55px 130px minmax(0, 1fr); gap: 25px; }
  .story-chapter > div { grid-template-columns: .7fr 1fr; gap: 35px; }
  .timeline-copy { grid-template-columns: 140px 1fr; }
  .timeline-copy > p:last-child { grid-column: 2; }
  .places-grid { grid-auto-rows: 260px; }
  .family-tree { padding-inline: 0; column-gap: 60px; }
  .double-cousin { grid-template-columns: 1fr; gap: 34px; }
  .sources-grid { gap: 70px; }
  .evidence-grid { gap: 60px; }
}

@media (max-width: 820px) {
  .header-inner { height: 75px; }
  .menu-toggle { display: grid; width: 42px; height: 42px; place-content: center; gap: 5px; cursor: pointer; }
  .menu-toggle > span:not(.sr-only) { width: 21px; height: 1px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .primary-nav { position: absolute; left: 0; right: 0; top: 75px; padding: 25px 22px 30px; background: var(--paper); border-bottom: 1px solid var(--line); display: none; align-items: stretch; flex-direction: column; gap: 0; }
  .primary-nav.is-open { display: flex; }
  .primary-nav > a { padding: 15px 2px; border-bottom: 1px solid var(--line); }
  .nav-search { margin-top: 14px; justify-content: center; }
  .hero-grid { min-height: auto; padding: 72px 0 85px; grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 650px; }
  .hero h1 { font-size: clamp(58px, 13vw, 90px); }
  .hero-gallery { height: 620px; max-height: none; width: min(620px, 100%); margin: 0 auto; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .section-heading > p { max-width: 600px; }
  .filters { overflow-x: auto; padding-bottom: 2px; }
  .filter { white-space: nowrap; }
  .archive-grid { gap: 32px 18px; }
  .story-chapter { grid-template-columns: 45px 1fr; }
  .story-chapter > p { grid-column: 2; grid-row: 1; }
  .story-chapter > div { grid-column: 2; grid-template-columns: 1fr; gap: 15px; }
  .research-findings { grid-template-columns: 1fr 1fr; }
  .findings-heading { grid-column: 1 / -1; max-width: 600px; margin-bottom: 15px; }
  .timeline::before { left: 146px; }
  .timeline-item { grid-template-columns: 115px 63px 1fr; }
  .timeline-copy { grid-template-columns: 1fr; gap: 10px; }
  .timeline-copy > p:last-child { grid-column: auto; }
  .timeline-item--featured::after { display: none; }
  .places-intro { grid-template-columns: 1fr 1fr; }
  .places-intro > span { grid-column: 1 / -1; }
  .places-grid { grid-template-columns: repeat(2, 1fr); }
  .place-card--wide { grid-column: span 2; }
  .family-tree { column-gap: 22px; }
  .evidence-grid { grid-template-columns: 1fr; gap: 60px; }
  .evidence-intro { position: static; }
  .person-card { padding-inline: 17px; }
  .double-cousin { padding: 38px 30px; }
  .sources-grid { grid-template-columns: 1fr; gap: 50px; }
  .info-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 55px; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 190px; }
  .photo-viewer { grid-template-columns: minmax(0, 1fr) 350px; }
  .viewer-action { padding-inline: 12px; }
}

@media (max-width: 580px) {
  :root { --shell: calc(100% - 32px); }
  .brand-mark { width: 38px; height: 38px; }
  .brand-copy strong { font-size: 16px; }
  .hero-grid { padding-top: 57px; }
  .hero h1 { font-size: clamp(49px, 16vw, 72px); }
  .hero-deck { font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-gallery { height: 510px; min-height: 0; }
  .hero-photo--main { width: 67%; height: 82%; }
  .hero-photo--top { width: 45%; height: 32%; }
  .hero-photo--bottom { width: 50%; height: 39%; bottom: 2%; }
  .hero-photo figcaption { font-size: 12px; padding-inline: 13px; }
  .section { padding: 76px 0; }
  .section-heading { margin-bottom: 42px; }
  .category-rail { grid-template-columns: 1fr; margin-bottom: 35px; }
  .category-tile { min-height: 210px; }
  .section-heading h2, .sources-intro h2 { font-size: 43px; }
  .archive-grid { grid-template-columns: 1fr; }
  .story-chapter { grid-template-columns: 35px 1fr; gap: 15px; padding-block: 27px 31px; }
  .story-chapter h3 { font-size: 27px; }
  .story-chapter div p { font-size: 14px; }
  .research-findings { grid-template-columns: 1fr; margin-top: 70px; }
  .findings-heading { grid-column: auto; }
  .archive-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 12px; }
  .timeline-item { grid-template-columns: 26px 1fr; padding-block: 32px; }
  .timeline-date { grid-column: 2; display: flex; align-items: baseline; gap: 10px; }
  .timeline-date strong { font-size: 28px; }
  .timeline-marker { grid-column: 1; grid-row: 1 / 3; justify-content: flex-start; }
  .timeline-copy { grid-column: 2; }
  .timeline-copy h3 { font-size: 25px; }
  .places-intro { grid-template-columns: 1fr; gap: 12px; }
  .places-intro > span { grid-column: auto; }
  .city-context, .lineage-profiles { grid-template-columns: 1fr; }
  .city-context article { min-height: 270px; padding: 27px 24px; }
  .places-grid { grid-template-columns: 1fr; grid-auto-rows: 320px; }
  .place-card--tall { grid-row: span 1; }
  .place-card--wide { grid-column: span 1; }
  .family-tree { grid-template-columns: 1fr; gap: 40px; }
  .evidence-card { grid-template-columns: 70px 1fr; gap: 15px; }
  .tree-branch--right { margin-top: 0; }
  .tree-union { grid-column: 1; width: 1px; height: 12px; display: block; background: var(--line); }
  .tree-union span, .tree-union i { display: none; }
  .person-card--parents, .person-card--rebbe, .line-down--gold { grid-column: 1; }
  .person-card--parents, .person-card--rebbe { width: 100%; }
  .double-cousin { margin-top: 62px; padding: 30px 20px; }
  .double-cousin__intro h3 { font-size: 31px; }
  .cousin-lines > article > div, .cousin-outcome { grid-template-columns: 1fr; }
  .cousin-lines > article strong:last-child { text-align: left; }
  .cousin-lines > article span { justify-self: start; }
  .cousin-outcome i { padding: 2px 0; }
  .info-hero { padding: 82px 0 74px; }
  .info-section { padding: 70px 0 85px; }
  .info-layout { grid-template-columns: 1fr; gap: 45px; }
  .info-aside { position: static; padding-bottom: 25px; border-bottom: 1px solid var(--line); grid-template-columns: repeat(2, 1fr); }
  .info-aside strong { grid-column: 1 / -1; }
  .stat-strip { grid-template-columns: 1fr; }
  .stat-strip div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .contact-grid { grid-template-columns: 1fr; }
  .info-callout { padding: 30px 24px; }
  .record-modal { overflow-y: auto; }
  .photo-viewer { height: auto; min-height: 100dvh; grid-template-columns: 1fr; grid-template-rows: minmax(56dvh, 620px) auto; }
  .viewer-stage { height: auto; min-height: 56dvh; }
  .viewer-navigation { inset-inline: 14px; }
  .viewer-details { --details-gutter: 18px; height: auto; overflow: visible; }
  .viewer-action { padding-inline: 9px; }
  .metadata-person { gap: 5px; }
}

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