:root {
    --profile-paper: #fcfbf9;
    --profile-ink: #2a2825;
    --profile-muted: #77716b;
    --profile-line: #ded8d0;
}

/* Keep the horizontal centring axis identical on short and long pages. */
html { scrollbar-gutter: stable; }

@supports not (scrollbar-gutter: stable) {
    html { overflow-y: scroll; }
}

/* Opt in to same-origin cross-document transitions for normal navigation. */
@view-transition { navigation: auto; }

.profile-identity {
    box-sizing: border-box;
    color: var(--profile-ink);
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
    font-size: 16px;
    font-style: normal;
    font-weight: normal;
    line-height: 1.4;
    text-align: center;
    view-transition-name: profile-identity;
}

.profile-identity * { box-sizing: border-box; }

.profile-identity__avatar {
    display: block;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, .035);
    border-radius: 50%;
    filter: grayscale(30%) contrast(1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
}

.profile-identity__signature {
    display: block;
    height: auto;
    /* Keep the original dark ink on the site's fixed light paper background. */
    filter: none;
}

.profile-identity__description {
    color: #66615c;
    font-style: italic;
    line-height: 1.65;
}

.profile-identity__links {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa39c;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.profile-identity__links a {
    margin: 0 10px;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    color: var(--profile-muted);
    text-decoration: none;
    transition: color .3s ease, border-color .3s ease;
}

.profile-identity__links a:hover,
.profile-identity__links a:focus-visible {
    color: #111;
    border-color: #aaa29a;
}

.profile-identity__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;
}

/* Home: the identity remains the quiet visual centre of the first viewport. */
.profile-identity--hero .profile-identity__avatar {
    width: 104px;
    height: 104px;
    margin: 0 auto 14px;
}

.profile-identity--hero .profile-identity__signature {
    width: min(340px, 86vw);
    margin: 0 auto 12px;
}

.profile-identity--hero .profile-identity__description {
    margin: 0 0 30px;
    font-size: 15px;
}

.profile-identity--hero .profile-identity__links { margin-bottom: 50px; }

/* Inner pages: the same identity condenses into a restrained editorial rail. */
.profile-identity--rail {
    position: sticky;
    top: 34px;
    width: 260px;
    min-width: 260px;
    min-height: 506px;
    padding: 30px 22px 27px;
    border-top: 1px solid var(--profile-line);
    border-bottom: 1px solid var(--profile-line);
}

.profile-identity--rail .profile-identity__avatar {
    width: 104px;
    height: 104px;
    margin: 0 auto 19px;
}

.profile-identity--rail .profile-identity__body { width: 100%; }

.profile-identity--rail .profile-identity__signature {
    width: 224px;
    max-width: 100%;
    margin: 0 auto 8px;
}

.profile-identity__name {
    margin: 0;
    color: #292622;
    font-size: 18px;
    font-weight: normal;
    line-height: 1.35;
    letter-spacing: 2px;
}

.profile-identity__role {
    margin: 5px 0 10px;
    color: #77716a;
    font-size: 12px;
    font-style: italic;
    line-height: 1.5;
}

.profile-identity__availability {
    margin: 0 0 22px;
    color: #8a796b;
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.profile-identity__focus {
    margin: 0 0 25px;
    padding: 19px 0 17px;
    border-top: 1px solid #e5e0d9;
    border-bottom: 1px solid #e5e0d9;
    text-align: left;
}

.profile-identity__focus-label {
    margin-bottom: 11px;
    color: #9a8e82;
    font-size: 9.5px;
    line-height: 1.4;
    letter-spacing: 2.2px;
    text-transform: uppercase;
}

.profile-identity__focus ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.profile-identity__focus li {
    position: relative;
    margin: 7px 0;
    padding-left: 13px;
    color: #55504b;
    font-size: 11.5px;
    line-height: 1.45;
}

.profile-identity__focus li::before {
    content: "·";
    position: absolute;
    left: 1px;
    color: #b5aca3;
}

.profile-identity--rail .profile-identity__links {
    flex-wrap: wrap;
    font-size: 10px;
    letter-spacing: 1.45px;
}

.profile-identity--rail .profile-identity__links a { margin: 0 6px; }

.inner-page-frame {
    position: relative;
    z-index: 1;
    width: min(1400px, calc(100% - 48px));
    margin: 0 auto;
    padding: 40px 0 82px;
}

.inner-page-frame > .site-nav { margin-bottom: 52px; }

.inner-page-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: clamp(44px, 5vw, 76px);
    align-items: start;
}

.inner-page-layout > .profile-identity--rail {
    align-self: start;
    justify-self: start;
}

.inner-page-content {
    min-width: 0;
    width: 100%;
    margin-right: auto;
}

/* The full profile travels as one composed object rather than scattered layers. */
::view-transition-group(profile-identity) {
    animation-duration: .95s;
    animation-timing-function: cubic-bezier(.22, 1, .36, 1);
}

::view-transition-old(profile-identity),
::view-transition-new(profile-identity) { mix-blend-mode: normal; }

@supports not (view-transition-name: profile-identity) {
    .profile-identity--rail {
        animation: profileRailReveal .8s cubic-bezier(.22, 1, .36, 1) both;
    }

    @keyframes profileRailReveal {
        from { opacity: 0; transform: translate(38px, 10px); }
        to { opacity: 1; transform: none; }
    }
}

@media (min-width: 900px) {
    .profile-identity--hero .profile-identity__avatar {
        width: 116px;
        height: 116px;
        margin-bottom: 16px;
    }

    .profile-identity--hero .profile-identity__signature {
        width: min(420px, 88vw);
        margin-bottom: 14px;
    }

    .profile-identity--hero .profile-identity__description {
        margin-bottom: 32px;
        font-size: 16px;
    }

    .profile-identity--hero .profile-identity__links { font-size: 12.5px; }
}

@media (max-width: 980px) {
    .inner-page-frame { width: min(100% - 40px, 1040px); }
    .inner-page-layout { display: block; }

    .profile-identity--rail {
        position: static;
        width: min(620px, 100%);
        min-width: 0;
        min-height: 0;
        margin: 0 auto 54px;
        padding: 18px 20px;
        display: grid;
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 22px;
        align-items: center;
        text-align: left;
    }

    .profile-identity--rail .profile-identity__avatar {
        width: 76px;
        height: 76px;
        margin: 0;
    }

    .profile-identity--rail .profile-identity__signature {
        width: 174px;
        margin: 0 0 4px;
    }

    .profile-identity__name { font-size: 16px; }
    .profile-identity__role { margin: 2px 0 4px; }
    .profile-identity__availability { margin: 0 0 10px; }
    .profile-identity__focus { display: none; }

    .profile-identity--rail .profile-identity__links { justify-content: flex-start; }
    .profile-identity--rail .profile-identity__links a:first-child { margin-left: 0; }
}

@media (max-width: 520px) {
    .inner-page-frame {
        width: min(100% - 28px, 1040px);
        padding-top: 28px;
    }

    .inner-page-frame > .site-nav { margin-bottom: 38px; }

    .profile-identity--hero .profile-identity__signature {
        width: min(292px, 84vw);
        margin-bottom: 10px;
    }

    .profile-identity--rail {
        width: 100%;
        min-width: 0;
        margin-bottom: 44px;
        padding: 15px 10px;
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 14px;
    }

    .profile-identity--rail .profile-identity__avatar {
        width: 62px;
        height: 62px;
    }

    .profile-identity--rail .profile-identity__signature { width: 148px; }
    .profile-identity__name { font-size: 14px; letter-spacing: 1.4px; }
    .profile-identity__role { display: none; }
    .profile-identity__availability {
        margin-bottom: 7px;
        font-size: 9px;
        letter-spacing: .8px;
    }
    .profile-identity--rail .profile-identity__links { font-size: 9px; letter-spacing: 1px; }
    .profile-identity--rail .profile-identity__links a { margin: 0 4px; }
}

@media (prefers-reduced-motion: reduce) {
    ::view-transition-group(profile-identity) {
        animation-duration: .01ms;
    }
}
