/* 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");

:root {
    --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;
}

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;
}

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);
}

.swiper-container {
    width: 100%;
    height: 100%;
    margin: 1.5rem 0 2rem;
}

.swiper-slide {
    text-align: center;
    font-size: 1.125rem;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    /* height: 100%; */
    object-fit: contain;
}

.swiper-slide figure {
    padding: 0;
    margin: 0;
}

.swiper-slide figcaption {
    padding: 1rem 0 3rem 0;
    color: var(--color-text);
}

.swiper-button-next,
.swiper-button-prev {
    width: 39px !important;
    height: 42px !important;
    border-radius: 50%;
    padding: 0 !important;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 16px !important;
    font-weight: bold !important;
}

.swiper-button-prev,
.swiper-container-rtl .swiper-button-next {
    inset-inline-start: 28px !important;
    background-color: rgba(255, 255, 255, 0.85) !important;
    padding-inline-end: 3px !important;
}

.swiper-button-next,
.swiper-container-rtl .swiper-button-prev {
    inset-inline-end: 28px !important;
    background-color: rgba(255, 255, 255, 0.85) !important;
    padding-inline-start: 3px !important;
}

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

.swiper-button-next,
.swiper-button-prev {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 15px;
    margin: -20px -20px 0;
}

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

.swiper-button-disabled {
    pointer-events: all !important;
}

.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: lives in the detail aside and runs at its native 3:4, so
   nothing is cropped. Fluid, since the sidebar is narrower than the image. */
.me_portrait {
    width: 100%;
    max-width: 288px;
    margin-bottom: 1rem;
}

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

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

.swiper-slide {
    align-self: center;
}

@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 aside's content box is 220px: the 260px basis less its 2.5rem inline-end
   padding. The -10px inline margins let the portrait bleed to 240px, 10px past
   the text edge on each side. The left bleed sits inside .main's 2rem gutter. */
.index-layout .bio .me_pic {
    width: 240px;
    height: 240px;
    margin-inline: -10px;
    margin-bottom: 1.25rem;
    align-self: flex-start;
}

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

/* 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 .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 h2 {
    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 h2 .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;
}

.index-layout .feed .card-date {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--muted);
    margin-top: auto;
    padding-top: 1rem;
}

@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: 2.5rem;
        padding-inline: 0;
    }

    .index-layout .bio {
        position: static;
        flex-basis: auto;
        width: 100%;
        padding-inline-end: 0;
        padding-bottom: 2rem;
        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;
    }

    /* 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;
    }
}

/* ---------------------------------------------------------------------------
   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;
}

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

/* 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;
}

/* 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;
    }
}
