@font-face {
    font-family: "EB Garamond";
    src: url("../fonts/eb-garamond-latin-var.woff2") format("woff2");
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "EB Garamond";
    src: url("../fonts/eb-garamond-latin-var-italic.woff2") format("woff2");
    font-weight: 400 800;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("../fonts/plus-jakarta-sans-latin-var.woff2") format("woff2");
    font-weight: 300 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("../fonts/plus-jakarta-sans-latin-var-italic.woff2") format("woff2");
    font-weight: 300 800;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Mono";
    src: url("../fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Mono";
    src: url("../fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #09141e;
    --bg-deep: #050f19;
    --surface-low: #121d27;
    --surface: #16212b;
    --surface-high: #202b36;
    --surface-highest: #2b3641;
    --ink: #d8e3f2;
    --ink-soft: #c0c7d1;
    --primary: #7bc0ff;
    --primary-ink: #003353;
    --gold: #e9c349;
    --line: rgba(123, 192, 255, 0.15);
    --line-strong: rgba(123, 192, 255, 0.3);
    --outline: #404750;
    --wrap: 1280px;
    --read: 720px;
    --pad: 48px;
    --serif: "EB Garamond", Georgia, "Times New Roman", serif;
    --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

::selection {
    background: var(--primary);
    color: var(--bg);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    background: var(--primary);
    color: var(--primary-ink);
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
}

.skip-link:focus {
    left: 16px;
    top: 16px;
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding-left: var(--pad);
    padding-right: var(--pad);
}

.wrap--narrow {
    width: 100%;
    max-width: 896px;
    margin: 0 auto;
    padding-left: var(--pad);
    padding-right: var(--pad);
}

.wrap--wide {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    padding-left: var(--pad);
    padding-right: var(--pad);
}

.meta {
    font-size: 14px;
    line-height: 20px;
    color: var(--ink-soft);
}

.kicker {
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    line-height: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
}

.label-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ink-soft);
    white-space: nowrap;
    transition: color 160ms ease;
}

.label-link:hover {
    color: var(--gold);
}

.chip {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid var(--outline);
    background: #d2e4ff;
    color: #001c37;
    font-size: 11px;
    font-weight: 600;
    line-height: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.chip--ghost {
    background: transparent;
    border-color: var(--line-strong);
    color: var(--ink);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--primary-ink);
}

.button--gold {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--bg);
}

.button--gold:hover {
    background: transparent;
    color: var(--gold);
}

.button--small {
    padding: 8px 12px;
    font-size: 12px;
    letter-spacing: 0.02em;
    text-transform: none;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(9, 20, 30, 0.9);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    height: 80px;
}

.wordmark {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: -0.01em;
    justify-self: start;
}

.site-nav .nav {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    list-style: none;
}

.site-nav a {
    font-size: 15px;
    line-height: 24px;
    color: var(--ink-soft);
    transition: color 160ms ease;
}

.site-nav a:hover {
    color: var(--ink);
}

.site-header__actions {
    justify-self: end;
}

.site-header__actions .button {
    padding: 8px 12px;
    font-size: 12px;
    letter-spacing: 0.05em;
}

/* Main */

.site-main {
    min-height: 60vh;
}

/* Home */

.manifesto {
    padding-top: 48px;
    padding-bottom: 24px;
}

.manifesto__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 48px;
    align-items: end;
}

.manifesto__lead {
    grid-column: span 8;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.manifesto__title {
    margin: 0;
    font-family: var(--serif);
    font-size: 56px;
    font-weight: 400;
    line-height: 64px;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.manifesto__note {
    grid-column: span 4;
    font-size: 18px;
    line-height: 28px;
    color: var(--ink-soft);
}

.featured {
    padding-top: 24px;
    padding-bottom: 24px;
}

.featured__card {
    padding: 48px;
    background: var(--surface-low);
    border: 1px solid var(--line-strong);
    transition: background-color 200ms ease;
}

.featured__card:hover {
    background: var(--surface-high);
}

.featured__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.featured__meta-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.featured__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 48px;
    align-items: center;
}

.featured__body {
    grid-column: span 7;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.featured__title {
    margin: 0;
    font-family: var(--serif);
    font-size: 40px;
    font-weight: 400;
    line-height: 48px;
    letter-spacing: -0.01em;
    text-wrap: balance;
    transition: color 160ms ease;
}

.featured__title a:hover {
    color: var(--gold);
}

.featured__excerpt {
    font-size: 18px;
    line-height: 28px;
    color: var(--ink-soft);
}

.featured__figure {
    grid-column: span 5;
    margin: 0;
}

.featured__figure img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid var(--line-strong);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 160ms ease;
}

.link-arrow svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 160ms ease;
}

.link-arrow:hover {
    color: var(--gold);
}

.link-arrow:hover svg {
    transform: translateX(3px);
}

/* Sections */

.section {
    padding-top: 48px;
    padding-bottom: 48px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line-strong);
}

.section-title {
    margin: 0;
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: -0.01em;
}

.section-title--lg {
    font-size: 40px;
    line-height: 48px;
}

/* Post list */

.post-list {
    list-style: none;
}

.post-list__item {
    display: grid;
    grid-template-columns: 104px 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 24px 4px;
    border-bottom: 1px solid var(--line);
    transition: background-color 160ms ease;
}

.post-list__item:hover {
    background: var(--surface-low);
}

.post-list__date {
    font-size: 14px;
    line-height: 20px;
    color: var(--ink-soft);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.post-list__title {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    letter-spacing: -0.01em;
    transition: color 160ms ease;
}

.post-list__item:hover .post-list__title {
    color: var(--gold);
}

.post-list__end {
    display: flex;
    align-items: center;
    gap: 24px;
}

.post-list__end svg {
    width: 20px;
    height: 20px;
    color: var(--ink-soft);
    flex-shrink: 0;
    transition: transform 160ms ease, color 160ms ease;
}

.post-list__item:hover .post-list__end svg {
    transform: translateX(4px);
    color: var(--ink);
}

/* Numbered archive */

.post-list--numbered {
    counter-reset: item;
}

.post-list--numbered .post-list__item {
    grid-template-columns: 48px 1fr auto;
    counter-increment: item;
}

.post-list--numbered .post-list__item::before {
    content: counter(item, decimal-leading-zero);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--gold);
}

/* Laboratório */

.lab {
    padding-top: 48px;
    padding-bottom: 48px;
    margin-top: 48px;
    margin-bottom: 48px;
    background: var(--surface-low);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.lab__head {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 48px;
    align-items: end;
    margin-bottom: 48px;
}

.lab__head-main {
    grid-column: span 8;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lab__note {
    grid-column: span 4;
    max-width: 420px;
    justify-self: end;
    font-size: 16px;
    line-height: 24px;
    color: var(--ink-soft);
}

.lab__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.lab-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px;
    background: var(--bg);
    border: 1px solid var(--line-strong);
    transition: transform 200ms ease, border-color 200ms ease;
}

.lab-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
}

.lab-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
}

.lab-card__title {
    margin: 0 0 8px;
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: -0.01em;
}

.lab-card__title a:hover {
    color: var(--gold);
}

.lab-card__excerpt {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 24px;
    color: var(--ink-soft);
}

.lab-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line-strong);
}

.lab-card__foot svg {
    width: 20px;
    height: 20px;
    color: var(--ink-soft);
}

/* Newsletter */

.newsletter {
    padding-top: 96px;
    padding-bottom: 96px;
    text-align: center;
}

.newsletter__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 640px;
    margin: 0 auto;
}

.newsletter__title {
    margin: 0;
    font-family: var(--serif);
    font-size: 40px;
    font-weight: 400;
    line-height: 48px;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.newsletter__note {
    max-width: 480px;
    font-size: 16px;
    line-height: 24px;
    color: var(--ink-soft);
}

/* Footer */

.site-footer {
    padding-top: 48px;
    padding-bottom: 48px;
    background: var(--surface-low);
    border-top: 1px solid var(--line);
}

.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.site-footer__copy {
    font-size: 14px;
    line-height: 20px;
    color: var(--ink-soft);
}

.site-footer__links {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 14px;
    line-height: 20px;
    color: var(--ink-soft);
}

.site-footer__links .nav {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    list-style: none;
}

.site-footer__links a:hover {
    color: var(--ink);
}

/* Page header (tag, archive, error) */

.page-header {
    padding-top: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line-strong);
}

.page-title {
    margin: 12px 0 0;
    font-family: var(--serif);
    font-size: 56px;
    font-weight: 400;
    line-height: 64px;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.page-header__desc {
    max-width: var(--read);
    margin: 16px 0 0;
    font-size: 18px;
    line-height: 28px;
    color: var(--ink-soft);
}

.empty {
    margin: 24px 0;
    color: var(--ink-soft);
}

/* Article */

.post-header {
    padding-top: 48px;
    padding-bottom: 24px;
}

.post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.post-meta__dot {
    color: var(--outline);
}

.post__title {
    margin: 24px 0;
    font-family: var(--serif);
    font-size: 56px;
    font-weight: 400;
    line-height: 64px;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.post-author-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--line-strong);
}

.avatar {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--line-strong);
}

.avatar--lg {
    width: 64px;
    height: 64px;
}

.post-author-row__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.post-author-row__name {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.post-figure {
    margin: 0 0 48px;
}

.post-figure img {
    width: 100%;
    max-height: 480px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 1px solid var(--line-strong);
}

.post-figure figcaption {
    margin-top: 12px;
    font-size: 11px;
    font-weight: 600;
    line-height: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.post-body {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.post-body--page {
    display: block;
}

.post-body__inner {
    grid-column: 4 / span 7;
    min-width: 0;
}

.post__content {
    font-size: 18px;
    line-height: 28px;
}

.post__content > p {
    margin: 0 0 24px;
}

.post__content:not(.post__content--plain) > p:first-of-type::first-letter {
    float: left;
    padding-top: 6px;
    padding-right: 12px;
    font-family: var(--serif);
    font-size: 64px;
    font-weight: 400;
    line-height: 0.75;
    color: var(--gold);
}

.post__content h2 {
    margin: 48px 0 16px;
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: -0.01em;
}

.post__content h3 {
    margin: 32px 0 12px;
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
}

.post__content h4 {
    margin: 24px 0 8px;
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
}

.post__content ul,
.post__content ol {
    margin: 0 0 24px;
    padding-left: 24px;
}

.post__content li {
    margin-bottom: 8px;
}

.post__content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.post__content a:hover {
    color: var(--gold);
}

.post__content strong {
    font-weight: 600;
}

.post__content em {
    font-style: italic;
}

.post__content figure {
    margin: 40px 0;
}

.post__content figure img {
    width: 100%;
    border: 1px solid var(--line);
}

.post__content figcaption {
    margin-top: 8px;
    font-size: 13px;
    line-height: 20px;
    color: var(--ink-soft);
}

.post__content blockquote {
    margin: 40px 0;
    padding: 8px 0 8px 24px;
    border-left: 2px solid var(--gold);
    font-family: var(--serif);
    font-size: 32px;
    font-style: italic;
    line-height: 40px;
    color: var(--ink);
}

.post__content blockquote p {
    margin: 0 0 16px;
}

.post__content blockquote p:last-child {
    margin-bottom: 0;
}

.post__content hr {
    margin: 48px 0;
    border: 0;
    border-top: 1px solid var(--line-strong);
}

.post__content code {
    padding: 2px 6px;
    font-family: var(--mono);
    font-size: 15px;
    background: rgba(216, 227, 242, 0.08);
}

.post__content pre {
    margin: 0 0 24px;
    padding: 24px;
    overflow-x: auto;
    background: var(--bg-deep);
    border: 1px solid var(--line);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 13px;
    line-height: 20px;
}

.post__content pre code {
    padding: 0;
    font-size: 13px;
    background: none;
}

.post__content table {
    width: 100%;
    margin: 0 0 24px;
    border-collapse: collapse;
    font-size: 15px;
}

.post__content th,
.post__content td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.post__content th {
    font-weight: 600;
}

.kg-width-wide {
    width: calc(100% + 200px);
    max-width: none;
    margin-left: -100px;
}

.kg-width-full {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
}

.post-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--line-strong);
}

.post-share__label {
    margin-right: 4px;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.post-author {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-top: 48px;
    padding: 24px;
    background: var(--surface-low);
    border: 1px solid var(--line-strong);
}

.post-author__text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post-author__title {
    margin: 0;
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
}

.post-author__bio {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: var(--ink-soft);
}

.post-author__link {
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.05em;
    color: var(--gold);
}

.post-author__link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.post-newsletter {
    margin-top: 48px;
    padding: 48px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line-strong);
}

.post-newsletter__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 560px;
    margin: 0 auto;
}

.post-newsletter__title {
    margin: 0;
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.post-newsletter__note {
    font-size: 14px;
    line-height: 20px;
    color: var(--ink-soft);
}

/* Responsive */

@media (max-width: 1024px) {
    .manifesto__lead {
        grid-column: span 7;
    }

    .manifesto__note {
        grid-column: span 5;
    }

    .featured__body {
        grid-column: span 6;
    }

    .featured__figure {
        grid-column: span 6;
    }

    .lab__head-main {
        grid-column: span 7;
    }

    .lab__note {
        grid-column: span 5;
    }

    .post-body__inner {
        grid-column: 3 / span 8;
    }
}

@media (max-width: 768px) {
    :root {
        --pad: 20px;
    }

    .site-header__inner {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "wordmark actions"
            "nav nav";
        height: auto;
        padding-top: 16px;
        padding-bottom: 16px;
        row-gap: 12px;
    }

    .wordmark {
        grid-area: wordmark;
        font-size: 24px;
    }

    .site-header__actions {
        grid-area: actions;
    }

    .site-nav {
        grid-area: nav;
    }

    .site-nav .nav {
        gap: 16px;
    }

    .manifesto {
        padding-top: 32px;
    }

    .manifesto__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .manifesto__lead,
    .manifesto__note {
        grid-column: auto;
    }

    .manifesto__title {
        font-size: 36px;
        line-height: 44px;
        letter-spacing: -0.01em;
    }

    .featured__card {
        padding: 24px;
    }

    .featured__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .featured__body,
    .featured__figure {
        grid-column: auto;
    }

    .featured__title {
        font-size: 28px;
        line-height: 36px;
    }

    .featured__excerpt {
        font-size: 16px;
        line-height: 24px;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .section-title {
        font-size: 28px;
        line-height: 36px;
    }

    .section-title--lg {
        font-size: 28px;
        line-height: 36px;
    }

    .post-list__item {
        grid-template-columns: 1fr auto;
        gap: 4px 16px;
        align-items: start;
    }

    .post-list__date {
        grid-column: 1 / -1;
    }

    .post-list__end {
        grid-column: 2;
        grid-row: 2 / span 2;
        align-self: center;
    }

    .post-list__end .chip {
        display: none;
    }

    .post-list--numbered .post-list__item {
        grid-template-columns: 32px 1fr auto;
    }

    .post-list--numbered .post-list__item::before {
        grid-row: 1 / span 2;
    }

    .lab__head {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .lab__head-main,
    .lab__note {
        grid-column: auto;
        justify-self: start;
    }

    .lab__grid {
        grid-template-columns: 1fr;
    }

    .lab-card {
        padding: 24px;
    }

    .newsletter {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .newsletter__title {
        font-size: 28px;
        line-height: 36px;
    }

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

    .page-header {
        padding-top: 32px;
    }

    .page-title {
        font-size: 36px;
        line-height: 44px;
        letter-spacing: -0.01em;
    }

    .post-header {
        padding-top: 32px;
    }

    .post__title {
        font-size: 36px;
        line-height: 44px;
        letter-spacing: -0.01em;
    }

    .post-figure {
        margin-bottom: 32px;
    }

    .post-figure img {
        aspect-ratio: 4 / 3;
        max-height: 320px;
    }

    .post-body {
        grid-template-columns: 1fr;
        margin-bottom: 32px;
    }

    .post-body__inner {
        grid-column: auto;
    }

    .post__content {
        font-size: 16px;
        line-height: 24px;
    }

    .post__content:not(.post__content--plain) > p:first-of-type::first-letter {
        font-size: 48px;
        padding-top: 4px;
        padding-right: 8px;
    }

    .post__content h2 {
        margin-top: 40px;
        font-size: 28px;
        line-height: 36px;
    }

    .post__content h3 {
        font-size: 22px;
        line-height: 30px;
    }

    .post__content blockquote {
        font-size: 24px;
        line-height: 32px;
        padding-left: 16px;
    }

    .kg-width-wide {
        width: 100%;
        margin-left: 0;
    }

    .post-author {
        flex-direction: column;
        padding: 20px;
    }

    .post-newsletter {
        padding: 32px 20px;
    }

    .post-newsletter__title {
        font-size: 28px;
        line-height: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto !important;
    }
}
