/* Self-hosted latin subsets of SIL Open Font Licence faces, downloaded from Google Fonts on
   12 October 2026 (see ../../FONTS.md). Self-hosting keeps every request on the publication's
   own domain, which the privacy notices already describe. */
@font-face {
    font-family: "Newsreader";
    font-style: italic;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/newsreader-latin-italic-400-800.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Newsreader";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/newsreader-latin-normal-400-800.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Bricolage Grotesque";
    font-style: normal;
    font-weight: 400 800;
    font-stretch: 75% 100%;
    font-display: swap;
    src: url("../fonts/bricolage-grotesque-latin-normal-400-800.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/barlow-condensed-latin-normal-500.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/barlow-condensed-latin-normal-600.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/barlow-condensed-latin-normal-700.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Barlow";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/barlow-latin-italic-400.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Barlow";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/barlow-latin-normal-400.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Barlow";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/barlow-latin-normal-500.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Barlow";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/barlow-latin-normal-600.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "IBM Plex Sans";
    font-style: normal;
    font-weight: 500;
    font-stretch: 100%;
    font-display: swap;
    src: url("../fonts/ibm-plex-sans-latin-normal-500.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "IBM Plex Sans";
    font-style: normal;
    font-weight: 600;
    font-stretch: 100%;
    font-display: swap;
    src: url("../fonts/ibm-plex-sans-latin-normal-600.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "IBM Plex Sans";
    font-style: normal;
    font-weight: 700;
    font-stretch: 100%;
    font-display: swap;
    src: url("../fonts/ibm-plex-sans-latin-normal-700.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "IBM Plex Serif";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/ibm-plex-serif-latin-italic-400.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "IBM Plex Serif";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/ibm-plex-serif-latin-normal-400.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "IBM Plex Serif";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/ibm-plex-serif-latin-normal-500.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "IBM Plex Serif";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/ibm-plex-serif-latin-normal-600.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/ibm-plex-mono-latin-normal-400.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/ibm-plex-mono-latin-normal-500.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "JetBrains Mono";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/jetbrains-mono-latin-normal-400-800.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/manrope-latin-normal-400-800.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ==========================================================================
   Network layer
   --------------------------------------------------------------------------
   Everything below is scoped to body[data-brand]. default.hbs derives that
   attribute from the brand_style setting or the canonical site URL, so one
   theme ZIP serves all five publications and an unrecognised site falls back
   to neutral tokens instead of borrowing another brand's colours.

   Headline reads its fonts through --gh-font-heading/--gh-font-body and its
   colours through --color-*; redefining those variables on <body> recolours
   the whole theme without fighting Headline's long selectors.
   ========================================================================== */

body[data-brand] {
    --brand-bg: #ffffff;
    --brand-surface: #f4f4f4;
    --brand-ink: #15171a;
    --brand-ink-2: #666a70;
    --brand-rule: #e4e4e6;
    --brand-font-display: var(--font-sans);
    --brand-font-body: var(--font-serif);
    --brand-font-ui: var(--font-sans);
    --brand-font-mono: var(--font-mono);
    --brand-radius: 4px;
    --brand-btn-radius: 100px;
    --brand-image-ratio: 56.25%;
    --brand-content-size: 1.85rem;
    --brand-foot-bg: var(--brand-ink);
    --brand-foot-ink: #ffffff;
    --brand-foot-ink-2: rgba(255, 255, 255, 0.62);
    --brand-foot-rule: rgba(255, 255, 255, 0.14);
    --head-brand-h: 100px;
    --head-nav-h: 52px;
    --gh-font-heading: var(--brand-font-display);
    --gh-font-body: var(--brand-font-body);
    --color-white: var(--brand-bg);
    --color-darker-gray: var(--brand-ink);
    --color-primary-text: var(--brand-ink);
    --color-secondary-text: var(--brand-ink-2);
    --color-light-gray: var(--brand-rule);
    --color-lighter-gray: var(--brand-surface);

    color: var(--brand-ink);
    background-color: var(--brand-bg);
}

body[data-brand] .gh-btn {
    font-family: var(--brand-font-ui);
    border-radius: var(--brand-btn-radius);
}

/* --- Masthead ------------------------------------------------------------ */

body[data-brand] .gh-head {
    font-family: var(--brand-font-ui);
}

body[data-brand] .gh-head-identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

body[data-brand] .gh-head-logo {
    font-family: var(--brand-font-display);
    line-height: 1;
}

body[data-brand] .gh-head-tagline {
    margin: 0;
    font-family: var(--brand-font-ui);
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--brand-ink-2);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

body[data-brand] .gh-head-actions-start {
    display: flex;
    gap: 20px;
    align-items: center;
}

body[data-brand] .gh-head-dateline {
    margin: 0;
    font-family: var(--brand-font-ui);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1;
    color: var(--brand-ink-2);
    white-space: nowrap;
}

body[data-brand] .gh-head .nav a {
    font-weight: 500;
}

body[data-brand] .gh-head .nav .nav-current a {
    color: var(--ghost-accent-color);
}

@media (min-width: 768px) {
    body[data-brand].is-head-stacked .gh-head-brand {
        height: var(--head-brand-h);
    }

    body[data-brand].is-head-stacked .gh-head-menu {
        height: var(--head-nav-h);
    }

    body[data-brand].is-head-stacked .gh-head-menu::before {
        top: var(--head-brand-h);
    }

    body[data-brand].is-head-stacked .gh-head-menu::after {
        top: calc(var(--head-brand-h) + var(--head-nav-h));
    }
}

@media (max-width: 991px) {
    body[data-brand] .gh-head-dateline {
        display: none;
    }
}

@media (max-width: 767px) {
    body[data-brand] .gh-head-tagline {
        display: none;
    }

    body[data-brand] .gh-head-identity {
        align-items: flex-start;
        text-align: left;
    }
}

/* Logo-left masthead for the three brands whose wordmarks read better in one
   row. Headline only offers this through a per-site admin setting; doing it in
   CSS keeps every brand decision inside the theme. */
@media (min-width: 768px) {
    body[data-brand="screensbrief"].is-head-stacked .gh-head,
    body[data-brand="airesolutiontoday"].is-head-stacked .gh-head,
    body[data-brand="aispendtoday"].is-head-stacked .gh-head {
        height: var(--head-h, 80px);
    }

    body[data-brand="screensbrief"].is-head-stacked .gh-head-inner,
    body[data-brand="airesolutiontoday"].is-head-stacked .gh-head-inner,
    body[data-brand="aispendtoday"].is-head-stacked .gh-head-inner {
        grid-template-columns: auto 1fr auto;
        column-gap: 40px;
        height: 100%;
        border-bottom: 1px solid var(--brand-rule);
    }

    body[data-brand="screensbrief"].is-head-stacked .gh-head-brand,
    body[data-brand="airesolutiontoday"].is-head-stacked .gh-head-brand,
    body[data-brand="aispendtoday"].is-head-stacked .gh-head-brand {
        grid-row: 1;
        grid-column: 1;
        height: auto;
        min-height: 0;
    }

    /* Wordmark over tagline: side by side, a long tagline starves the menu column
       and Headline's overflow script folds the navigation into a "more" button. */
    body[data-brand="screensbrief"] .gh-head-identity,
    body[data-brand="airesolutiontoday"] .gh-head-identity,
    body[data-brand="aispendtoday"] .gh-head-identity {
        gap: 5px;
        align-items: flex-start;
        text-align: left;
    }

    body[data-brand="screensbrief"].is-head-stacked .gh-head-menu,
    body[data-brand="airesolutiontoday"].is-head-stacked .gh-head-menu,
    body[data-brand="aispendtoday"].is-head-stacked .gh-head-menu {
        grid-row: 1;
        grid-column: 2;
        justify-content: flex-start;
        height: auto;
        margin: 0;
    }

    body[data-brand="screensbrief"].is-head-stacked .gh-head-menu::before,
    body[data-brand="screensbrief"].is-head-stacked .gh-head-menu::after,
    body[data-brand="airesolutiontoday"].is-head-stacked .gh-head-menu::before,
    body[data-brand="airesolutiontoday"].is-head-stacked .gh-head-menu::after,
    body[data-brand="aispendtoday"].is-head-stacked .gh-head-menu::before,
    body[data-brand="aispendtoday"].is-head-stacked .gh-head-menu::after {
        display: none;
    }

    body[data-brand="screensbrief"].is-head-stacked .gh-head-actions,
    body[data-brand="airesolutiontoday"].is-head-stacked .gh-head-actions,
    body[data-brand="aispendtoday"].is-head-stacked .gh-head-actions {
        grid-row: 1;
        grid-column: 3;
        justify-content: flex-end;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    body[data-brand="screensbrief"] .gh-head-tagline,
    body[data-brand="airesolutiontoday"] .gh-head-tagline,
    body[data-brand="aispendtoday"] .gh-head-tagline {
        display: none;
    }
}

/* --- Sections ------------------------------------------------------------ */

body[data-brand] .gh-topic-grid .gh-topic-name,
body[data-brand] .gh-topic-header .gh-topic-name,
body[data-brand] .gh-read-next .gh-pagehead-title {
    display: flex;
    gap: 14px;
    align-items: center;
    font-family: var(--brand-font-ui);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brand-ink);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

body[data-brand] .gh-topic-grid .gh-topic-name {
    margin-bottom: 32px;
}

body[data-brand] .gh-topic-grid .gh-topic-name::after {
    flex: 1;
    height: 1px;
    content: "";
    background-color: var(--brand-rule);
}

body[data-brand] .gh-read-next .gh-pagehead-title::after {
    background-color: var(--brand-rule);
}

body[data-brand] .gh-topic-header {
    border-bottom-color: var(--brand-rule);
}

body[data-brand] .gh-topic-footer {
    border-top-color: var(--brand-rule);
}

body[data-brand] .gh-topic-link {
    font-family: var(--brand-font-ui);
    color: var(--ghost-accent-color);
}

body[data-brand] .gh-topic-minimal .gh-card-title {
    font-family: var(--brand-font-body);
}

body[data-brand] .gh-pagehead-title {
    font-family: var(--brand-font-display);
}

body[data-brand]:not(.post-template) .gh-pagehead-title {
    font-size: 3.4rem;
    text-transform: none;
    letter-spacing: -0.02em;
}

body[data-brand] .gh-pagehead-description {
    font-family: var(--brand-font-body);
}

/* --- Cards --------------------------------------------------------------- */

body[data-brand] .gh-topic-grid .gh-card-image::before,
body[data-brand] .gh-topic-grid .gh-card.large .gh-card-image::before {
    padding-bottom: var(--brand-image-ratio);
}

body[data-brand] .gh-card-image {
    overflow: hidden;
    background-color: var(--brand-surface);
    border-radius: var(--brand-radius);
}

/* Editorial illustrations are 16:9 and safe to crop; the generated text covers
   that share the cover- prefix are not, so only those keep object-fit: contain. */
body[data-brand] .gh-card-image img[src*="/cover-"] {
    object-fit: cover;
    background-color: transparent;
}

body[data-brand] .gh-card-image img[src*="/cover-"]:not([src*="-art-"]) {
    object-fit: contain;
    background-color: #0b1020;
}

body[data-brand] .gh-card-tag {
    display: block;
    margin-bottom: 8px;
    font-family: var(--brand-font-ui);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--ghost-accent-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

body[data-brand] .gh-topic-grid .gh-card-title {
    font-family: var(--brand-font-display);
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--brand-ink);
    letter-spacing: -0.01em;
}

body[data-brand] .gh-topic-grid .gh-card.large .gh-card-title {
    font-size: 3.4rem;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

body[data-brand] .gh-topic-grid .gh-card-link:hover .gh-card-title {
    color: var(--ghost-accent-color);
    opacity: 1;
}

body[data-brand] .gh-topic-grid .gh-card-excerpt {
    font-family: var(--brand-font-body);
    font-size: 1.7rem;
    line-height: 1.55;
    color: var(--brand-ink-2);
}

body[data-brand] .gh-card-footer {
    font-family: var(--brand-font-ui);
    font-size: 1.1rem;
    color: var(--brand-ink-2);
    letter-spacing: 0.06em;
}

body[data-brand] .gh-topic-grid .gh-card:not(:only-child).large {
    border-bottom-color: var(--brand-rule);
}

@media (max-width: 767px) {
    body[data-brand] .gh-topic-grid .gh-card-title {
        font-size: 1.7rem;
    }

    body[data-brand] .gh-topic-grid .gh-card.large .gh-card-title {
        font-size: 2.8rem;
    }

    body[data-brand] .gh-card-tag {
        font-size: 1rem;
    }
}

body[data-brand] .gh-empty-state {
    border-color: var(--brand-rule);
    border-radius: var(--brand-radius);
}

body[data-brand] .gh-empty-state p {
    font-family: var(--brand-font-body);
}

/* --- Article ------------------------------------------------------------- */

body[data-brand] .gh-article-tag {
    font-family: var(--brand-font-ui);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

body[data-brand] .gh-article-title {
    font-family: var(--brand-font-display);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

body[data-brand] .gh-article-excerpt {
    font-family: var(--brand-font-body);
    color: var(--brand-ink-2);
}

body[data-brand] .gh-article-sidebar,
body[data-brand] .gh-article-meta,
body[data-brand] .gh-author-name,
body[data-brand] .gh-button-share,
body[data-brand] figcaption {
    font-family: var(--brand-font-ui);
}

body[data-brand] .gh-article-image img {
    border-radius: var(--brand-radius);
}

body[data-brand] .gh-content {
    font-family: var(--brand-font-body);
    font-size: var(--brand-content-size);
    line-height: 1.65;
}

body[data-brand] .gh-content > [id] {
    font-family: var(--brand-font-display);
}

body[data-brand] .gh-content a {
    color: var(--ghost-accent-color);
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

body[data-brand] .gh-content table:not(.gist table) {
    font-family: var(--brand-font-ui);
}

/* Headline fades the first and last cells with white gradients for its own
   horizontal scroll; the table-wrap patch outranked them on no cell but these two,
   and on a dark page they show as white bars. */
body[data-brand] .gh-content table:not(.gist table) td:first-child,
body[data-brand] .gh-content table:not(.gist table) td:last-child {
    background-image: none;
}

body[data-brand] .gh-author-icon {
    background-color: var(--brand-surface);
}

@media (max-width: 767px) {
    body[data-brand] .gh-content {
        font-size: 1.75rem;
    }
}

/* --- Footer -------------------------------------------------------------- */

body[data-brand] .gh-foot {
    font-family: var(--brand-font-ui);
    color: var(--brand-foot-ink-2);
    white-space: normal;
    background-color: var(--brand-foot-bg);
}

body[data-brand] .gh-foot a {
    color: var(--brand-foot-ink);
}

body[data-brand] .gh-foot a:hover {
    color: var(--brand-foot-ink);
    opacity: 0.8;
}

body[data-brand] .gh-foot-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px 40px;
    align-items: start;
    font-size: 1.4rem;
}

body[data-brand] .gh-subscribe {
    grid-column: 1 / -1;
    padding-bottom: 56px;
    margin: 0 0 8px;
    border-bottom: 1px solid var(--brand-foot-rule);
}

body[data-brand] .gh-subscribe-title {
    font-family: var(--brand-font-display);
    color: var(--brand-foot-ink);
}

body[data-brand] .gh-subscribe-description {
    font-family: var(--brand-font-body);
    color: var(--brand-foot-ink-2);
}

body[data-brand] .gh-subscribe-btn {
    color: var(--brand-ink);
    background-color: #ffffff;
}

body[data-brand] .gh-foot-brand {
    grid-column: 1;
}

body[data-brand] .gh-foot-logo {
    font-family: var(--brand-font-display);
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

body[data-brand] .gh-foot-tagline {
    margin-top: 10px;
    font-size: 1.4rem;
    color: var(--brand-foot-ink-2);
}

body[data-brand] .gh-foot-publisher {
    max-width: 46ch;
    margin-top: 14px;
    font-size: 1.3rem;
    line-height: 1.55;
    color: var(--brand-foot-ink-2);
}

body[data-brand] .gh-network {
    grid-column: 2;
}

body[data-brand] .gh-foot-menu {
    grid-column: 3;
    width: auto;
    padding: 0;
    text-align: left;
    border: 0;
}

body[data-brand] .gh-network-label,
body[data-brand] .gh-foot-menu-label {
    display: block;
    margin-bottom: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-foot-ink-2);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

body[data-brand] .gh-network-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

body[data-brand] .gh-network-list a[data-brand] {
    font-weight: 500;
}

body[data-brand] .gh-foot-menu .nav {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    font-weight: 500;
}

body[data-brand] .gh-foot-menu .nav li + li::before {
    display: none;
}

body[data-brand] .gh-foot-menu .nav li + li {
    margin-top: 0;
}

body[data-brand] .gh-social-links,
body[data-brand] .gh-social-links:has(a) {
    grid-column: 1 / -1;
    margin: 0;
}

body[data-brand] .gh-copyright,
body[data-brand] .gh-social-links:has(a) + .gh-copyright {
    grid-column: 1 / -1;
    padding-top: 24px;
    margin: 0;
    font-size: 1.3rem;
    color: var(--brand-foot-ink-2);
    border-top: 1px solid var(--brand-foot-rule);
}

body[data-brand="aicoenews"] .gh-network-list a[data-brand="aicoenews"],
body[data-brand="screensbrief"] .gh-network-list a[data-brand="screensbrief"],
body[data-brand="motionengtoday"] .gh-network-list a[data-brand="motionengtoday"],
body[data-brand="airesolutiontoday"] .gh-network-list a[data-brand="airesolutiontoday"],
body[data-brand="aispendtoday"] .gh-network-list a[data-brand="aispendtoday"] {
    color: var(--brand-foot-ink-2);
}

@media (max-width: 767px) {
    body[data-brand] .gh-foot-inner {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: left;
    }

    body[data-brand] .gh-foot-brand,
    body[data-brand] .gh-network,
    body[data-brand] .gh-foot-menu {
        grid-column: 1;
    }

    body[data-brand] .gh-subscribe {
        padding-bottom: 40px;
    }
}

/* ==========================================================================
   AICoENews — the enterprise governance broadsheet
   Audience: CIOs and CDOs standing up an AI Center of Excellence. Warm paper,
   navy ink, a serif masthead with the double rule newspapers use, headline
   before art on the lead story, ruled card rows.
   ========================================================================== */

body[data-brand="aicoenews"] {
    --brand-bg: #fbfaf6;
    --brand-surface: #f1eee5;
    --brand-ink: #141c2e;
    --brand-ink-2: #5f6778;
    --brand-rule: #d8d2c3;
    --ghost-accent-color: #1c4e9a;
    --brand-font-display: Newsreader, Georgia, "Times New Roman", serif;
    --brand-font-body: Newsreader, Georgia, "Times New Roman", serif;
    --brand-font-ui: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --brand-radius: 2px;
    --brand-btn-radius: 4px;
    --brand-content-size: 1.95rem;
    --brand-foot-bg: #141c2e;
    --head-brand-h: 136px;
    --head-nav-h: 52px;
}

body[data-brand="aicoenews"] .gh-head-logo {
    font-size: 4.6rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

body[data-brand="aicoenews"] .gh-head-tagline {
    margin-top: 4px;
}

body[data-brand="aicoenews"] .gh-head-dateline {
    font-family: var(--brand-font-body);
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 400;
}

body[data-brand="aicoenews"] .gh-head .nav a {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (min-width: 768px) {
    body[data-brand="aicoenews"].is-head-stacked .gh-head-menu::before {
        height: 4px;
        background: none;
        border-top: 1px solid var(--brand-ink);
        border-bottom: 1px solid var(--brand-ink);
    }
}

body[data-brand="aicoenews"] .gh-topic-grid .gh-topic-name::before {
    width: 10px;
    height: 10px;
    content: "";
    background-color: var(--ghost-accent-color);
}

body[data-brand="aicoenews"] .gh-topic-grid .gh-card-title {
    font-weight: 600;
}

body[data-brand="aicoenews"] .gh-topic-grid .gh-card:not(.large) {
    padding-top: 16px;
    border-top: 1px solid var(--brand-rule);
}

body[data-brand="aicoenews"] .gh-topic-grid .gh-card-excerpt {
    font-size: 1.8rem;
}

@media (min-width: 992px) {
    body[data-brand="aicoenews"] .gh-topic-grid .gh-card.large .gh-card-link {
        flex-direction: row-reverse;
    }
}

@media (min-width: 768px) {
    body[data-brand="aicoenews"] .gh-topic-grid .gh-card.large .gh-card-title {
        font-size: 4rem;
        line-height: 1.08;
    }

    body[data-brand="aicoenews"] .gh-article-title {
        font-size: 5.4rem;
        font-weight: 600;
        line-height: 1.06;
    }
}

body[data-brand="aicoenews"] .gh-article-title {
    font-weight: 600;
}

body[data-brand="aicoenews"] .gh-article-excerpt {
    font-size: 2.2rem;
    font-style: italic;
}

body[data-brand="aicoenews"] .gh-content > [id] {
    font-weight: 600;
}

body[data-brand="aicoenews"] .gh-foot-logo {
    font-weight: 700;
}

@media (max-width: 767px) {
    body[data-brand="aicoenews"] #gh-head .gh-head-logo {
        font-size: 2.9rem;
    }
}

/* ==========================================================================
   Screens Brief — the billboard
   Audience: CTV and DOOH buyers. A black masthead bar like a screen bezel, a
   yellow pixel marker, bold grotesque headlines, 16:9 card images framed as
   screens and a full-width lead.
   ========================================================================== */

body[data-brand="screensbrief"] {
    --brand-bg: #ffffff;
    --brand-surface: #f2f2f0;
    --brand-ink: #0b0b0f;
    --brand-ink-2: #5e5e6a;
    --brand-rule: #e3e3e8;
    --brand-marker: #ffd500;
    --ghost-accent-color: #1d4ed8;
    --brand-font-display: "Bricolage Grotesque", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --brand-font-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --brand-font-ui: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --brand-radius: 12px;
    --brand-btn-radius: 8px;
    --brand-content-size: 1.8rem;
    --brand-foot-bg: #0b0b0f;
    --head-h: 76px;
}

body[data-brand="screensbrief"] .gh-head {
    color: #ffffff;
    background-color: #0b0b0f;
}

body[data-brand="screensbrief"] .gh-head a,
body[data-brand="screensbrief"] .gh-head .nav a,
body[data-brand="screensbrief"] .gh-head-link,
body[data-brand="screensbrief"] .gh-head-dateline {
    color: #ffffff;
}

body[data-brand="screensbrief"] .gh-head .nav .nav-current a {
    color: var(--brand-marker);
}

body[data-brand="screensbrief"] .gh-head-tagline {
    color: rgba(255, 255, 255, 0.62);
}

body[data-brand="screensbrief"] .gh-burger::before,
body[data-brand="screensbrief"] .gh-burger::after {
    background-color: #ffffff;
}

body[data-brand="screensbrief"] .gh-head-logo {
    font-size: 2.7rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

body[data-brand="screensbrief"] .gh-head-wordmark::before {
    display: inline-block;
    width: 0.52em;
    height: 0.52em;
    margin-right: 0.32em;
    vertical-align: 0.06em;
    content: "";
    background-color: var(--brand-marker);
    border-radius: 2px;
    box-shadow: 0 0 0 3px rgba(255, 213, 0, 0.22);
}

body[data-brand="screensbrief"] .gh-head-btn.gh-btn {
    color: #0b0b0f;
    background-color: var(--brand-marker);
}

body[data-brand="screensbrief"].is-head-stacked .gh-head-inner {
    border-bottom: 0;
}

/* The open mobile menu inherits the white page colour from Headline's id-based
   rule, so the dark masthead needs an equally specific override. */
body[data-brand="screensbrief"].is-head-open.is-head-stacked:not(.is-head-brand) #gh-head,
body[data-brand="screensbrief"].is-head-open #gh-head .gh-head-actions {
    background-color: #0b0b0f;
}

body[data-brand="screensbrief"] .gh-topic-grid .gh-topic-name {
    font-family: var(--brand-font-display);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

body[data-brand="screensbrief"] .gh-topic-grid .gh-topic-name::before {
    width: 16px;
    height: 16px;
    content: "";
    background-color: var(--brand-marker);
    border-radius: 3px;
}

body[data-brand="screensbrief"] .gh-card-image {
    background-color: #0b0b0f;
    border: 2px solid #0b0b0f;
    box-shadow: 0 6px 0 -2px #0b0b0f;
}

body[data-brand="screensbrief"] .gh-topic-grid .gh-card.large .gh-card-link {
    flex-direction: column;
    gap: 24px;
}

body[data-brand="screensbrief"] .gh-topic-grid .gh-card.large .gh-card-image {
    width: 100%;
}

body[data-brand="screensbrief"] .gh-topic-grid .gh-card-title {
    font-weight: 800;
    letter-spacing: -0.02em;
}

body[data-brand="screensbrief"] .gh-topic-grid .gh-card.large .gh-card-excerpt {
    max-width: 64ch;
    font-size: 1.9rem;
}

@media (min-width: 768px) {
    body[data-brand="screensbrief"] .gh-topic-grid .gh-card.large .gh-card-title {
        max-width: 22ch;
        font-size: 4.6rem;
        line-height: 1.02;
        letter-spacing: -0.035em;
    }

    body[data-brand="screensbrief"] .gh-topic-grid .gh-card:not(.large) .gh-card-image {
        width: 150px;
    }

    body[data-brand="screensbrief"] .gh-article-title {
        font-size: 5.6rem;
        line-height: 1.02;
    }
}

body[data-brand="screensbrief"] .gh-article-title {
    font-weight: 800;
    letter-spacing: -0.035em;
}

body[data-brand="screensbrief"] .gh-article-tag {
    padding: 4px 8px;
    color: #0b0b0f;
    background-color: var(--brand-marker);
    border-radius: 4px;
}

body[data-brand="screensbrief"] .gh-content > [id] {
    font-weight: 800;
    letter-spacing: -0.02em;
}

body[data-brand="screensbrief"] .gh-foot-logo {
    font-weight: 800;
}

body[data-brand="screensbrief"] .gh-subscribe-btn {
    background-color: var(--brand-marker);
}

body[data-brand="screensbrief"] .gh-network-label,
body[data-brand="screensbrief"] .gh-foot-menu-label {
    color: var(--brand-marker);
}

/* ==========================================================================
   Motion Engineering Today — the screening room
   Audience: studio and production leads making AI video. Dark throughout,
   amber timecode accents, condensed display type with viewfinder corners,
   a film-frame rule under the masthead and widescreen lead images.
   ========================================================================== */

body[data-brand="motionengtoday"] {
    --brand-bg: #0e0e11;
    --brand-surface: #17171c;
    --brand-ink: #f1ede6;
    --brand-ink-2: #a39f97;
    --brand-rule: #2b2b33;
    --ghost-accent-color: #f2a900;
    --brand-font-display: "Barlow Condensed", "Arial Narrow", Inter, sans-serif;
    --brand-font-body: Barlow, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --brand-font-ui: Barlow, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --brand-font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    --brand-radius: 4px;
    --brand-btn-radius: 4px;
    --brand-content-size: 1.9rem;
    --brand-foot-bg: #000000;
    --brand-foot-ink: #f1ede6;
    --brand-foot-ink-2: #8e8a83;
    --brand-foot-rule: #2b2b33;
    --head-brand-h: 128px;
    --head-nav-h: 52px;
    --color-mid-gray: #3a3a44;
    --color-dark-gray: #cfcac2;
    --background-color: #17171c;
}

body[data-brand="motionengtoday"] .gh-head {
    background-color: #000000;
}

body[data-brand="motionengtoday"] .gh-head-logo {
    font-size: 5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

body[data-brand="motionengtoday"] .gh-head-wordmark {
    position: relative;
    display: inline-block;
    padding: 0.16em 0.4em;
}

body[data-brand="motionengtoday"] .gh-head-wordmark::before,
body[data-brand="motionengtoday"] .gh-head-wordmark::after {
    position: absolute;
    width: 0.42em;
    height: 0.42em;
    content: "";
    border: 2px solid var(--ghost-accent-color);
}

body[data-brand="motionengtoday"] .gh-head-wordmark::before {
    top: 0;
    left: 0;
    border-right: 0;
    border-bottom: 0;
}

body[data-brand="motionengtoday"] .gh-head-wordmark::after {
    right: 0;
    bottom: 0;
    border-top: 0;
    border-left: 0;
}

body[data-brand="motionengtoday"] .gh-head-tagline,
body[data-brand="motionengtoday"] .gh-head-dateline {
    font-family: var(--brand-font-mono);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

body[data-brand="motionengtoday"] .gh-head .nav a {
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

body[data-brand="motionengtoday"] .gh-head-link {
    color: var(--brand-ink);
}

@media (min-width: 768px) {
    body[data-brand="motionengtoday"].is-head-stacked .gh-head-menu::before {
        height: 2px;
        background-color: transparent;
        background-image: repeating-linear-gradient(90deg, var(--ghost-accent-color) 0 10px, transparent 10px 16px);
    }
}

body[data-brand="motionengtoday"] .gh-topic-grid .gh-topic-name {
    font-family: var(--brand-font-display);
    font-size: 2.2rem;
    letter-spacing: 0.06em;
}

body[data-brand="motionengtoday"] .gh-topic-grid .gh-topic-name::before {
    width: 16px;
    height: 4px;
    content: "";
    background-color: var(--ghost-accent-color);
}

body[data-brand="motionengtoday"] .gh-card-image {
    background-color: #000000;
    border: 1px solid var(--brand-rule);
}

body[data-brand="motionengtoday"] .gh-topic-grid .gh-card.large .gh-card-link {
    flex-direction: column;
    gap: 20px;
}

body[data-brand="motionengtoday"] .gh-topic-grid .gh-card.large .gh-card-image {
    width: 100%;
}

body[data-brand="motionengtoday"] .gh-topic-grid .gh-card-title {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0;
}

body[data-brand="motionengtoday"] .gh-card-footer,
body[data-brand="motionengtoday"] .gh-article-meta {
    font-family: var(--brand-font-mono);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
}

body[data-brand="motionengtoday"] .gh-card-date,
body[data-brand="motionengtoday"] .gh-article-date {
    color: var(--ghost-accent-color);
}

@media (min-width: 768px) {
    body[data-brand="motionengtoday"] .gh-topic-grid .gh-card.large .gh-card-title {
        max-width: 26ch;
        font-size: 4.8rem;
        line-height: 1.02;
    }

    body[data-brand="motionengtoday"] .gh-article-title {
        font-size: 6rem;
        line-height: 1;
    }
}

body[data-brand="motionengtoday"] .gh-article-title {
    font-weight: 600;
    letter-spacing: 0;
}

body[data-brand="motionengtoday"] .gh-article-excerpt {
    font-size: 2.1rem;
}

body[data-brand="motionengtoday"] .gh-content > [id] {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

body[data-brand="motionengtoday"] figcaption {
    font-family: var(--brand-font-mono);
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

body[data-brand="motionengtoday"] .gh-button-share {
    color: var(--brand-ink);
    border-color: rgba(255, 255, 255, 0.22);
}

body[data-brand="motionengtoday"] .gh-button-share:hover {
    border-color: rgba(255, 255, 255, 0.55);
}

body[data-brand="motionengtoday"] .gh-content table:not(.gist table) th {
    color: var(--brand-ink);
    background-color: var(--brand-surface);
}

body[data-brand="motionengtoday"] .gh-content .kg-toggle-card {
    border-color: var(--brand-rule);
}

body[data-brand="motionengtoday"] .gh-dropdown {
    background-color: var(--brand-surface);
}

body[data-brand="motionengtoday"] .gh-dropdown li a {
    color: var(--brand-ink) !important;
}

body[data-brand="motionengtoday"] .gh-subscribe-btn {
    color: #0e0e11;
    background-color: var(--ghost-accent-color);
}

body[data-brand="motionengtoday"] .gh-foot-logo {
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

@media (max-width: 767px) {
    body[data-brand="motionengtoday"] #gh-head .gh-head-logo {
        font-size: 3rem;
    }
}

/* ==========================================================================
   AI Resolution Today — records and links
   Audience: MDM and identity leads. IBM Plex throughout, a resolved-pair
   glyph (two records, one link, the gold one being the golden record), mono
   labels and dashed record separators.
   ========================================================================== */

body[data-brand="airesolutiontoday"] {
    --brand-bg: #ffffff;
    --brand-surface: #f3f6f8;
    --brand-ink: #0f1e2b;
    --brand-ink-2: #5b6b7a;
    --brand-rule: #d6dee5;
    --brand-gold: #c08a1e;
    --ghost-accent-color: #0e7c78;
    --brand-font-display: "IBM Plex Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --brand-font-body: "IBM Plex Serif", Georgia, "Times New Roman", serif;
    --brand-font-ui: "IBM Plex Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --brand-font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    --brand-radius: 4px;
    --brand-btn-radius: 4px;
    --brand-content-size: 1.85rem;
    --brand-foot-bg: #0f1e2b;
    --head-h: 80px;
}

body[data-brand="airesolutiontoday"] .gh-head-logo {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

body[data-brand="airesolutiontoday"] .gh-head-wordmark::before {
    display: inline-block;
    width: 30px;
    height: 12px;
    margin-right: 10px;
    vertical-align: 1px;
    content: "";
    background:
        radial-gradient(circle at 6px 6px, var(--ghost-accent-color) 5px, transparent 5.6px),
        radial-gradient(circle at 24px 6px, var(--brand-gold) 5px, transparent 5.6px),
        linear-gradient(var(--ghost-accent-color), var(--ghost-accent-color)) 50% 50% / 14px 2px no-repeat;
}

body[data-brand="airesolutiontoday"] .gh-head-tagline,
body[data-brand="airesolutiontoday"] .gh-head-dateline {
    font-family: var(--brand-font-mono);
    font-size: 1.15rem;
    text-transform: none;
    letter-spacing: 0.04em;
}

body[data-brand="airesolutiontoday"] .gh-topic-grid .gh-topic-name {
    font-family: var(--brand-font-mono);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

body[data-brand="airesolutiontoday"] .gh-topic-grid .gh-topic-name::before {
    width: 9px;
    height: 9px;
    margin-right: 14px;
    content: "";
    background-color: var(--ghost-accent-color);
    border-radius: 50%;
    box-shadow: 14px 0 0 var(--brand-gold);
}

body[data-brand="airesolutiontoday"] .gh-card-image {
    border: 1px solid var(--brand-rule);
}

body[data-brand="airesolutiontoday"] .gh-topic-grid .gh-card:not(.large) {
    padding-top: 18px;
    border-top: 1px dashed var(--brand-rule);
}

body[data-brand="airesolutiontoday"] .gh-card-footer,
body[data-brand="airesolutiontoday"] .gh-article-meta {
    font-family: var(--brand-font-mono);
    font-size: 1.2rem;
    text-transform: none;
    letter-spacing: 0.02em;
}

@media (min-width: 768px) {
    body[data-brand="airesolutiontoday"] .gh-topic-grid .gh-card.large .gh-card-title {
        font-size: 3.8rem;
        line-height: 1.08;
        letter-spacing: -0.025em;
    }

    body[data-brand="airesolutiontoday"] .gh-article-title {
        font-size: 5rem;
        line-height: 1.06;
    }
}

body[data-brand="airesolutiontoday"] .gh-article-title {
    letter-spacing: -0.03em;
}

body[data-brand="airesolutiontoday"] .gh-article-tag {
    font-family: var(--brand-font-mono);
    font-size: 1.3rem;
    text-transform: none;
    letter-spacing: 0.04em;
}

body[data-brand="airesolutiontoday"] .gh-article-tag::before {
    content: "// ";
}

body[data-brand="airesolutiontoday"] .gh-content > [id] {
    font-weight: 600;
    letter-spacing: -0.02em;
}

body[data-brand="airesolutiontoday"] .gh-content table:not(.gist table) {
    font-family: var(--brand-font-mono);
    font-size: 1.4rem;
}

/* ==========================================================================
   AI Spend Today — the ledger
   Audience: CFOs and FinOps leads. A green ticker rule, numbered sections,
   mono tabular dates and figures, hairline ledger rows.
   ========================================================================== */

body[data-brand="aispendtoday"] {
    --brand-bg: #ffffff;
    --brand-surface: #f1f7f3;
    --brand-ink: #0a1f16;
    --brand-ink-2: #52655b;
    --brand-rule: #d6e0da;
    --ghost-accent-color: #0b6e45;
    --brand-font-display: Manrope, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --brand-font-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --brand-font-ui: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --brand-font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    --brand-radius: 6px;
    --brand-btn-radius: 6px;
    --brand-content-size: 1.8rem;
    --brand-foot-bg: #0a1f16;
    --head-h: 84px;
}

body[data-brand="aispendtoday"] .gh-head {
    border-top: 4px solid var(--ghost-accent-color);
}

body[data-brand="aispendtoday"] .gh-head-logo {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.035em;
}

body[data-brand="aispendtoday"] .gh-head-wordmark::before {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 10px;
    vertical-align: -1px;
    content: "";
    background-image: repeating-linear-gradient(180deg, var(--ghost-accent-color) 0 2px, transparent 2px 5px);
}

body[data-brand="aispendtoday"] .gh-head-tagline,
body[data-brand="aispendtoday"] .gh-head-dateline {
    font-family: var(--brand-font-mono);
    font-size: 1.15rem;
    text-transform: none;
    letter-spacing: 0.02em;
}

body[data-brand="aispendtoday"] .gh-main {
    counter-reset: ledger;
}

body[data-brand="aispendtoday"] .gh-topic-grid .gh-topic-name {
    font-family: var(--brand-font-display);
    font-weight: 800;
    letter-spacing: 0.08em;
}

body[data-brand="aispendtoday"] .gh-topic-grid .gh-topic-name::before {
    font-family: var(--brand-font-mono);
    font-weight: 600;
    color: var(--ghost-accent-color);
    content: counter(ledger, decimal-leading-zero);
    counter-increment: ledger;
}

body[data-brand="aispendtoday"] .gh-topic-grid .gh-card:not(.large) {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--brand-rule);
}

body[data-brand="aispendtoday"] .gh-topic-grid .gh-card-title {
    letter-spacing: -0.02em;
}

body[data-brand="aispendtoday"] .gh-card-footer,
body[data-brand="aispendtoday"] .gh-article-meta {
    font-family: var(--brand-font-mono);
    font-size: 1.15rem;
    text-transform: none;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) {
    body[data-brand="aispendtoday"] .gh-topic-grid .gh-card.large .gh-card-title {
        font-size: 3.9rem;
        line-height: 1.06;
        letter-spacing: -0.035em;
    }

    body[data-brand="aispendtoday"] .gh-article-title {
        font-size: 5.2rem;
        line-height: 1.04;
    }
}

body[data-brand="aispendtoday"] .gh-topic-grid .gh-card.large .gh-card-title,
body[data-brand="aispendtoday"] .gh-article-title,
body[data-brand="aispendtoday"] .gh-foot-logo {
    font-weight: 800;
}

body[data-brand="aispendtoday"] .gh-article-title {
    letter-spacing: -0.04em;
}

body[data-brand="aispendtoday"] .gh-content > [id] {
    font-weight: 800;
    letter-spacing: -0.025em;
}

body[data-brand="aispendtoday"] .gh-content table:not(.gist table) {
    font-size: 1.5rem;
    font-variant-numeric: tabular-nums;
}
