:root {
    --paper: #f4f0e8;
    --paper-deep: #e8e0d3;
    --ink: #111b2b;
    --ink-soft: #48515d;
    --navy: #11085b;
    --blue: #29499b;
    --blue-light: #e8eaf5;
    --rust: #e57428;
    --rule: rgba(17, 27, 43, 0.18);
    --white: #fffdf8;
    --serif: Georgia, "Times New Roman", serif;
    --sans: Inter, "Segoe UI", Arial, sans-serif;
    --max: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 10px;
    left: 10px;
    padding: 10px 14px;
    color: white;
    background: var(--blue);
    transform: translateY(-150%);
}

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

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    padding: 0 max(32px, calc((100vw - var(--max)) / 2));
    border-bottom: 1px solid var(--rule);
    background: rgba(244, 240, 232, 0.94);
    backdrop-filter: blur(14px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand-mark {
    font-family: var(--serif);
    font-size: 30px;
    line-height: 1;
    letter-spacing: -0.055em;
}

.brand-name {
    max-width: 112px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 13px;
    font-weight: 650;
}

.site-nav a {
    text-decoration: none;
}

.site-nav a:not(.nav-cta):hover {
    color: var(--rust);
}

.nav-cta {
    padding: 10px 17px;
    border: 1px solid var(--ink);
    border-radius: 999px;
}

.nav-cta:hover {
    color: var(--white);
    background: var(--ink);
}

.menu-toggle {
    display: none;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
    min-height: 690px;
    max-width: var(--max);
    margin: 0 auto;
    border-right: 1px solid var(--rule);
    border-left: 1px solid var(--rule);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 8vw 100px 56px;
}

.eyebrow {
    margin: 0 0 22px;
    color: var(--rust);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2 {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -0.045em;
}

h1 {
    max-width: 780px;
    margin-bottom: 32px;
    font-size: clamp(54px, 6vw, 90px);
    line-height: 0.98;
}

h2 {
    margin-bottom: 24px;
    font-size: clamp(38px, 4.2vw, 62px);
    line-height: 1.04;
}

h3 {
    line-height: 1.18;
}

.hero-lede,
.hero-intro {
    max-width: 690px;
    margin-bottom: 38px;
    color: var(--ink-soft);
    font-family: var(--serif);
    font-size: 21px;
    line-height: 1.5;
}

.button-row,
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 49px;
    padding: 0 22px;
    border: 1px solid var(--ink);
    text-decoration: none;
    font-size: 13px;
    font-weight: 750;
}

.button-primary {
    color: var(--white);
    border-color: var(--rust);
    background: var(--rust);
}

.button-primary:hover {
    border-color: #bd5118;
    background: #bd5118;
}

.button-secondary:hover {
    color: var(--white);
    background: var(--ink);
}

.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
    overflow: hidden;
    margin: 96px 0;
    padding: 58px 48px 46px;
    color: var(--white);
    background: var(--navy);
}

.visual-grid {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image:
        linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.15));
}

.visual-label {
    position: absolute;
    top: 32px;
    left: 48px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.frame-content {
    position: relative;
    z-index: 1;
}

.frame-kicker {
    margin: 20px 0 12px;
    color: var(--white);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.hero-visual h2 {
    max-width: 430px;
    margin: 0 0 34px;
    color: var(--white);
    font-family: var(--serif);
    font-size: clamp(28px, 2.5vw, 36px);
    line-height: 1.08;
}

.frame-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(255,255,255,.26);
}

.frame-steps li {
    display: grid;
    grid-template-columns: 34px 92px 1fr;
    gap: 10px;
    align-items: baseline;
    padding: 17px 0;
    border-bottom: 1px solid rgba(255,255,255,.18);
}

.frame-steps span {
    color: var(--rust);
    font-size: 11px;
    font-weight: 800;
}

.frame-steps strong {
    color: var(--white);
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.frame-steps small {
    color: rgba(255,255,255,.84);
    font-size: 13px;
    line-height: 1.4;
}

.scope-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: var(--max);
    margin: 0 auto;
    border: 1px solid var(--rule);
    border-top: 0;
}

.scope-strip span {
    padding: 22px 24px;
    border-right: 1px solid var(--rule);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.scope-strip span:last-child {
    border-right: 0;
}

.section {
    max-width: var(--max);
    margin: 0 auto;
    padding: 120px 56px;
    border-right: 1px solid var(--rule);
    border-left: 1px solid var(--rule);
}

.section-heading {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 52px;
}

.section-heading h2 {
    margin-bottom: 0;
}

.section-heading > p {
    max-width: 510px;
    margin-bottom: 6px;
    color: var(--ink-soft);
    font-family: var(--serif);
    font-size: 19px;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.research-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--rule);
    background: rgba(255,255,255,.25);
}

.card-art {
    position: relative;
    height: 230px;
    overflow: hidden;
    border-bottom: 1px solid var(--rule);
    background: var(--paper-deep);
}

.research-card-featured .card-art {
    height: 290px;
}

.art-ai {
    background-color: #dbe4f4;
    background-image: radial-gradient(circle at 50% 50%, rgba(23,72,179,.11) 0 3px, transparent 4px), linear-gradient(rgba(17,27,43,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(17,27,43,.09) 1px, transparent 1px);
    background-size: auto, 38px 38px, 38px 38px;
}

.art-ai .orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(23,72,179,.55);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-18deg);
}

.orbit-one { width: 64%; height: 46%; }
.orbit-two { width: 42%; height: 72%; transform: translate(-50%, -50%) rotate(42deg) !important; }
.art-ai .core { position: absolute; top: calc(50% - 8px); left: calc(50% - 8px); width: 16px; height: 16px; border-radius: 50%; background: var(--rust); box-shadow: 0 0 0 10px rgba(163,60,34,.14); }

.art-governance {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    padding: 42px;
    background: #d9d4ca;
}

.art-governance span {
    width: 14%;
    background: var(--ink);
}

.art-governance span:nth-child(1) { height: 28%; opacity: .42; }
.art-governance span:nth-child(2) { height: 62%; opacity: .55; }
.art-governance span:nth-child(3) { height: 90%; }
.art-governance span:nth-child(4) { height: 53%; opacity: .65; }
.art-governance span:nth-child(5) { height: 36%; opacity: .48; }

.art-energy {
    background: linear-gradient(#c6d4dc 0 54%, #7d8d76 54% 56%, #b3a179 56%);
}

.art-energy .horizon { position: absolute; left: 0; right: 0; top: 46%; height: 1px; background: rgba(17,27,43,.35); }
.art-energy .stack { position: absolute; bottom: 26%; width: 20px; background: var(--navy); }
.art-energy .stack::after { position: absolute; content: ""; left: 8px; bottom: 100%; width: 2px; height: 54px; background: var(--navy); }
.stack-one { left: 24%; height: 50px; }
.stack-two { left: 48%; height: 70px; }
.stack-three { left: 70%; height: 38px; }

.card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 28px;
}

.card-meta {
    margin-bottom: 18px;
    color: var(--ink-soft);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.card-meta span {
    color: var(--rust);
    margin-right: 10px;
}

.research-card h3 {
    margin-bottom: 15px;
    font-family: var(--serif);
    font-size: 27px;
    font-weight: 500;
    letter-spacing: -.025em;
}

.research-card-featured h3 {
    font-size: 36px;
}

.research-card .card-body > p:not(.card-meta) {
    color: var(--ink-soft);
    font-family: var(--serif);
    font-size: 16px;
}

.text-link,
.section-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.card-body .text-link {
    margin-top: auto;
    padding-top: 15px;
}

.text-link:hover,
.section-link:hover {
    color: var(--rust);
}

.section-link {
    margin-top: 34px;
}

.areas-section {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 100px;
    border-top: 1px solid var(--rule);
    background: var(--white);
}

.areas-intro {
    position: sticky;
    top: 120px;
    align-self: start;
}

.areas-intro p:last-child {
    max-width: 480px;
    color: var(--ink-soft);
    font-family: var(--serif);
    font-size: 18px;
}

.area-list article {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 20px;
    padding: 30px 0;
    border-top: 1px solid var(--rule);
}

.area-list article:last-child {
    border-bottom: 1px solid var(--rule);
}

.area-number {
    color: var(--rust);
    font-family: var(--serif);
    font-size: 18px;
}

.area-list h3 {
    margin-bottom: 8px;
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500;
}

.area-list p {
    margin-bottom: 0;
    color: var(--ink-soft);
    font-family: var(--serif);
    font-size: 16px;
    line-height: 1.5;
}

.advisory-section {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 100px;
    color: var(--white);
    border-color: rgba(255,255,255,.13);
    background: var(--navy);
}

.eyebrow-light {
    color: var(--white);
}

.advisory-copy p:not(.eyebrow) {
    max-width: 520px;
    margin-bottom: 34px;
    color: var(--white);
    font-family: var(--serif);
    font-size: 18px;
}

.button-light {
    color: var(--navy);
    border-color: var(--white);
    background: var(--white);
}

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

.service-list article {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 18px;
    padding: 26px 0;
    border-top: 1px solid rgba(255,255,255,.2);
}

.service-list article:last-child {
    border-bottom: 1px solid rgba(255,255,255,.2);
}

.service-list > article > span {
    color: var(--white);
    font-family: var(--serif);
}

.service-list h3 {
    margin-bottom: 7px;
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 500;
}

.service-list p {
    margin-bottom: 0;
    color: rgba(255,255,255,.82);
    font-family: var(--serif);
    font-size: 15px;
    line-height: 1.48;
}

.book-section {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 110px;
    align-items: center;
    border-top: 1px solid var(--rule);
}

.book-object {
    position: relative;
    display: flex;
    min-height: 460px;
    transform: perspective(1200px) rotateY(-8deg) rotateX(2deg);
    filter: drop-shadow(24px 26px 20px rgba(17,27,43,.2));
}

.book-spine {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    padding: 14px;
    color: var(--paper);
    background: #7e2e1b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-orientation: mixed;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

.book-cover {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: flex-end;
    padding: 42px 34px;
    color: var(--white);
    background: var(--rust);
    font-family: var(--serif);
    font-size: clamp(26px, 3vw, 44px);
    line-height: .98;
}

.book-cover .book-subtitle {
    max-width: 290px;
    margin-top: 24px;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.45;
}

.book-copy p:not(.eyebrow) {
    max-width: 620px;
    color: var(--ink-soft);
    font-family: var(--serif);
    font-size: 19px;
}

.book-download-link {
    color: var(--blue);
    font-weight: 700;
    text-underline-offset: 3px;
}

.book-download-link:hover {
    color: var(--rust);
}

.newsletter-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    max-width: var(--max);
    margin: 0 auto;
    padding: 80px 56px;
    color: var(--white);
    background: var(--navy);
}

.newsletter-section h2 {
    max-width: 620px;
    margin-bottom: 0;
    font-size: clamp(38px, 4vw, 56px);
}

.newsletter-form-wrap > p {
    max-width: 500px;
    color: var(--white);
    font-family: var(--serif);
    font-size: 18px;
}

.newsletter-form {
    display: flex;
    margin-top: 30px;
}

.newsletter-form input {
    min-width: 0;
    flex: 1;
    height: 52px;
    padding: 0 17px;
    color: var(--white);
    border: 1px solid rgba(255,255,255,.7);
    border-right: 0;
    outline: 0;
    background: transparent;
    font: inherit;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,.75);
}

.newsletter-form input:focus {
    box-shadow: inset 0 0 0 2px var(--white);
}

.newsletter-form button {
    padding: 0 22px;
    color: var(--blue);
    border: 1px solid var(--white);
    background: var(--white);
    font: 800 13px var(--sans);
    cursor: pointer;
}

.newsletter-form-wrap small {
    display: block;
    margin-top: 12px;
    color: rgba(255,255,255,.82);
}

.about-section {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 100px;
}

.about-copy > p,
.about-section > div:last-child > p {
    max-width: 670px;
    color: var(--ink-soft);
    font-family: var(--serif);
    font-size: 20px;
}

.about-links {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 32px;
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    max-width: var(--max);
    margin: 0 auto;
    padding: 46px 56px 28px;
    color: var(--white);
    background: var(--navy);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-brand p {
    max-width: 270px;
    margin-bottom: 0;
    color: #aeb7c6;
    font-family: var(--serif);
}

.site-footer nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 12px;
}

.site-footer nav a {
    text-decoration: none;
}

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

.copyright {
    grid-column: 1 / -1;
    margin: 18px 0 0;
    padding-top: 20px;
    color: #7f8998;
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: 11px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

@media (max-width: 980px) {
    .site-header {
        min-height: 70px;
        padding: 0 24px;
    }

    .menu-toggle {
        display: block;
        padding: 8px 0;
        border: 0;
        background: transparent;
        font: 750 13px var(--sans);
        cursor: pointer;
    }

    .site-nav {
        position: absolute;
        top: 70px;
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 12px 24px 22px;
        border-bottom: 1px solid var(--rule);
        background: var(--paper);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 12px 0;
        border-bottom: 1px solid var(--rule);
    }

    .site-nav .nav-cta {
        margin-top: 10px;
        padding: 12px 16px;
        text-align: center;
        border: 1px solid var(--ink);
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        border: 0;
    }

    .hero-copy {
        padding: 82px 28px 70px;
    }

    .hero-visual {
        min-height: 520px;
        margin: 0;
        padding: 44px 28px;
    }

    .scope-strip {
        grid-template-columns: 1fr 1fr;
        border-right: 0;
        border-left: 0;
    }

    .scope-strip span:nth-child(2) {
        border-right: 0;
    }

    .scope-strip span:nth-child(-n+2) {
        border-bottom: 1px solid var(--rule);
    }

    .section {
        padding: 90px 28px;
        border-right: 0;
        border-left: 0;
    }

    .section-heading,
    .areas-section,
    .advisory-section,
    .book-section,
    .about-section,
    .newsletter-section {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

    .research-card-featured {
        grid-column: 1 / -1;
    }

    .areas-intro {
        position: static;
    }

    .newsletter-section {
        padding: 70px 28px;
    }

    .book-object {
        width: min(470px, 90%);
        justify-self: center;
    }
}

@media (max-width: 640px) {
    .brand-name {
        display: none;
    }

    h1 {
        font-size: 49px;
    }

    h2 {
        font-size: 39px;
    }

    .hero-lede {
        font-size: 18px;
    }

    .hero-visual {
        min-height: 440px;
    }

    .frame-steps li {
        grid-template-columns: 30px 78px 1fr;
        gap: 8px;
    }

    .scope-strip {
        grid-template-columns: 1fr;
    }

    .scope-strip span {
        border-right: 0;
        border-bottom: 1px solid var(--rule);
    }

    .scope-strip span:last-child {
        border-bottom: 0;
    }

    .section-heading {
        gap: 24px;
    }

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

    .research-card-featured {
        grid-column: auto;
    }

    .research-card-featured h3 {
        font-size: 30px;
    }

    .area-list article,
    .service-list article {
        grid-template-columns: 42px 1fr;
    }

    .book-object {
        min-height: 380px;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form input {
        border-right: 1px solid rgba(255,255,255,.7);
    }

    .newsletter-form button {
        height: 50px;
    }

    .site-footer {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 42px 28px 26px;
    }

    .site-footer nav {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }
}

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

/* Ghost theme integration */
.site-logo { display: block; width: auto; max-width: 220px; max-height: 46px; }

.header-actions,
.main-nav,
.main-nav .nav,
.main-nav ul { display: flex; align-items: center; }

.main-nav .nav,
.main-nav ul { gap: 28px; margin: 0; padding: 0; list-style: none; }

.main-nav a,
.search-button,
.header-cta { color: var(--ink); font: 650 13px var(--sans); text-decoration: none; }

.main-nav a:hover,
.search-button:hover { color: var(--rust); }

.search-button { padding: 0; border: 0; background: transparent; cursor: pointer; }

.header-cta { padding: 10px 17px; border: 1px solid var(--ink); border-radius: 999px; }
.header-cta:hover { color: var(--white); background: var(--ink); }

.scope-strip a {
    padding: 22px 24px;
    border-right: 1px solid var(--rule);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
}
.scope-strip a:last-child { border-right: 0; }
.scope-strip a:hover { color: var(--rust); }

.card-image {
    position: relative;
    display: block;
    height: 250px;
    overflow: hidden;
    border-bottom: 1px solid var(--rule);
    background: var(--paper-deep);
}
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.research-section .card-image img { object-fit: contain; }
.card-image:hover img { transform: scale(1.025); }
.image-placeholder {
    position: absolute;
    inset: 0;
    background-color: var(--blue-light);
    background-image: linear-gradient(rgba(17,27,43,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(17,27,43,.08) 1px, transparent 1px);
    background-size: 38px 38px;
}
.research-card h3 a { text-decoration: none; }
.research-card h3 a:hover { color: var(--blue); }
.empty-card { grid-column: 1 / -1; }
.empty-card code { color: var(--rust); font-family: var(--sans); }

.area-row {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 20px;
    padding: 30px 0;
    border-top: 1px solid var(--rule);
    text-decoration: none;
}
.area-row:last-child { border-bottom: 1px solid var(--rule); }
.area-row > span { color: var(--rust); font-family: var(--sans); font-size: 12px; font-weight: 800; }
.service-list > article > span { font-family: var(--sans); font-size: 12px; font-weight: 800; }
.area-row:hover h3 { color: var(--blue); }
.newsletter-form-wrap .button { margin-bottom: 12px; }

.archive-shell,
.content-shell,
.error-shell {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    border-right: 1px solid var(--rule);
    border-left: 1px solid var(--rule);
}
.archive-shell { padding: 100px 56px 120px; }
.archive-header { max-width: 850px; margin-bottom: 58px; }
.archive-header h1,
.article-header h1,
.error-shell h1 { max-width: 980px; font-size: clamp(48px, 6vw, 82px); }
.archive-header > p:last-child { max-width: 680px; color: var(--ink-soft); font-family: var(--serif); font-size: 21px; }
.author-header img { width: 96px; height: 96px; margin-bottom: 28px; border-radius: 50%; object-fit: cover; }
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 60px; font-size: 13px; font-weight: 700; }

.content-shell { padding: 90px 56px 120px; background: var(--white); }
.article-header { max-width: 980px; margin: 0 auto 54px; }
.article-deck { max-width: 820px; color: var(--ink-soft); font-family: var(--serif); font-size: clamp(20px, 2.3vw, 28px); line-height: 1.45; }
.article-meta { color: var(--ink-soft); font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.article-meta a { text-decoration: none; }
.article-feature { width: min(720px, 100%); margin: 0 auto 64px; }
.article-feature img { display: block; width: 100%; max-height: 720px; object-fit: cover; }
.article-feature figcaption { margin-top: 10px; color: var(--ink-soft); font-size: 12px; }

.gh-content { font-family: var(--serif); font-size: 20px; line-height: 1.72; }
.gh-content > * { width: min(720px, 100%); margin-right: auto; margin-left: auto; }
.gh-content > h2,
.gh-content > h3 { margin-top: 2.2em; margin-bottom: .65em; font-family: var(--sans); font-weight: 750; letter-spacing: -.025em; line-height: 1.15; }
.gh-content > h2 { font-size: 36px; }
.gh-content > h3 { font-size: 27px; }
.gh-content a { color: var(--blue); text-underline-offset: 3px; }
.gh-content img,
.gh-content video { max-width: 100%; height: auto; }
.gh-content blockquote { padding-left: 28px; color: var(--ink-soft); border-left: 4px solid var(--rust); font-size: 25px; font-style: italic; }
.gh-content pre { overflow-x: auto; padding: 24px; color: var(--white); background: var(--ink); font: 14px/1.55 Consolas, monospace; }
.gh-content .kg-width-wide { width: min(1040px, 100%); }
.gh-content .kg-width-full { width: calc(100% + 112px); max-width: none; margin-left: -56px; }
.gh-content .kg-card { margin-top: 2em; margin-bottom: 2em; }

.article-footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; max-width: 720px; margin: 70px auto 0; padding-top: 30px; border-top: 1px solid var(--rule); font-size: 13px; }
.related-section { margin-top: 110px; padding-top: 60px; border-top: 1px solid var(--rule); }
.page-article .article-header { text-align: center; }
.error-shell { min-height: 65vh; padding: 120px 56px; }

@media (max-width: 980px) {
    .header-actions { display: none; }
    .header-actions.is-open { display: flex; }
    .main-nav,
    .main-nav .nav,
    .main-nav ul { align-items: flex-start; flex-direction: column; }
    .scope-strip a:nth-child(2) { border-right: 0; }
    .scope-strip a:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
    .archive-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .scope-strip a { border-right: 0; border-bottom: 1px solid var(--rule); }
    .scope-strip a:last-child { border-bottom: 0; }
    .area-row { grid-template-columns: 42px 1fr; }
    .archive-shell,
    .content-shell,
    .error-shell { width: 100%; padding-right: 24px; padding-left: 24px; border-right: 0; border-left: 0; }
    .archive-grid { grid-template-columns: 1fr; }
    .gh-content { font-size: 18px; }
    .gh-content .kg-width-full { width: calc(100% + 48px); margin-left: -24px; }
    .article-footer { align-items: flex-start; flex-direction: column; }
}
