/* DM Sans is loaded via <link> in each page's <head>.
   Newsreader (reading serif for post titles + body) is imported here so it
   reaches every page without a per-file <head> edit. */
@import url("https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400..700;1,6..72,400..600&display=swap");

/* The site is light only. Say so, and paint the canvas white, so a browser or
   extension that darkens pages can't leave dark-gray text on a dark canvas. */
:root {
    color-scheme: light;
    --font-sans: "DM Sans", sans-serif;
    --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
    /* Notion blog ink + muted grays, ripped 1:1 */
    --ink: rgba(0, 0, 0, 0.898);
    --muted: rgba(0, 0, 0, 0.54);
    --color-medium: rgba(0, 0, 0, 0.02);
    --color-separator: #ccc;
    --color-background: #fff;
    --color-background-odd: #f1f1f1;
    --color-accent: #0073E6;
    --color-active: #05c01b;
    --color-engaged: #08ff26;
    --color-selected: #009ad6;
    --color-error-lightened: #ff0000;
    --color-error: #cc0000;
    --color-error-darkened: rgb(150, 0, 0);
    --color-warning: #ffa600;
    --color-warning-lightened: #ffd000;
    --color-warning-darkened: #ff8800;
    --color-hero: #000;
    --color-text: #555;
    --color-text-lightened: #888;
}

html {
    background: var(--color-background);
}

body {
    margin: 0px;
    padding: 0px;

    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;


    font-smooth: always;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
    font-size: 16px;
    color: var(--color-text);
    /* letter-spacing: -1px; */
}

b {
    /* letter-spacing: -1px; */
    color: #404040;
}

/* Inline code reads tag-like, à la Slack: subtle tint, no solid border,
   and knocked down to 0.85em so monospace doesn't tower over the body text. */
code {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.74em;
    padding: 0.12em 0.45em;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.045);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
    color: var(--color-hero);
    white-space: nowrap;
}

h1 {
    /* letter-spacing: -3px; */
    margin-block: 0;
    color: var(--color-hero);
}

h2 {
    margin-block: 0;
    color: #404040;
    /* letter-spacing: -2px; */
}


h2 .pre {
    font-size: 1.5rem;
    font-weight: normal;
    /* letter-spacing: 0; */
    line-height: 1.75rem;
}

/* img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    margin: 0 auto;
    display: block;
} */

header {
    padding: 2rem 0;
}

.main {
    padding: 2rem 0;
    margin-inline: 2rem;
}



.prohect header,
.project section {
    scroll-snap-align: start;
    margin-block-end: 4em;
}

.project header{
    margin-bottom: 4rem;
}

.main-content {
    max-width: 1024px;
    margin: 0 auto;
    display: block;

    scroll-snap-type: y mandatory;
}

.main-content>h2 {
    margin-block-end: 1.5rem;
}

body.homepage>section>a {
    display: block;
    width: 100%;
}



a {
    text-decoration: none;
    color: var(--color-accent);
    transition: color 100ms ease;
}

.project section a {
    text-decoration: underline;
}

.project section.extras ul li a {
    text-decoration: none;
}

@media (hover: hover) {
    a:hover {
        color: var(--color-selected);
    }
}

.time {
    font-size: 0.625em;
    color: var(--color-text-lightened);
}

.bar-chart {
    height: 4rem;
    border-radius: 4px;
    overflow: hidden;
    margin: 1.5rem 0 1rem;
    font-size: 0;
    white-space: nowrap;
}

.bar-chart-grid {
    display: block;
    height: 20px;
    background-image: linear-gradient(90deg, #ccc 0, #ccc 1px, #fff 3px, #fff 100%);
    background-size: 10%;
    background-repeat: repeat;
    border-inline-end: 2px solid #ccc;
    margin-bottom: 2rem;
}

.bar-chart>div {
    color: var(--color-background);
    display: inline-block;
    padding: 0 10px 4px;
    font-size: 2rem;
    font-weight: 800;
    /* letter-spacing: -1px; */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 0 0 auto;
    box-sizing: border-box;
    height: 100%;
    cursor: default;
}

.bar-chart>.ux {
    background-color: var(--color-accent);
}

.bar-chart>.ui {
    background-color: var(--color-active);
}

.bar-chart>.interaction {
    background-color: var(--color-error);
}

/* Image slider: a CSS scroll-snap carousel. It keeps the old .swiper-* class
   names so none of the slide markup had to change; scripts.js only wires the
   arrows and builds the dots. Swipe/trackpad scroll works with no JS at all. */
.swiper-container {
    position: relative;
    width: 100%;
    margin: 1.5rem 0 2rem;
}

.swiper-wrapper {
    display: flex;
    /* Space between slides so they don't look stuck together mid-scroll. The
       gap only shows while scrolling; at rest each slide fills the frame. */
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* Hide the horizontal scrollbar; the dots and arrows are the affordance. */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.swiper-wrapper::-webkit-scrollbar {
    display: none;
}

/* Slides are flex items, so they all stretch to the height of the tallest one
   (the tallest image plus its caption). Nothing is a fixed height. */
.swiper-slide {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: center;
    text-align: center;
    font-size: 1.125rem;
    background: #fff;
}

/* The anchor (project slides) or the figure (about-page slides) fills the
   stretched slide so the grid below has a height to fill. */
/* Container prefix bumps specificity above `.project section a`, which would
   otherwise underline the caption inside this link. */
.swiper-container .swiper-slide > a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* Two rows: the image sits in the flexible top row, the caption in the bottom
   row. When empty, 1fr collapses to the image's natural height, which is what
   makes the tallest slide set the height; on shorter slides the row grows and
   the image centers inside it, with the caption always just above the dots. */
/* Container prefix keeps `.post-column figure`'s 2rem margin from pushing the
   figure below the slide, where the horizontal scroller would clip the caption. */
.swiper-container .swiper-slide figure {
    display: grid;
    grid-template-rows: 1fr auto;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    align-self: center;
    min-height: 0;
}

/* Only linked slide images open the lightbox, so only they get the cue. */
.swiper-slide a img {
    cursor: zoom-in;
}

/* Container prefix zeroes `.post-column figcaption`'s margin-top so the gap to
   the image is just this padding, not padding + margin stacked together. */
.swiper-container .swiper-slide figcaption {
    margin: 0;
    padding: 0.5rem 0.5rem 0;
}

/* Nav arrows: chevrons drawn with borders, no icon font needed. */
.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 42px;
    height: 42px;
    padding: 0;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.swiper-button-prev {
    inset-inline-start: 12px;
}

.swiper-button-next {
    inset-inline-end: 12px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    content: "";
    width: 10px;
    height: 10px;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
}

.swiper-button-prev::after {
    transform: rotate(-135deg);
    margin-inline-start: 4px;
}

.swiper-button-next::after {
    transform: rotate(45deg);
    margin-inline-end: 4px;
}

@media (hover: hover) {
    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        background-color: #fff;
    }
}

/* Applied by scripts.js to hide an arrow at the first / last slide. */
.slider-nav-hidden {
    opacity: 0;
    pointer-events: none;
}

/* Pagination dots, built by scripts.js into the existing .swiper-pagination. */
.swiper-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

/* Dots are the whole affordance on mobile, where the arrows are hidden, so they
   have to read as a control on their own. The inactive dots carry enough
   contrast to be seen, and the active one stretches into an accent pill: two
   plain circles look like decoration, but a pill-plus-dots row reads as
   "you're on 1 of 2, there's more sideways." */
.slider-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: width 0.25s ease, background-color 0.2s ease;
}

.slider-dot.active {
    width: 26px;
    background: var(--color-accent);
}

.outercaption {
    padding: 1rem 0 3rem 0;
    color: var(--color-text);
    text-align: center;
    display: block;
    font-size: 1rem;
}

/* .project h2 had only commented styles; removed empty ruleset for linting cleanliness */

form {
    display: block;
    margin: 0;
    padding: 0;
}

button {
    border: none;
    background-color: transparent;
    font-family: "DM Sans";
    font-size: 1rem;
    color: var(--color-accent);
    padding: 0;
    margin: 0;
    cursor: pointer;
}

@media (hover: hover) {
    button:hover {
        color: var(--color-selected);
    }
}

ul {
    margin-top: 1rem;
}

@media (min-width: 768px) {
    ul {
        margin-top: 3rem;
    }
    ul ul {
        margin-top: 1rem;
    }
}

li {
    margin-bottom: 0.875em;
}

.back,
.top {
    font-size: 0.75em;
    letter-spacing: -1px;
}

.back::before {
    content: "ᐸ";
    font-size: 1.25;
    margin-right: 0.125em;
    transform: scaleX(0.5);
    display: inline-block;
    font-weight: 800;
}

.youtube-video {
    margin: 1rem 0 3rem 0;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
}

.cta {
    margin: 8rem 0 0 0;
    padding: 0 2rem;
}

.cta h2 {
    margin-block-end: 0.5rem;
}

.footer {
    display: flex;
    justify-content: space-between;
    margin: 10rem 0 0 0;
    padding: 0 2rem 2rem;
}

/* .top::before {
    content: "^";
    font-size: 1.25rem;
    margin-right: 0.25em;
    display: inline-block;
    font-weight: 800;
} */

.about-page section {
    justify-content: center;
}

.about-page section>div {
    max-width: 1024px;
}

.me_pic {
    flex: 0 0 auto;
    width: 288px;
    height: 288px;
    overflow: hidden;
    border-radius: 8px;
    align-self: center;
}

.me_pic>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
}

/* About portrait: the same round profile photo as the homepage, sized to the
   detail aside's 220px content box. */
.me_portrait {
    width: 100%;
    max-width: 220px;
    margin-bottom: 1rem;
}

.me_portrait>img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
}

.track__flow-heading>img {
    width: 100%;
    object-fit: cover;
}

.about_me_pic {
    flex: 0 0 auto;
    width: 288px;
    overflow: hidden;
    border-radius: 10px;
}

.index {
    display: flex;
    justify-content: stretch;
    width: 100%;
}

.index-name {
    flex: 1 1 auto;
}

.index-about {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
}

section {
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    max-width: 100vw;
    /* padding-inline: 2rem; */
}

footer {
    padding-block: 3rem;
}

section>div {
    max-width: 100%;
    width: 100%;
}

.fake-link {
    font-size: 2rem;
}

video {
    cursor: pointer;
}

video+figcaption::before {
    content: "\25BA";
    display: flex;
    font-size: 1.5rem;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;
    top: -84px;
    right: 12px;
    width: 35px;
    padding-inline-start: 19px;
    height: 54px;
    border-radius: 40px;
    text-align: center;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
    align-items: center;
}

video.playing+figcaption::before {
    opacity: 0;
}

figcaption {
    position: relative;
}

@media (min-width: 768px) {
    body {
        font-size: 32px;
    }

    .homepage section {
        /* min-height: 80vh; */
        padding-block: 2em;
    }


    button {
        font-size: 2rem;
    }

    .me_pic {
        align-self: flex-start;
    }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 767px) {
    section {
        padding: 2rem 2rem;
    }

    .swiper-button-prev,
    .swiper-button-next {
        display: none !important;
    }

    video+figcaption::before {
        display: none !important;
    }

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

.blog,
.favors {
    padding: 3rem;
    background: #404040;
}

.blog h2,
.favors h2 {
    margin-block-end: 1rem;
    color: #fff;
}

.articles {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    position: relative;
}

.article {
    display: block;
    width: 30%;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.article.ws {
    width: 24%;
}

.article a {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.article img {
    height: 240px;
    width: 100%;
    object-fit: cover;
}

.article.ws img {
    height: 300px;
}

.article h3 {
    display: block;
    padding: 1.5rem;
    margin: 0;
    height: 6rem;
}

.article p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
}

@media (max-width: 767px) {
    .articles {
        flex-direction: column;
    }

    .article,
    .article.ws {
        width: 100%;
        margin-bottom: 2.5rem;
    }

    .article h3 {
        height: auto;
    }


    h2 .pre {
        font-size: 1rem;
    }
}

#vipCheck {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
}

#vipCheckForm {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#vipCheck.visible {
    opacity: 1;
    pointer-events: all;
}

#closeVip {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0;
    cursor: pointer;
    color: #fff;
    background-color: transparent;
    border: none;
    width: 42px;
    height: 42px;
    font-size: 4rem;
    display: flex;
    line-height: 0;
    align-items: center;
    justify-content: center;
}

#vipCheck h2 {
    color: #fff;
    margin-block-end: 1rem;
}

input#password {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #fff;
    width: 300px;
    margin-block: 1.5rem;
    color: #fff;
    outline: none;
    font-size: 2rem;
    line-height: 0;
}

button#check {
    color: #fff;
}

#vipCheckForm.shake {
    animation: shake 0.5s infinite;
}

@keyframes shake {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(3em);
    }

    40% {
        transform: translate(-3em);
    }

    60% {
        transform: translate(3em);
    }

    80% {
        transform: translate(-3em);
    }

    100% {
        transform: translate(0);
    }
}


#here {
    margin-block-start: 4rem;
    font-size: 1rem;
}

#here a {
    color: #fff;
    text-decoration: underline;
}

.track__flow-heading {
    position: sticky;
    top: 0;
}

.track__flow-body {
    height: auto;
    max-height: none;
}

p.small {
    font-size: 0.625em;
}

@media (max-width: 767px) {
    p.small {
        font-size: 0.875em;
    }
}

.font-medium {
    font-weight: 500;
}


.fa-up-right-from-square {
    font-size: 0.5em;
}

a[target="_blank"] {
    display: inline-flex;
    align-items: center;
    gap: 0.25em;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

th {
    text-align: start;
}

td {
    vertical-align: top;
}

img[loading=lazy],
.pj {
    width: 100%;
    height: auto;
    display: block;
}

.homepage.portfolio header,
.about-page header {
    margin-inline: 2rem;
}

/* Slim top masthead bar (Notion-style), so the name reads as a wordmark
   and doesn't compete with the sidebar bio or the post title */
header .index-name h1 {
    font-size: 1.375rem;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: -0.25px;
}

/* Blog-style home: bio aside + combined feed, divided by a full-height rule */
.index-layout {
    display: flex;
    gap: 0;
    align-items: flex-start;
}

.index-layout .bio {
    flex: 0 0 260px;
    box-sizing: border-box;
    position: sticky;
    top: 2rem;
    padding-inline-end: 2.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

/* The bio is now tall enough (role line, proof points, CTA) that on a short
   viewport a sticky aside would clip its bottom and never scroll into view. */
@media (min-width: 768px) and (max-height: 999px) {
    .index-layout .bio {
        position: static;
    }
}

/* Round profile photo, matching the social profiles. 220px fills the aside's
   content box (260px basis less 2.5rem inline-end padding). */
.index-layout .bio .me_pic {
    width: 220px;
    height: 220px;
    margin-inline: 0;
    margin-bottom: 1.25rem;
    align-self: flex-start;
    border-radius: 50%;
}

.index-layout .bio h1,
.index-layout .bio .bio-name {
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.25px;
    color: var(--ink);
    margin: 0 0 0.75rem;
}

/* Proof points under the role line: short, scannable, real numbers only */
.index-layout .bio .bio-proof {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    font-size: 0.9375rem;
    line-height: 1.45;
    /* the credibility lines: darker than --muted so they read as claims, not captions */
    color: rgba(0, 0, 0, 0.72);
}

.index-layout .bio .bio-proof li {
    padding-inline-start: 0.9rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.index-layout .bio .bio-proof li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0.6em;
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: var(--ink);
}

.index-layout .bio .bio-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin: 0;
}

.index-layout .bio .bio-cta {
    display: inline-block;
    font-weight: 600;
    color: var(--color-background);
    background: var(--ink);
    border-radius: 999px;
    padding: 0.4rem 1rem;
}

@media (hover: hover) {
    .index-layout .bio .bio-cta:hover {
        background: var(--color-accent);
    }
}

/* Group headings in the feed. "Selected work" is the headline tier (heavy rule,
   big title); "More work" is a lighter one, so scale does the ranking. */
.index-layout .feed .feed-group {
    grid-column: 1 / -1;
    border-top: 2px solid var(--ink);
    padding-top: 0.9rem;
    /* The grid's row gap is sized for cards; pull the first row up under its title */
    margin-bottom: -1.5rem;
}

.index-layout .feed .feed-group h2 {
    font-size: 1.875rem;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin: 0 0 0.4rem;
}

.index-layout .feed .feed-group p {
    margin: 0;
    text-wrap: pretty;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--muted);
}

.index-layout .feed .feed-group--more {
    margin-top: 3.5rem;
    margin-bottom: -2rem;
    border-top: 1px solid var(--color-separator);
}

.index-layout .feed .feed-group--more h2 {
    font-size: 1.375rem;
}

/* Social icon row, sits below the "more about me" link */
.index-layout .bio .bio-social {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1.5rem;
    font-size: 1.25rem;
}

.index-layout .bio .bio-social a {
    color: var(--muted);
    display: inline-flex;
}

@media (hover: hover) {
    .index-layout .bio .bio-social a:hover {
        color: var(--color-accent);
    }
}

.index-layout .bio .bio-kicker {
    margin: -0.5rem 0 0.9rem;
    font-size: 0.875rem;
    line-height: 1.4;
    letter-spacing: 0.01em;
    color: rgba(0, 0, 0, 0.62);
}

.index-layout .bio .lead {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-hero);
    margin-block: 0.5rem 1rem;
}

.index-layout .bio p {
    font-size: 1rem;
}

.index-layout .bio .small {
    font-size: 1.125rem;
}

.index-layout .feed {
    flex: 1 1 auto;
    min-width: 0;
    border-inline-start: 1px solid var(--color-separator);
    padding-inline-start: 2.5rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.25rem 2rem;
}

/* padding: 0 rather than padding-block, so the mobile `section` rule's inline
   padding can't inset the cards from the rest of the column. */
.index-layout .feed section {
    display: block;
    padding: 0;
    margin: 0;
}

.index-layout .feed section > a {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    color: inherit;
}

/* Card cover: uniform crop so the grid reads as one system.
   height:auto overrides any width/height HTML attrs so aspect-ratio always wins
   (eager images skip the global img[loading=lazy] height:auto reset).
   No max-height: the ratio has to hold at every column width. */
.index-layout .feed .card-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    background: var(--color-background-odd);
    margin: 0 0 0.9rem;
}

.index-layout .feed .card-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    color: var(--muted);
    margin: 0 0 0.35rem;
}

.index-layout .feed h3 {
    font-family: var(--font-sans);
    font-size: 1.375rem;
    line-height: 1.27;
    font-weight: 700;
    letter-spacing: -0.25px;
    color: var(--ink);
    margin: 0 0 0.5rem;
}

.index-layout .feed h3 .time {
    display: none;
}

.index-layout .feed .excerpt {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
    margin: 0;
    color: var(--muted);
    max-width: none;
}

/* Pre-title row: type and company on the left, year on the right. */
.index-layout .feed .card-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin: 0 0 0.35rem;
}

.index-layout .feed .card-meta .card-label {
    margin: 0;
    min-width: 0;
}

.index-layout .feed .card-date {
    flex: none;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    line-height: 1.4;
    color: var(--muted);
}

@media (max-width: 767px) {
    /* Stacked: align-items now governs the horizontal axis, so the desktop
       flex-start would size the columns to their content and overflow the
       viewport. Stretch them to full width instead. */
    .index-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
        padding-inline: 0;
    }

    .index-layout .bio {
        position: static;
        flex-basis: auto;
        width: 100%;
        padding-inline-end: 0;
        padding-bottom: 1.25rem;
        border-bottom: 1px solid var(--color-separator);
        text-align: center;
    }

    .index-layout .bio .bio-social {
        justify-content: center;
    }

    .index-layout .bio .me_pic {
        margin-inline: auto;
        align-self: center;
        width: 96px;
        height: 96px;
        margin-bottom: 0.75rem;
    }

    /* Phones: keep the pitch short enough that real work shows on the first
       screen, and left-align the list so the bullets sit with their text. */
    .index-layout .bio .bio-proof {
        text-align: start;
        margin-bottom: 1rem;
    }

    .index-layout .bio .bio-actions {
        justify-content: center;
    }

    .index-layout .bio .bio-social {
        margin-top: 1rem;
    }

    /* The aside centers its text when stacked, so center the portrait with it. */
    .index-layout .bio .me_portrait {
        margin-inline: auto;
    }

    .index-layout .feed {
        grid-template-columns: 1fr;
        gap: 2.75rem;
        border-inline-start: none;
        padding-inline-start: 0;
    }
}

/* ---------------------------------------------------------------------------
   Homepage layout (scoped to .homepage: detail pages reuse .index-layout).
   <768px   stacked: bio, work, writing.
   768px+   two columns: bio | work, with Writing under the work.
   1400px+  three columns: bio | work | Writing aside.
   The bio and the Writing aside are sticky. When one is taller than the
   viewport, `top` goes negative, so it scrolls with the page until its bottom
   reaches the viewport edge and then pins there (--bio-h / --writing-h are
   set from scripts.js).
   --------------------------------------------------------------------------- */
.homepage .index-layout .writing .w-head {
    border-top: 1px solid var(--color-separator);
    padding-top: 0.9rem;
}

.homepage .index-layout .writing .w-head h2 {
    font-size: 1.375rem;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin: 0 0 0.4rem;
}

.homepage .index-layout .writing .w-head p {
    margin: 0 0 0.75rem;
    max-width: 34rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--muted);
}

/* Writing list rows: title left, year right */
.homepage .index-layout .archive {
    list-style: none;
    margin: 0;
    padding: 0;
}

.homepage .index-layout .archive li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--color-separator);
}

.homepage .index-layout .archive a {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "title year" "summary summary";
    column-gap: 1rem;
    row-gap: 0.2rem;
    align-items: baseline;
    padding: 0.8rem 0;
    color: inherit;
}

.homepage .index-layout .a-title {
    grid-area: title;
    font-size: 1.0625rem;
    line-height: 1.35;
    min-width: 0;
}

.homepage .index-layout .a-name {
    font-weight: 500;
    color: rgba(0, 0, 0, 0.84);
}

.homepage .index-layout .a-year {
    grid-area: year;
    font-size: 0.9375rem;
    color: rgba(0, 0, 0, 0.62);
    white-space: nowrap;
}

.homepage .index-layout .a-summary {
    grid-area: summary;
    font-size: 0.9375rem;
    line-height: 1.4;
    color: rgba(0, 0, 0, 0.62);
    text-wrap: pretty;
}

@media (hover: hover) {
    .homepage .index-layout .archive a:hover .a-name {
        color: var(--color-accent);
    }
}

@media (max-width: 767px) {
    .homepage .index-layout .writing {
        margin-top: 2.5rem;
    }
}

@media (min-width: 768px) {
    .homepage .index-layout {
        display: grid;
        grid-template-columns: 260px minmax(0, 1fr);
        align-items: start;
    }

    .homepage .index-layout .bio {
        grid-column: 1;
        grid-row: 1 / span 2;
        position: sticky;
        top: min(2rem, calc(100vh - var(--bio-h, 0px) - 2rem));
    }

    .homepage .index-layout .feed {
        grid-column: 2;
        grid-row: 1;
    }

    .homepage .index-layout .writing {
        grid-column: 2;
        grid-row: 2;
        min-width: 0;
        padding: 3.5rem 0 0 2.5rem;
        border-inline-start: 1px solid var(--color-separator);
    }
}

@media (min-width: 1400px) {
    .homepage .main-content {
        max-width: 1280px;
    }

    .homepage .index-layout {
        grid-template-columns: 260px minmax(0, 1fr) 312px;
    }

    .homepage .index-layout .writing {
        grid-column: 3;
        grid-row: 1;
        margin-inline-start: 2rem;
        padding: 0 0 0 2rem;
        position: sticky;
        top: min(2rem, calc(100vh - var(--writing-h, 0px) - 2rem));
    }

    .homepage .index-layout .writing .w-head {
        border-top: 2px solid var(--ink);
    }

    /* Narrow aside: year above the title, then the one-line summary */
    .homepage .index-layout .writing .archive a {
        grid-template-columns: 1fr;
        grid-template-areas: "year" "title" "summary";
        row-gap: 0.1rem;
        padding: 0.7rem 0;
    }

    .homepage .index-layout .writing .a-title {
        font-size: 0.9375rem;
    }

    .homepage .index-layout .writing .a-year {
        font-size: 0.8125rem;
    }

    .homepage .index-layout .writing .a-summary {
        font-size: 0.8125rem;
    }
}

/* More work: compact cover cards, 3 columns on desktop */
.index-layout .feed .more-grid {
    grid-column: 1 / -1;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem 1.25rem;
}

.index-layout .feed .more-grid li {
    margin: 0;
    padding: 0;
}

.index-layout .feed .more-grid a {
    display: block;
    color: inherit;
}

.index-layout .feed .more-grid .card-cover {
    margin: 0 0 0.6rem;
}

/* Same pieces as the featured cards (label and year row, then a two-part
   title), set smaller to fit three across. */
.index-layout .feed .more-grid .card-meta {
    margin: 0 0 0.3rem;
}

.index-layout .feed .more-grid .card-label,
.index-layout .feed .more-grid .card-date {
    font-size: 0.8125rem;
}

/* A card with no company label still keeps its year at the end of the row */
.index-layout .feed .more-grid .card-date {
    margin-inline-start: auto;
}

.index-layout .feed .more-grid h3 {
    font-size: 1.0625rem;
    line-height: 1.3;
    letter-spacing: -0.15px;
    margin: 0;
}

@media (hover: hover) {
    .index-layout .feed .more-grid a:hover h3 {
        color: var(--color-accent);
    }
}

@media (max-width: 999px) {
    .index-layout .feed .more-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 599px) {
    .index-layout .feed .more-grid {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }

    .index-layout .feed .more-grid a {
        display: grid;
        grid-template-columns: 96px 1fr;
        gap: 0.9rem;
        align-items: start;
    }

    .index-layout .feed .more-grid .card-cover {
        margin: 0;
    }
}

/* ---------------------------------------------------------------------------
   Detail-page aside (essays, case studies, about, portfolio): same in-flow,
   centered, sticky sidebar as the homepage, with a divider that spans only the
   content column, not the viewport.
   --------------------------------------------------------------------------- */
/* Match the homepage's .main vertical rhythm (padding: 2rem 0) since detail
   pages wrap straight into .main-content with no .main wrapper */
body.has-aside > .main-content {
    box-sizing: border-box;
    padding: 2rem 2rem;
}

.index-layout .post-column {
    flex: 1 1 auto;
    min-width: 0;
    border-inline-start: 1px solid var(--color-separator);
    padding-inline-start: 2.5rem;
}

.index-layout .bio-detail .bio-name {
    display: block;
    text-decoration: none;
}

.index-layout .bio-detail .bio-back {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--muted);
    text-decoration: none;
}

@media (hover: hover) {
    .index-layout .bio-detail .bio-name:hover,
    .index-layout .bio-detail .bio-back:hover {
        color: var(--color-accent);
    }
}

@media (max-width: 767px) {
    .index-layout .post-column {
        border-inline-start: none;
        padding-inline-start: 0;
    }
}

/* Writing index — one-line summary under each cover */
.excerpt {
    color: var(--color-text);
    margin: 1.25rem 0 0;
    max-width: 70ch;
    font-size: 1.125rem;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .excerpt {
        font-size: 1.5rem;
    }
}

.project > header {
    padding-inline: 2rem;
}

/* ---------------------------------------------------------------------------
   Unified detail-page reading view — one style for every detail page.
   Hung on .post-column (shared by all detail pages), so there is no
   blog / article / project distinction. Prose sits in a serif reading measure;
   media (images, swipers, charts, video, tables) breaks out to the full column.
   --------------------------------------------------------------------------- */
.post-column {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    line-height: 1.55;
    color: var(--ink);
}

/* Uniform section rhythm for essays and case studies alike (overrides the
   global flex section + .project section 4em margin) */
/* padding-inline: 0 drops the mobile `section` padding, which would otherwise
   double up on the padding .main-content already applies and indent the prose
   away from the aside. No-op on desktop, where sections have no padding. */
.post-column section {
    display: block;
    align-items: initial;
    margin-block-end: 2.5rem;
    padding-inline: 0;
}

/* No reading measure: text runs the full width of the column, flush with the
   lead cover and the TL;DR, so the column has one left edge. */
.post-column h1,
.post-column h2,
.post-column h3,
.post-column p,
.post-column ul,
.post-column ol,
.post-column blockquote,
.post-column .post-meta,
.post-column .post-back,
.post-column .post-source,
.post-column figcaption {
    box-sizing: border-box;
}

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

/* Headings: sans, bold, tight tracking (Notion) */
.post-column h1,
.post-column h2,
.post-column h3 {
    font-family: var(--font-sans);
    color: var(--ink);
    font-weight: 700;
}

.post-column h1 {
    font-size: 2rem;
    line-height: 1.25;
    letter-spacing: -0.75px;
    margin: 0 0 1rem;
}

/* Standfirst under the title: a plain one-liner that says what the piece is,
   so a skimmer knows before the oblique headline makes them read. */
.post-column .post-dek {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    line-height: 1.4;
    color: var(--color-text-lightened);
    margin: 0 0 1.25rem;
}

.post-column h2 {
    font-size: 1.375rem;
    line-height: 1.27;
    letter-spacing: -0.25px;
    margin: 2.5rem 0 0.75rem;
}

.post-column h3 {
    font-size: 1.15rem;
    line-height: 1.3;
    letter-spacing: -0.2px;
    margin: 2rem 0 0.5rem;
}

/* Body prose: serif */
.post-column p,
.post-column li {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    line-height: 1.55;
    color: var(--ink);
}

.post-column ul,
.post-column ol {
    margin-top: 1rem;
    padding-inline-start: 1.4rem;
}

.post-column a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

/* Lead / pull quote */
.post-column blockquote {
    margin: 1.5rem 0 2rem;
    padding: 0.25rem 0 0.25rem 1.5rem;
    border-inline-start: 3px solid var(--color-accent);
    font-family: var(--font-serif);
    font-size: 1.4rem;
    line-height: 1.4;
    color: var(--color-hero);
    font-style: italic;
}

/* Back link + meta stay sans (navigation / labels, not reading) */
.post-column .post-back {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    margin-block: 0 2rem;
}

.post-column .post-back a {
    color: var(--color-text-lightened);
    text-decoration: none;
}

@media (hover: hover) {
    .post-column .post-back a:hover {
        color: var(--color-accent);
    }
}

.post-column .post-meta {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--color-text-lightened);
    margin-block: 0 2rem;
}

/* TL;DR skim block. Sits outside the reading measure so it fills the column
   like the lead cover. */
.post-column .tldr {
    margin-block: 2rem;
    padding: 1.25rem 1.5rem;
    background: var(--color-background-odd);
    border-inline-start: 3px solid var(--color-accent);
    border-radius: 6px;
    font-family: var(--font-sans);
}

.post-column .tldr .tldr-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--color-text-lightened);
    margin: 0 0 0.75rem;
}

.post-column .tldr ul {
    margin: 0;
    padding-inline-start: 1.2rem;
}

.post-column .tldr li {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    color: var(--color-hero);
}

.post-column .tldr li:last-child {
    margin-bottom: 0;
}

/* Role / Scope / Result strip under the cover of the featured case studies, so a
   skimmer gets what I did, how big it was and what it returned before the story. */
.post-column .case-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem 1.5rem;
    margin: 2rem 0;
    padding: 1.25rem 0;
    border-block: 1px solid var(--color-separator);
    font-family: var(--font-sans);
}

.post-column .case-facts dt {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--color-accent);
    margin: 0 0 0.35rem;
}

.post-column .case-facts dd {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--color-hero);
}

@media (max-width: 767px) {
    .post-column .case-facts {
        grid-template-columns: 1fr;
    }
}

/* Figures + captions. margin-inline zeroes the UA default 40px so figures sit
   flush with the text. */
.post-column figure {
    margin-block: 2rem;
    margin-inline: 0;
}

.post-column figure img {
    border-radius: 6px;
}

/* Inline article media (demos, diagrams): hold to the column width and keep
   the source aspect ratio, since there's no global img max-width. */
.post-column .post-figure img {
    width: 100%;
    height: auto;
    display: block;
}

/* Lead cover: same 16:10 the index cards use, held at every column width so a
   post and its card crop identically. */
.post-column .post-cover img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    background: var(--color-background-odd);
}

.post-column figcaption {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--color-text-lightened);
    margin-top: 0.5rem;
    text-align: center;
}

.post-column .post-source {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--color-text-lightened);
    margin-top: 3rem;
}

@media (max-width: 767px) {
    .post-column h1 {
        font-size: 1.75rem;
        letter-spacing: -0.4px;
    }

    .post-column h2 {
        font-size: 1.25rem;
    }

    .post-column p,
    .post-column li {
        font-size: 1.15rem;
    }

    .post-column blockquote {
        font-size: 1.2rem;
    }
}

/* Lightbox: clicking any image link opens it here instead of a new tab.
   Built and toggled by scripts.js; the markup stays a plain <a href> so it
   still works if JS never runs. */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    cursor: zoom-out;
    /* Deliver horizontal swipes to our pointer handlers instead of letting the
       browser treat them as a scroll/back gesture. */
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    max-height: 100%;
    cursor: default;
}

.lightbox-figure img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    background: #fff;
}

.lightbox-figure figcaption {
    color: #fff;
    text-align: center;
    font-size: 1rem;
    line-height: 1.4;
    margin-top: 1rem;
    max-width: 60ch;
}

.lightbox-close {
    position: absolute;
    top: 0.75rem;
    inset-inline-end: 1.25rem;
    width: 2.75rem;
    height: 2.75rem;
    font-size: 2rem;
    line-height: 1;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
}

@media (hover: hover) {
    .lightbox-close:hover {
        color: #fff;
        opacity: 0.7;
    }
}

/* Prev / next arrows, shown only when the lightbox opened from a slider.
   Chevrons drawn with borders; a drop-shadow keeps them legible over any
   image. scripts.js hides them for a single-image (standalone) lightbox. */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    inset-inline-start: 0.5rem;
}

.lightbox-next {
    inset-inline-end: 0.5rem;
}

.lightbox-nav::after {
    content: "";
    width: 16px;
    height: 16px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.8));
}

.lightbox-prev::after {
    transform: rotate(-135deg);
    margin-inline-start: 5px;
}

.lightbox-next::after {
    transform: rotate(45deg);
    margin-inline-end: 5px;
}

@media (hover: hover) {
    .lightbox-nav:hover {
        opacity: 0.7;
    }
}

/* Locks background scroll while the lightbox is open. */
body.lightbox-open {
    overflow: hidden;
}

/* Case-study cards with product UI: the screenshot is the cover. Illustrations
   stay on essays, where the image stands for an idea instead of a shipped thing. */
.index-layout .feed .cover-ui {
    object-position: top left;
    border: 1px solid var(--color-separator);
    box-sizing: border-box;
    background: #fff;
}

.index-layout .feed .cover-ui--contain {
    object-fit: contain;
    object-position: center;
    padding: 0.15rem;
}

/* Case-study lead cover with product UI: same treatment as the index card. */
.post-column .post-cover img.cover-ui {
    object-position: top left;
    border: 1px solid var(--color-separator);
    box-sizing: border-box;
    background: #fff;
}

.post-column .post-cover img.cover-ui--contain {
    object-fit: contain;
    object-position: center;
    padding: 0.75rem;
}

/* Lead cover shown at its own proportions instead of the 16:10 crop. */
.post-column .post-cover img.cover-ui--natural {
    aspect-ratio: auto;
    object-fit: fill;
}

/* ---------------------------------------------------------------------------
   Closing blocks: next case study and contact line (case studies, essays,
   homepage, About). Set in the UI sans so they read as site chrome, not prose.
   --------------------------------------------------------------------------- */
.case-end {
    margin-top: 3rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--color-separator);
    font-family: var(--font-sans);
}

.post-column .next-case,
.post-column .next-case:hover,
.post-column .next-case span {
    text-decoration: none;
}

.next-case {
    display: block;
    margin-bottom: 2rem;
    color: inherit;
}

.next-case-label {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}

.next-case-title {
    display: block;
    font-size: 1.375rem;
    line-height: 1.27;
    font-weight: 700;
    letter-spacing: -0.25px;
    color: var(--ink);
}

.next-case-title::after {
    content: " \2192";
}

@media (hover: hover) {
    .next-case:hover .next-case-title {
        color: var(--color-accent);
    }
}

.contact-block p {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.55;
    color: rgba(0, 0, 0, 0.72);
    max-width: none;
}

.contact-block a {
    font-weight: 600;
}

.index-layout .feed .contact-block--home {
    grid-column: 1 / -1;
    margin-top: 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-separator);
}

/* About: where-I've-worked timeline */
.about-timeline {
    margin-top: 2.5rem;
    font-family: var(--font-sans);
}

.about-timeline h2 {
    margin: 0 0 0.75rem;
    font-size: 1.375rem;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.post-column .timeline {
    list-style: none;
    margin: 0;
    padding: 0;
}

.post-column .timeline li {
    font-family: var(--font-sans);
    margin: 0;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--color-separator);
}

.post-column .timeline .t-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.post-column .timeline .t-role {
    font-size: 1.0625rem;
    line-height: 1.35;
    font-weight: 700;
    color: var(--ink);
}

.post-column .timeline .t-when {
    flex: none;
    font-size: 0.9375rem;
    color: var(--muted);
    white-space: nowrap;
}

.post-column .timeline .t-org {
    font-size: 0.9375rem;
    color: var(--muted);
}

.post-column .timeline .t-desc {
    margin: 0.35rem 0 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.72);
    max-width: none;
}

.about-timeline .t-meta {
    margin: 1rem 0 0;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--muted);
}

.about-contact {
    margin-top: 2rem;
}

/* Homepage on phones: a compact header row (photo beside name, title and
   focus line) so the first case study is close to the first screen. */
@media (max-width: 767px) {
    .homepage .index-layout .bio {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr) auto;
        column-gap: 0.9rem;
        align-items: center;
        text-align: start;
        padding-bottom: 1rem;
    }

    .homepage .index-layout .bio .me_pic {
        grid-column: 1;
        grid-row: 1 / span 3;
        width: 72px;
        height: 72px;
        margin: 0;
    }

    .homepage .index-layout .bio .bio-name,
    .homepage .index-layout .bio .lead,
    .homepage .index-layout .bio .bio-kicker {
        grid-column: 2 / -1;
        margin: 0;
    }

    .homepage .index-layout .bio .bio-name {
        font-size: 1.375rem;
        line-height: 1.15;
    }

    .homepage .index-layout .bio .lead {
        font-size: 1rem;
    }

    .homepage .index-layout .bio .bio-kicker {
        font-size: 0.8125rem;
    }

    .homepage .index-layout .bio > p:not(.lead):not(.bio-kicker):not(.bio-actions),
    .homepage .index-layout .bio .bio-proof {
        grid-column: 1 / -1;
    }

    .homepage .index-layout .bio > p:not(.lead):not(.bio-kicker):not(.bio-actions) {
        margin: 0.9rem 0 0.6rem;
        font-size: 0.9375rem;
        line-height: 1.45;
    }

    .homepage .index-layout .bio .bio-proof {
        margin: 0 0 0.75rem;
        font-size: 0.875rem;
        line-height: 1.4;
    }

    .homepage .index-layout .bio .bio-proof li {
        margin-bottom: 0.3rem;
    }

    .homepage .index-layout .bio .bio-actions {
        grid-column: 1 / 3;
        margin: 0;
        justify-content: flex-start;
    }

    .homepage .index-layout .bio .bio-social {
        grid-column: 3;
        margin: 0;
        justify-content: flex-end;
    }
}
