.intro-header:before {
    background: rgba(15, 23, 42, 0.48);
    content: "";
    display: block;
    inset: 0;
    position: absolute;
}

.intro-header {
    background-position: center;
    min-height: 420px;
    position: relative;
}

.intro-header .container {
    position: relative;
    z-index: 1;
}

.intro-header .site-heading {
    padding: 170px 0 120px;
}

.intro-header .site-heading h1 {
    letter-spacing: 0;
}

.intro-header .site-heading .subheading {
    line-height: 1.5;
}

body {
    background:
        radial-gradient(circle at 12% 0%, rgba(191, 226, 247, 0.32), transparent 34%),
        linear-gradient(180deg, #fbfdff 0%, #ffffff 42%, #f7fbff 100%);
    color: #213246;
    padding-top: 61px;
}

.navbar-custom,
.navbar-custom.is-fixed,
.navbar-custom.is-visible {
    background: rgba(251, 253, 255, 0.94);
    border-bottom: 1px solid #d7eaf7;
    box-shadow: none;
    left: 0;
    position: fixed;
    top: 0;
    transform: none;
    width: 100%;
}

.navbar-custom .navbar-brand,
.navbar-custom .nav li a,
.navbar-custom.is-fixed .navbar-brand,
.navbar-custom.is-fixed .nav li a {
    color: #111827;
    letter-spacing: 0;
}

.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:focus,
.navbar-custom .nav li a:hover,
.navbar-custom .nav li a:focus,
.navbar-custom.is-fixed .navbar-brand:hover,
.navbar-custom.is-fixed .navbar-brand:focus,
.navbar-custom.is-fixed .nav li a:hover,
.navbar-custom.is-fixed .nav li a:focus {
    color: #4d9bd3;
}

.navbar-custom .navbar-toggle .icon-bar {
    background-color: #111827;
}

.navbar-custom .navbar-toggle:hover,
.navbar-custom .navbar-toggle:focus {
    background: #f3f9ff;
}

#huxblog_navbar .navbar-collapse {
    background: #fbfdff;
}

.navbar-custom {
    animation: navDropIn 520ms ease both;
}

.sidebar-container {
    color: #64748b;
}

.sidebar-container h5,
.sidebar-container h5 a {
    color: #111827 !important;
    letter-spacing: 0.08em;
}

.sidebar-container .tags a {
    background: #f3f9ff;
    border-color: #d7eaf7;
    color: #334155 !important;
}

.sidebar-container .tags a:hover,
.sidebar-container .tags a:focus {
    background: #eaf6ff;
    border-color: #4d9bd3;
    color: #2878b7 !important;
}

.sidebar-container section {
    animation: profileFadeUp 520ms ease both;
    animation-delay: 120ms;
}

.sidebar-container .short-about img {
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    max-width: 138px;
    transition: box-shadow 180ms ease, transform 180ms ease;
    width: 70%;
}

.sidebar-container .short-about img:hover {
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
}

.sidebar-container .short-about p {
    color: #64748b;
    text-align: center;
}

.compact-page-header,
.compact-post-header {
    border-bottom: 1px solid #d7eaf7;
    padding: 52px 0 34px;
}

.compact-page-header h1,
.compact-post-header h1 {
    color: #111827;
    font-size: 40px;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0;
}

.compact-page-header .page-description,
.compact-post-header .subheading,
.compact-post-header .meta {
    color: #4b5563;
    font-size: 17px;
    line-height: 1.7;
    margin: 12px 0 0;
}

.compact-post-header .meta {
    color: #64748b;
    font-size: 14px;
}

.compact-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.compact-post-tags a {
    border: 1px solid #c8e3f5;
    border-radius: 999px;
    color: #2878b7;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 7px 10px;
    text-decoration: none;
}

.compact-post-tags a:hover,
.compact-post-tags a:focus {
    background: #eaf6ff;
    border-color: #4d9bd3;
    color: #2878b7;
    text-decoration: none;
}

@keyframes profileFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes navDropIn {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes visualRise {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes glyphPop {
    from {
        opacity: 0;
        transform: scale(0.45);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.profile-page,
.about-page,
.tags-page {
    color: #1f2937;
    font-size: 17px;
    line-height: 1.75;
}

.profile-page {
    max-width: 1120px;
    margin: 0 auto;
    padding-bottom: 30px;
    position: relative;
}

.profile-main-container {
    max-width: 1400px;
    width: calc(100% - 64px);
}

.profile-main-container .row {
    margin-left: 0;
    margin-right: 0;
}

.profile-main-container .postlist-container {
    padding-left: 0;
    padding-right: 0;
}

.profile-page h2,
.profile-page h3,
.about-page h2,
.tags-page h2,
.tags-page h3 {
    letter-spacing: 0;
}

.profile-section {
    animation: profileFadeUp 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
    padding: 54px 0;
}

.profile-section:nth-of-type(2) {
    animation-delay: 140ms;
}

.profile-section:nth-of-type(3) {
    animation-delay: 220ms;
}

.profile-section:nth-of-type(4) {
    animation-delay: 300ms;
}

.profile-section:nth-of-type(5) {
    animation-delay: 380ms;
}

.profile-section + .profile-section {
    border-top: 1px solid #d7eaf7;
}

.profile-intro {
    align-items: center;
    background-image:
        linear-gradient(90deg, rgba(77, 155, 211, 0.16), rgba(77, 155, 211, 0)),
        linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-position: left bottom, left top;
    background-repeat: no-repeat, repeat;
    background-size: 100% 1px, 96px 100%;
    display: grid;
    gap: 70px;
    grid-template-columns: minmax(0, 1fr) 300px;
    min-height: 470px;
    padding: 68px 0 60px;
    position: relative;
}

.profile-intro:before {
    background: #4d9bd3;
    content: "";
    display: block;
    height: 3px;
    left: 0;
    position: absolute;
    top: 68px;
    width: 64px;
}

.intro-copy {
    max-width: 720px;
}

.profile-intro h2 {
    color: #0f172a;
    font-size: 54px;
    font-weight: 800;
    line-height: 1.08;
    margin: 0 0 24px;
    max-width: 820px;
}

.profile-intro p {
    color: #475569;
    font-size: 19px;
    line-height: 1.85;
    margin-bottom: 22px;
}

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.profile-meta span {
    background: #f3f9ff;
    border: 1px solid #d7eaf7;
    border-radius: 999px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    padding: 9px 12px;
}

.intro-profile {
    animation: visualRise 760ms cubic-bezier(0.22, 1, 0.36, 1) 160ms both;
    border-left: 1px solid #d7eaf7;
    justify-self: end;
    padding-left: 40px;
    text-align: left;
    width: 100%;
}

.intro-avatar-wrap {
    border: 1px solid #d7eaf7;
    border-radius: 50%;
    display: inline-block;
    padding: 8px;
}

.intro-profile img {
    aspect-ratio: 1;
    border-radius: 50%;
    display: block;
    object-fit: cover;
    width: 190px;
}

.intro-profile h3 {
    color: #111827;
    font-size: 22px;
    line-height: 1.25;
    margin: 24px 0 8px;
}

.intro-profile p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.intro-profile-links {
    display: flex;
    gap: 16px;
    margin-top: 18px;
}

.intro-profile-links a {
    color: #2878b7;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.intro-profile-links a:hover,
.intro-profile-links a:focus {
    color: #145f95;
    text-decoration: none;
}

.eyebrow {
    color: #2878b7;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.profile-button {
    align-items: center;
    border: 1px solid #c8e3f5;
    border-radius: 999px;
    color: #0f172a;
    display: inline-flex;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    min-height: 44px;
    padding: 0 18px;
    text-decoration: none;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.profile-button:hover,
.profile-button:focus {
    border-color: #4d9bd3;
    color: #2878b7;
    text-decoration: none;
    transform: translateY(-1px);
}

.profile-button.primary {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
}

.profile-button.primary:hover,
.profile-button.primary:focus {
    background: #4d9bd3;
    border-color: #4d9bd3;
    color: #fff;
}

.section-heading h2 {
    color: #0f172a;
    font-size: 30px;
    line-height: 1.25;
    margin: 0 0 24px;
}

.section-heading .eyebrow {
    position: relative;
}

.section-heading .eyebrow:after {
    background: #9fd2f0;
    content: "";
    display: inline-block;
    height: 2px;
    margin-left: 12px;
    vertical-align: middle;
    width: 34px;
}

.split-heading {
    align-items: end;
    display: flex;
    gap: 18px;
    justify-content: space-between;
}

.split-heading h2 {
    margin-bottom: 0;
}

.section-link {
    color: #2878b7;
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.section-link:hover,
.section-link:focus {
    color: #145f95;
    text-decoration: none;
}

.note-item {
    border-top: 1px solid #d7eaf7;
    padding: 22px 0 0;
    transition: border-color 180ms ease, transform 180ms ease;
}

.note-item:hover {
    border-color: #4d9bd3;
    transform: translateY(-2px);
}

.note-item h3 {
    color: #111827;
    font-size: 20px;
    line-height: 1.35;
    margin: 0 0 10px;
}

.note-item p {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

.work-list {
    border-top: 1px solid #d7eaf7;
    display: grid;
    margin-top: 32px;
}

.work-item {
    align-items: start;
    animation: profileFadeUp 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
    border-bottom: 1px solid #d7eaf7;
    display: grid;
    gap: 28px;
    grid-template-columns: 76px minmax(0, 1fr);
    padding: 26px 0;
    transition: background 180ms ease, border-color 180ms ease, padding 180ms ease;
}

.work-item:nth-child(1) {
    animation-delay: 260ms;
}

.work-item:nth-child(2) {
    animation-delay: 340ms;
}

.work-item:nth-child(3) {
    animation-delay: 420ms;
}

.work-item:hover {
    background: #f3f9ff;
    border-color: #4d9bd3;
    padding-left: 14px;
}

.work-item:hover .work-index {
    color: #2878b7;
}

.work-index {
    color: #94a3b8;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    transition: color 180ms ease;
}

.work-content {
    max-width: 780px;
}

.work-tag {
    color: #2878b7;
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 9px;
    text-transform: uppercase;
}

.work-item h3 {
    color: #111827;
    font-size: 24px;
    line-height: 1.3;
    margin: 0 0 8px;
}

.work-item p {
    color: #4b5563;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

.work-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.work-meta span {
    background: #f3f9ff;
    border: 1px solid #d7eaf7;
    border-radius: 999px;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 7px 10px;
}

.profile-band {
    align-items: center;
    background: #f3f9ff;
    border-left: 4px solid #4d9bd3;
    display: grid;
    gap: 36px;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.82fr);
    margin: 30px 0;
    padding: 30px 0 30px 28px;
}

.profile-band h2 {
    color: #111827;
    font-size: 26px;
    line-height: 1.35;
    margin: 0;
}

.profile-band p {
    color: #475569;
    margin: 0;
}

.note-list {
    display: grid;
    gap: 22px;
}

.note-item a,
.note-item a:hover,
.note-item a:focus {
    color: inherit;
    text-decoration: none;
}

.note-item time {
    color: #64748b;
    display: block;
    font-size: 13px;
    margin-top: 12px;
}

.about-page blockquote {
    border-left-color: #4d9bd3;
    color: #334155;
    font-size: 19px;
    margin-bottom: 28px;
}

.about-page h2 {
    color: #111827;
    font-size: 24px;
    margin-top: 34px;
}

.about-page a {
    color: #2878b7;
}

.tags-page {
    padding-top: 34px;
}

.tags-page #tag_cloud {
    align-items: center;
    background: #f3f9ff;
    border: 1px solid #d7eaf7;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 34px;
    padding: 18px;
}

.tags-page #tag_cloud a {
    background: #fff;
    border: 1px solid #c8e3f5;
    border-radius: 999px;
    color: #2878b7;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    margin: 0;
    padding: 9px 12px;
    text-decoration: none;
}

.tags-page #tag_cloud a:hover,
.tags-page #tag_cloud a:focus {
    background: #eaf6ff;
    border-color: #4d9bd3;
    color: #2878b7;
}

.tags-page .listing-seperator {
    color: #111827;
    display: block;
    font-size: 22px !important;
    margin: 30px 0 12px;
}

.tags-page .post-preview {
    border: 1px solid #d7eaf7;
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 18px;
}

.tags-page .post-preview > a > .post-title {
    font-size: 18px;
    margin: 0 0 6px;
}

.tags-page .post-preview > a > .post-subtitle {
    color: #64748b;
    font-size: 14px;
}

.tags-page hr {
    display: none;
}

@media (max-width: 991px) {
    .profile-intro,
    .profile-band,
    .work-item {
        grid-template-columns: 1fr;
    }

    .intro-profile {
        border-left: 0;
        border-top: 1px solid #d7eaf7;
        justify-self: start;
        max-width: 300px;
        padding-left: 0;
        padding-top: 28px;
    }
}

@media (max-width: 767px) {
    .intro-header {
        min-height: 360px;
    }

    .intro-header .site-heading {
        padding: 140px 0 88px;
    }

    .compact-page-header,
    .compact-post-header {
        padding: 36px 0 26px;
    }

    .compact-page-header h1,
    .compact-post-header h1 {
        font-size: 30px;
    }

    .profile-intro h2 {
        font-size: 34px;
    }

    .profile-intro p {
        font-size: 16px;
    }

    .profile-intro {
        gap: 34px;
        min-height: auto;
        padding: 42px 0 36px;
    }

    .intro-profile img {
        width: 150px;
    }

    .profile-section {
        padding: 34px 0;
    }

    .profile-button {
        justify-content: center;
        width: 100%;
    }

    .split-heading {
        align-items: start;
        flex-direction: column;
    }

    .profile-band {
        margin: 20px 0;
        padding: 24px 0 24px 20px;
    }

    .work-item:hover {
        padding-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .profile-section,
    .navbar-custom,
    .sidebar-container section,
    .intro-profile,
    .profile-button,
    .note-item,
    .profile-band,
    .work-item {
        animation: none;
        transition: none;
    }

    .profile-button:hover,
    .profile-button:focus,
    .sidebar-container .short-about img:hover,
    .note-item:hover,
    .work-item:hover {
        transform: none;
    }
}

/* Motion homepage */
.profile-shell {
    --ink: #0f172a;
    --muted: #5f7189;
    --soft: #d7eaf7;
    --paper: #fff;
    --wash: #f3f9ff;
    --accent: #4d9bd3;
    --accent-strong: #2878b7;
    --gold: #9fd2f0;
    color: var(--ink);
    display: grid;
    font-family: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    gap: 64px;
    grid-template-columns: minmax(220px, 250px) minmax(0, 900px);
    line-height: 1.65;
    margin: 0 auto;
    max-width: 1300px;
    padding: 68px 34px 40px;
    width: auto;
}

.profile-shell * {
    letter-spacing: 0;
}

.profile-shell .profile-section {
    animation: none;
    border-top: 1px solid var(--soft);
    padding: 62px 0;
}

.profile-shell .profile-section:first-child {
    border-top: 0;
    min-height: 520px;
    padding-top: 44px;
}

.profile-rail {
    min-width: 0;
    position: relative;
}

.profile-rail-inner {
    min-height: calc(100vh - 120px);
    position: sticky;
    top: 92px;
}

.profile-avatar-link {
    border: 1px solid var(--soft);
    border-radius: 50%;
    display: inline-flex;
    padding: 8px;
    text-decoration: none;
}

.profile-avatar {
    aspect-ratio: 1;
    border-radius: 50%;
    display: block;
    object-fit: cover;
    width: 156px;
}

.profile-identity {
    margin-top: 28px;
}

.profile-kicker,
.profile-shell .eyebrow {
    color: var(--accent);
    font-family: "Geist Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.profile-identity h1 {
    color: var(--ink);
    font-size: 48px;
    font-weight: 800;
    line-height: 0.95;
    margin: 0 0 12px;
}

.profile-identity p {
    color: var(--ink);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px;
}

.profile-identity .profile-cn-name {
    color: var(--ink);
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 7px;
}

.profile-identity span {
    color: var(--muted);
    display: block;
    font-size: 14px;
    line-height: 1.55;
}

.profile-nav {
    border-top: 1px solid var(--soft);
    display: grid;
    gap: 9px;
    margin-top: 18px;
    padding-top: 22px;
}

.profile-nav a {
    color: var(--muted);
    font-family: "Geist Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 180ms ease, transform 180ms ease;
}

.profile-nav a:hover,
.profile-nav a:focus,
.profile-nav a.is-active {
    color: var(--accent);
    text-decoration: none;
    transform: translateX(4px);
}

.profile-contact-list {
    border-top: 1px solid var(--soft);
    display: grid;
    gap: 4px;
    margin-top: 28px;
    padding-top: 18px;
}

.profile-contact {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 12px;
    color: var(--ink);
    cursor: pointer;
    display: grid;
    font: inherit;
    gap: 5px;
    grid-template-columns: 30px 44px minmax(0, 1fr) 32px;
    margin-left: -6px;
    padding: 5px 6px;
    text-align: left;
    text-decoration: none;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.profile-contact .contact-mark {
    align-items: center;
    aspect-ratio: 1;
    background: color-mix(in srgb, var(--accent) 10%, white);
    border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--soft));
    border-radius: 10px;
    color: var(--accent);
    display: inline-flex;
    justify-content: center;
}

.profile-contact .contact-mark svg {
    display: block;
    fill: none;
    height: 16px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
    width: 16px;
}

.profile-contact .contact-mark-github svg {
    fill: currentColor;
    stroke: none;
}

.profile-contact .contact-label,
.profile-contact em {
    color: var(--muted);
    font-family: "Geist Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
}

.profile-contact strong {
    color: var(--ink);
    display: block;
    font-size: 13px;
    font-weight: 700;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateX(-6px);
    transition: max-width 360ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease, transform 220ms ease;
    white-space: nowrap;
}

.profile-contact:hover,
.profile-contact:focus {
    background: color-mix(in srgb, var(--accent) 6%, white);
    color: var(--accent);
    outline: none;
    text-decoration: none;
    transform: translateX(4px);
}

.profile-contact:hover strong,
.profile-contact:focus strong,
.profile-contact.is-copied strong {
    max-width: 235px;
    opacity: 1;
    transform: translateX(0);
}

.profile-contact.is-copied em {
    color: var(--accent);
}

.profile-copy-status {
    color: var(--accent);
    font-family: "Geist Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 11px;
    font-weight: 700;
    min-height: 18px;
    margin: 10px 0 0;
    text-transform: uppercase;
}

.profile-content {
    min-width: 0;
}

.profile-about {
    display: grid;
    gap: 38px;
    grid-template-columns: minmax(0, 1fr);
}

.profile-shell h2 {
    color: var(--ink);
    font-size: 54px;
    font-weight: 800;
    line-height: 1.05;
    margin: 0;
    max-width: 900px;
}

.about-copy {
    max-width: 760px;
}

.about-copy p,
.profile-band p,
.work-item p,
.note-item p,
.profile-contact-section h2 {
    color: #475569;
}

.about-copy p {
    font-size: 19px;
    line-height: 1.85;
    margin: 0;
}

.profile-shell .profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.profile-shell .profile-meta span,
.profile-shell .work-meta span {
    background: var(--wash);
    border: 1px solid #cfe5f4;
    border-radius: 999px;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 8px 11px;
}

.profile-shell .section-heading h2 {
    font-size: 34px;
}

.profile-shell .section-heading .eyebrow:after {
    background: var(--gold);
}

.profile-shell .split-heading {
    align-items: end;
    display: flex;
    gap: 24px;
    justify-content: space-between;
}

.profile-shell .section-link {
    color: var(--accent);
    font-family: "Geist Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.profile-shell .section-link:hover,
.profile-shell .section-link:focus {
    color: var(--accent-strong);
    text-decoration: none;
}

.profile-shell .work-list {
    border-top: 1px solid var(--soft);
    display: grid;
    margin-top: 34px;
}

.profile-shell .work-item {
    animation: none;
    border-bottom: 1px solid var(--soft);
    display: grid;
    gap: 28px;
    grid-template-columns: 68px minmax(0, 1fr);
    padding: 28px 0;
    transition: background 220ms ease, border-color 220ms ease, padding 220ms ease;
}

.profile-shell .work-item:hover {
    background: linear-gradient(90deg, rgba(77, 155, 211, 0.08), rgba(77, 155, 211, 0));
    border-color: var(--accent);
    padding-left: 14px;
}

.profile-shell .work-index {
    color: #94a3b8;
    font-family: "Geist Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 13px;
    font-weight: 700;
}

.profile-shell .work-tag {
    color: var(--accent);
    display: block;
    font-family: "Geist Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.profile-shell .work-item h3 {
    color: var(--ink);
    font-size: 24px;
    line-height: 1.25;
    margin: 0 0 8px;
}

.profile-shell .work-item p {
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    max-width: 680px;
}

.profile-shell .work-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.profile-shell .publications-section {
    padding-bottom: 56px;
}

.profile-shell .publications-heading h2 {
    color: var(--ink);
    font-size: 30px;
    line-height: 1.2;
    margin: 0 0 30px;
}

.profile-shell .publication-item {
    align-items: start;
    animation: none;
    display: grid;
    gap: 28px;
    grid-template-columns: 360px minmax(0, 1fr);
    padding: 0;
}

.profile-shell .publication-visual {
    min-width: 0;
}

.profile-shell .publication-thumb {
    aspect-ratio: 15 / 7;
    display: block;
    overflow: hidden;
    text-decoration: none;
}

.profile-shell .publication-thumb img {
    display: block;
    height: 100%;
    object-fit: contain;
    object-position: center;
    width: 100%;
}

.profile-shell .publication-status {
    color: var(--accent-strong);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 10px;
}

.profile-shell .publication-copy {
    padding-top: 29px;
}

.profile-shell .publication-copy h3 {
    color: #1f3854;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.32;
    margin: 0 0 3px;
}

.profile-shell .publication-authors,
.profile-shell .publication-desc,
.profile-shell .publication-links {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.45;
    margin: 0;
}

.profile-shell .publication-desc {
    margin-top: 8px;
    max-width: 680px;
}

.profile-shell .publication-authors strong {
    color: var(--accent-strong);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--accent) 55%, transparent);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.profile-shell .publication-links a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.profile-shell .publication-links a:hover,
.profile-shell .publication-links a:focus {
    color: var(--accent-strong);
    text-decoration: none;
}

.profile-shell .profile-band {
    background: transparent;
    border-left: 0;
    display: grid;
    gap: 30px;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 0.82fr);
    margin: 0;
    padding: 62px 0;
}

.profile-shell .profile-band h2 {
    font-size: 30px;
    line-height: 1.25;
}

.profile-shell .profile-band p {
    margin: 0;
}

.profile-shell .note-list {
    border-top: 1px solid var(--soft);
    display: grid;
    gap: 0;
    margin-top: 30px;
}

.profile-shell .note-item {
    border-top: 0;
    border-bottom: 1px solid var(--soft);
    padding: 24px 0;
    transition: border-color 220ms ease, padding 220ms ease;
}

.profile-shell .note-item:hover {
    border-color: var(--accent);
    padding-left: 12px;
    transform: none;
}

.profile-shell .note-item a {
    color: inherit;
    text-decoration: none;
}

.profile-shell .note-item h3 {
    color: var(--ink);
    font-size: 21px;
    margin: 0 0 8px;
}

.profile-shell .note-item p {
    font-size: 15px;
    margin: 0;
}

.profile-shell .note-item time {
    color: var(--muted);
    display: block;
    font-family: "Geist Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    margin-top: 12px;
}

.profile-contact-section h2 {
    font-size: 32px;
    line-height: 1.25;
    max-width: 680px;
}

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

.profile-shell .profile-button {
    align-items: center;
    background: transparent;
    border: 1px solid #c8e3f5;
    border-radius: 999px;
    color: var(--ink);
    cursor: pointer;
    display: inline-flex;
    font-size: 14px;
    font-weight: 800;
    min-height: 44px;
    padding: 0 18px;
    text-decoration: none;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.profile-shell .profile-button:hover,
.profile-shell .profile-button:focus {
    border-color: var(--accent);
    color: var(--accent);
    outline: none;
    transform: translateY(-1px);
}

.profile-shell .profile-button.primary {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.profile-shell .profile-button.primary:hover,
.profile-shell .profile-button.primary:focus {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.profile-js .reveal-item,
.profile-js .split-line {
    opacity: 0;
    backface-visibility: hidden;
    transform: translate3d(0, 14px, 0);
    transition: opacity 420ms cubic-bezier(0.22, 1, 0.36, 1), transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.profile-js .reveal-item.is-revealed,
.profile-js .line-reveal.is-revealed .split-line {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
}

.line-reveal .split-line {
    display: block;
}

@media (max-width: 1100px) {
    .profile-shell {
        gap: 54px;
        grid-template-columns: minmax(200px, 250px) minmax(0, 1fr);
        padding-left: 28px;
        padding-right: 28px;
    }

    .profile-shell h2 {
        font-size: 44px;
    }

}

@media (max-width: 860px) {
    .profile-shell {
        display: block;
        padding: 42px 22px 30px;
        width: auto;
    }

    .profile-rail-inner {
        min-height: auto;
        position: static;
    }

    .profile-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
    }

    .profile-contact-list {
        max-width: 430px;
    }

    .profile-contact strong {
        max-width: 220px;
        opacity: 1;
        transform: none;
    }

    .profile-content {
        margin-top: 30px;
    }

    .profile-shell .profile-section:first-child {
        min-height: auto;
        padding-top: 34px;
    }

    .profile-shell .profile-section,
    .profile-shell .profile-band {
        padding: 42px 0;
    }

    .profile-shell .profile-band,
    .profile-shell .work-item {
        grid-template-columns: 1fr;
    }

    .profile-shell .publication-item {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .profile-shell .publication-copy {
        padding-top: 0;
    }

    .profile-shell .publication-thumb {
        max-width: 320px;
    }

    .profile-shell .split-heading {
        align-items: start;
        flex-direction: column;
    }

    .profile-shell h2 {
        font-size: 34px;
    }

    .about-copy p {
        font-size: 16px;
    }
}

@media (max-width: 520px) {
    .profile-avatar {
        width: 128px;
    }

    .profile-identity h1 {
        font-size: 40px;
    }

    .profile-contact {
        grid-template-columns: 30px 56px minmax(0, 1fr) 36px;
        margin-left: 0;
    }

    .profile-contact strong {
        font-size: 12px;
    }

    .profile-shell .work-item:hover,
    .profile-shell .note-item:hover {
        padding-left: 0;
    }

    .contact-actions .profile-button {
        justify-content: center;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .profile-js .reveal-item,
    .profile-js .split-line {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
