@font-face {
    font-family: "Fraunces";
    font-style: normal;
    font-weight: 700 900;
    font-display: swap;
    src: url("/assets/fonts/fraunces-latin-700-900.woff2") format("woff2");
}

:root {
    --color-page: #1f2a2e;
    --color-ink: rgba(17, 24, 27, 0.66);
    --color-paper: #f4efe4;
    --color-paper-deep: #d9cbb6;
    --color-story-text: #263237;
    --color-story-muted: #775f45;
    --color-support: #b84a3a;
    --color-support-dark: #853327;
    --font-title: "Fraunces", Georgia, serif;
    --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--color-page);
    color: #ffffff;
    font-family: var(--font-base);
}

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

img {
    max-width: 100%;
    height: auto;
}

.page-shell {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    min-height: 100vh;
    min-height: 100svh;
}

.choice-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    min-height: 50svh;
    padding: 32px;
    background:
        linear-gradient(135deg, var(--color-ink), rgba(17, 24, 27, 0.26)),
        var(--family-photo),
        linear-gradient(135deg, rgba(47, 111, 115, 0.78), rgba(155, 95, 61, 0.7));
    background-position: center;
    background-size: cover;
    overflow: hidden;
    transition: filter 180ms ease;
}

.choice-panel-henninger {
    --family-photo: url("/assets/images/henninger-home.webp");
}

.choice-panel-hanssens {
    --family-photo: url("/assets/images/hanssens-home.webp");
}

.choice-panel span {
    font-family: var(--font-title);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.05;
    text-align: center;
    text-shadow: 0 3px 24px rgba(0, 0, 0, 0.58);
}

.choice-panel:focus-visible {
    outline: 4px solid rgba(255, 255, 255, 0.78);
    outline-offset: -12px;
}

.choice-panel:hover {
    filter: brightness(1.08);
}

.family-page {
    background: #11181b;
}

.site-footer {
    background: var(--color-paper);
    color: var(--color-story-text);
}

.site-footer-inner {
    display: grid;
    grid-template-columns: minmax(180px, 1.05fr) minmax(260px, 1fr) minmax(240px, 0.9fr);
    gap: 52px;
    width: min(1120px, calc(100% - 64px));
    margin: 0 auto;
    padding: 58px 0 50px;
}

.site-footer-brand {
    display: inline-flex;
    align-items: flex-start;
    width: fit-content;
    transition: opacity 160ms ease, transform 160ms ease;
}

.site-footer-brand img {
    display: block;
    width: min(210px, 100%);
    height: auto;
}

.site-footer-brand:focus-visible,
.site-footer-brand:hover {
    opacity: 0.72;
    outline: none;
    transform: translateY(-2px);
}

.site-footer-label {
    margin: 0 0 15px;
    color: var(--color-story-muted);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.site-footer-nav a,
.site-footer-source-link {
    color: var(--color-story-text);
    font-size: 0.94rem;
    font-weight: 800;
    line-height: 1.4;
    text-decoration: underline;
    text-decoration-color: rgba(119, 95, 69, 0.36);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

.site-footer-nav a:focus-visible,
.site-footer-nav a:hover,
.site-footer-source-link:focus-visible,
.site-footer-source-link:hover {
    color: var(--color-support-dark);
    outline: none;
}

.site-footer-sources p {
    max-width: 300px;
    margin: 13px 0 0;
    color: #526166;
    font-size: 0.9rem;
    line-height: 1.55;
}

.site-footer-bottom {
    width: min(1120px, calc(100% - 64px));
    margin: 0 auto;
    padding: 16px 0 20px;
    border-top: 1px solid rgba(23, 34, 38, 0.16);
    color: #526166;
}

.site-footer-bottom small {
    font-size: 0.78rem;
    font-weight: 800;
}

.family-nav-wrap {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    width: 100%;
    padding: 14px max(18px, calc((100vw - 1120px) / 2));
    pointer-events: none;
}

.family-nav {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    min-height: 58px;
    padding: 8px 10px 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(17, 24, 27, 0.72);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(16px);
    pointer-events: auto;
}

.family-nav-brand {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 850;
}

.family-nav-toggle {
    position: relative;
    z-index: 2;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 850;
}

.family-nav-toggle:focus-visible,
.family-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.16);
    outline: none;
}

.family-nav-toggle-icon {
    display: grid;
    gap: 4px;
    width: 18px;
}

.family-nav-toggle-icon span {
    display: block;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.family-nav.is-menu-open .family-nav-toggle-icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.family-nav.is-menu-open .family-nav-toggle-icon span:nth-child(2) {
    opacity: 0;
}

.family-nav.is-menu-open .family-nav-toggle-icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.family-nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
}

.family-nav-links a,
.family-switcher {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 11px;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.92rem;
    font-weight: 800;
}

.family-nav-links a:focus-visible,
.family-nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    outline: none;
}

.family-switcher {
    background: var(--color-support);
    color: #ffffff;
    white-space: nowrap;
}

.family-switcher:focus-visible,
.family-switcher:hover {
    background: var(--color-support-dark);
    outline: none;
}

body.menu-open {
    overflow: hidden;
}

.family-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100svh;
    padding: 32px;
    background:
        linear-gradient(135deg, rgba(17, 24, 27, 0.72), rgba(17, 24, 27, 0.2)),
        var(--family-hero-photo),
        #11181b;
    background-position: center;
    background-size: cover;
}

.family-hero-henninger {
    --family-hero-photo: url("/assets/images/henninger-home.webp");
}

.family-hero-hanssens {
    --family-hero-photo: url("/assets/images/hanssens-home.webp");
}

.family-hero-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: min(760px, 100%);
    text-align: center;
}

.family-kicker {
    margin: 0 0 10px;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

.family-hero h1 {
    margin: 0;
    font-family: var(--font-title);
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 0.95;
    text-shadow: 0 4px 28px rgba(0, 0, 0, 0.62);
}

.family-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.family-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 800;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.family-button-primary {
    background: #ffffff;
    color: #182226;
}

.family-button-secondary {
    background: rgba(17, 24, 27, 0.28);
    color: #ffffff;
}

.family-button:focus-visible,
.family-button:hover {
    background: rgba(255, 255, 255, 0.88);
    border-color: #ffffff;
    color: #182226;
    outline: none;
}

.story-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
    align-items: center;
    gap: 56px;
    min-height: 100vh;
    min-height: 100svh;
    padding: 88px max(32px, calc((100vw - 1120px) / 2));
    background:
        linear-gradient(90deg, rgba(244, 239, 228, 0.95), rgba(244, 239, 228, 0.86)),
        var(--color-paper);
    color: var(--color-story-text);
    overflow: hidden;
}

.story-intro-text {
    max-width: 680px;
}

.section-kicker {
    margin: 0 0 12px;
    color: var(--color-story-muted);
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.story-intro h2 {
    margin: 0 0 26px;
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.04;
}

.story-intro p {
    margin: 0 0 18px;
    color: var(--color-story-text);
    font-size: 1.06rem;
    line-height: 1.75;
}

.text-link {
    color: #172f34;
    font-weight: 900;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.18em;
}

.text-link:focus-visible,
.text-link:hover {
    color: #775f45;
    outline: none;
}

.old-photo {
    isolation: isolate;
    position: relative;
    width: min(430px, 100%);
    margin: 0;
    justify-self: end;
    padding: 14px 14px 42px;
    border: 1px solid rgba(96, 77, 54, 0.26);
    background: linear-gradient(135deg, #fffaf0, var(--color-paper-deep));
    box-shadow:
        0 26px 52px rgba(42, 32, 22, 0.24),
        inset 0 0 0 1px rgba(255, 255, 255, 0.52);
    transform: rotate(2deg);
    transition: transform 220ms ease;
}

.old-photo::before {
    position: absolute;
    z-index: 3;
    top: -12px;
    left: 50%;
    width: 140px;
    height: 28px;
    background: rgba(221, 210, 186, 0.72);
    box-shadow: 0 3px 8px rgba(42, 32, 22, 0.12);
    content: "";
    transform: translateX(-50%) rotate(-3deg);
}

.old-photo img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    filter: sepia(0.18) contrast(0.95) saturate(0.82);
}

.old-photo:hover {
    transform: rotate(0deg) translateY(-4px);
}

.story-cards-section {
    min-height: 100vh;
    min-height: 100svh;
    padding: 72px max(32px, calc((100vw - 1120px) / 2));
    background: #172226;
    color: #ffffff;
    overflow: hidden;
}

.story-cards-header {
    width: min(680px, 100%);
    margin-bottom: 24px;
}

.story-cards-header h2 {
    margin: 0;
    font-family: var(--font-title);
    font-size: 2.65rem;
    font-weight: 800;
    line-height: 1.02;
}

.stories-page .story-cards-section {
    padding-top: 140px;
}

.stories-page .story-cards-header h1 {
    margin: 0;
    font-family: var(--font-title);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.02;
}

.family-nav-links a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

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

.story-card {
    min-height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 239, 228, 0.95)),
        #f4efe4;
    color: var(--color-story-text);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.story-card-link {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.story-card-link:focus-visible {
    outline: 3px solid rgba(244, 239, 228, 0.92);
    outline-offset: 4px;
}

.story-card:hover {
    border-color: rgba(244, 239, 228, 0.46);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.34);
    transform: translateY(-6px);
}

.story-image-frame {
    position: relative;
    display: block;
    aspect-ratio: 2.25 / 1;
    overflow: hidden;
    background: #0f171a;
}

.story-image-frame::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 23, 26, 0), rgba(15, 23, 26, 0.18)),
        linear-gradient(135deg, rgba(244, 239, 228, 0.16), rgba(119, 95, 69, 0));
    content: "";
    pointer-events: none;
}

.story-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: sepia(0.08) saturate(0.92) contrast(0.96);
    transform: scale(1.01);
    transition: filter 220ms ease, transform 260ms ease;
}

.story-card:hover img {
    filter: sepia(0.02) saturate(1.04) contrast(1);
    transform: scale(1.07);
}

.story-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 15px;
}

.story-period {
    align-self: flex-start;
    margin: 0 0 9px;
    padding: 5px 8px;
    border: 1px solid rgba(119, 95, 69, 0.2);
    border-radius: 999px;
    background: rgba(119, 95, 69, 0.08);
    color: #6f563c;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.story-card-title {
    display: block;
    margin: 0 0 8px;
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.08;
}

.story-person {
    display: block;
    margin: 0 0 13px;
    color: #526166;
    font-size: 0.92rem;
    line-height: 1.45;
}

.story-read-more {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
    margin-top: auto;
    padding: 0 12px 0 14px;
    border-radius: 6px;
    background: #172226;
    color: #ffffff;
    font-weight: 900;
    font-size: 0.92rem;
    text-align: center;
    transition: background 180ms ease, transform 180ms ease;
}

.story-read-more::after {
    margin-left: 12px;
    content: "->";
    transition: transform 180ms ease;
}

.story-card-link:focus-visible .story-read-more,
.story-card-link:hover .story-read-more {
    background: #775f45;
}

.story-card-link:focus-visible .story-read-more::after,
.story-card-link:hover .story-read-more::after {
    transform: translateX(3px);
}

.origin-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
    align-items: center;
    gap: 56px;
    min-height: 100vh;
    min-height: 100svh;
    padding: 90px max(32px, calc((100vw - 1120px) / 2));
    background:
        radial-gradient(circle at 82% 24%, rgba(119, 95, 69, 0.18), transparent 34%),
        linear-gradient(180deg, #f8f3e8, #eadfcd);
    color: var(--color-story-text);
    overflow: hidden;
}

.origin-content {
    max-width: 620px;
}

.origin-content h2 {
    margin: 0 0 24px;
    font-family: var(--font-title);
    font-size: 3.35rem;
    font-weight: 850;
    line-height: 1.02;
}

.origin-content p {
    margin: 0 0 18px;
    font-size: 1.06rem;
    line-height: 1.75;
}

.origin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.origin-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid #172226;
    border-radius: 6px;
    font-weight: 900;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.origin-button-primary {
    background: #172226;
    color: #ffffff;
}

.origin-button-secondary {
    background: transparent;
    color: #172226;
}

.origin-button:focus-visible,
.origin-button:hover {
    background: #775f45;
    border-color: #775f45;
    color: #ffffff;
    outline: none;
    transform: translateY(-2px);
}

.origin-photos {
    position: relative;
    min-height: 520px;
}

.origin-photo {
    position: absolute;
    margin: 0;
    padding: 10px 10px 32px;
    border: 1px solid rgba(96, 77, 54, 0.2);
    background: #fff8ea;
    box-shadow: 0 22px 44px rgba(48, 38, 27, 0.24);
    transition: transform 220ms ease;
}

.origin-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.18) contrast(0.95) saturate(0.84);
}

.origin-photo-large {
    right: 56px;
    bottom: 24px;
    z-index: 2;
    width: min(430px, 78%);
    aspect-ratio: 4 / 3;
    transform: rotate(2deg);
}

.origin-photo-top {
    top: 18px;
    left: 18px;
    z-index: 1;
    width: min(250px, 46%);
    aspect-ratio: 1 / 1;
    transform: rotate(-7deg);
}

.origin-photo-bottom {
    right: 0;
    top: 64px;
    z-index: 3;
    width: min(230px, 42%);
    aspect-ratio: 3 / 4;
    transform: rotate(7deg);
}

.origin-photo:hover {
    transform: rotate(0deg) translateY(-5px);
}

.family-link-slider {
    padding: 52px max(32px, calc((100vw - 1120px) / 2));
    background: #172226;
    color: #f4efe4;
    overflow: hidden;
}

.slider-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.slider-heading h2 {
    margin: 0;
    font-family: var(--font-title);
    font-size: 2.2rem;
    line-height: 1.05;
}

.link-rail {
    display: grid;
    grid-auto-columns: minmax(260px, 340px);
    grid-auto-flow: column;
    gap: 14px;
    margin: 0 -12px;
    padding: 4px 12px 18px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-color: rgba(244, 239, 228, 0.45) rgba(255, 255, 255, 0.08);
}

.family-link-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 124px;
    padding: 18px;
    border: 1px solid rgba(244, 239, 228, 0.28);
    border-radius: 6px;
    background: #f4efe4;
    color: var(--color-story-text);
    scroll-snap-align: start;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.family-link-card span {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
}

.family-link-card small {
    margin-top: 14px;
    color: #526166;
    font-size: 0.92rem;
    line-height: 1.45;
}

.family-link-card:focus-visible,
.family-link-card:hover {
    border-color: rgba(119, 95, 69, 0.58);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
    outline: none;
    transform: translateY(-2px);
}

.archive-actions-section {
    min-height: 100vh;
    min-height: 100svh;
    padding: 86px max(32px, calc((100vw - 1120px) / 2));
    background:
        linear-gradient(180deg, rgba(248, 243, 232, 0.94), rgba(234, 223, 205, 0.9)),
        var(--color-paper);
    color: var(--color-story-text);
}

.archive-actions-content {
    max-width: 780px;
    margin-bottom: 30px;
}

.archive-actions-content h2 {
    margin: 0;
    font-family: var(--font-title);
    font-size: 3.35rem;
    font-weight: 850;
    line-height: 1.02;
}

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

.archive-action-card {
    display: flex;
    align-items: flex-end;
    min-height: 360px;
    padding: 28px;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(17, 24, 27, 0.12), rgba(17, 24, 27, 0.72)),
        var(--archive-image),
        #172226;
    background-position: center;
    background-size: cover;
    box-shadow: 0 18px 44px rgba(48, 38, 27, 0.22);
    overflow: hidden;
    transition: box-shadow 200ms ease, transform 200ms ease;
}

.archive-action-photos {
    --archive-image: url("/assets/images/Emmy_Henninger_016.webp");
}

.archive-action-tree {
    --archive-image: url("/assets/images/henninger-stamboom-pdf.webp");
}

.archive-action-people {
    --archive-image: url("/assets/images/Emmy_Henninger_048.webp");
}

.archive-action-card span {
    color: #ffffff;
    font-family: var(--font-title);
    font-size: 2.25rem;
    font-weight: 850;
    line-height: 1;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.5);
}

.archive-action-card:focus-visible,
.archive-action-card:hover {
    box-shadow: 0 28px 62px rgba(48, 38, 27, 0.32);
    outline: none;
    transform: translateY(-5px);
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
    gap: 56px;
    align-items: start;
    padding: 92px max(32px, calc((100vw - 1120px) / 2));
    background:
        linear-gradient(135deg, rgba(184, 74, 58, 0.1), transparent 34%),
        #172226;
    color: #ffffff;
}

.contact-copy {
    max-width: 520px;
}

.contact-copy h2 {
    margin: 0 0 22px;
    font-family: var(--font-title);
    font-size: 3.15rem;
    font-weight: 850;
    line-height: 1.02;
}

.contact-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.06rem;
    line-height: 1.7;
}

.contact-email-card {
    display: grid;
    align-content: center;
    gap: 10px;
    min-height: 150px;
    padding: 28px;
    border: 1px solid rgba(244, 239, 228, 0.16);
    border-radius: 8px;
    background: #f4efe4;
    color: var(--color-story-text);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.24);
}

.contact-email-label {
    margin: 0;
    color: #526166;
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-email-card .contact-email-link {
    width: fit-content;
    color: var(--color-support-dark);
    font-family: var(--font-title);
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    font-weight: 850;
    line-height: 1.15;
}

.contact-email-card .contact-email-link:focus-visible,
.contact-email-card .contact-email-link:hover {
    color: var(--color-support);
}

.simple-page {
    background: var(--color-paper);
    color: var(--color-story-text);
}

.simple-page-shell {
    width: min(760px, calc(100% - 44px));
    min-height: 100vh;
    min-height: 100svh;
    margin: 0 auto;
    padding: 96px 0;
}

.simple-page-shell h1 {
    margin: 0 0 22px;
    font-family: var(--font-title);
    font-size: 3.4rem;
    line-height: 1.02;
}

.simple-page-shell p {
    margin: 0 0 22px;
    font-size: 1.08rem;
    line-height: 1.7;
}

.contact-page .simple-page-shell {
    min-height: 0;
    padding-top: 112px;
    padding-bottom: 64px;
}

.subpage-main {
    min-height: 100vh;
    padding-top: 86px;
    background:
        linear-gradient(180deg, rgba(248, 243, 232, 0.96), rgba(234, 223, 205, 0.92)),
        var(--color-paper);
    color: var(--color-story-text);
}

.subpage-hero {
    width: min(1120px, calc(100% - 64px));
    margin: 0 auto;
    padding: 76px 0 38px;
}

.subpage-hero-compact {
    padding-bottom: 24px;
}

.subpage-hero h1 {
    max-width: 820px;
    margin: 0 0 18px;
    font-family: var(--font-title);
    font-size: 4rem;
    font-weight: 850;
    line-height: 1;
}

.subpage-hero p:not(.section-kicker) {
    max-width: 720px;
    margin: 0;
    color: #526166;
    font-size: 1.08rem;
    line-height: 1.7;
}

.story-article {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 76px 32px 108px;
}

.story-article-header {
    width: min(900px, 100%);
    margin: 0 auto;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(23, 34, 38, 0.16);
}

.story-article-header h1 {
    max-width: 820px;
    margin: 0 0 18px;
    font-family: var(--font-title);
    font-size: 4.25rem;
    font-weight: 850;
    line-height: 1;
}

.story-article-meta {
    margin: 0;
    color: #526166;
    font-size: 1.08rem;
    line-height: 1.6;
}

.story-article-body {
    width: min(780px, 100%);
    margin: 0 auto;
    padding-top: 42px;
}

.story-article-body p {
    margin: 0 0 22px;
    color: var(--color-story-text);
    font-size: 1.08rem;
    line-height: 1.78;
}

.story-article-body section + section {
    margin-top: 64px;
}

.story-article-body h2 {
    margin: 0 0 22px;
    color: var(--color-story-text);
    font-family: var(--font-title);
    font-size: 2.35rem;
    font-weight: 850;
    line-height: 1.08;
}

.story-article-image {
    margin: 42px 0;
    padding: 10px;
    border: 1px solid rgba(96, 77, 54, 0.2);
    background: #fff8ea;
    box-shadow: 0 18px 38px rgba(48, 38, 27, 0.16);
}

.story-article-image img {
    display: block;
    width: 100%;
    height: auto;
}

.story-article-image-wide {
    padding: 0;
}

.story-article-image-hero {
    width: min(768px, 100%);
    margin-top: 0;
    margin-right: auto;
    margin-left: auto;
    padding: 0;
}

.story-article-image-portrait {
    width: min(320px, 100%);
    margin-right: auto;
    margin-left: auto;
}

.story-article-image figcaption {
    padding: 9px 5px 1px;
    color: #526166;
    font-size: 0.84rem;
    line-height: 1.4;
}

.story-article-image-small {
    width: min(220px, 100%);
    margin-right: auto;
    margin-left: auto;
}

.story-article-image-diagram {
    width: min(660px, 100%);
    margin-right: auto;
    margin-left: auto;
}

.story-article-divider {
    margin: 46px 0 34px;
    border: 0;
    border-top: 1px solid rgba(23, 34, 38, 0.2);
}

.story-article-note {
    margin: 30px 0 0 !important;
    padding: 16px 18px;
    border-left: 4px solid var(--color-support);
    background: rgba(119, 95, 69, 0.09);
    color: #526166 !important;
    font-size: 0.95rem !important;
    font-style: italic;
    line-height: 1.55 !important;
}

.story-article-exclusion {
    font-style: normal;
}

.story-source-list {
    margin: 0;
    padding-left: 24px;
    color: var(--color-story-text);
}

.story-source-list li {
    margin: 0 0 18px;
    padding-left: 5px;
    font-size: 0.96rem;
    line-height: 1.65;
}

.story-article-quote {
    margin: 0 0 28px;
    padding: 22px 24px 2px;
    border-left: 4px solid var(--color-support);
    background: rgba(255, 255, 255, 0.54);
}

.story-article-quote p {
    font-size: 0.98rem;
    line-height: 1.7;
}

.story-article-quote cite {
    display: block;
    margin: 0 0 18px;
    color: #526166;
    font-size: 0.84rem;
    font-style: normal;
    font-weight: 800;
}

.napoleon-image-pair {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: 18px;
}

.napoleon-image-pair .story-article-image {
    margin: 18px 0 42px;
}

.napoleon-brief-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 34px 0 42px;
}

.napoleon-brief-gallery .story-article-image {
    margin: 0;
}

.japan-image-pair {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: start;
    gap: 18px;
}

.japan-image-pair .story-article-image {
    margin: 18px 0 42px;
}

.birma-image-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 18px;
}

.birma-image-pair .story-article-image {
    margin: 18px 0 42px;
}

.family-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 18px;
    margin: 34px 0 48px;
}

.family-photo-grid .story-article-image {
    min-width: 0;
    margin: 0;
}

.family-photo-link {
    display: block;
}

.family-photo-link:focus-visible {
    outline: 3px solid var(--color-support);
    outline-offset: 3px;
}

.family-photo-link img {
    transition: filter 180ms ease, transform 180ms ease;
}

.family-photo-link:hover img {
    filter: brightness(1.04);
    transform: scale(1.015);
}

.story-data-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 30px 0 42px;
}

.story-data-grid > div {
    padding: 20px;
    border: 1px solid rgba(23, 34, 38, 0.14);
    background: rgba(255, 255, 255, 0.52);
}

.story-data-grid h3 {
    margin: 0 0 13px;
    color: var(--color-story-text);
    font-family: var(--font-title);
    font-size: 1.35rem;
    line-height: 1.1;
}

.story-data-grid ul {
    margin: 0;
    padding-left: 20px;
}

.story-data-grid li,
.story-data-grid dt,
.story-data-grid dd {
    color: var(--color-story-text);
    font-size: 0.92rem;
    line-height: 1.55;
}

.story-data-grid li {
    margin-bottom: 8px;
}

.story-data-grid dl {
    margin: 0;
}

.story-data-grid dt {
    margin-top: 9px;
    font-weight: 900;
}

.story-data-grid dt:first-child {
    margin-top: 0;
}

.story-data-grid dd {
    margin: 2px 0 0;
}

.story-article-backlink {
    margin-top: 46px !important;
}

.pedigree-section {
    padding: 0 max(24px, calc((100vw - 1180px) / 2)) 80px;
}

.pedigree-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.pedigree-toolbar h2 {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    font-family: var(--font-title);
    font-size: 2rem;
    line-height: 1.08;
}

.pedigree-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 0 0 14px;
    color: #526166;
    font-size: 0.84rem;
    font-weight: 800;
}

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

.pedigree-legend-line {
    display: inline-block;
    width: 28px;
    border-top: 3px solid rgba(71, 93, 105, 0.74);
}

.pedigree-legend-line-spouse {
    border-top-style: dashed;
    border-top-color: var(--color-support);
}

.pedigree-shell {
    border: 1px solid rgba(23, 34, 38, 0.18);
    border-radius: 8px;
    background: #cddfed;
    box-shadow: 0 24px 64px rgba(48, 38, 27, 0.18);
    overflow: auto;
    scrollbar-color: rgba(23, 34, 38, 0.38) rgba(255, 255, 255, 0.45);
}

.pedigree-shell:focus-visible {
    box-shadow:
        0 24px 64px rgba(48, 38, 27, 0.18),
        0 0 0 3px rgba(184, 74, 58, 0.24);
    outline: none;
}

.pedigree-canvas {
    position: relative;
    width: 2260px;
    height: 1660px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        #cddfed;
    background-size: 46px 46px;
}

.pedigree-lines {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.pedigree-lines path {
    fill: none;
    stroke: rgba(71, 93, 105, 0.74);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
}

.pedigree-lines path.pedigree-line-spouse {
    stroke: var(--color-support);
    stroke-dasharray: 9 7;
}

.tree-card {
    position: absolute;
    z-index: 2;
    left: var(--x);
    top: var(--y);
    box-sizing: border-box;
    display: block;
    width: 330px;
    min-height: 118px;
    border: 2px solid rgba(47, 68, 78, 0.28);
    border-radius: 2px;
    background: #ffffff;
    color: #213036;
    box-shadow: 0 10px 20px rgba(50, 70, 80, 0.14);
    overflow: hidden;
}

.tree-card::before {
    display: block;
    height: 14px;
    background: var(--tree-color);
    content: "";
}

.tree-card h3 {
    margin: 0;
    padding: 10px 12px 7px;
    color: #1f2a2e;
    font-size: 0.96rem;
    font-weight: 900;
    line-height: 1.15;
}

.tree-card dl {
    margin: 0;
    padding: 0 12px 12px;
}

.tree-card div {
    margin: 0 0 5px;
}

.tree-card dd {
    margin: 0;
    color: #47575d;
    font-size: 0.78rem;
    line-height: 1.28;
}

a.tree-card {
    transition: box-shadow 160ms ease, transform 160ms ease;
}

a.tree-card:focus-visible,
a.tree-card:hover {
    box-shadow: 0 16px 28px rgba(50, 70, 80, 0.24);
    outline: none;
    transform: translateY(-2px);
}

.tree-card-root {
    --tree-color: #ffffff;
    border-color: rgba(47, 68, 78, 0.5);
}

.tree-card-male {
    --tree-color: #9fc6a2;
}

.tree-card-female {
    --tree-color: #d8b6d8;
}

.tree-card-spouse {
    --tree-color: #f0d67a;
}

.people-directory {
    width: min(1120px, calc(100% - 64px));
    margin: 0 auto;
    padding: 0 0 88px;
}

.people-directory-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.people-directory-heading h2 {
    margin: 0;
    color: var(--color-story-text);
    font-family: var(--font-title);
    font-size: 2.2rem;
    line-height: 1.08;
}

.people-result-count {
    margin: 0 0 3px;
    color: var(--color-story-muted);
    font-size: 0.9rem;
    font-weight: 900;
}

.people-filter-panel {
    margin-bottom: 30px;
    border: 1px solid rgba(23, 34, 38, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.48);
    box-shadow: 0 12px 28px rgba(48, 38, 27, 0.08);
}

.people-filter-panel summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 17px 20px;
    color: var(--color-story-text);
    cursor: pointer;
    font-weight: 900;
    list-style: none;
}

.people-filter-panel summary::-webkit-details-marker {
    display: none;
}

.people-filter-panel summary::after {
    flex: 0 0 auto;
    color: var(--color-support);
    content: '+';
    font-size: 1.35rem;
    line-height: 1;
}

.people-filter-panel[open] summary::after {
    content: '−';
}

.people-filter-panel summary:focus-visible {
    outline: 3px solid rgba(184, 74, 58, 0.26);
    outline-offset: -3px;
}

.people-filter-summary {
    margin-left: auto;
    color: var(--color-story-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.people-filter-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding: 0 20px 20px;
    border-top: 1px solid rgba(23, 34, 38, 0.1);
}

.people-filter-field {
    display: grid;
    gap: 7px;
    min-width: 0;
    padding-top: 18px;
}

.people-filter-search {
    grid-column: span 2;
}

.people-filter-field label,
.people-filter-checks legend {
    color: #435257;
    font-size: 0.82rem;
    font-weight: 900;
}

.people-filter-field input,
.people-filter-field select {
    width: 100%;
    min-height: 44px;
    box-sizing: border-box;
    border: 1px solid rgba(38, 50, 55, 0.18);
    border-radius: 6px;
    background: #fffbf2;
    color: var(--color-story-text);
    font: inherit;
}

.people-filter-field input {
    padding: 0 12px;
}

.people-filter-field select {
    padding: 0 9px;
}

.people-filter-field input:focus,
.people-filter-field select:focus {
    border-color: var(--color-support);
    box-shadow: 0 0 0 3px rgba(184, 74, 58, 0.16);
    outline: none;
}

.people-filter-checks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 11px 16px;
    min-width: 0;
    margin: 0;
    padding: 18px 0 0;
    border: 0;
}

.people-filter-checks legend {
    width: 100%;
    padding: 0;
}

.people-filter-checks label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--color-story-text);
    font-size: 0.87rem;
}

.people-filter-checks input {
    width: 16px;
    height: 16px;
    accent-color: var(--color-support);
}

.people-filter-reset {
    align-self: end;
    min-height: 44px;
    border: 1px solid rgba(23, 34, 38, 0.2);
    border-radius: 6px;
    background: transparent;
    color: var(--color-story-text);
    cursor: pointer;
    font: inherit;
    font-size: 0.87rem;
    font-weight: 900;
}

.people-filter-reset:hover,
.people-filter-reset:focus-visible {
    border-color: var(--color-support);
    color: var(--color-support-dark);
    outline: none;
}

.people-index {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
}

.person-card[hidden] {
    display: none;
}

.person-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    min-height: 178px;
    border: 1px solid rgba(23, 34, 38, 0.14);
    border-radius: 8px;
    background: #fffaf0;
    box-shadow: 0 16px 40px rgba(48, 38, 27, 0.14);
    overflow: hidden;
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.person-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.person-card-placeholder {
    display: grid;
    place-items: center;
    min-height: 100%;
    background:
        linear-gradient(145deg, rgba(119, 95, 69, 0.16), rgba(184, 74, 58, 0.1)),
        #e5d9c6;
    color: var(--color-support-dark);
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 850;
}

.person-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px;
}

.person-period {
    margin-bottom: 8px;
    color: var(--color-support);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.person-name {
    margin-bottom: 8px;
    font-family: var(--font-title);
    font-size: 1.45rem;
    font-weight: 850;
    line-height: 1.05;
}

.person-place {
    color: #526166;
    font-size: 0.94rem;
    line-height: 1.45;
}

.person-card-meta {
    margin-top: 10px;
    color: var(--color-story-muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.people-empty {
    margin: 24px 0 0;
    padding: 22px;
    border: 1px dashed rgba(23, 34, 38, 0.24);
    color: var(--color-story-muted);
    text-align: center;
}

.person-card:focus-visible,
.person-card:hover {
    box-shadow: 0 22px 52px rgba(48, 38, 27, 0.22);
    outline: none;
    transform: translateY(-4px);
}

.person-profile {
    width: min(1120px, calc(100% - 64px));
    margin: 0 auto;
    padding: 76px 0 90px;
}

.person-profile-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    align-items: end;
    gap: 52px;
    margin-bottom: 36px;
}

.person-profile h1 {
    max-width: 720px;
    margin: 0 0 16px;
    font-family: var(--font-title);
    font-size: 4.25rem;
    font-weight: 850;
    line-height: 0.98;
}

.person-lifespan {
    margin: 0;
    color: #526166;
    font-size: 1.2rem;
    font-weight: 800;
}

.profile-photo {
    margin: 0;
    padding: 12px 12px 34px;
    border: 1px solid rgba(96, 77, 54, 0.22);
    background: #fffaf0;
    box-shadow: 0 20px 48px rgba(48, 38, 27, 0.18);
    transform: rotate(1.5deg);
}

.profile-photo img {
    display: block;
    width: 100%;
    height: clamp(220px, 26vw, 310px);
    object-fit: cover;
    object-position: center;
    filter: sepia(0.12) saturate(0.9);
}

.profile-photo figcaption,
.profile-photo-grid figcaption {
    margin-top: 10px;
    color: #775f45;
    font-size: 0.86rem;
    font-weight: 800;
}

.profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 22px;
    margin-bottom: 22px;
}

.profile-panel {
    padding: 26px;
    border: 1px solid rgba(23, 34, 38, 0.12);
    border-radius: 8px;
    background: #fffaf0;
    box-shadow: 0 14px 34px rgba(48, 38, 27, 0.12);
}

.profile-panel + .profile-panel {
    margin-top: 22px;
}

.profile-grid .profile-panel + .profile-panel {
    margin-top: 0;
}

.profile-panel h2 {
    margin: 0 0 18px;
    font-family: var(--font-title);
    font-size: 1.8rem;
    line-height: 1.08;
}

.fact-list {
    display: grid;
    gap: 13px;
    margin: 0;
}

.fact-list div {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
}

.fact-list dt {
    color: #775f45;
    font-size: 0.88rem;
    font-weight: 900;
}

.fact-list dd {
    margin: 0;
    color: #263237;
    line-height: 1.55;
}

.document-link {
    display: inline-flex;
    padding: 14px 16px;
    border: 1px solid rgba(184, 74, 58, 0.28);
    border-radius: 6px;
    background: rgba(184, 74, 58, 0.08);
    color: #853327;
    font-weight: 900;
    line-height: 1.35;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.18em;
}

.document-link:focus-visible,
.document-link:hover {
    background: rgba(184, 74, 58, 0.14);
    outline: none;
}

.profile-biography p {
    max-width: 860px;
    margin: 0 0 16px;
    line-height: 1.72;
}

.profile-biography p:last-child {
    margin-bottom: 0;
}

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

.profile-photo-grid figure {
    margin: 0;
}

.profile-photo-grid img {
    display: block;
    width: 100%;
    height: clamp(180px, 20vw, 250px);
    border-radius: 6px;
    object-fit: cover;
    object-position: center;
}

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

.relation-card {
    display: flex;
    flex-direction: column;
    min-height: 96px;
    padding: 16px;
    border: 1px solid rgba(23, 34, 38, 0.13);
    border-radius: 6px;
    background: #f4efe4;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.relation-card span {
    margin-bottom: 8px;
    color: #775f45;
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.relation-card strong {
    color: #263237;
    font-family: var(--font-title);
    font-size: 1.16rem;
    line-height: 1.1;
}

.relation-card:focus-visible,
.relation-card:hover {
    border-color: rgba(184, 74, 58, 0.34);
    background: #ffffff;
    outline: none;
    transform: translateY(-2px);
}

.js .reveal .reveal-item {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.js .story-intro .reveal-item:nth-child(2) {
    transform: translateX(48px) rotate(2deg);
}

.js .reveal.is-visible .reveal-item {
    opacity: 1;
    transform: translate(0, 0);
}

.js .story-intro.is-visible .reveal-item:nth-child(2) {
    transform: rotate(2deg);
}

@media (max-width: 640px) {
    .people-page {
        overflow-x: hidden;
    }

    .hanssens-tree-page {
        overflow-x: hidden;
    }

    .family-nav-wrap {
        padding: 10px;
    }

    .family-nav {
        grid-template-columns: 1fr auto;
        gap: 12px;
        min-width: 0;
        min-height: 52px;
        padding: 8px 10px 8px 14px;
        backdrop-filter: none;
    }

    .family-nav-brand {
        text-align: left;
    }

    .family-nav-links {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px;
        min-width: 0;
        padding: 0;
        background: transparent;
        backdrop-filter: none;
    }

    .family-nav-toggle {
        display: none;
    }

    .family-nav-links a {
        min-height: 34px;
        padding: 0 9px;
        font-size: 0.84rem;
    }

    .family-switcher {
        display: inline-flex;
        min-height: 34px;
        padding: 0 9px;
        font-size: 0.84rem;
    }

    .js .family-nav-links {
        position: fixed;
        z-index: 1;
        inset: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 10px;
        padding: 104px 28px 142px;
        background: rgba(17, 24, 27, 0.98);
        box-shadow: none;
        backdrop-filter: blur(20px);
    }

    .js .family-nav.is-menu-open .family-nav-links {
        width: 100vw;
        min-height: 100vh;
        height: 100dvh;
        box-sizing: border-box;
        overflow-y: auto;
        display: flex;
    }

    .js .family-nav.is-menu-open {
        border-color: transparent;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .js .family-nav-toggle {
        display: inline-flex;
    }

    .js .family-nav-links a {
        justify-content: flex-start;
        min-height: 52px;
        padding: 0 18px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.05);
        font-size: 1.12rem;
    }

    .js .family-nav-links a[aria-current="page"] {
        background: rgba(255, 255, 255, 0.14);
    }

    .js .family-nav.is-menu-open .family-switcher {
        position: fixed;
        z-index: 2;
        right: 28px;
        bottom: 30px;
        left: 28px;
        display: inline-flex;
        min-height: 50px;
        font-size: 1rem;
    }

    .js .family-switcher {
        display: none;
    }

    .site-footer-inner {
        grid-template-columns: 1fr;
        gap: 34px;
        width: min(100% - 44px, 520px);
        padding: 48px 0 40px;
    }

    .site-footer-brand {
        justify-self: start;
    }

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

    .site-footer-bottom {
        width: min(100% - 44px, 520px);
    }

    .choice-panel {
        padding: 22px;
    }

    .choice-panel span {
        font-size: 2.45rem;
    }

    .family-hero {
        padding: 24px;
    }

    .family-kicker {
        font-size: 0.9rem;
    }

    .family-hero h1 {
        font-size: 3.2rem;
    }

    .family-actions {
        align-items: stretch;
        flex-direction: column;
        width: min(320px, 100%);
        margin-top: 28px;
    }

    .story-intro {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 56px 22px;
    }

    .story-intro h2 {
        font-size: 2.15rem;
    }

    .story-intro p {
        font-size: 1rem;
        line-height: 1.68;
    }

    .old-photo {
        justify-self: center;
        transform: rotate(1deg);
    }

    .js .story-intro .reveal-item:nth-child(2) {
        transform: translateY(28px) rotate(1deg);
    }

    .js .story-intro.is-visible .reveal-item:nth-child(2) {
        transform: rotate(1deg);
    }

    .story-cards-section {
        padding: 72px 22px;
    }

    .story-cards-header h2 {
        font-size: 2.25rem;
    }

    .stories-page .story-cards-section {
        padding-top: 120px;
    }

    .stories-page .story-cards-header h1 {
        font-size: 2.25rem;
    }

    .story-card-grid {
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .story-card {
        min-width: 0;
    }

    .origin-section {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 72px 22px;
    }

    .origin-content h2 {
        font-size: 2.35rem;
    }

    .origin-content p {
        font-size: 1rem;
        line-height: 1.68;
    }

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

    .origin-photos {
        min-height: 420px;
    }

    .origin-photo-large {
        right: 16px;
        width: 78%;
    }

    .origin-photo-top {
        left: 0;
        width: 48%;
    }

    .origin-photo-bottom {
        right: 0;
        width: 42%;
    }

    .family-link-slider {
        padding: 48px 22px;
    }

    .slider-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .slider-heading h2 {
        font-size: 1.85rem;
    }

    .link-rail {
        grid-auto-columns: minmax(240px, 82vw);
    }

    .archive-actions-section {
        padding: 72px 22px;
    }

    .archive-actions-content h2 {
        font-size: 2.35rem;
    }

    .archive-action-grid {
        grid-template-columns: 1fr;
    }

    .archive-action-card {
        min-height: 240px;
        padding: 22px;
    }

    .archive-action-card span {
        font-size: 2rem;
    }

    .contact-section {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 72px 22px;
    }

    .contact-copy h2 {
        font-size: 2.35rem;
    }

    .simple-page-shell h1 {
        font-size: 2.35rem;
    }

    .contact-page .simple-page-shell {
        padding-top: 104px;
    }

    .subpage-main {
        padding-top: 104px;
    }

    .subpage-hero,
    .person-profile,
    .people-directory {
        width: calc(100vw - 44px);
        max-width: calc(100vw - 44px);
        box-sizing: border-box;
    }

    .people-filter-panel,
    .people-filter-form,
    .people-filter-field,
    .people-index {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .people-directory-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .people-filter-form {
        grid-template-columns: 1fr;
    }

    .people-filter-search {
        grid-column: auto;
    }

    .people-filter-summary {
        display: none;
    }

    .subpage-hero,
    .person-profile {
        padding-top: 54px;
    }

    .subpage-hero h1,
    .person-profile h1 {
        font-size: 2.25rem;
        overflow-wrap: anywhere;
    }

    .story-article {
        padding: 72px 22px 76px;
    }

    .hanssens-tree-page .story-article,
    .hanssens-tree-page .story-article-header,
    .hanssens-tree-page .story-article-body {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .hanssens-tree-page .story-article-header,
    .hanssens-tree-page .story-article-body {
        padding-right: 0;
        padding-left: 0;
        overflow-wrap: anywhere;
    }

    .hanssens-tree-page .story-article-image,
    .hanssens-tree-page .story-article-image-diagram {
        max-width: 100%;
    }

    .story-article-header h1 {
        font-size: 2.35rem;
        overflow-wrap: anywhere;
    }

    .story-article-body {
        padding-top: 32px;
    }

    .story-article-body p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .story-article-body section + section {
        margin-top: 48px;
    }

    .story-article-body h2 {
        font-size: 1.95rem;
    }

    .story-article-image {
        margin: 34px 0;
        padding: 6px;
    }

    .story-article-quote {
        padding: 18px 16px 1px;
    }

    .napoleon-image-pair,
    .napoleon-brief-gallery,
    .japan-image-pair,
    .birma-image-pair,
    .family-photo-grid,
    .story-data-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .napoleon-image-pair .story-article-image,
    .japan-image-pair .story-article-image {
        margin: 12px 0 28px;
    }

    .pedigree-section {
        padding: 0 12px 56px;
    }

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

    .pedigree-canvas {
        transform-origin: left top;
    }

    .people-index,
    .profile-grid,
    .person-profile-hero,
    .profile-photo-grid,
    .relation-grid {
        grid-template-columns: 1fr;
    }

    .person-card {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .profile-panel {
        padding: 20px;
    }

    .profile-photo {
        transform: none;
    }

    .fact-list div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
