:root {
    --paper: #eae0cc;
    --ink: #2a2019;
    --accent: #7c2e20;
    --muted: #58493c;
    --rule: #c9a876;
    --soft-rule: #dccba6;
    --heading: var(--gh-font-heading, "Spectral", Georgia, "Times New Roman", serif);
    --body: var(--gh-font-body, Georgia, "Times New Roman", serif);
    --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
    --frame: 960px;
    --wrap: 680px;
    --reading: 720px;
    --wide: 1040px;
    --home-section-gap: clamp(4.8rem, 6vw, 6.4rem);
}

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

html {
    background: var(--paper);
    color: var(--ink);
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: 1.7rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.nav-is-open {
    overflow: hidden;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

a {
    color: inherit;
    text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
}

a:hover {
    color: var(--accent);
    text-decoration-color: currentColor;
}

::selection {
    background: var(--accent);
    color: var(--paper);
}

.frame,
.wrap,
.reading-wrap,
.wide-wrap {
    width: 100%;
    margin-inline: auto;
    padding-inline: 2.4rem;
}

.frame {
    max-width: calc(var(--frame) + 4.8rem);
}

.wrap {
    max-width: calc(var(--wrap) + 4.8rem);
}

.reading-wrap {
    max-width: calc(var(--reading) + 4.8rem);
}

.wide-wrap {
    max-width: calc(var(--wide) + 4.8rem);
}

.skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1000;
    padding: 0.8rem 1.2rem;
    transform: translateY(-150%);
    background: var(--ink);
    color: var(--paper);
    font-family: var(--mono);
    font-size: 1.2rem;
}

.skip-link:focus {
    transform: translateY(0);
}

.eyebrow,
.post-meta,
.post-byline,
.post-card__footer,
.pagination,
.member-links,
.member-link,
.site-footer,
.post-tags,
.post-actions,
.author-location {
    font-family: var(--mono);
    font-size: 1.2rem;
    letter-spacing: 0.05em;
}

.eyebrow,
.post-meta {
    color: var(--accent);
    text-transform: uppercase;
}

.site-header {
    min-height: 14.8rem;
    border-bottom: 1px solid var(--rule);
}

.site-header__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.8rem;
    min-height: 14.7rem;
    padding-top: 2.7rem;
    padding-bottom: 2.7rem;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    width: fit-content;
    font-family: var(--heading);
    font-size: clamp(2.2rem, 2.2vw, 2.6rem);
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

.site-brand img {
    width: auto;
    max-width: 32rem;
    max-height: 5rem;
}

.site-brand__mark {
    width: 0.9rem;
    height: 0.9rem;
    transform: rotate(45deg);
    background: var(--accent);
    flex: 0 0 auto;
}

.site-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    width: 100%;
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem 2.2rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: var(--mono);
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    line-height: 1.65;
    text-transform: uppercase;
}

.nav-list li {
    padding-left: 0;
}

.nav-list li::before {
    display: none;
}

.nav-list a {
    color: var(--muted);
    text-decoration: none;
}

.nav-list a:hover,
.nav-list .nav-current a {
    color: var(--accent);
}

.member-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.member-links a,
.member-link {
    color: var(--muted);
    text-decoration: none;
}

.member-link {
    margin-left: auto;
}

.member-links__signup,
.member-links__support {
    padding-left: 1rem;
    border-left: 1px solid var(--rule);
    color: var(--accent) !important;
}

.nav-toggle {
    display: none;
}

.page-intro,
.archive-header {
    padding-top: 4.4rem;
    padding-bottom: 3.5rem;
}

.page-intro {
    border-bottom: 1px solid var(--soft-rule);
}

.page-intro h1,
.archive-header h1,
.error-page h1,
.page-header h1 {
    margin: 0;
    font-family: var(--heading);
    font-size: clamp(3.8rem, 5vw, 4.4rem);
    font-weight: 600;
    line-height: 1.15;
}

.page-intro p,
.archive-header > p:last-child {
    max-width: 55rem;
    margin: 1rem 0 0;
    color: var(--muted);
}

.homepage-intro {
    padding-top: 2.8rem;
    padding-bottom: 2.8rem;
}

.homepage-intro p {
    margin: 0;
}

.home-section-header {
    margin-bottom: 3rem;
}

.home-section-header .eyebrow {
    margin: 0 0 0.8rem;
}

.home-section-header h1,
.home-section-header h2 {
    max-width: 82rem;
    margin: 0;
    font-family: var(--heading);
    font-size: clamp(2.7rem, 3.8vw, 4rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.08;
}

.home-section-header > p:last-child:not(.eyebrow) {
    max-width: 64rem;
    margin: 1rem 0 0;
    color: var(--muted);
}

.home-interests {
    margin-top: var(--home-section-gap);
    padding-top: 0;
    padding-bottom: 0;
}

.daily-image {
    margin-top: var(--home-section-gap);
    padding-top: 0;
    padding-bottom: 0;
}

.home-interests__label,
.daily-image__label,
.homepage-podcast__label,
.home-latest__header h2 {
    margin: 0 0 1rem;
    color: var(--accent);
    font-family: var(--mono);
    font-size: 1.7rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-transform: uppercase;
}

.home-feature-layout {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr)) auto;
    align-items: stretch;
    gap: 0;
}

.home-highlight {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
    padding: 2.6rem clamp(2.2rem, 3vw, 3.2rem) 3rem 0;
    border-right: 1px solid var(--soft-rule);
}

.home-highlight.has-card-image {
    display: block;
}

.home-highlight__image {
    display: block;
    aspect-ratio: 16 / 10;
    min-width: 0;
    overflow: hidden;
}

.home-highlight__image[hidden] {
    display: none;
}

.home-highlight__image img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center 42%;
    transition: opacity 200ms ease;
}

.home-highlight__image:hover img {
    opacity: 0.86;
}

.home-highlight.has-card-image .home-highlight__copy {
    margin-top: 2.4rem;
}

.home-highlight__copy h2 {
    margin: 0;
    font-family: var(--heading);
    font-size: clamp(3rem, 3.7vw, 4.3rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.05;
}

.home-highlight__copy h2 a,
.home-highlight__link {
    text-decoration: none;
}

.home-highlight__copy > p {
    margin: 1.5rem 0 0;
    color: var(--muted);
    font-size: 1.8rem;
    line-height: 1.55;
}

.home-highlight__link {
    display: inline-block;
    margin-top: 2rem;
    color: var(--accent);
    font-family: var(--mono);
    font-size: 1.15rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.home-feature__rail {
    display: contents;
}

.home-feature__side-post {
    display: flex;
    align-items: stretch;
    min-width: 0;
    padding: 2.4rem 2rem;
}

.home-feature__side-post:nth-child(1) {
    grid-column: 3;
    grid-row: 1;
    padding-right: 0;
    border-bottom: 1px solid var(--soft-rule);
}

.home-feature__side-post:nth-child(2) {
    grid-column: 3;
    grid-row: 2;
    padding-right: 0;
}

.home-feature__side-post:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
    border-top: 1px solid var(--soft-rule);
}

.home-feature__side-post:nth-child(4) {
    grid-column: 2;
    grid-row: 3;
    border-top: 1px solid var(--soft-rule);
    border-right: 1px solid var(--soft-rule);
    border-left: 1px solid var(--soft-rule);
}

.home-feature__side-post:nth-child(5) {
    grid-column: 3;
    grid-row: 3;
    border-top: 1px solid var(--soft-rule);
}

.home-feature__side-post .post-card,
.home-feature__side-post .post-card:first-child {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    border-bottom: 0;
}

.home-feature__side-post .post-card__footer {
    margin-top: auto;
    padding-top: 1.4rem;
}

.home-feature__side-post .post-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.home-feature__side-post .post-card:hover .post-card__body {
    border-left-color: transparent;
}

.home-feature__side-post .post-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.home-feature__side-post .post-card__image img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center 42%;
}

.home-feature__side-post:nth-child(-n + 2) .post-card__image {
    aspect-ratio: 16 / 9;
}

.home-feature__side-post .post-card h2 {
    font-size: clamp(2rem, 2vw, 2.35rem);
    line-height: 1.2;
}

.home-feature__side-post:nth-child(n + 3) .post-card h2 {
    font-size: clamp(1.9rem, 1.8vw, 2.15rem);
}

.home-feature__side-post .post-card__excerpt {
    display: none;
}

.daily-image figure,
.daily-image__content {
    max-width: none;
    margin: 0;
}

.daily-image figure {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.daily-image figure.has-caption {
    display: flex;
    align-items: flex-start;
    gap: clamp(2.8rem, 4vw, 4.8rem);
}

.daily-image figure > img {
    grid-column: 1;
    min-width: 0;
    width: auto;
    max-width: 100%;
    max-height: 62vh;
    justify-self: start;
    object-fit: contain;
    object-position: left top;
}

.daily-image figure.has-caption > img {
    flex: 0 1 auto;
    max-width: min(68%, 64rem);
}

.daily-image figure > figcaption {
    display: block;
    grid-column: 2;
    flex: 1 1 22rem;
    align-self: flex-start;
    min-width: 18rem;
    margin: 0;
    padding: 0;
    color: var(--muted);
    font-size: 1.55rem;
    line-height: 1.55;
    hyphens: auto;
    overflow: hidden;
    overflow-wrap: anywhere;
    scrollbar-color: var(--soft-rule) transparent;
    scrollbar-width: thin;
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    text-wrap: pretty;
}

.daily-image figure > figcaption > :first-child {
    margin-top: 0;
}

.daily-image figure > figcaption > :last-child {
    margin-bottom: 0;
}

.daily-image__content.gh-content,
.homepage-podcast__content.gh-content {
    font-size: 1.7rem;
}

.daily-image__content > :last-child,
.homepage-podcast__content > :last-child {
    margin-bottom: 0;
}

.homepage-podcast {
    width: 100%;
    min-width: 0;
    margin: var(--home-section-gap) 0 0;
}

.homepage-podcast__box {
    width: min(100%, 84rem);
    min-width: 0;
    margin-inline: auto;
    padding: 1.2rem;
    border: 1px solid var(--rule);
    background: color-mix(in srgb, var(--paper) 82%, var(--rule));
}

.homepage-podcast__content {
    width: 100%;
    max-width: none;
    min-width: 0;
    overflow: hidden;
    padding: 0;
}

.homepage-podcast__box,
.homepage-podcast__content .kg-card,
.homepage-podcast__content .kg-embed-card,
.homepage-podcast__content .kg-audio-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.homepage-podcast__content *,
.homepage-podcast__content *::before,
.homepage-podcast__content *::after {
    box-sizing: border-box;
    max-width: 100%;
}

.homepage-podcast__content iframe,
.homepage-podcast__content audio,
.homepage-podcast__content video,
.homepage-podcast__content object,
.homepage-podcast__content embed {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    border: 0;
}

.homepage-podcast__content iframe {
    min-height: 0 !important;
}

.homepage-podcast .homepage-podcast__content .kg-width-wide,
.homepage-podcast .homepage-podcast__content .kg-width-full,
.homepage-podcast .homepage-podcast__content .kg-embed-card,
.homepage-podcast .homepage-podcast__content .kg-audio-card {
    position: static;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    transform: none !important;
}

.homepage-podcast__content .kg-audio-player-container,
.homepage-podcast__content .kg-audio-player {
    min-width: 0;
}

.home-latest {
    margin-top: var(--home-section-gap);
    margin-bottom: var(--home-section-gap);
    padding-top: 0;
    padding-bottom: 0;
}

.home-latest__header {
    padding-bottom: 0;
    border-bottom: 0;
}

.home-latest__feed {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-latest__feed .post-card,
.home-latest__feed .post-card:first-child {
    padding: 2.2rem 1.5rem;
}

.home-latest__feed .post-card:nth-child(3n + 1) {
    padding-left: 0;
    border-right: 1px solid var(--soft-rule);
}

.home-latest__feed .post-card:nth-child(3n + 2) {
    border-right: 1px solid var(--soft-rule);
}

.home-latest__feed .post-card:nth-child(3n) {
    padding-right: 0;
}

.home-latest__feed .post-card__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.home-latest__feed .post-card__image img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center 42%;
}

.home-latest__feed .post-card h2 {
    font-size: 2rem;
    line-height: 1.2;
}

.home-latest__feed .post-card__excerpt {
    display: none;
}

.post-feed .post-card:first-child {
    padding-top: 3.7rem;
}

.empty-state {
    padding-top: 4rem;
    padding-bottom: 7rem;
    color: var(--muted);
    font-style: italic;
}

[data-home-content][hidden],
[data-query-collection][hidden] {
    display: none;
}

.post-card {
    position: relative;
    padding: 3rem 0 3rem 2.2rem;
    border-bottom: 1px solid var(--soft-rule);
}

.post-card__body {
    margin-left: -1.2rem;
    padding-left: calc(1.2rem - 1px);
    border-left: 1px solid transparent;
}

.post-card:hover .post-card__body {
    border-left-color: var(--accent);
}

.post-card__image {
    display: block;
    width: min(100%, 44rem);
    margin: 0 0 1.8rem 0;
    overflow: hidden;
}

.post-card__image[hidden] {
    display: none;
}

.post-card__image img {
    width: auto;
    max-width: 100%;
    max-height: 30rem;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: left center;
    transition: opacity 200ms ease;
}

.post-card:hover .post-card__image img {
    opacity: 0.86;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.3rem;
    margin-bottom: 0.8rem;
}

.post-meta a {
    text-decoration: none;
}

.content-kind--video {
    color: var(--accent);
    font-weight: 500;
}

.featured-mark {
    margin-left: auto;
    font-size: 0.9rem;
}

.post-card h2 {
    margin: 0;
    font-family: var(--heading);
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.25;
}

.post-card h2 a {
    text-decoration: none;
}

.post-card__excerpt {
    margin: 0.9rem 0 0;
    color: var(--muted);
    line-height: 1.55;
}

.post-card__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    min-height: 1.8rem;
    margin-top: 1.4rem;
    color: var(--muted);
}

.post-card__footer a {
    text-decoration: none;
}

.post-card.tag-myndbond .post-card__reading-time,
.post-article.tag-myndbond .post-reading-time {
    display: none;
}

.pagination {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 5rem;
    padding-bottom: 7rem;
    color: var(--ink);
    text-transform: uppercase;
}

.pagination div {
    display: flex;
    gap: 2.4rem;
}

.pagination a {
    color: var(--accent);
    text-decoration: none;
}

.post-article,
.page-article {
    padding-top: 6.5rem;
}

.post-header,
.page-header {
    padding-bottom: 3.6rem;
}

.post-header h1 {
    max-width: 70rem;
    margin: 1rem 0 0;
    font-family: var(--heading);
    font-size: clamp(4rem, 6.4vw, 6rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.015em;
}

.post-deck {
    max-width: 64rem;
    margin: 1.6rem 0 0;
    color: var(--muted);
    font-family: var(--heading);
    font-size: clamp(2rem, 2.6vw, 2.5rem);
    line-height: 1.35;
}

.post-byline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 2rem;
    color: var(--muted);
}

.post-feature-image,
.auto-feature-image {
    max-width: calc(800px + 4.8rem);
    margin-top: 1rem;
    margin-bottom: 5rem;
}

.post-article.tag-myndbond .post-feature-image,
.post-article.tag-myndbond .auto-feature-image {
    display: none;
}

.post-feature-image img,
.auto-feature-image img {
    width: auto;
    max-width: 100%;
    max-height: none;
    margin-inline: auto;
    object-fit: contain;
}

.auto-feature-image[hidden] {
    display: none;
}

.auto-feature-image > * {
    width: 100%;
    max-width: none;
    margin: 0;
    transform: none;
}

.auto-feature-image > p:empty {
    display: none;
}

.is-zoomable-image {
    cursor: zoom-in;
}

.is-zoomable-image:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.image-viewer {
    width: min(96vw, 150rem);
    max-width: none;
    height: 96vh;
    max-height: none;
    padding: 5rem 2rem 2rem;
    border: 0;
    background: transparent;
    color: #fff;
    overflow: hidden;
}

.image-viewer::backdrop {
    background: rgb(20 14 10 / 94%);
}

.image-viewer__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    padding: 0.7rem 1rem;
    border: 1px solid rgb(255 255 255 / 55%);
    background: rgb(20 14 10 / 70%);
    color: #fff;
    cursor: pointer;
    font-family: var(--mono);
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.image-viewer figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
}

.image-viewer img {
    width: auto;
    max-width: 100%;
    max-height: calc(96vh - 10rem);
    object-fit: contain;
}

.image-viewer__caption {
    max-width: 80rem;
    margin-top: 1rem;
    color: #fff;
    text-align: center;
}

figcaption,
.kg-card figcaption {
    margin-top: 1rem;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 1.15rem;
    line-height: 1.45;
    text-align: left;
}

.gh-content {
    font-size: clamp(1.8rem, 1.5vw, 2rem);
    line-height: 1.78;
}

.gh-content > * {
    margin-top: 0;
    margin-bottom: 1.8em;
}

.gh-content h2,
.gh-content h3,
.gh-content h4 {
    margin-top: 1.8em;
    margin-bottom: 0.6em;
    font-family: var(--heading);
    font-weight: 600;
    line-height: 1.2;
}

.gh-content h2 {
    font-size: clamp(3rem, 4vw, 3.8rem);
}

.gh-content h3 {
    font-size: clamp(2.4rem, 3vw, 3rem);
}

.gh-content h4 {
    font-size: 2.2rem;
}

.gh-content a {
    color: var(--accent);
}

.gh-content blockquote {
    margin: 2.1em 0;
    padding: 0.2rem 0 0.2rem 2.4rem;
    border-left: 2px solid var(--accent);
    color: var(--muted);
    font-family: var(--heading);
    font-size: 1.2em;
    font-style: italic;
}

.gh-content hr {
    width: 7rem;
    margin: 3.5em auto;
    border: 0;
    border-top: 1px solid var(--rule);
}

.gh-content ul,
.gh-content ol {
    padding-left: 1.4em;
}

.gh-content li + li {
    margin-top: 0.5em;
}

.gh-content code {
    padding: 0.15em 0.35em;
    background: rgb(42 32 25 / 8%);
    font-family: var(--mono);
    font-size: 0.82em;
}

.gh-content pre {
    overflow-x: auto;
    padding: 2rem;
    background: var(--ink);
    color: var(--paper);
}

.gh-content pre code {
    padding: 0;
    background: transparent;
    color: inherit;
}

.gh-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    font-size: 0.85em;
}

.gh-content th,
.gh-content td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--soft-rule);
    text-align: left;
}

.gh-content th {
    font-family: var(--mono);
    font-size: 0.75em;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gh-content .kg-width-wide,
.gh-content .kg-width-full,
.gh-content .kg-gallery-card,
.gh-content .kg-header-card {
    position: relative;
    width: min(calc(100vw - 4.8rem), var(--wide));
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
}

.gh-content .kg-width-full,
.gh-content .kg-header-card {
    width: 100vw;
}

.gh-content .kg-image-card img,
.gh-content .kg-gallery-card img {
    width: 100%;
}

.post-article .gh-content .kg-vimeo-card {
    position: relative;
    width: min(calc(100vw - 4.8rem), 96rem);
    max-width: none;
    margin-top: clamp(3.2rem, 5vw, 5rem);
    margin-bottom: clamp(3.2rem, 5vw, 5rem);
    margin-left: 50%;
    padding: 0.25rem;
    overflow: hidden;
    transform: translateX(-50%);
    border: 1px solid var(--soft-rule);
    border-radius: 0;
    background: var(--paper);
    box-shadow: none;
}

.post-article .gh-content .kg-vimeo-card .vimeo-player-shell {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    max-height: 50rem !important;
    height: auto !important;
    aspect-ratio: var(--vimeo-aspect-ratio, 16 / 9);
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background: #000;
}

.post-article .gh-content .kg-vimeo-card.vimeo-player-shell {
    min-height: auto !important;
    aspect-ratio: var(--vimeo-aspect-ratio, 16 / 9);
}

.post-article .gh-content .kg-vimeo-card iframe {
    position: absolute !important;
    inset: 0 !important;
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    border: 0;
}

.post-article .gh-content .kg-vimeo-card figcaption {
    margin: 0;
    padding: 1rem 0.7rem 0.6rem;
    border-top: 1px solid var(--soft-rule);
    background: var(--paper);
    color: var(--muted);
}

.post-article .gh-content .kg-vimeo-card--compact {
    width: min(calc(100vw - 6rem), 56rem);
}

.post-article .gh-content .kg-vimeo-card--compact .vimeo-player-shell {
    max-height: 56rem !important;
}

.post-article .gh-content .kg-vimeo-card--portrait {
    width: min(calc(100vw - 8rem), 36rem);
}

.post-article .gh-content .kg-vimeo-card--portrait .vimeo-player-shell {
    max-height: 64rem !important;
}

.kg-bookmark-card,
.kg-file-card,
.kg-audio-card,
.kg-product-card,
.kg-callout-card,
.kg-toggle-card {
    font-family: var(--body);
}

.kg-button-card .kg-btn {
    background: var(--accent);
    color: var(--paper);
    font-family: var(--mono);
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.post-footer {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--soft-rule);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.post-tags a {
    padding: 0.45rem 0.8rem;
    border: 1px solid var(--rule);
    color: var(--accent);
    text-decoration: none;
    text-transform: uppercase;
}

.post-actions {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.post-actions a,
.text-button {
    padding: 0;
    border: 0;
    background: none;
    color: var(--muted);
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: var(--rule);
    text-underline-offset: 0.2em;
}

.post-actions a:hover,
.text-button:hover {
    color: var(--accent);
}

.subscribe-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 3rem;
    margin-top: 6rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}

.subscribe-panel h2,
.author-card h2,
.comments-wrap h2,
.related-posts h2 {
    margin: 0;
    font-family: var(--heading);
    font-size: 2.6rem;
    font-weight: 600;
    line-height: 1.2;
}

.subscribe-panel p:not(.eyebrow) {
    margin: 0.6rem 0 0;
    color: var(--muted);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 4.4rem;
    padding: 0.9rem 1.5rem;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: var(--paper);
    font-family: var(--mono);
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
}

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

.author-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    margin-top: 5rem;
}

.author-card__image img,
.author-header__image {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    object-fit: cover;
}

.author-card p,
.author-card .eyebrow {
    margin: 0.5rem 0 0;
}

.author-card h2 a {
    text-decoration: none;
}

.related-posts {
    margin-top: 7rem;
    padding-top: 3rem;
    border-top: 1px solid var(--soft-rule);
}

.related-posts__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 1.5rem;
}

.related-posts article {
    padding-top: 1.5rem;
    border-top: 1px solid var(--rule);
}

.related-posts h2 {
    font-size: 2rem;
}

.related-posts h2 a {
    text-decoration: none;
}

.comments-wrap {
    margin-top: 7rem;
    padding-top: 3rem;
    border-top: 1px solid var(--soft-rule);
}

.comments-wrap > h2 {
    margin-bottom: 2rem;
}

.archive-header {
    border-bottom: 1px solid var(--soft-rule);
}

.archive-header .eyebrow {
    margin: 0 0 0.5rem;
}

.author-header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
}

.author-location {
    text-transform: uppercase;
}

.page-header {
    border-bottom: 1px solid var(--soft-rule);
}

.page-article .gh-content {
    margin-top: 4rem;
}

.about-page {
    padding-top: 6.5rem;
}

.about-image {
    margin-top: 3.6rem;
    margin-bottom: 4.5rem;
}

.about-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.about-copy {
    font-size: clamp(1.8rem, 1.5vw, 2rem);
    line-height: 1.78;
}

.about-copy p {
    margin-top: 0;
    margin-bottom: 1.8em;
}

.about-contact {
    margin-top: 3.5rem;
    padding-top: 2.4rem;
    border-top: 1px solid var(--soft-rule);
}

.about-contact h2 {
    margin: 0 0 1.2rem;
    color: var(--accent);
    font-family: var(--mono);
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-transform: uppercase;
}

.about-contact p {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 2rem;
    margin: 0;
}

.about-contact a,
.site-footer__contact a {
    text-decoration: none;
}

.cv-page {
    padding-top: 6.5rem;
}

.cv-header {
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--rule);
}

.cv-header .eyebrow {
    margin: 0 0 0.8rem;
}

.cv-header h1 {
    margin: 0;
    font-family: var(--heading);
    font-size: clamp(4rem, 6vw, 6rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.02;
}

.cv-lead {
    max-width: 68rem;
    margin: 1.5rem 0 0;
    color: var(--muted);
    font-size: clamp(1.8rem, 2vw, 2.1rem);
    line-height: 1.6;
}

.cv-editor {
    padding-top: clamp(4rem, 6vw, 6rem);
    padding-bottom: 1rem;
}

.cv-editor.gh-content > h2 {
    margin-top: 4.5rem;
    margin-bottom: 2.2rem;
    padding-top: 4.5rem;
    border-top: 1px solid var(--soft-rule);
    color: var(--accent);
    font-family: var(--mono);
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1.35;
    text-transform: uppercase;
}

.cv-editor.gh-content > h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.cv-editor.gh-content > h3 {
    margin-top: 3.4rem;
    margin-bottom: 1rem;
    font-size: clamp(2.2rem, 2.8vw, 2.8rem);
}

.cv-editor.gh-content > h2 + h3 {
    margin-top: 0;
}

.cv-editor.gh-content > p,
.cv-editor.gh-content > ul,
.cv-editor.gh-content > ol {
    max-width: 72rem;
    color: var(--muted);
}

.cv-editor > .kg-html-card {
    width: 100%;
    max-width: none;
}

.cv-section {
    display: grid;
    grid-template-columns: minmax(16rem, 23rem) minmax(0, 1fr);
    gap: clamp(3rem, 6vw, 7rem);
    padding-top: clamp(4rem, 6vw, 6rem);
    padding-bottom: clamp(4rem, 6vw, 6rem);
    border-bottom: 1px solid var(--soft-rule);
}

.cv-section > h2,
.cv-contact h2 {
    margin: 0;
    color: var(--accent);
    font-family: var(--mono);
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1.35;
    text-transform: uppercase;
}

.cv-entry + .cv-entry {
    margin-top: 3.4rem;
    padding-top: 3.4rem;
    border-top: 1px solid var(--soft-rule);
}

.cv-entry h3 {
    margin: 0;
    font-family: var(--heading);
    font-size: clamp(2.2rem, 2.8vw, 2.8rem);
    font-weight: 600;
    line-height: 1.2;
}

.cv-entry p {
    max-width: 68rem;
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 1.75rem;
    line-height: 1.65;
}

.cv-entry__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.2rem 2.4rem;
    align-items: baseline;
}

.cv-entry .cv-date {
    max-width: none;
    margin: 0;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: 0.07em;
    line-height: 1.4;
    white-space: nowrap;
}

.cv-link a,
.cv-projects a {
    color: var(--accent);
    text-decoration-thickness: 1px;
}

.cv-projects {
    display: grid;
    gap: 1.4rem;
    max-width: 72rem;
    margin: 1.5rem 0 0;
    padding-left: 1.4em;
}

.cv-projects li {
    padding-left: 0.4rem;
    color: var(--muted);
    line-height: 1.6;
}

.cv-interests {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cv-interests li {
    margin: 0;
    padding: 0.7rem 1rem;
    border: 1px solid var(--soft-rule);
    color: var(--muted);
    font-family: var(--mono);
    font-size: 1.2rem;
    line-height: 1.35;
}

.cv-editor.gh-content .cv-interests {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cv-editor.gh-content .cv-interests > li,
.cv-editor.gh-content .cv-interests > li + li {
    margin: 0;
    padding: 0.7rem 1rem;
}

.cv-contact {
    display: grid;
    grid-template-columns: minmax(16rem, 23rem) minmax(0, 1fr);
    gap: clamp(3rem, 6vw, 7rem);
    padding-top: 4rem;
    padding-bottom: 1rem;
}

.cv-contact p {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 2rem;
    margin: 0;
}

.cv-contact a {
    text-decoration: none;
}

.error-page {
    padding-top: 8rem;
    padding-bottom: 12rem;
}

.error-page .button {
    margin-top: 2rem;
}

.site-footer {
    margin-top: 4.8rem;
    padding-top: 3.5rem;
    padding-bottom: 0;
    color: var(--muted);
}

.site-footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
}

.site-footer__motto {
    padding: clamp(3.5rem, 6vw, 6.5rem) 2.4rem;
    background: var(--ink);
    color: var(--paper);
}

.site-footer__motto p {
    max-width: 130rem;
    margin: 0 auto;
    font-family: var(--heading);
    font-size: clamp(2.8rem, 4.8vw, 6.2rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.02;
    text-align: center;
}

.site-footer__motto span {
    display: block;
}

.site-footer__motto span + span {
    margin-top: 0.3em;
}

.site-footer__details {
    margin-left: auto;
    text-align: right;
}

.site-footer__contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.3rem 1.2rem;
}

.site-footer__location {
    margin-top: 0.4rem;
}

.footer-navigation .nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    text-transform: none;
}

.footer-navigation:not(:has(li)) {
    display: none;
}

.footer-navigation .nav-list li {
    padding-left: 0;
}

.footer-navigation .nav-list li::before {
    display: none;
}

@media (max-width: 960px) {
    .home-feature-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .home-highlight {
        grid-column: 1;
        grid-row: auto;
        border-right: 0;
        border-left: 0;
    }

    .home-feature__rail {
        display: grid;
        grid-column: 1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-row: auto;
        border-top: 1px solid var(--soft-rule);
    }

    .home-feature__side-post:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
        padding: 2.2rem;
        border-top: 0;
        border-right: 0;
        border-bottom: 1px solid var(--soft-rule);
        border-left: 0;
    }

    .home-feature__side-post:nth-child(odd) {
        padding-left: 0;
        border-right: 1px solid var(--soft-rule);
    }

    .home-feature__side-post:nth-child(even) {
        padding-right: 0;
    }

    .home-feature__side-post:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 759px) {
    .site-header,
    .site-header__inner {
        min-height: 8.2rem;
    }

    .site-header__inner {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 2rem;
        padding-top: 1.8rem;
        padding-bottom: 1.8rem;
    }

    .site-brand {
        font-size: 2.1rem;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        gap: 0.8rem;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--ink);
        font-family: var(--mono);
        font-size: 1.1rem;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

    .nav-toggle__icon,
    .nav-toggle__icon::before,
    .nav-toggle__icon::after {
        display: block;
        width: 1.8rem;
        height: 1px;
        background: currentColor;
        content: "";
        transition: transform 180ms ease;
    }

    .nav-toggle__icon::before {
        transform: translateY(-0.6rem);
    }

    .nav-toggle__icon::after {
        transform: translateY(0.5rem);
    }

    .nav-toggle[aria-expanded="true"] .nav-toggle__icon {
        background: transparent;
    }

    .nav-toggle[aria-expanded="true"] .nav-toggle__icon::before {
        transform: rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] .nav-toggle__icon::after {
        transform: translateY(-1px) rotate(-45deg);
    }

    .site-navigation {
        position: fixed;
        z-index: 100;
        top: 8.2rem;
        right: 0;
        bottom: 0;
        left: 0;
        display: none;
        align-items: start;
        align-content: start;
        justify-content: stretch;
        gap: 2.5rem;
        width: auto;
        overflow-y: auto;
        padding: 3rem 2.4rem;
        background: var(--paper);
    }

    .site-navigation.is-open {
        display: grid;
    }

    .site-navigation .nav-list {
        display: grid;
        gap: 1rem;
        font-family: var(--heading);
        font-size: 2.8rem;
        letter-spacing: 0;
        text-transform: none;
    }

    .site-navigation .nav-list li {
        padding-left: 0;
    }

    .site-navigation .nav-list li::before {
        display: none;
    }

    .member-links {
        margin-left: 0;
        padding-top: 2rem;
        border-top: 1px solid var(--soft-rule);
    }

    .member-link {
        margin-left: 0;
    }

    .page-intro,
    .archive-header {
        padding-top: 3.2rem;
        padding-bottom: 2.8rem;
    }

    .home-section-header h1,
    .home-section-header h2 {
        font-size: 3rem;
    }

    .home-feature-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .home-feature__rail {
        grid-template-columns: 1fr;
        padding: 0;
        border-top: 1px solid var(--soft-rule);
        border-left: 0;
    }

    .home-highlight {
        padding-right: 0;
        padding-left: 0;
    }

    .home-highlight__image {
        aspect-ratio: 4 / 3;
    }

    .home-highlight__image img {
        max-height: 38rem;
    }

    .home-feature__side-post:nth-child(n) {
        padding: 2.3rem 0;
        border-right: 0;
        border-bottom: 1px solid var(--soft-rule);
    }

    .home-feature__side-post:last-child {
        border-bottom: 0;
    }

    .daily-image figure.has-caption {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr;
        gap: 2.4rem;
    }

    .daily-image figure.has-caption > img {
        max-width: 100%;
    }

    .daily-image figure > img,
    .daily-image figure > figcaption {
        grid-column: 1;
        max-width: 100%;
    }

    .daily-image figure > figcaption {
        min-width: 0;
        padding-top: 0;
        padding-left: 0;
    }

    .homepage-podcast {
        margin-top: var(--home-section-gap);
    }

    .homepage-podcast__box {
        padding: 1rem;
    }

    .home-latest__feed {
        grid-template-columns: 1fr;
    }

    .home-latest__feed .post-card,
    .home-latest__feed .post-card:first-child,
    .home-latest__feed .post-card:nth-child(odd),
    .home-latest__feed .post-card:nth-child(even) {
        padding: 2.6rem 0;
        border-right: 0;
    }

    .post-card,
    .post-feed .post-card:first-child {
        padding-top: 2.6rem;
        padding-bottom: 2.6rem;
        padding-left: 1.6rem;
    }

    .post-card__image {
        width: min(100%, 38rem);
        margin-left: 0;
    }

    .post-card h2 {
        font-size: 2.35rem;
    }

    .pagination {
        display: grid;
        padding-top: 4rem;
        padding-bottom: 5rem;
    }

    .pagination div {
        justify-content: space-between;
    }

    .post-article,
    .page-article,
    .about-page,
    .cv-page {
        padding-top: 4rem;
    }

    .about-image {
        padding-inline: 0;
        margin-top: 2.8rem;
        margin-bottom: 3.5rem;
    }

    .cv-header {
        padding-bottom: 3rem;
    }

    .cv-editor {
        padding-top: 3.8rem;
    }

    .cv-section,
    .cv-contact {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .cv-section {
        padding-top: 3.8rem;
        padding-bottom: 3.8rem;
    }

    .cv-entry__header {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .post-header h1 {
        font-size: 4rem;
    }

    .post-feature-image {
        padding-inline: 0;
    }

    .auto-feature-image {
        padding-inline: 0;
    }

    .gh-content .kg-width-wide,
    .gh-content .kg-width-full,
    .gh-content .kg-gallery-card,
    .gh-content .kg-header-card {
        width: 100vw;
    }

    .post-article .gh-content .kg-vimeo-card,
    .post-article .gh-content .kg-vimeo-card.kg-width-wide,
    .post-article .gh-content .kg-vimeo-card.kg-width-full {
        width: calc(100vw - 2.4rem);
        margin-left: 50%;
        padding: 0.2rem;
        transform: translateX(-50%);
    }

    .post-article .gh-content .kg-vimeo-card--compact,
    .post-article .gh-content .kg-vimeo-card--compact.kg-width-wide,
    .post-article .gh-content .kg-vimeo-card--compact.kg-width-full {
        width: min(calc(100vw - 6rem), 52rem);
    }

    .post-article .gh-content .kg-vimeo-card--portrait,
    .post-article .gh-content .kg-vimeo-card--portrait.kg-width-wide,
    .post-article .gh-content .kg-vimeo-card--portrait.kg-width-full {
        width: min(calc(100vw - 8rem), 36rem);
    }

    .post-article .gh-content .kg-vimeo-card--portrait .vimeo-player-shell {
        max-height: 68vh !important;
    }

    .related-posts__grid {
        grid-template-columns: 1fr;
    }

    .subscribe-panel {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .subscribe-panel .button {
        justify-self: start;
    }

    .site-footer__inner {
        display: grid;
    }

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

@media (max-width: 420px) {
    .nav-toggle__label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .post-meta {
        gap: 0.4rem 0.8rem;
        font-size: 1.1rem;
    }

    .post-header h1 {
        font-size: 3.6rem;
    }

    .author-card,
    .author-header {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
