.bio-intro {
    max-width: 760px;
    margin: 0 auto 2rem;
    text-align: center;
    font-size: 1.08rem;
    color: #4b382a;
}

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

.bio-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    min-height: 100%;
    background: #fff;
    border: 1px solid #ddceb8;
    color: #2f2118;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(60, 43, 31, 0.08);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.bio-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(60, 43, 31, 0.13);
}

.bio-card-media {
    width: 150px;
    height: 185px;
    min-height: 185px;
    background: #f4ece1;
    overflow: hidden;
    padding: 0.75rem;
    border-right: 1px solid #eadfce;
    box-sizing: border-box;
}

.bio-card-media img,
.bio-block img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.bio-card-media img {
    background: #fff;
    border: 1px solid #ded0bb;
    box-shadow: 0 4px 14px rgba(60, 43, 31, 0.12);
}

.bio-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #f8f3eb;
}

.bio-card-placeholder {
    display: grid;
    place-items: center;
    height: 100%;
    font-size: 3rem;
    color: #8b5a2b;
    background: linear-gradient(135deg, #f8f3eb, #e8dcc8);
}

.bio-card-body {
    padding: 1.2rem 1.2rem 1rem;
    align-self: center;
}

.bio-card-body h3 {
    margin: 0 0 0.25rem;
    color: #5d4037;
    font-size: 1.18rem;
}

.bio-life,
.bio-card-life {
    color: #7a6757;
    font-size: 0.92rem;
}

.bio-card-teaser {
    margin: 0.7rem 0 0;
    color: #49382c;
}

.bio-empty {
    text-align: center;
    border: 1px dashed #cdbb9f;
    padding: 2rem;
    background: #fbf7f0;
}

.bio-article {
    max-width: 1180px;
}

.bio-hero {
    display: grid;
    grid-template-columns: 363px minmax(0, 1fr);
    gap: 2rem;
    align-items: stretch;
    margin-bottom: 2rem;
    border-bottom: 1px solid #d3c4a9;
    padding-bottom: 2rem;
}

.bio-hero-media {
    width: 363px;
    height: 447px;
    background: #f8f3eb;
    border: 1px solid #ddceb8;
    padding: 0.75rem;
    justify-self: start;
    box-sizing: border-box;
}

.bio-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bio-hero-copy h2 {
    margin: 0 0 0.4rem;
    color: #4a2f22;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.05;
}

.bio-subtitle {
    margin: 1rem 0 0;
    font-size: 1.18rem;
    color: #4a382d;
}

.bio-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.bio-layout,
.bio-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 2rem;
    align-items: start;
}

.bio-story-grid {
    margin-bottom: 4.5rem;
}

.bio-main {
    min-width: 0;
}

.bio-main::after {
    content: "";
    display: block;
    clear: both;
}

.bio-sidebar,
.bio-profile {
    position: sticky;
    top: 4.5rem;
    background: #f8f3eb;
    border: 1px solid #d8c7ae;
    padding: 1rem 1rem 0.85rem;
    box-shadow: 0 8px 18px rgba(60, 43, 31, 0.06);
}

.bio-sidebar h3,
.bio-profile h3,
.bio-section-title {
    margin: 0 0 0.75rem;
    color: #5d4037;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bio-sidebar dl,
.bio-profile dl {
    margin: 0;
}

.bio-sidebar dt,
.bio-profile dt {
    font-weight: 700;
    color: #5d4037;
    font-size: 0.92rem;
}

.bio-sidebar dd,
.bio-profile dd {
    margin: 0 0 0.7rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid #eadfce;
    color: #3b2a20;
    overflow-wrap: anywhere;
}

.bio-profile dl dd:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.bio-profile-more {
    margin-top: 0.85rem;
    border-top: 1px solid #e4d7c4;
    padding-top: 0.7rem;
}

.bio-profile-more summary {
    cursor: pointer;
    color: #5d4037;
    font-weight: 700;
    list-style-position: outside;
}

.bio-profile-more dl {
    margin-top: 0.8rem;
}

.bio-profile .bio-block {
    margin-top: 0.9rem;
    margin-bottom: 0;
    border-top: 1px solid #e4d7c4;
    padding-top: 0.9rem;
}

.bio-profile .bio-block h2 {
    font-size: 0.95rem;
}

.bio-muted {
    color: #7a6757;
    font-style: italic;
}

.bio-timeline-section,
.bio-documents-section {
    clear: both;
    margin-top: 2.2rem;
    border-top: 1px solid #d3c4a9;
    padding-top: 1.4rem;
}

.bio-timeline-section {
    margin-top: 5.5rem;
    padding-top: 2rem;
}

.bio-documents-section {
    margin-top: 3.5rem;
    padding-top: 1.8rem;
}

.bio-timeline {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    border-left: 2px solid #c9b79b;
}

.bio-timeline li {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 1rem;
    position: relative;
    padding: 0 0 1.15rem 1.2rem;
}

.bio-timeline li::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 0.22rem;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #8b5a2b;
    box-shadow: 0 0 0 4px #f8f3eb;
}

.bio-timeline-date {
    color: #5d4037;
    font-weight: 700;
}

.bio-timeline-body strong {
    display: block;
    color: #2f2118;
}

.bio-timeline-body span {
    display: block;
    color: #6c5a4c;
}

.bio-timeline-body p {
    margin: 0.35rem 0 0;
}

.bio-documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
}

.bio-documents-grid .bio-block {
    margin-bottom: 0;
}

.bio-auto-doc-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 0.85rem;
}

.bio-auto-doc-item {
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ddceb8;
    box-shadow: 0 5px 14px rgba(60, 43, 31, 0.08);
    text-decoration: none;
}

.bio-auto-doc-item:hover {
    border-color: #b08a62;
    box-shadow: 0 8px 18px rgba(60, 43, 31, 0.14);
}

.bio-auto-doc-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bio-auto-doc-item iframe {
    display: none;
}

.bio-auto-doc-file {
    display: grid;
    place-items: center;
    width: 70%;
    height: 70%;
    border: 1px solid #d8c7ae;
    background: #f8f3eb;
    color: #5d4037;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.bio-auto-doc-file--pdf {
    font-size: 1.25rem;
}

.bio-doc-modal[hidden] {
    display: none;
}

.bio-doc-modal {
    position: fixed;
    inset: 0;
    z-index: 6000;
    display: grid;
    place-items: center;
    padding: 2rem;
    background: rgba(30, 21, 15, 0.72);
}

.bio-doc-modal-stage {
    width: min(1100px, 92vw);
    height: min(780px, 86vh);
    display: grid;
    place-items: center;
    background: #f8f3eb;
    border: 1px solid #ddceb8;
    box-shadow: 0 20px 60px rgba(30, 21, 15, 0.4);
}

.bio-doc-modal-stage img,
.bio-doc-modal-stage iframe {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: contain;
    background: #fff;
}

.bio-doc-modal-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid #ddceb8;
    border-radius: 999px;
    background: #f8f3eb;
    color: #4a2f22;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

body.bio-doc-modal-open {
    overflow: hidden;
}

.bio-block {
    margin-bottom: 2rem;
}

.bio-block h2 {
    color: #5d4037;
    font-variant: small-caps;
    border-bottom: 1px solid #e4d7c4;
    padding-bottom: 0.35rem;
}

.bio-block p {
    font-size: 1.05rem;
}

.bio-rich-content::after {
    content: "";
    display: block;
    clear: both;
}

.bio-rich-content {
    display: flow-root;
}

.bio-rich-content img:not([src]),
.bio-rich-content img[src=""] {
    display: none !important;
}

.bio-rich-content h3,
.bio-rich-content h4 {
    color: #5d4037;
    margin: 1.35rem 0 0.55rem;
}

.bio-rich-content blockquote {
    margin: 1.2rem 0;
    padding: 0.9rem 1.1rem;
    background: #f8f3eb;
    border-left: 4px solid #8b5a2b;
    font-style: italic;
}

.bio-rich-content img.bio-rich-image {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddceb8;
    background: #fff;
    padding: 0.35rem;
    box-shadow: 0 8px 22px rgba(65, 45, 28, 0.12);
}

.bio-rich-content img.bio-size-small {
    max-width: 180px;
}

.bio-rich-content img.bio-size-medium {
    max-width: 300px;
}

.bio-rich-content img.bio-size-large {
    max-width: min(100%, 520px);
}

.bio-rich-content img.bio-align-center {
    display: block;
    margin: 1rem auto;
}

.bio-rich-content img.bio-float-left {
    float: left;
    margin: 0.35rem 1.2rem 0.85rem 0;
}

.bio-rich-content img.bio-float-right {
    float: right;
    margin: 0.35rem 0 0.85rem 1.2rem;
}

.bio-rich-content .bio-clear {
    clear: both;
    height: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
}

.bio-rich-content img.bio-rotate-left {
    transform: rotate(-3deg);
}

.bio-rich-content img.bio-rotate-right {
    transform: rotate(3deg);
}

.bio-media figure,
.bio-media-text figure {
    margin: 0;
    border: 1px solid #ddceb8;
    background: #fff;
    padding: 0.5rem;
}

.bio-media figure img,
.bio-media-text figure img {
    height: auto;
    max-height: 360px;
    object-fit: contain;
    background: #f7f1e8;
}

.bio-media figcaption,
.bio-media-text figcaption {
    margin-top: 0.45rem;
    color: #6c5a4c;
    font-size: 0.9rem;
    font-style: italic;
}

.bio-media-text {
    display: grid;
    grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
    gap: 1.2rem;
    align-items: start;
}

.bio-quote {
    padding: 1.25rem 1.5rem;
    background: #f8f3eb;
    border-left: 4px solid #8b5a2b;
}

.bio-quote blockquote {
    margin: 0;
    font-size: 1.15rem;
    font-style: italic;
}

.bio-quote-source {
    margin-bottom: 0;
    color: #6c5a4c;
}

.bio-list ul {
    margin: 0.75rem 0 0;
    padding-left: 1.3rem;
}

.bio-list-timeline li {
    margin-bottom: 0.45rem;
}

.bio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
}

.bio-gallery figure {
    margin: 0;
    border: 1px solid #ddceb8;
    background: #fff;
    padding: 0.4rem;
}

.bio-gallery img {
    aspect-ratio: 4 / 3;
}

.bio-document-link a {
    display: inline-block;
    padding: 0.75rem 1rem;
    background: #f4ece1;
    border: 1px solid #d8c7ae;
    color: #5d4037;
    font-weight: 700;
    text-decoration: none;
}

.bio-document-link a:hover {
    background: #efe3d2;
}

.bio-source-item strong {
    display: block;
}

.bio-source-links {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.92rem;
}

.bio-links-section {
    margin-top: 2.2rem;
    border-top: 1px solid #d8c7ae;
    padding-top: 1.45rem;
}

.bio-link-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.bio-link-list a {
    color: #5a2f1e;
    overflow-wrap: anywhere;
}

.bio-link-list a:hover {
    color: #8a5a2b;
}

@media (max-width: 820px) {
    .bio-hero,
    .bio-layout,
    .bio-story-grid,
    .bio-media-text {
        grid-template-columns: 1fr;
    }

    .bio-hero-media {
        width: min(100%, 363px);
        height: min(447px, 118vw);
    }

    .bio-card {
        grid-template-columns: 1fr;
    }

    .bio-card-media {
        width: 100%;
        height: 185px;
        border-right: none;
        border-bottom: 1px solid #eadfce;
    }

    .bio-rich-content img.bio-float-left,
    .bio-rich-content img.bio-float-right {
        float: none;
        display: block;
        margin: 1rem auto;
    }

    .bio-sidebar,
    .bio-profile {
        position: static;
        order: -1;
    }

    .bio-timeline li {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 0.75rem;
    }
}
