:root {
    color-scheme: light;
    --bg: #f4f5f2;
    --surface: #ffffff;
    --surface-alt: #e9ece8;
    --ink: #111514;
    --muted: #69726d;
    --line: #d6dbd6;
    --accent: #d2ff45;
    --accent-ink: #162000;
    --dark: #17201d;
    --code: #151a18;
    --radius: 4px;
    --shell: min(1180px, calc(100% - 48px));
    --reading: 72ch;
    --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    --gh-font-heading: var(--sans);
    --gh-font-body: var(--sans);
}

html[data-theme="dark"] { color-scheme: dark; --bg: #101513; --surface: #17201d; --surface-alt: #202b27; --ink: #f1f5ef; --muted: #a5b1aa; --line: #34423c; --dark: #eaf1eb; --accent-ink: #172000; --code: #0a0e0c; }
@media (prefers-color-scheme: dark) { html[data-theme="system"] { color-scheme: dark; --bg: #101513; --surface: #17201d; --surface-alt: #202b27; --ink: #f1f5ef; --muted: #a5b1aa; --line: #34423c; --dark: #eaf1eb; --accent-ink: #172000; --code: #0a0e0c; } }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--gh-font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 10px 14px; background: var(--accent); color: var(--accent-ink); transform: translateY(-150%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.site-header { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font: 800 .95rem/1 var(--mono); letter-spacing: -.04em; }
.wordmark-mark { display: grid; width: 28px; height: 28px; place-items: center; background: var(--ink); color: var(--bg); font-size: .78rem; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: 26px; margin-left: auto; }
.site-nav a, .footer-links a { color: var(--muted); font-size: .88rem; transition: color .2s ease; }
.site-nav a:hover, .footer-links a:hover { color: var(--ink); }
.header-tools, .hero-actions { display: flex; align-items: center; gap: 14px; }
.search-trigger, .icon-button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 0; border: 0; background: transparent; cursor: pointer; font-size: .78rem; font-weight: 700; }
.search-glyph { font-size: 1.35rem; line-height: .5; }
.icon-button { width: 32px; justify-content: center; color: var(--muted); }
.icon-moon { display: none; } html[data-theme="dark"] .icon-sun { display: none; } html[data-theme="dark"] .icon-moon { display: inline; }
.menu-toggle { display: none; }
.eyebrow { margin: 0 0 14px; color: var(--muted); font: 700 .69rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--gh-font-heading); letter-spacing: -.055em; line-height: 1.02; }
h1 em, h2 em { color: var(--muted); font-style: normal; }
.signal-hero { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; min-height: 550px; padding-block: 80px; border-bottom: 1px solid var(--line); }
.signal-hero:before { position: absolute; top: 0; right: 0; bottom: 0; width: 42%; border-left: 1px solid var(--line); background: linear-gradient(135deg, transparent 0 48%, color-mix(in srgb, var(--accent) 9%, transparent) 48% 49%, transparent 49%); content: ""; pointer-events: none; }
.hero-copy { position: relative; z-index: 1; }
.hero-copy h1 { max-width: 700px; margin-bottom: 26px; font-size: clamp(3.5rem, 8vw, 7.2rem); text-wrap: balance; }
.hero-dek { max-width: 520px; margin-bottom: 32px; color: var(--muted); font-size: 1.1rem; }
.text-link { display: inline-flex; align-items: center; gap: 9px; font: 700 .78rem/1 var(--mono); }
.text-link:hover, .story-arrow:hover, .row-arrow:hover { color: var(--muted); }
.hero-mark { position: relative; display: grid; width: min(25vw, 285px); aspect-ratio: 1; place-items: center; justify-self: end; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); font: 800 clamp(3rem, 9vw, 8rem)/1 var(--mono); transform: rotate(-12deg); }
.hero-mark:before, .hero-mark:after { position: absolute; border: 1px solid var(--line); border-radius: 50%; content: ""; }
.hero-mark:before { inset: 13%; } .hero-mark:after { inset: 26%; }
.hero-mark i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); } .hero-mark i:nth-of-type(1) { top: 11%; right: 23%; } .hero-mark i:nth-of-type(2) { bottom: 19%; left: 18%; } .hero-mark i:nth-of-type(3) { right: 8%; bottom: 31%; background: var(--ink); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 58px; color: var(--muted); font: .68rem var(--mono); text-transform: uppercase; }
.hero-stats span { display: inline-flex; align-items: center; gap: 7px; }
.hero-stats strong { color: var(--ink); font-size: 1rem; }
.featured, .latest, .topic-band { padding-block: 100px; }
.section-heading { margin-bottom: 30px; } .section-heading h2 { margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.6rem); text-wrap: balance; } .section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; } .section-note { color: var(--muted); font: .68rem var(--mono); text-transform: uppercase; }
.featured-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 24px; }
.lead-story { grid-row: span 2; display: grid; grid-template-rows: auto 1fr; background: var(--surface); }
.story-card { display: grid; grid-template-columns: 38% 1fr; gap: 18px; padding: 0 0 20px; border-bottom: 1px solid var(--line); }
.story-image, .row-image { overflow: hidden; background: var(--surface-alt); } .story-image img, .row-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; } .story-image:hover img, .row-image:hover img { transform: scale(1.03); }
.lead-story .story-image { aspect-ratio: 1.65; } .story-card .story-image { aspect-ratio: 1; }
.image-placeholder { display: grid; width: 100%; height: 100%; min-height: 100px; place-items: center; color: var(--muted); background: repeating-linear-gradient(135deg, var(--surface-alt), var(--surface-alt) 1px, var(--bg) 1px, var(--bg) 8px); font: 700 .8rem var(--mono); }
.story-content { position: relative; padding: 22px 24px 24px; } .story-content h3 { max-width: 700px; margin-bottom: 12px; font-size: clamp(1.4rem, 3vw, 3rem); text-wrap: balance; } .story-content p, .row-body p { color: var(--muted); }
.story-card .story-content { padding: 4px 10px 4px 0; } .story-card .story-content h3 { font-size: 1.35rem; }
.story-kicker { display: block; margin-bottom: 13px; color: var(--muted); font: 700 .63rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 13px; color: var(--muted); font: 700 .67rem/1.2 var(--mono); letter-spacing: .04em; text-transform: uppercase; } .article-meta > span:first-child { color: var(--ink); }
.story-arrow, .row-arrow { font: 1.35rem/1 var(--mono); } .lead-story .story-arrow { position: absolute; right: 24px; bottom: 24px; }
.post-list { border-top: 1px solid var(--line); } .article-row { display: grid; grid-template-columns: 190px 1fr 30px; gap: 26px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); } .row-image { aspect-ratio: 1.5; } .row-body { position: relative; padding-left: 34px; } .row-index { position: absolute; top: 0; left: 0; color: var(--muted); font: .68rem var(--mono); } .row-body h2 { margin: 0 0 8px; font-size: clamp(1.35rem, 3vw, 2.2rem); text-wrap: balance; } .row-body p { max-width: 650px; margin: 0; } .row-arrow { justify-self: end; }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 32px; color: var(--muted); font: 700 .72rem var(--mono); } .pagination a { color: var(--ink); }
.topic-band { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; border-top: 1px solid var(--line); } .topic-band h2 { font-size: clamp(2.5rem, 5vw, 4.6rem); }
.topic-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); } .topic-list a { display: flex; justify-content: space-between; padding: 18px 4px; border-bottom: 1px solid var(--line); font-size: 1.1rem; } .topic-list a:hover { color: var(--muted); }
.lab-promo { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: 60px; background: var(--accent); color: var(--accent-ink); } .lab-promo .eyebrow { color: #526016; } .lab-promo h2 { margin-bottom: 18px; font-size: clamp(2.4rem, 5vw, 5rem); } .lab-promo p:not(.eyebrow) { max-width: 450px; }
.button { display: inline-flex; align-items: center; gap: 13px; width: fit-content; padding: 14px 18px; border: 1px solid transparent; cursor: pointer; font: 700 .76rem var(--mono); } .button-dark { background: var(--dark); color: var(--bg); } .button-light { background: var(--accent); color: var(--accent-ink); } .button:hover { opacity: .82; }
.newsletter-cta { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-top: 100px; padding: 70px 0; border-top: 1px solid var(--line); } .newsletter-cta h2 { margin-bottom: 18px; font-size: clamp(2.6rem, 5vw, 5rem); } .newsletter-cta p:not(.eyebrow) { max-width: 480px; color: var(--muted); }
.site-footer { margin-top: 100px; padding: 60px 0 24px; background: var(--dark); color: var(--bg); } .site-footer .wordmark-mark { background: var(--bg); color: var(--dark); } .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; } .footer-note { margin-top: 24px; color: var(--muted); } .footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; } .footer-links .eyebrow { color: var(--muted); } .footer-links a { color: var(--bg); } .footer-bottom { display: flex; justify-content: space-between; margin-top: 70px; padding-top: 18px; border-top: 1px solid #47524d; color: var(--muted); font: .68rem var(--mono); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; color: var(--muted); font: .7rem var(--mono); } .breadcrumbs a { color: var(--ink); }
.post-shell, .page-shell { padding-top: 72px; } .post-header, .page-header { max-width: 1080px; } .post-header-grid { display: grid; grid-template-columns: minmax(0, 850px) 1fr; gap: 48px; align-items: end; } .post-header h1, .page-header h1 { margin-bottom: 24px; font-size: clamp(3rem, 7vw, 6.8rem); text-wrap: balance; } .post-dek { max-width: 760px; margin-bottom: 32px; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.4rem); }
.post-header-grid .article-meta { margin-bottom: 20px; } .post-header-index { display: grid; align-self: stretch; min-height: 150px; align-content: space-between; justify-items: end; padding: 10px 0 24px; color: var(--muted); font: .68rem var(--mono); } .post-header-index i { display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 20%, transparent); }
.author-card { display: flex; align-items: center; gap: 12px; max-width: var(--reading); padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); } .post-header > .author-card { border-bottom: 0; } .author-avatar { display: grid; flex: 0 0 36px; width: 36px; height: 36px; place-items: center; overflow: hidden; border-radius: 50%; background: var(--surface-alt); color: var(--muted); font: .75rem var(--mono); } .author-avatar img { width: 100%; height: 100%; object-fit: cover; } .author-copy { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; font-size: .85rem; } .author-label { color: var(--muted); font: .68rem var(--mono); text-transform: uppercase; } .author-copy p { flex-basis: 100%; margin: 4px 0 0; color: var(--muted); }
.post-feature { margin: 54px 0 66px; } .post-feature img { width: 100%; max-height: 680px; object-fit: cover; } figcaption { margin-top: 10px; color: var(--muted); font-size: .75rem; text-align: center; }
.post-layout { display: grid; grid-template-columns: minmax(0, var(--reading)) 150px; gap: 60px; max-width: 1030px; margin-inline: auto; } .post-content { max-width: var(--reading); font-size: 1.06rem; } .post-content > * { margin-block: 1.5em; } .post-content > p:first-child { font-size: 1.16rem; } .post-content h2 { margin-top: 2.6em; font-size: 2rem; } .post-content h3 { font-size: 1.45rem; } .post-content a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 3px; } .post-content blockquote { margin-inline: 0; padding: 10px 0 10px 24px; border-left: 4px solid var(--accent); font-size: 1.35rem; font-style: italic; } .post-content code { padding: .15em .35em; background: var(--surface-alt); font: .84em var(--mono); } .post-content pre { position: relative; overflow: auto; padding: 22px; background: var(--code); color: #dce7df; border-radius: var(--radius); } .post-content pre code { padding: 0; background: transparent; color: inherit; } .copy-code { position: absolute; top: 10px; right: 10px; padding: 5px 8px; border: 1px solid #59675e; background: transparent; color: #dce7df; cursor: pointer; font: .65rem var(--mono); } .post-content table { width: 100%; border-collapse: collapse; font-size: .9rem; } .post-content th, .post-content td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; } .post-content th { font: .7rem var(--mono); text-transform: uppercase; } .post-content hr { border: 0; border-top: 1px solid var(--line); }
.post-aside { display: flex; flex-direction: column; gap: 18px; padding-top: 20px; color: var(--muted); font: .68rem var(--mono); } .post-aside a { position: sticky; top: 30px; } .aside-label { color: var(--ink); text-transform: uppercase; letter-spacing: .08em; } .post-footer { max-width: var(--reading); margin: 70px auto 0; } .post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 38px; } .post-tags a { padding: 7px 10px; border: 1px solid var(--line); color: var(--muted); font: .68rem var(--mono); }
.related-posts { margin-top: 80px; } .related-grid { display: grid; gap: 0; }
.archive-header { padding: 90px 0 60px; border-bottom: 1px solid var(--line); } .archive-header h1 { margin-bottom: 18px; font-size: clamp(3rem, 7vw, 6rem); } .archive-header > p:not(.eyebrow) { max-width: 650px; color: var(--muted); font-size: 1.15rem; } .archive-author { display: flex; align-items: center; gap: 22px; } .archive-author img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; } .archive-author p { margin: 0; color: var(--muted); } .archive-list { padding-top: 60px; }
.error-page { min-height: 600px; padding-top: 140px; } .error-page h1 { margin-bottom: 24px; font-size: clamp(3.5rem, 8vw, 7rem); } .error-page p:not(.eyebrow) { max-width: 420px; margin-bottom: 30px; color: var(--muted); }
.gh-content .kg-width-wide { width: 85%; max-width: 1100px; margin-left: 7.5%; } .gh-content .kg-width-full { width: 100%; max-width: none; margin-left: 0; } .gh-content .kg-image-card img, .gh-content .kg-gallery-card img, .gh-content video, .gh-content iframe { max-width: 100%; } .gh-content .kg-callout-card, .gh-content .kg-toggle-card, .gh-content .kg-signup-card { padding: 22px; border: 1px solid var(--line); background: var(--surface-alt); } .gh-content .kg-bookmark-card { overflow: hidden; border: 1px solid var(--line); } .gh-content .kg-bookmark-container { display: flex; flex-wrap: wrap; } .gh-content .kg-bookmark-content { flex: 1 1 220px; padding: 18px; } .gh-content .kg-bookmark-thumbnail { flex: 0 1 220px; } .gh-content .kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) { :root { --shell: min(100% - 32px, 680px); } .site-header { min-height: 70px; } .site-nav { position: absolute; z-index: 5; top: 70px; right: 16px; left: 16px; display: none; flex-direction: column; align-items: stretch; padding: 12px 18px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 12px 30px #0002; } .site-nav.is-open { display: flex; } .site-nav a { padding: 10px 0; } .header-tools .search-trigger span:last-child { display: none; } .menu-toggle { display: inline-flex; } .signal-hero { grid-template-columns: 1fr; min-height: 0; padding-block: 70px; } .signal-hero:before { display: none; } .hero-mark { width: 180px; margin: 55px auto 0; justify-self: center; } .hero-stats { margin-top: 42px; } .featured-grid { grid-template-columns: 1fr; } .lead-story { grid-row: auto; } .topic-band { grid-template-columns: 1fr; gap: 35px; } .lab-promo, .newsletter-cta { align-items: flex-start; flex-direction: column; } .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } .post-header-grid { display: block; } .post-header-index { display: none; } .post-layout { display: block; } .post-aside { display: none; } .gh-content .kg-width-wide, .gh-content .kg-width-full { width: 100%; margin-left: 0; transform: none; } }
@media (max-width: 520px) { .article-row { grid-template-columns: 88px 1fr 20px; gap: 14px; } .row-body h2 { font-size: 1.1rem; } .row-body p { display: none; } .row-image { aspect-ratio: 1; } .section-heading-row { align-items: flex-start; flex-direction: column; } .topic-list { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr; } .footer-grid > div:first-child { grid-column: auto; } .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
