:root {
    --accent: #2563eb;
    --bg: #ffffff;
    --surface: #f5f6f8;
    --text: #17181a;
    --muted: #686c73;
    --border: #e3e5e8;
    --shadow: 0 14px 40px rgba(20, 24, 32, .08);
    --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --radius: 14px;
    --outer: max(24px, calc((100vw - 1200px) / 2));
    --content: 740px;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--gh-font-body, var(--sans)); font-size: 1.6rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.scheme-dark { --bg: #101113; --surface: #191b1f; --text: #f4f5f6; --muted: #a7abb2; --border: #2b2e34; --shadow: 0 14px 40px rgba(0, 0, 0, .22); color-scheme: dark; }
@media (prefers-color-scheme: dark) { body.scheme-system { --bg: #101113; --surface: #191b1f; --text: #f4f5f6; --muted: #a7abb2; --border: #2b2e34; --shadow: 0 14px 40px rgba(0, 0, 0, .22); color-scheme: dark; } }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .55em; font-family: var(--gh-font-heading, var(--sans)); font-weight: 700; line-height: 1.12; letter-spacing: -.035em; }
p { margin: 0 0 1.4em; }
.outer { padding-inline: var(--outer); }
.inner { width: 100%; max-width: 1200px; margin-inline: auto; }
.narrow { max-width: var(--content); }
.site-main { min-height: 60vh; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 14px; transform: translateY(-150%); border-radius: 6px; background: var(--text); color: var(--bg); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 100; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 92%, transparent); }
.header-inner { min-height: 78px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
.site-brand { display: inline-flex; align-items: center; font-size: 2rem; font-weight: 700; line-height: 1; }
.site-brand img { width: auto; max-width: 190px; height: 36px; object-fit: contain; }
.site-navigation { justify-self: center; }
.site-navigation ul, .footer-navigation ul { display: flex; align-items: center; gap: 25px; margin: 0; padding: 0; list-style: none; }
.site-navigation a, .footer-navigation a { color: var(--muted); font-size: 1.45rem; font-weight: 500; }
.site-navigation a:hover, .site-navigation .nav-current a, .footer-navigation a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.text-link { font-size: 1.45rem; font-weight: 600; }
.icon-button { width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; color: var(--text); cursor: pointer; }
.icon-button svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.menu-toggle { display: none; padding: 8px 0; border: 0; background: transparent; color: var(--text); font-weight: 600; cursor: pointer; }

.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 10px 20px; border: 1px solid var(--accent); border-radius: 999px; background: var(--accent); color: #fff; font-size: 1.45rem; font-weight: 700; line-height: 1; transition: transform .2s ease, opacity .2s ease; }
.button:hover { opacity: .88; transform: translateY(-1px); }
.button-small { min-height: 38px; padding-inline: 16px; }
.button-secondary { border-color: var(--border); background: transparent; color: var(--text); }
.eyebrow { display: inline-block; margin-bottom: 1.4rem; color: var(--accent); font-size: 1.25rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.site-intro { position: relative; overflow: hidden; padding-block: 88px; border-bottom: 1px solid var(--border); background: radial-gradient(circle at 78% 20%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 30%), var(--bg); }
.site-intro::before { content: ""; position: absolute; width: 220px; height: 220px; left: max(-120px, calc(50% - 760px)); bottom: -160px; border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--border)); border-radius: 50%; pointer-events: none; }
.intro-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr); align-items: center; gap: clamp(48px, 7vw, 96px); }
.intro-grid.without-cover { grid-template-columns: minmax(0, 820px); }
.intro-copy { position: relative; z-index: 2; }
.intro-copy h1 { max-width: 820px; margin-bottom: 2.2rem; font-size: clamp(4rem, 5.6vw, 7rem); text-wrap: balance; }
.intro-description { max-width: 650px; margin-bottom: 2.8rem; color: var(--muted); font-size: clamp(1.7rem, 2vw, 2rem); line-height: 1.7; }
.intro-button { gap: 10px; }
.intro-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.intro-button:hover svg { transform: translateX(3px); }
.intro-visual { position: relative; z-index: 1; padding: 10px; border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border)); border-radius: calc(var(--radius) * 1.8); background: color-mix(in srgb, var(--bg) 88%, transparent); box-shadow: 0 24px 70px color-mix(in srgb, var(--accent) 10%, rgba(20, 24, 32, .1)); transform: rotate(1deg); }
.intro-visual::before { content: ""; position: absolute; z-index: -1; inset: 12% -22px -22px 15%; border-radius: inherit; background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }
.intro-image { width: 100%; aspect-ratio: 4 / 3; border-radius: calc(var(--radius) * 1.25); object-fit: cover; }
.section-block { padding-block: 56px; }
.featured-section { border-block: 1px solid var(--border); background: var(--surface); }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 26px; }
.section-heading h2 { margin: 0; font-size: 2.8rem; }

.post-feed { display: grid; gap: 30px; }
.post-feed-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-card { min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card-image-link { display: block; overflow: hidden; background: var(--surface); }
.post-card-image-link img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .35s ease; }
.post-card:hover .post-card-image-link img { transform: scale(1.025); }
.post-card-content { padding: 24px; }
.post-card-meta, .post-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--muted); font-size: 1.25rem; }
.post-card-meta a { color: var(--accent); font-weight: 700; }
.post-card-taxonomy { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px; }
.post-card-access { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 1.1rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.post-card-access svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.post-card h3 { margin: 14px 0 10px; font-size: 2.25rem; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-card p { color: var(--muted); font-size: 1.45rem; }
.post-card-footer { padding-top: 16px; border-top: 1px solid var(--border); }
.post-feed-list { grid-template-columns: 1fr; }
.post-feed-list .post-card { display: grid; grid-template-columns: minmax(220px, 34%) 1fr; }
.post-feed-list .post-card.no-image { grid-template-columns: 1fr; }
.post-feed-list .post-card-image-link img { height: 100%; aspect-ratio: auto; }
.empty-state { grid-column: 1 / -1; padding: 50px; border: 1px dashed var(--border); border-radius: var(--radius); text-align: center; color: var(--muted); }
.pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin-top: 48px; color: var(--muted); font-size: 1.35rem; }
.pagination > :last-child { justify-self: end; }

.article-header { padding-top: 72px; }
.article-header-inner { max-width: 900px; text-align: center; }
.article-header h1 { font-size: clamp(4rem, 7vw, 7.2rem); }
.article-excerpt { max-width: 760px; margin: 0 auto 2rem; color: var(--muted); font-size: clamp(1.8rem, 2.5vw, 2.2rem); }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; color: var(--muted); font-size: 1.35rem; }
.article-meta span + span::before { content: "·"; margin-right: 22px; }
.article-access-label { display: inline-flex; align-items: center; margin-top: 20px; padding: 7px 13px; border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border)); border-radius: 999px; background: color-mix(in srgb, var(--accent) 7%, var(--bg)); color: var(--accent); font-size: 1.2rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.article-image { max-width: 1200px; margin-top: 48px; }
.article-image img { width: 100%; max-height: 760px; border-radius: calc(var(--radius) * 1.5); object-fit: cover; }
.article-image figcaption { margin-top: 10px; color: var(--muted); font-size: 1.3rem; text-align: center; }
.article-content { max-width: var(--content); margin: 64px auto; padding-inline: 24px; font-size: 1.8rem; }
.gh-content > * { margin-block: 0 1.55em; }
.gh-content > *:first-child { margin-top: 0; }
.gh-content h2 { margin-top: 1.8em; font-size: 3.2rem; }
.gh-content h3 { margin-top: 1.6em; font-size: 2.5rem; }
.gh-content h4 { margin-top: 1.5em; font-size: 2rem; }
.gh-content a:not(.kg-button-card a) { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gh-content blockquote { margin-inline: 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); color: var(--muted); font-size: 2.1rem; }
.gh-content hr { margin-block: 4.5rem; border: 0; border-top: 1px solid var(--border); }
.gh-content pre { overflow-x: auto; padding: 22px; border-radius: 10px; background: #17191d; color: #f5f5f5; font-size: 1.4rem; }
.gh-content :not(pre) > code { padding: .15em .35em; border-radius: 4px; background: var(--surface); font-size: .88em; }
.gh-content table { width: 100%; border-collapse: collapse; font-size: 1.5rem; }
.gh-content th, .gh-content td { padding: 12px; border-bottom: 1px solid var(--border); text-align: left; }
.gh-content img { border-radius: 8px; }
.gh-content > .kg-card { width: 100%; max-width: 100%; }
.gh-content > .kg-width-wide {
    width: min(1040px, calc(100vw - 48px));
    max-width: none;
    margin-inline: 0;
    margin-left: 50%;
    transform: translateX(-50%);
}
.gh-content > .kg-width-full {
    width: 100vw;
    max-width: none;
    margin-inline: 0;
    margin-left: calc(50% - 50vw);
    transform: none;
}
.gh-content .kg-image-card,
.gh-content .kg-gallery-card { text-align: center; }
.gh-content .kg-image-card img { width: 100%; margin-inline: auto; }
.gh-content .kg-gallery-container { width: 100%; }
.gh-content .kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; }
.gh-content .kg-image-card img,
.gh-content .kg-gallery-card img { cursor: zoom-in; }
.kg-card figcaption { color: var(--muted); font-size: 1.3rem; text-align: center; }
.gh-content .kg-bookmark-card,
.gh-content .kg-bookmark-card a.kg-bookmark-container { width: 100%; max-width: none; }
.kg-bookmark-card a.kg-bookmark-container { border-color: var(--border); border-radius: var(--radius); background: var(--bg); }
.gh-content .kg-embed-card { width: 100%; max-width: 100%; margin-inline: auto; text-align: center; }
.gh-content .kg-embed-card iframe[src*="youtube.com"],
.gh-content .kg-embed-card iframe[src*="youtube-nocookie.com"],
.gh-content .kg-embed-card iframe[src*="player.vimeo.com"] {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin-inline: auto;
    border: 0;
}
.kg-callout-card { border-radius: var(--radius); }
.kg-toggle-card { border: 1px solid var(--border); border-radius: var(--radius); box-shadow: none; }
.kg-file-card-container { border-color: var(--border); border-radius: var(--radius); background: var(--bg); }

.content-cta { position: relative; overflow: hidden; margin: 5rem 0 1rem; padding: clamp(30px, 6vw, 54px); border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--border)); border-radius: calc(var(--radius) * 1.5); background: radial-gradient(circle at 100% 0, color-mix(in srgb, var(--accent) 14%, transparent), transparent 42%), var(--surface); text-align: center; }
.content-cta::before { content: ""; position: absolute; width: 150px; height: 150px; right: -82px; bottom: -92px; border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border)); border-radius: 50%; }
.content-cta-icon { position: relative; width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 20px; border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border)); border-radius: 50%; background: var(--bg); color: var(--accent); box-shadow: 0 12px 30px color-mix(in srgb, var(--accent) 10%, transparent); }
.content-cta-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.content-cta .eyebrow { position: relative; margin-bottom: 1rem; }
.content-cta h2 { position: relative; max-width: 580px; margin: 0 auto 1.4rem; font-size: clamp(2.8rem, 5vw, 4rem); }
.content-cta > p:not(.eyebrow) { position: relative; max-width: 570px; margin: 0 auto; color: var(--muted); font-size: 1.65rem; }
.content-cta-actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.gh-content .content-cta a { color: inherit; text-decoration: none; }
.gh-content .content-cta .button { color: #fff; }
.gh-content .content-cta .button-secondary { color: var(--text); }

.article-footer { padding-block: 20px 64px; }
.article-footer-inner { max-width: var(--content); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.tag-list a { padding: 7px 12px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: 1.3rem; }
.author-list { display: grid; gap: 16px; }
.author-card { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--surface); }
.author-card img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.author-card span { display: grid; }
.author-card small { margin-top: 3px; color: var(--muted); }
.comments-section { padding-block: 60px; border-top: 1px solid var(--border); }
.related-posts { border-top: 1px solid var(--border); background: var(--surface); }
.post-navigation { padding-bottom: 64px; }
.post-navigation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.post-navigation-grid:not(:has(.post-nav-card)) { display: none; }
.post-nav-card { min-width: 0; display: flex; min-height: 124px; align-items: center; gap: 18px; overflow: hidden; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.post-nav-card:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); box-shadow: var(--shadow); transform: translateY(-2px); }
.post-nav-card img { width: 116px; height: 90px; flex: 0 0 auto; border-radius: 9px; object-fit: cover; }
.post-nav-content { min-width: 0; display: grid; gap: 9px; }
.post-nav-content small { display: flex; align-items: center; gap: 7px; color: var(--accent); font-size: 1.2rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.post-nav-content small svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.post-nav-content strong { display: -webkit-box; overflow: hidden; font-family: var(--gh-font-heading, var(--sans)); font-size: 1.75rem; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.post-nav-next { grid-column: 2; justify-content: flex-end; text-align: right; }
.post-nav-next .post-nav-content small { justify-content: flex-end; }

.archive-header { padding-block: 72px; border-bottom: 1px solid var(--border); background: var(--surface); }
.archive-header-inner { display: grid; grid-template-columns: 1fr minmax(280px, 440px); align-items: center; gap: 60px; }
.archive-header h1 { font-size: clamp(4rem, 6vw, 6.4rem); }
.archive-header p:not(.eyebrow) { max-width: 700px; color: var(--muted); font-size: 1.9rem; }
.archive-header img { width: 100%; aspect-ratio: 3 / 2; border-radius: var(--radius); object-fit: cover; }
.archive-count { color: var(--muted); font-size: 1.3rem; }
.author-hero { position: relative; overflow: hidden; padding-block: 82px; border-bottom: 1px solid var(--border); background: var(--surface); }
.author-hero::before, .author-hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.author-hero::before { width: 360px; height: 360px; top: -220px; left: max(-180px, calc(50% - 760px)); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.author-hero::after { width: 260px; height: 260px; right: max(-130px, calc(50% - 700px)); bottom: -180px; border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--border)); }
.author-profile { position: relative; z-index: 1; display: flex; max-width: 760px; align-items: center; flex-direction: column; text-align: center; }
.author-avatar-wrap { margin-bottom: 24px; padding: 7px; border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--border)); border-radius: 50%; background: var(--bg); box-shadow: var(--shadow); }
.author-profile .author-avatar { width: 168px; height: 168px; display: grid; place-items: center; border-radius: 50%; object-fit: cover; aspect-ratio: 1 / 1; }
.author-avatar-placeholder { background: color-mix(in srgb, var(--accent) 12%, var(--surface)); color: var(--accent); }
.author-avatar-placeholder svg { width: 64px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.author-profile .eyebrow { margin-bottom: 1rem; }
.author-profile h1 { margin-bottom: 1.8rem; font-size: clamp(4.4rem, 7vw, 7rem); }
.author-bio { max-width: 660px; margin: 0 auto; color: var(--muted); font-size: clamp(1.7rem, 2.2vw, 2rem); line-height: 1.7; }
.author-location { display: inline-flex; align-items: center; gap: 7px; margin: 22px 0 0; color: var(--muted); font-size: 1.35rem; }
.author-location svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.author-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.author-links:empty { display: none; }
.author-links a { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid var(--border); border-radius: 50%; background: var(--bg); color: var(--text); transition: border-color .2s ease, color .2s ease, transform .2s ease, background .2s ease; }
.author-links a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.author-social-link svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.author-social-link[aria-label="Facebook"] svg,
.author-social-link[aria-label="Bluesky"] svg { fill: currentColor; stroke: none; }
.author-posts { padding-top: 64px; }
.author-posts-heading { align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.author-posts-heading .eyebrow { margin-bottom: .8rem; }
.author-posts-heading h2 { font-size: clamp(2.8rem, 4vw, 4rem); }
.recommendations-wrap .recommendations { display: grid; gap: 12px; padding: 0; list-style: none; }
.recommendations-wrap .recommendation a { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); }
.recommendations-wrap .recommendation-favicon { grid-row: span 2; width: 48px; height: 48px; border-radius: 8px; }
.error-page { position: relative; overflow: hidden; padding-block: 96px; border-bottom: 1px solid var(--border); background: radial-gradient(circle at 50% 20%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 34%), var(--surface); text-align: center; }
.error-hero { position: relative; z-index: 1; }
.error-code { margin: 0 0 14px; color: color-mix(in srgb, var(--accent) 24%, var(--muted)); font-size: clamp(7rem, 13vw, 13rem); font-weight: 800; letter-spacing: -.08em; line-height: .75; }
.error-page .eyebrow { margin-bottom: 1.2rem; }
.error-page h1 { margin-bottom: 1.8rem; font-size: clamp(3.8rem, 6vw, 6.4rem); }
.error-description { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: 1.8rem; }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.error-search-button { gap: 9px; cursor: pointer; }
.error-search-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.lightbox { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 32px; background: rgba(5, 7, 10, .92); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-figure { max-width: min(94vw, 1800px); max-height: 92vh; margin: 0; }
.lightbox-image { width: auto; max-width: 100%; max-height: 86vh; margin-inline: auto; border-radius: 6px; object-fit: contain; box-shadow: 0 22px 70px rgba(0, 0, 0, .45); }
.lightbox-caption { max-width: 900px; margin: 12px auto 0; color: #e4e7eb; font-size: 1.35rem; text-align: center; }
.lightbox-close { position: absolute; top: 18px; right: 20px; width: 46px; height: 46px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: rgba(0, 0, 0, .3); color: #fff; font-size: 2.8rem; line-height: 1; cursor: pointer; }
.lightbox-close:hover { background: rgba(255, 255, 255, .14); }
body.lightbox-open { overflow: hidden; }

.site-footer { padding-block: 64px 28px; border-top: 1px solid var(--border); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; }
.footer-brand { font-size: 2rem; font-weight: 700; }
.footer-grid p { margin: 8px 0 0; color: var(--muted); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 1.25rem; }
.footer-bottom a { text-decoration: underline; }

@media (max-width: 980px) {
    .post-feed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .intro-grid { gap: 48px; }
}

@media (max-width: 820px) {
    :root { --outer: 22px; }
    .header-inner { grid-template-columns: auto 1fr auto; min-height: 70px; gap: 18px; }
    .menu-toggle { display: block; justify-self: end; }
    .site-navigation { display: none; position: absolute; top: 70px; right: 0; left: 0; padding: 22px; border-bottom: 1px solid var(--border); background: var(--bg); }
    .site-navigation.is-open { display: block; }
    .site-navigation ul { align-items: stretch; flex-direction: column; gap: 6px; }
    .site-navigation a { display: block; padding: 8px; font-size: 1.6rem; }
    .header-actions .text-link, .header-actions .button { display: none; }
    .intro-grid { grid-template-columns: 1fr; }
    .intro-visual { max-width: 680px; transform: none; }
    .intro-image { max-height: 500px; }
    .archive-header-inner { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 640px) {
    html { font-size: 59%; }
    .site-intro, .archive-header { padding-block: 48px; }
    .intro-description { margin-bottom: 2.4rem; }
    .intro-visual { padding: 7px; }
    .intro-visual::before { inset: 10% -10px -12px 14%; }
    .section-block { padding-block: 42px; }
    .post-feed-grid { grid-template-columns: 1fr; }
    .post-feed-list .post-card { grid-template-columns: 1fr; }
    .post-feed-list .post-card-image-link img { aspect-ratio: 16 / 10; }
    .post-navigation-grid { grid-template-columns: 1fr; }
    .post-nav-next { grid-column: 1; }
    .article-header { padding-top: 48px; }
    .article-image { margin-top: 34px; }
    .article-image img { border-radius: var(--radius); }
    .article-content { margin-block: 46px; }
    .gh-content > .kg-width-wide { width: calc(100vw - 24px); }
    .gh-content > .kg-width-full { width: 100vw; }
    .lightbox { padding: 16px; }
    .lightbox-close { top: 10px; right: 10px; }
    .pagination { grid-template-columns: 1fr 1fr; }
    .pagination > span { display: none; }
    .author-hero { padding-block: 58px; }
    .author-profile .author-avatar { width: 126px; height: 126px; }
    .author-posts-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-navigation ul { align-items: flex-start; flex-direction: column; gap: 10px; }
    .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
