/* Strict cold editorial direction — loaded last. */

:root {
    --brand-ink: #202731;
    --brand-ink-strong: #111821;
    --brand-ink-soft: #596573;
    --brand-canvas: #e9eef2;
    --brand-surface: #f7f9fb;
    --brand-surface-alt: #dfe6eb;
    --brand-steel: #cbd6de;
    --brand-line: rgba(25, 34, 45, 0.18);
    --brand-line-strong: rgba(25, 34, 45, 0.34);
    --brand-shadow: none;
    --brand-gradient: linear-gradient(118deg, #c3e4df 0%, #b8d6e2 48%, #c8d3e7 100%);
    --brand-radius-sm: 4px;
    --brand-radius-md: 8px;
    --brand-radius-lg: 12px;
}

body {
    color: var(--brand-ink);
    background: var(--brand-canvas);
}

.gh-head {
    background: rgba(233, 238, 242, 0.96);
    border-bottom: 1px solid var(--brand-line-strong);
    backdrop-filter: blur(12px);
}

.gh-head-inner {
    min-height: 88px;
}

.gh-head-logo.brand-lockup {
    width: clamp(260px, 24vw, 370px);
    max-width: none;
}

.gh-head-menu .nav {
    gap: 0;
}

.gh-head-menu .nav a {
    padding: 12px 15px;
    color: #4f5c69;
    font-size: 1.2rem;
    font-weight: 750;
    letter-spacing: 0.01em;
    border-radius: 0;
}

.gh-head-menu .nav a:hover,
.gh-head-menu .nav-current a {
    color: var(--brand-ink-strong);
    background: transparent;
    box-shadow: inset 0 -2px 0 #527f8c;
}

.brand-search-button {
    width: 44px;
    height: 44px;
    background: transparent;
    border-color: var(--brand-line-strong);
    border-radius: 4px;
}

.brand-search-button:hover {
    background: #dce4e9;
    border-color: #71818d;
    transform: none;
}

/* Hero */
.home-hero {
    min-height: clamp(650px, 82vh, 900px);
    background:
        linear-gradient(90deg, rgba(32, 39, 49, 0.035) 1px, transparent 1px),
        linear-gradient(rgba(32, 39, 49, 0.035) 1px, transparent 1px),
        linear-gradient(180deg, #edf2f5 0%, #e4eaee 100%);
    background-size: 64px 64px, 64px 64px, auto;
    border-bottom: 1px solid var(--brand-line-strong);
}

.home-hero::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 7px;
    content: "";
    background: var(--brand-gradient);
}

.home-hero-inner {
    grid-template-columns: minmax(0, 1.48fr) minmax(300px, 0.52fr);
    gap: clamp(42px, 6vw, 96px);
    padding-top: clamp(88px, 10vh, 128px);
    padding-bottom: clamp(88px, 10vh, 128px);
}

.home-hero-copy {
    max-width: 980px;
}

.home-hero-wordmark {
    width: min(100%, 930px);
    max-width: none;
}

.home-hero-description {
    max-width: 760px;
    margin-top: 34px;
    color: #465360;
    font-size: clamp(1.9rem, 2.05vw, 2.5rem);
    font-weight: 550;
    line-height: 1.48;
    letter-spacing: -0.02em;
}

.home-hero-actions {
    gap: 10px;
    margin-top: 38px;
}

.brand-button {
    min-height: 52px;
    padding: 0 22px;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.015em;
    border-radius: 4px;
    box-shadow: none;
    transform: none;
}

.brand-button:hover {
    transform: none;
}

.brand-button-primary {
    color: var(--brand-ink-strong);
    background: var(--brand-gradient);
    border-color: rgba(25, 34, 45, 0.28);
    box-shadow: none;
}

.brand-button-primary:hover {
    box-shadow: inset 0 0 0 1px rgba(17, 24, 33, 0.5);
}

.brand-button-secondary {
    color: var(--brand-ink-strong);
    background: transparent;
    border-color: var(--brand-line-strong);
}

.brand-button-secondary:hover {
    background: #dce4e9;
}

.brand-launch-note {
    color: #44515e;
    font-weight: 750;
}

.home-hero-art {
    min-height: 430px;
}

.home-hero-dossier {
    display: flex;
    min-height: 430px;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    color: #dce5ea;
    background: #202832;
    border: 1px solid #111820;
    border-radius: 6px;
    box-shadow: 18px 18px 0 rgba(32, 39, 49, 0.08);
}

.home-hero-dossier-head,
.home-hero-dossier-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 18px;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-bottom: 1px solid rgba(220, 229, 234, 0.2);
}

.home-hero-dossier-code {
    color: #9db8c1;
}

.home-hero-dossier-grid {
    display: grid;
    gap: 1px;
    margin: 26px 0;
    background: rgba(220, 229, 234, 0.17);
    border: 1px solid rgba(220, 229, 234, 0.17);
}

.home-hero-dossier-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    min-height: 68px;
    padding: 14px 16px;
    background: #202832;
}

.home-hero-dossier-row span {
    color: #9db8c1;
    font-size: 1.05rem;
    font-weight: 800;
}

.home-hero-dossier-row strong {
    color: #eef4f6;
    font-size: 1.3rem;
    font-weight: 750;
    letter-spacing: 0.02em;
}

.home-hero-dossier-foot {
    align-items: flex-end;
    padding-top: 18px;
    padding-bottom: 0;
    border-top: 1px solid rgba(220, 229, 234, 0.2);
    border-bottom: 0;
}

.home-hero-dossier-foot strong {
    max-width: 230px;
    color: #eef4f6;
    font-size: 1.15rem;
    line-height: 1.45;
    text-align: right;
    letter-spacing: 0.02em;
}

/* Section system */
.home-featured,
.home-archive,
.home-about {
    padding: clamp(76px, 8vw, 122px) 0;
}

.home-featured,
.home-about {
    background: #f5f7f9;
}

.home-archive {
    background: #dfe6eb;
    border-top: 1px solid var(--brand-line-strong);
    border-bottom: 1px solid var(--brand-line-strong);
}

.section-kicker {
    color: #4c6f79;
    font-size: 1.05rem;
    font-weight: 850;
    letter-spacing: 0.16em;
}

.section-kicker::before {
    width: 38px;
    height: 3px;
    background: var(--brand-gradient);
    border-radius: 0;
}

.section-heading h2,
.home-about-copy h2,
.featured-investigation-copy h2 {
    color: var(--brand-ink-strong);
    letter-spacing: -0.055em;
}

.featured-investigation {
    grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.92fr);
    gap: clamp(42px, 6vw, 92px);
}

.featured-investigation-media {
    border-color: var(--brand-line-strong);
    border-radius: 8px;
    box-shadow: none;
}

.featured-investigation-media:hover img,
.investigation-card:hover .investigation-card-image {
    transform: none;
}

.featured-investigation-copy h2 {
    font-size: clamp(3.8rem, 5vw, 6.4rem);
    line-height: 0.99;
}

.featured-investigation-copy p {
    color: #596573;
}

.text-link,
.investigation-card-link {
    color: var(--brand-ink-strong);
    border-bottom: 1px solid #6b7d88;
}

.text-link::after,
.investigation-card-link::after {
    content: "↗";
}

/* Cards */
.investigation-grid {
    gap: 18px;
}

.investigation-card {
    background: #f4f7f9;
    border-color: var(--brand-line-strong);
    border-radius: 6px;
    box-shadow: none;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.investigation-card:hover {
    background: #ffffff;
    border-color: #667985;
    box-shadow: none;
    transform: none;
}

.investigation-card-media {
    border-bottom: 1px solid var(--brand-line-strong);
}

.investigation-card-body {
    padding: 24px;
}

.investigation-card-meta {
    color: #6a7580;
    font-size: 1rem;
    letter-spacing: 0.13em;
}

.investigation-card-meta span {
    color: #436c77;
}

.investigation-card-title {
    margin-top: 20px;
    color: var(--brand-ink-strong);
    font-size: clamp(2.25rem, 2.25vw, 3rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.investigation-card-excerpt {
    color: #596573;
}

/* About */
.home-about-inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
    padding: clamp(44px, 6vw, 82px);
    background: #cfd9e0;
    border-color: var(--brand-line-strong);
    border-radius: 8px;
}

.home-about-inner::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 7px;
    content: "";
    background: var(--brand-gradient);
}

.home-about-mark::before {
    display: none;
}

.home-about-mark {
    padding-left: 34px;
    border-left: 1px solid rgba(25, 34, 45, 0.24);
}

.home-about-mark img {
    width: min(100%, 280px);
    opacity: 0.82;
}

/* Internal pages: colder and flatter */
.brand-article-hero,
.brand-page-hero,
.brand-about-intro,
.brand-archive-hero {
    background:
        linear-gradient(90deg, rgba(32, 39, 49, 0.035) 1px, transparent 1px),
        linear-gradient(rgba(32, 39, 49, 0.035) 1px, transparent 1px),
        linear-gradient(180deg, #edf2f5 0%, #e2e8ec 100%);
    background-size: 64px 64px, 64px 64px, auto;
    border-bottom-color: var(--brand-line-strong);
}

.brand-article-feature,
.brand-page-feature,
.brand-author-image,
.kg-image-card img,
.kg-gallery-image img,
.kg-bookmark-card,
.kg-callout-card,
.kg-toggle-card,
.kg-file-card,
.kg-product-card {
    border-radius: 6px !important;
    box-shadow: none !important;
}

.brand-article-body,
.brand-page-body,
.brand-archive-feed,
.brand-related,
.brand-comments {
    background: #f5f7f9;
}

.brand-article-title,
.brand-page-title,
.brand-archive-title,
.brand-about-intro h1 {
    color: var(--brand-ink-strong);
}

.brand-share-button,
.kg-button-card .kg-btn {
    border-radius: 4px;
    box-shadow: none;
}

/* Footer */
.gh-foot {
    color: #dce5ea;
    background: #202832;
    border-top: 0;
}

.gh-foot-brand img {
    filter: brightness(0) invert(1);
    opacity: 0.88;
}

.gh-foot-menu .nav a,
.gh-social-links a,
.gh-copyright {
    color: #aebbc4;
}

.gh-copyright {
    border-top-color: rgba(220, 229, 234, 0.18);
}

@media (max-width: 1100px) {
    .home-hero-inner {
        grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    }

    .home-hero-wordmark {
        width: min(100%, 780px);
    }
}

@media (max-width: 820px) {
    .gh-head-inner {
        min-height: 72px;
    }

    .brand-lockup-wordmark {
        display: none;
    }

    .brand-lockup-mark {
        display: block;
        width: 52px;
    }

    .home-hero-inner {
        grid-template-columns: 1fr;
        gap: 46px;
        padding-top: 70px;
        padding-bottom: 76px;
    }

    .home-hero-art {
        min-height: auto;
    }

    .home-hero-dossier {
        min-height: 350px;
        box-shadow: 10px 10px 0 rgba(32, 39, 49, 0.08);
    }

    .featured-investigation,
    .home-about-inner {
        grid-template-columns: 1fr;
    }

    .home-about-mark {
        justify-content: start;
        padding-top: 30px;
        padding-left: 0;
        border-top: 1px solid rgba(25, 34, 45, 0.24);
        border-left: 0;
    }
}

@media (max-width: 520px) {
    .home-hero {
        background-size: 42px 42px, 42px 42px, auto;
    }

    .home-hero::before,
    .home-about-inner::before {
        width: 4px;
    }

    .home-hero-wordmark {
        width: 100%;
    }

    .home-hero-description {
        margin-top: 26px;
        font-size: 1.72rem;
    }

    .home-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .brand-button {
        width: 100%;
    }

    .home-hero-dossier {
        padding: 18px;
    }

    .home-hero-dossier-row {
        grid-template-columns: 36px minmax(0, 1fr);
        min-height: 58px;
        padding: 12px;
    }

    .home-hero-dossier-row strong {
        font-size: 1.15rem;
    }

    .home-hero-dossier-foot {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-hero-dossier-foot strong {
        text-align: left;
    }

    .investigation-card-body {
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .investigation-card,
    .brand-button,
    .brand-search-button {
        transition: none;
    }
}
