﻿/* =========================================================
   HORSE SENSE : SITE.CSS (REORGANIZED + CORRECTED)
   - Removes repetitive green/black seam lines (no section borders)
   - Normalizes Blog/Industry cards + Featured layout
   - Adds About + Analytics formatting
   - Includes Bloodstock table styling (content-driven columns)
   ========================================================= */

/* ---------------------------------------------------------
   GLOBAL RESET + ROOT VARIABLES
--------------------------------------------------------- */
* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    color: var(--text-primary);
}

/* Paragraphs, lists, article content */
p,
li,
.article-body,
.page-lede,
.page-muted {
    color: var(--text-secondary);
}

/* Headings stay off-white */
h1, h2, h3, h4, h5 {
    color: var(--text-primary);
}

/* Prevent accent color from affecting body text */
.article-body a:not(.btn-solid):not(.btn-outline),
.editorial a:not(.btn-solid):not(.btn-outline),
.page-section a:not(.btn-solid):not(.btn-outline) {
    color: var(--text-secondary);
    text-decoration: underline;
}

.article-body a:hover,
.editorial a:hover {
    color: var(--text-primary);
}

:root {
    --green: #33cc66;
    --green-dark: #1d703e;
    --green-glow: rgba(51, 204, 102, 0.35);
    --black: #0b0f0d;
    --black-2: #111512;
    --gray: #c7c7c7;
    --gray-light: #eeeeee;
    --radius: 14px;
    --text-primary: #f2f2f2; /* main body text */
    --text-secondary: #cfd6d1; /* muted / metadata */
    --text-tertiary: #9aa3a0; /* low-emphasis */
    /* Header sizing (single source of truth) */
    --topHeaderH: 76px;
    --subHeaderH: 52px;
}

/* ---------------------------------------------------------
   BODY BACKGROUND + BASE TYPE
--------------------------------------------------------- */
body {
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    background: linear-gradient(135deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,0) 55%), linear-gradient(180deg, #0b0f0d 0%, #0f1412 100%);
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
}

main {
    display: block;
    padding-top: calc(var(--topHeaderH) + var(--subHeaderH));
}

h1, h2, h3 {
    line-height: 1.2;
    margin: 0 0 .6rem 0;
}

p {
    margin: 0 0 1rem 0;
}

ul {
    margin: 0 0 1rem 1.2rem;
}

li {
    margin: .25rem 0;
}

.page-muted {
    opacity: .78;
    font-size: .92rem;
}

/* ---------------------------------------------------------
   LINKS
--------------------------------------------------------- */
a {
    color: var(--green);
    text-decoration: none;
}

    a:hover {
        color: #55ff88;
    }

/* ---------------------------------------------------------
   BUTTONS
--------------------------------------------------------- */
.btn-solid {
    background: var(--green);
    color: #000;
    padding: .7rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}

    .btn-solid:hover {
        background: #55ff88;
    }

.btn-outline {
    border: 2px solid var(--green);
    color: var(--green);
    padding: .65rem 1.2rem;
    border-radius: var(--radius);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}

    .btn-outline:hover {
        border-color: #55ff88;
        color: #55ff88;
    }

.btn-sm {
    padding: .45rem .85rem;
    font-size: .9rem;
}

/* ---------------------------------------------------------
   LAYOUT CONTAINERS
--------------------------------------------------------- */
.page-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 16px;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stack-sm {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.page {
    min-height: 60vh;
}

/* ---------------------------------------------------------
   STICKY HEADERS (Two-tier)
--------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Tier 1 */
.top-header {
    background: #000;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.top-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
}

.brand-logo img {
    height: 40px;
    width: auto;
    display: block;
}

.primary-nav {
    margin-left: auto;
    display: flex;
    gap: 14px;
    align-items: center;
}

    .primary-nav a,
    .secondary-nav a {
        color: #eaeaea;
        text-decoration: none;
        font-weight: 600;
        letter-spacing: .2px;
        padding: 8px 10px;
        border-radius: 10px;
    }

        .primary-nav a:hover,
        .secondary-nav a:hover {
            background: rgba(120,255,160,.10);
            color: #baffcf;
        }

/* Hamburger */
.hamburger {
    margin-left: auto;
    width: 44px;
    height: 40px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    border-radius: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

    .hamburger span {
        display: block;
        width: 18px;
        height: 2px;
        background: #baffcf;
        border-radius: 999px;
    }

/* Tier 2 */
.sub-header {
    background: #070707;
    border-bottom: 1px solid rgba(120,255,160,.18);
}

.secondary-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

    .secondary-nav::-webkit-scrollbar {
        display: none;
    }

    .secondary-nav a {
        color: #d4d4d4;
        white-space: nowrap;
    }

        .secondary-nav a:hover {
            color: var(--green);
        }

/* ---------------------------------------------------------
   HERO (GLOBAL) : remove seams (no borders)
--------------------------------------------------------- */
.page-hero {
    padding: 2.4rem 0 1.6rem;
    border-bottom: none; /* remove seam line */
    overflow: visible;
}

    .page-hero.compact {
        padding: 1.75rem 0 1.15rem;
    }

.page-hero-inner {
    width: min(1250px, 92%);
    margin-inline: auto;
    position: relative;
    z-index: 2;
}

.page-kicker {
    font-size: .9rem;
    color: var(--green);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .35rem;
    display: inline-block;
}

.page-lede {
    margin-top: .4rem;
    max-width: 760px;
    opacity: .88;
}

.page-hero .quick-hero {
    position: relative;
    z-index: 3;
    display: block;
    margin-top: 12px;
}

.page-hero::before,
.page-hero::after {
    z-index: 0;
    pointer-events: none;
}

/* ---------------------------------------------------------
   SECTION SYSTEM : remove seams (no borders)
--------------------------------------------------------- */
.page-section {
    padding: 2.2rem 0 2.6rem;
}

    .page-section.alt {
        background: rgba(0,0,0,.20);
        border-top: none;
        border-bottom: none;
    }

/* ---------------------------------------------------------
   EDITORIAL (Blog/Industry) : normalized + no slab background
--------------------------------------------------------- */
.editorial {
    background: transparent;
    padding: 2rem 0 4rem;
}

    .editorial .page-inner {
        max-width: 1200px;
        margin: 0 auto;
        padding: 18px 16px;
    }

/* Featured (Blog/Industry) */
.featured {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 1.25rem;
    align-items: stretch;
    background: rgba(0,0,0,.45);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 0 0 1.6rem 0;
}

    .featured img {
        width: 100%;
        height: 100%;
        min-height: 320px;
        object-fit: cover;
        display: block;
    }

.featured-text {
    padding: 1.25rem 1.25rem 1.35rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .featured-text h2 {
        font-size: 1.75rem;
    }

.featured-cta {
    margin-top: .75rem;
    font-weight: 950;
}

/* Chips */
/* Pills / chips / tags */
.pill,
.chip,
.tag {
    background: rgba(51, 204, 102, 0.12);
    color: var(--green);
    border: 1px solid rgba(51, 204, 102, 0.35);
}

/* Subtle accent borders */
.accent-border {
    border-left: 3px solid var(--green);
}

/* Hover & focus states */
a:hover,
button:hover {
    color: var(--green);
}

.industry-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin: .25rem 0 1.25rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .8rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(0,0,0,.35);
    color: #d8d8d8;
    font-weight: 800;
    font-size: .92rem;
    white-space: nowrap;
}

    .chip:hover {
        border-color: rgba(51,204,102,.55);
        color: #baffcf;
    }

    .chip.is-active {
        background: rgba(51,204,102,.14);
        border-color: rgba(51,204,102,.55);
        color: #baffcf;
    }

/* Article grid + cards */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.15rem;
}

.article-card {
    background: rgba(0,0,0,.45);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.article-thumb {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: rgba(255,255,255,.06);
}

    .article-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

.article-meta {
    padding: .95rem 1.05rem 1.05rem;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    flex: 1;
}

    .article-meta h3 {
        margin: 0;
        line-height: 1.2;
        font-size: 1.05rem;
    }

    .article-meta a {
        margin-top: auto;
        font-weight: 900;
    }

/* ---------------------------------------------------------
   CTA BLOCKS : remove seams (no borders)
--------------------------------------------------------- */
.page-cta {
    padding: 2.5rem 0 3.2rem;
    border-top: none; /* remove seam */
    background: rgba(0,0,0,.28);
}

.page-cta-inner {
    width: min(1050px, 92%);
    margin-inline: auto;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.35);
    border-radius: 18px;
    padding: 2rem 1.6rem;
    text-align: center;
}

    .page-cta-inner p {
        opacity: .85;
    }

.page-cta-actions {
    margin-top: 1.1rem;
    display: flex;
    gap: .75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------------------------------------------------------
   CARDS / BLOODSTOCK GENERAL
--------------------------------------------------------- */
.card {
    background: rgba(0,0,0,.45);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius);
    padding: 1.2rem 1.4rem;
}

.mare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
}

/* ---------------------------------------------------------
   TABLE SHELL (generic)
--------------------------------------------------------- */
.table-shell {
    background: rgba(0,0,0,.55);
    border-radius: var(--radius);
    padding: 1rem;
    border: 1px solid rgba(255,255,255,.10);
}

.table-shell__toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: .75rem;
}

.toolbar-title {
    font-size: 1.25rem;
    font-weight: 950;
}

.toolbar-sub {
    opacity: .75;
    font-size: .9rem;
}

.table-shell__body {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ---------------------------------------------------------
   BLOODSTOCK DATA TABLE : CONTENT-DRIVEN (NO FIXED WIDTHS)
   Note: Mark numeric <th>/<td> with class="num" in _SessionTable
         for best compaction and fit.
--------------------------------------------------------- */
/* Bloodstock workspace : neutral, analytical */
.bloodstock-section,
.mare-index-card,
.mare-index-card__meta {
    color: var(--text-secondary);
}

.mare-index-card__name {
    color: var(--text-primary);
}

/* Keep green only as status */
.mare-index-card .pill {
    color: var(--green);
}

.bloodstock-section.alt {
    background: rgba(0,0,0,.20);
    border-top: none;
    border-bottom: none;
}

    .bloodstock-section.alt .table-shell {
        background: rgba(0,0,0,.72);
        border: 1px solid rgba(255,255,255,.10);
        border-radius: 18px;
        padding: 14px;
        box-shadow: 0 14px 40px rgba(0,0,0,.35);
        backdrop-filter: blur(8px);
    }

    .bloodstock-section.alt .table-shell__body {
        background: rgba(255,255,255,.04);
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 14px;
        padding: 10px;
        position: relative;
    }

        /* optional subtle right fade hint */
        .bloodstock-section.alt .table-shell__body::after {
            content: "";
            position: sticky;
            right: 0;
            top: 0;
            height: 100%;
            width: 22px;
            float: right;
            pointer-events: none;
            background: linear-gradient(to left, rgba(0,0,0,.45), rgba(0,0,0,0));
        }

    .bloodstock-section.alt .hs-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        background: #fff;
        color: #0b0f0d;
        border-radius: 12px;
        overflow: hidden;
        table-layout: auto; /* content-driven */
        min-width: 0; /* allow shrink */
        font-variant-numeric: tabular-nums;
    }

        .bloodstock-section.alt .hs-table thead th {
            position: sticky;
            top: 0;
            z-index: 5;
            background: #0b0f0d;
            color: #fff;
            padding: .55rem .6rem;
            font-weight: 900;
            text-align: left;
            white-space: nowrap;
            border-bottom: 1px solid rgba(255,255,255,.10);
            font-size: .92rem;
        }

        .bloodstock-section.alt .hs-table td {
            padding: .55rem .6rem;
            font-weight: 600;
            border-bottom: 1px solid rgba(0,0,0,.08);
            border-right: 1px solid rgba(0,0,0,.06);
            vertical-align: top;
            white-space: nowrap;
        }

            .bloodstock-section.alt .hs-table td:last-child,
            .bloodstock-section.alt .hs-table th:last-child {
                border-right: 0;
            }

        .bloodstock-section.alt .hs-table tbody tr:nth-child(even) td {
            background: rgba(0,0,0,.02);
        }

        .bloodstock-section.alt .hs-table tbody tr:hover td {
            background: rgba(51,204,102,.12);
        }

        /* sticky first column */
        .bloodstock-section.alt .hs-table thead th:first-child,
        .bloodstock-section.alt .hs-table tbody td:first-child {
            position: sticky;
            left: 0;
            z-index: 6;
        }

        .bloodstock-section.alt .hs-table thead th:first-child {
            background: #0b0f0d;
        }

        .bloodstock-section.alt .hs-table tbody td:first-child {
            background: #fff;
            box-shadow: 8px 0 14px rgba(0,0,0,.08);
        }

        /* compact numeric columns (requires .num class on <th>/<td>) */
        .bloodstock-section.alt .hs-table th.num,
        .bloodstock-section.alt .hs-table td.num {
            width: 1%; /* shrink-to-fit */
            white-space: nowrap;
            text-align: right;
            padding-left: .45rem;
            padding-right: .45rem;
        }

        /* allow Sire (2nd column) to wrap to keep table within viewport */
        .bloodstock-section.alt .hs-table th:nth-child(2),
        .bloodstock-section.alt .hs-table td:nth-child(2) {
            white-space: normal;
            max-width: 22ch;
        }

/* ---------------------------------------------------------
   PEDIGREE ANALYTICS (Explore) PAGE
--------------------------------------------------------- */
.feature-grid {
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.1rem;
}

.feature-card {
    background: rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: var(--radius);
    padding: 1.1rem 1.15rem;
}

.feature-title {
    font-weight: 950;
    font-size: 1.05rem;
    margin-bottom: .35rem;
}

.feature-card p {
    opacity: .86;
    margin: 0 0 .75rem 0;
}

.feature-link {
    font-weight: 900;
    display: inline-block;
}

/* checklist + actions */
.checklist {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0 0 0;
}

    .checklist li {
        position: relative;
        padding-left: 1.55rem;
        margin: .55rem 0;
        font-weight: 650;
        opacity: .92;
    }

        .checklist li::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 0;
            color: var(--green);
            font-weight: 950;
        }

.inline-actions {
    margin-top: 1.1rem;
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}

/* callout panel */
.callout-panel {
    background: rgba(0,0,0,.40);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    padding: 1.15rem;
    box-shadow: 0 14px 40px rgba(0,0,0,.28);
}

.callout-title {
    font-weight: 950;
    font-size: 1.05rem;
    margin-bottom: .75rem;
}

.callout-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: .65rem .75rem;
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    margin-top: .6rem;
}

.callout-key {
    color: var(--green);
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: .82rem;
    white-space: nowrap;
}

.callout-val {
    font-weight: 750;
    opacity: .92;
    text-align: right;
}

/* use cases */
.usecase-grid {
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.1rem;
}

.usecase {
    background: rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: var(--radius);
    padding: 1.05rem 1.15rem;
}

.usecase-title {
    font-weight: 950;
    margin-bottom: .35rem;
}

.usecase p {
    margin: 0;
    opacity: .86;
}

/* ---------------------------------------------------------
   ABOUT PAGE
--------------------------------------------------------- */
.about-hero {
    padding: 2.4rem 0 1.8rem;
    border-bottom: none; /* remove seam */
}

.about-hero-inner {
    width: min(1250px, 92%);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 1.5rem;
    align-items: stretch;
}

.about-kicker {
    font-size: .9rem;
    color: var(--green);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
    display: inline-block;
    margin-bottom: .35rem;
}

.about-hero-text h1 {
    font-size: clamp(2rem, 3.2vw, 3rem);
    margin-bottom: .6rem;
}

.about-hero-text p {
    max-width: 64ch;
    opacity: .88;
}

.about-hero-actions {
    margin-top: 1.1rem;
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}

.about-hero-panel {
    background: rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: var(--radius);
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

.about-metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: .9rem;
}

.metric {
    padding: .85rem .9rem;
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
}

.metric-value {
    font-weight: 950;
    font-size: 1.05rem;
    color: #fff;
}

.metric-label {
    opacity: .75;
    font-size: .92rem;
    margin-top: .2rem;
}

.about-panel-note {
    padding: .85rem .9rem;
    border-radius: 12px;
    background: rgba(51,204,102,.10);
    border: 1px solid rgba(51,204,102,.20);
    color: #dfffe9;
    font-weight: 800;
}

/* about sections */
.about-section, .about-case, .about-cta {
    padding: 2.2rem 0 2.6rem;
}

.about-section {
    background: rgba(0,0,0,.18);
    color: #eaeaea;
}

.about-inner {
    width: min(1200px, 92%);
    margin-inline: auto;
}

.about-split {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 1.6rem;
    align-items: start;
}

.about-pillars {
    display: grid;
    gap: .9rem;
}

.pillar-card {
    background: rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: var(--radius);
    padding: 1.05rem 1.1rem;
}

.pillar-title {
    font-weight: 950;
    margin-bottom: .4rem;
}

.pillar-card p {
    opacity: .86;
    margin: 0;
}

.about-case {
    background: rgba(0,0,0,.18);
    border-top: none; /* remove seam */
}

.case-grid {
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
}

.case-media {
    background: rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: var(--radius);
    overflow: hidden;
}

    .case-media img {
        width: 100%;
        height: auto;
        display: block;
    }

.case-notes {
    display: grid;
    gap: .9rem;
}

.case-note {
    background: rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
}

.case-note-title {
    font-weight: 950;
    margin-bottom: .35rem;
}

.case-note p {
    margin: 0;
    opacity: .86;
}

.case-foot {
    padding: 1rem 1.1rem;
    border-radius: var(--radius);
    background: rgba(51,204,102,.10);
    border: 1px solid rgba(51,204,102,.20);
    font-weight: 900;
    color: #dfffe9;
}

/* about CTA */
.about-cta {
    background: rgba(0,0,0,.28);
    border-top: none; /* remove seam */
}

.about-cta-inner {
    width: min(1050px, 92%);
    margin-inline: auto;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.35);
    border-radius: 18px;
    padding: 2rem 1.6rem;
    text-align: center;
}

    .about-cta-inner p {
        opacity: .85;
    }

.about-cta-actions {
    margin-top: 1.1rem;
    display: flex;
    gap: .75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------------------------------------------------------
   FORMS
--------------------------------------------------------- */
.label {
    font-weight: 900;
    display: inline-block;
    margin-bottom: .25rem;
}

.input {
    width: 100%;
    padding: .65rem .85rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.1);
    color: #fff;
}

    .input.file {
        background: transparent;
    }

/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */
footer {
    text-align: center;
    padding: 2rem 0;
    opacity: .6;
}

/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */
@media (max-width: 900px) {
    :root {
        --topHeaderH: 72px;
        --subHeaderH: 52px;
    }

    .hamburger {
        display: inline-flex;
    }

    /* Hide primary nav until toggled */
    .primary-nav {
        display: none;
        width: 100%;
        margin-left: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding-top: 8px;
    }

        .primary-nav.show {
            display: flex;
        }

    .top-header-inner {
        flex-wrap: wrap;
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .featured {
        grid-template-columns: 1fr;
    }

        .featured img {
            min-height: 240px;
        }

    .case-grid {
        grid-template-columns: 1fr;
    }

    .about-hero-inner {
        grid-template-columns: 1fr;
    }

    .about-split {
        grid-template-columns: 1fr;
    }

    .callout-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .callout-val {
        text-align: left;
    }

    .bloodstock-section.alt .hs-table thead th,
    .bloodstock-section.alt .hs-table td {
        padding: .5rem .55rem;
    }

    .quick-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------------------------------------------------------
   BLOG ARTICLE DETAIL PAGES
   Classes used: .article-detail .article-hero .article-body
--------------------------------------------------------- */
.article-detail {
    padding: 0 0 3.5rem;
}

/* Hero image banner */
.article-hero {
    width: min(1250px, 92%);
    margin: 1.6rem auto 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.35);
}

    .article-hero img {
        width: 100%;
        height: 480px; /* banner height */
        object-fit: cover;
        object-position: bottom center; /* KEY FIX */
        display: block;
    }

/* Article body shell */
.article-body {
    width: min(860px, 92%);
    margin: 1.35rem auto 0;
    background: rgba(0,0,0,.40);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    padding: 1.6rem 1.6rem 1.8rem;
    color: #eaeaea;
}

    /* Typography */
    .article-body h1 {
        font-size: clamp(1.9rem, 2.6vw, 2.6rem);
        margin-bottom: .5rem;
    }

.article-subtitle {
    margin: 0 0 1.25rem 0;
    font-size: 1.05rem;
    opacity: .80;
}

.article-body h2 {
    margin-top: 1.4rem;
    font-size: 1.45rem;
}

.article-body p {
    line-height: 1.75;
    opacity: .92;
}

.article-body strong {
    color: #ffffff;
    font-weight: 950;
}

/* Lists */
.article-body ul {
    margin: .75rem 0 1.1rem 1.15rem;
}

.article-body li {
    margin: .45rem 0;
    opacity: .92;
}

    /* Optional: give lists a subtle “editorial” cue */
    .article-body li::marker {
        color: var(--green);
    }

/* End signature */
.article-end {
    margin-top: 1.6rem;
    padding-top: 1rem;
    opacity: .80;
    font-weight: 900;
    border-top: 1px solid rgba(255,255,255,.10);
}

/* Responsive */
@media (max-width: 900px) {
    .article-hero img {
        height: 300px;
    }

    .article-body {
        padding: 1.25rem 1.15rem 1.35rem;
    }
}

.preserve-lines {
    white-space: pre-line;
}

/* ------------------------------
   MARE JOURNAL: FAMILY NOTES
------------------------------ */
.mare-card__family {
    margin-top: 1.1rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255,255,255,.10);
}

.mare-card__familyhead {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .65rem;
}

.note-chip {
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .02em;
    padding: .28rem .55rem;
    border-radius: 999px;
    border: 1px solid rgba(51,204,102,.35);
    background: rgba(51,204,102,.10);
    color: rgba(255,255,255,.86); /* NOT green text */
}

.journal {
    background: rgba(0,0,0,.30);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    padding: .9rem 1rem;
}

.journal__body {
    margin: 0;
    white-space: pre-wrap; /* preserves line breaks but wraps long lines */
    word-break: break-word; /* prevents overflow */
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif; /* keep site font */
    font-size: .98rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.muted {
    color: var(--text-tertiary);
}

/* ==============================
   MARE DETAIL PAGE - READABLE STACK
============================== */
.container {
    width: min(980px, 92%);
    margin: 0 auto;
}

.content-stack {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    padding: 1.5rem 0 3.5rem;
}

.content-card {
    background: rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 16px;
    padding: 1.15rem 1.25rem;
}

    .content-card h2 {
        margin: 0 0 .75rem 0;
    }

    .content-card h3 {
        margin: 1rem 0 .4rem 0;
    }

.content-card__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .6rem;
}

/* keep your existing preserve-lines behavior if you want it elsewhere */
.preserve-lines {
    white-space: pre-wrap;
    word-break: break-word;
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0;
}

.decision-line {
    white-space: pre-wrap;
    word-break: break-word;
    font-weight: 900;
    color: var(--text-primary);
    margin: 0 0 .75rem 0;
}

/* ==============================
   FAMILY NOTES – READABLE MEMO
============================== */
.journal--family {
    background: rgba(0,0,0,.28);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    padding: 1.1rem 1.25rem;
}

    /* Body text */
    .journal--family .journal__body {
        font-size: .95rem;
        line-height: 1.6;
        color: var(--text-secondary);
    }

    /* Paragraph spacing (this is the big fix) */
    .journal--family p {
        margin: 0 0 .65rem 0;
    }

        /* Section headers inside notes */
        .journal--family p strong {
            color: var(--text-primary);
        }

        /* Visually separate major breaks (Foundation Mare, Generations, Takeaway) */
        .journal--family p:has(strong) {
            margin-top: .85rem;
        }

    /* Lists rendered as lines (winners) */
    .journal--family br {
        display: block;
        content: "";
        margin-bottom: .35rem;
    }

/* =========================================================
   MARE REPORT v2 : SECTION HEADERS + FLOW (innovative)
   Paste at END of site.css
========================================================= */
.mare-report2 {
    padding: 1.25rem 0 3.5rem;
}

/* sticky mini-nav */
.report-nav {
    position: sticky;
    top: calc(var(--topHeaderH) + var(--subHeaderH) + 10px);
    z-index: 30;
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    padding: .75rem .8rem;
    margin: 0 0 1.15rem 0;
    border-radius: 16px;
    background: rgba(0,0,0,.40);
    border: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(10px);
}

.report-nav__link {
    display: inline-flex;
    align-items: center;
    padding: .45rem .7rem;
    border-radius: 999px;
    font-weight: 900;
    font-size: .9rem;
    color: var(--text-secondary);
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.03);
}

    .report-nav__link:hover {
        border-color: rgba(51,204,102,.35);
        color: var(--text-primary);
    }

/* section rhythm */
.report-section {
    margin: 0 0 1.35rem 0;
    scroll-margin-top: calc(var(--topHeaderH) + var(--subHeaderH) + 92px);
}

.report-section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 .65rem 0;
}

.report-section__title {
    margin: 0;
    font-size: 1.35rem;
    letter-spacing: .01em;
}

.report-surface {
    background: rgba(0,0,0,.32);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    padding: 1.1rem 1.15rem;
}

/* quick read */
.quick-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .95rem;
}

.quick-item {
    border-radius: 14px;
    padding: .9rem .95rem;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.03);
}

.quick-k {
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: .78rem;
    font-weight: 950;
    color: var(--text-tertiary);
    margin-bottom: .35rem;
}

.quick-v {
    color: var(--text-secondary);
    font-weight: 750;
    line-height: 1.5;
}

.quick-v--strong {
    color: var(--text-primary);
    font-weight: 950;
}

/* nicks in 3 panels */
.nicks-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: .9rem;
}

.nick-panel {
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.03);
    border-radius: 16px;
    padding: .95rem 1rem;
}

.nick-panel__title {
    margin: 0 0 .55rem 0;
    font-size: 1.05rem;
}

/* decision section styling */
.decision-surface {
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.03);
    border-radius: 16px;
    overflow: hidden;
}

.decision-surface__top {
    padding: 1rem 1.05rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.decision-k {
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: .78rem;
    font-weight: 950;
    color: var(--text-tertiary);
    margin-bottom: .35rem;
}

.decision-v {
    white-space: pre-wrap;
    word-break: break-word;
    font-weight: 950;
    color: var(--text-primary);
    line-height: 1.45;
}

.decision-surface__body {
    padding: 1rem 1.05rem 1.1rem;
}

    .decision-surface__body h3 {
        margin-top: 0;
    }

/* mobile */
@media (max-width: 900px) {
    .quick-grid {
        grid-template-columns: 1fr;
    }
}

.page-hero .quick-hero,
.page-hero .quick-hero .quick-k,
.page-hero .quick-hero .quick-v {
    color: var(--text-secondary);
}

.page-hero .quick-hero {
    position: relative;
    z-index: 5;
    margin-top: 10px;
}

    .page-hero .quick-hero,
    .page-hero .quick-hero .quick-k,
    .page-hero .quick-hero .quick-v {
        color: inherit;
    }

.page-hero .quick-hero {
    margin-top: 10px;
}

.hero-race-record {
    display: inline-flex;
    gap: .5rem;
    align-items: baseline;
    margin-top: .35rem;
}

.hero-race-record__k {
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: .78rem;
    font-weight: 950;
    color: var(--text-tertiary);
}

.hero-race-record__v {
    font-weight: 750;
    color: var(--text-secondary);
}

/* =========================================================
   MARE JOURNAL : COMPLETE STYLES
   ========================================================= */

/* Layout */
.marejournal .page-inner {
    max-width: 980px;
}

/* ===============================
   HEADER / HERO FIX
   =============================== */
.marejournal-head {
    display: flex;
    gap: 18px;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 22px 0 12px;
}

.marejournal-title {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.35); /* translucent plate */
    border: 1px solid rgba(255,255,255,0.08);
    padding: 14px 16px;
    border-radius: 14px;
}

/* Mare name : FORCE LEGIBILITY */
.marejournal .mj-title,
.marejournal h1.mj-title {
    color: #f9fafb !important; /* near-white */
    font-weight: 800 !important;
    opacity: 1 !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.7) !important;
    -webkit-text-stroke: 0.4px rgba(0,0,0,0.35);
}

/* Subline + race record */
.marejournal-sub,
.marejournal-record,
.mj-muted {
    margin: 6px 0 0;
    color: rgba(249,250,251,0.92) !important;
    opacity: 1 !important;
    text-shadow: 0 1px 8px rgba(0,0,0,0.55);
}

/* ===============================
   FLOATING / STICKY NAV (PREV / NEXT)
   =============================== */
.marejournal-nav-wrap {
    position: sticky;
    top: 0;
    z-index: 80;
    padding: 10px 0;
    background: rgba(247,241,230,0.95);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.marejournal-nav {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.is-disabled {
    pointer-events: none;
    opacity: 0.45;
}

/* ===============================
   SECTION JUMP BUTTONS (STICKY)
   =============================== */
.marejournal-sticky {
    position: sticky;
    top: 64px; /* below nav bar */
    z-index: 70;
    padding: 10px 0;
    margin-bottom: 14px;
}

.marejournal-sticky-inner {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.14);
    background: #f4efe4;
    color: #1f2937;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

    .btn-chip:hover {
        filter: brightness(0.97);
    }

/* ===============================
   CONTENT CARDS (IVORY)
   =============================== */
.mj-card {
    background: #f7f1e6; /* ivory / card stock */
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    padding: 18px 18px;
    margin-bottom: 16px;
    color: #1f2937;
}

    .mj-card h2 {
        margin-top: 0;
        color: #111827;
    }

    .mj-card h3 {
        margin-top: 16px;
        color: #374151;
    }

/* ===============================
   BODY TEXT
   =============================== */
.mj-prose {
    white-space: pre-wrap;
    line-height: 1.65;
    color: #1f2937;
    font-weight: 400;
}

/* ===============================
   SHORT LIST FIX (CRITICAL)
   =============================== */
.mj-shortlist,
.mj-shortlist *,
.mj-shortlist li {
    color: #1f2937 !important; /* FORCE readable text */
    opacity: 1 !important;
}

    /* Bullet spacing */
    .mj-shortlist ul {
        padding-left: 20px;
    }

    .mj-shortlist li {
        margin-bottom: 10px;
        line-height: 1.6;
    }

/* ===============================
   SAFETY OVERRIDES
   =============================== */
/* Prevent global hero / muted styles from leaking in */
.marejournal * {
    text-decoration-color: currentColor;
}

.admin-link {
    opacity: 0;
    position: fixed;
    right: 10px;
    bottom: 10px;
    width: 18px;
    height: 18px;
    display: block;
    z-index: 9999;
}

    .admin-link:focus,
    .admin-link:hover {
        opacity: .35;
    }

.logo-wrapper {
    display: inline-flex;
    align-items: center;
    background: #9BE37A;
    border-radius: 14px;
    padding: 6px 12px;
}

.brand-logo img {
    max-height: 48px; /* try 48–56px range */
    width: auto;
    display: block;
}

/* CONTACT PAGE */
.contact-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 4.5rem;
}

.contact-hero {
    max-width: 860px;
}

    .contact-hero h1 {
        margin: 0 0 .75rem;
        font-size: clamp(2rem, 4vw, 3rem);
        line-height: 1.05;
    }

    .contact-hero p {
        margin: 0 0 1.75rem;
        font-size: 1.05rem;
        color: rgba(255,255,255,.78);
        max-width: 720px;
    }

.contact-alert {
    margin: 0 0 1.25rem;
    padding: .85rem 1rem;
    border-radius: 12px;
    background: rgba(31, 122, 77, .18);
    border: 1px solid rgba(31, 122, 77, .35);
    color: rgba(255,255,255,.9);
}

.contact-card {
    max-width: 520px;
    padding: 1.25rem 1.25rem 1.35rem;
    border-radius: 18px;
    background: rgba(0,0,0,.45);
    border: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.field {
    display: grid;
    gap: .35rem;
}

    .field label {
        font-weight: 650;
        font-size: .95rem;
        color: rgba(255,255,255,.9);
    }

    .field input,
    .field textarea {
        width: 100%;
        padding: .75rem .85rem;
        border-radius: 12px;
        border: 1px solid rgba(255,255,255,.18);
        background: rgba(255,255,255,.08);
        color: rgba(255,255,255,.92);
        outline: none;
    }

    .field textarea {
        resize: vertical;
        min-height: 160px;
    }

        .field input:focus,
        .field textarea:focus {
            border-color: rgba(108, 207, 156, .55);
            box-shadow: 0 0 0 3px rgba(108, 207, 156, .18);
        }

.field-error {
    font-size: .9rem;
    color: rgba(255, 120, 120, .95);
}

/* FIXED: broken btn-primary fragment (must be valid CSS) */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .85rem 1rem;
}

/* ANALYSIS START */
.analysis-start {
    padding: 24px 0 48px;
}

.analysis-start-hero {
    padding: 28px 0;
}

.analysis-start-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 18px;
}

.analysis-start h1 {
    margin: 0 0 8px;
    font-size: 34px;
    letter-spacing: -0.3px;
}

.analysis-start-subtitle {
    margin: 0;
    opacity: 0.85;
    max-width: 760px;
}

.analysis-start-grid {
    max-width: 1100px;
    margin: 18px auto 0;
    padding: 0 18px;
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 16px;
}

.analysis-start-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

    .analysis-start-card.alt {
        background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.00));
    }

    .analysis-start-card h2 {
        margin: 0 0 12px;
        font-size: 18px;
    }

    .analysis-start-card h3 {
        margin: 14px 0 6px;
        font-size: 15px;
    }

.analysis-start-form .field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.analysis-start-form .field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.analysis-start-form label {
    font-size: 12px;
    opacity: 0.8;
}

.analysis-start-form input,
.analysis-start-form select {
    height: 42px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.12);
    outline: none;
    font-size: 14px;
    background: #fff;
}

.analysis-start-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 6px;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    user-select: none;
}

.btn-primary {
    background: #1f6f4a;
    color: #fff;
}

.btn-secondary {
    background: #fff;
    color: #1f6f4a;
    border-color: rgba(31,111,74,0.35);
}

.analysis-start-note {
    margin: 12px 0 0;
    font-size: 12px;
    opacity: 0.75;
}

.analysis-start-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
    opacity: 0.9;
}

.analysis-start-divider {
    height: 1px;
    background: rgba(0,0,0,0.08);
    margin: 14px 0;
}

.analysis-start-small {
    margin: 0;
    font-size: 13px;
    opacity: 0.85;
}

@media (max-width: 980px) {
    .analysis-start-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .analysis-start-form .field-row {
        grid-template-columns: 1fr;
    }

    .analysis-start h1 {
        font-size: 28px;
    }

    .analysis-start-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* THANKS PAGE */
.thanks-page {
    padding: 26px 0 54px;
}

.thanks-hero {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 18px 14px;
}

    .thanks-hero h1 {
        margin: 0 0 10px;
        font-size: 32px;
        letter-spacing: -0.3px;
    }

    .thanks-hero p {
        margin: 0;
        opacity: 0.85;
    }

.thanks-card {
    max-width: 900px;
    margin: 12px auto 0;
    padding: 18px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

    .thanks-card h2 {
        margin: 0 0 8px;
        font-size: 18px;
    }

    .thanks-card p {
        margin: 0 0 14px;
        opacity: 0.9;
    }

.thanks-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.btn-primary {
    background: #1f6f4a;
    color: #fff;
}

.btn-secondary {
    background: #fff;
    color: #1f6f4a;
    border-color: rgba(31,111,74,0.35);
}

.thanks-divider {
    height: 1px;
    background: rgba(0,0,0,0.08);
    margin: 16px 0 12px;
}

.thanks-small {
    margin: 0;
    font-size: 13px;
    opacity: 0.85;
}

@media (max-width: 640px) {
    .thanks-actions {
        flex-direction: column;
    }

    .thanks-hero h1 {
        font-size: 28px;
    }
}

/*Industry page*/
.industry-page {
    padding-bottom: 48px;
}

.industry-hero {
    padding: 28px 0 18px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.industry-hero-inner {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
}

.industry-hero h1 {
    margin: 0 0 6px;
    font-size: 34px;
    line-height: 1.1;
}

.industry-subtitle {
    margin: 0 0 14px;
    opacity: 0.85;
}

.industry-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.12);
    text-decoration: none;
    color: inherit;
    font-size: 14px;
    line-height: 1;
}

    .chip.active {
        border-color: rgba(0,0,0,0.28);
        font-weight: 600;
    }

.industry-grid {
    width: min(1100px, calc(100% - 32px));
    margin: 22px auto 0;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 18px;
}

@media (max-width: 900px) {
    .industry-grid {
        grid-template-columns: 1fr;
    }
}

.industry-brief, .industry-feed {
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    padding: 16px;
}

    .industry-brief h2,
    .industry-feed h2 {
        margin: 0 0 10px;
        font-size: 18px;
    }

    .industry-brief ul {
        margin: 0;
        padding-left: 18px;
    }

.feed-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.feed-list {
    display: grid;
    gap: 12px;
}

.feed-item {
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 12px;
    padding: 14px;
    background: rgba(255,255,255,0.85);
}

.feed-link {
    font-size: 16px;
    font-weight: 650;
    text-decoration: none;
    color: inherit;
}

    .feed-link:hover {
        text-decoration: underline;
    }

.feed-meta {
    margin-top: 6px;
    font-size: 13px;
    opacity: 0.85;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

    .feed-meta .dot {
        opacity: 0.6;
    }

.tags {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    font-size: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.10);
    opacity: 0.92;
}

.brief {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.35;
    opacity: 0.92;
}

.brief-line + .brief-line {
    margin-top: 4px;
}

.empty-state {
    padding: 14px;
    border-radius: 12px;
    border: 1px dashed rgba(0,0,0,0.20);
    opacity: 0.85;
}

.article-graphic--small {
    text-align: center;
}

    .article-graphic--small img {
        width: 700px !important;
        max-width: 90% !important;
        height: auto !important;
    }

.industry-page {
    width: min(1100px, calc(100% - 32px));
    margin: 36px auto 70px;
    line-height: 1.35;
}

.industry-hero {
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 16px;
}

    .industry-hero h1 {
        font-size: 42px;
        margin: 0 0 6px;
        letter-spacing: -0.02em;
    }

.updated {
    font-size: 13px;
    opacity: 0.72;
}

.industry-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 18px 0 26px;
}

.chip {
    padding: 7px 14px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    font-size: 13px;
    text-decoration: none;
    color: inherit;
    background: rgba(255,255,255,0.04);
}

    .chip:hover {
        border-color: rgba(255,255,255,0.28);
        background: rgba(255,255,255,0.07);
    }

    .chip.active {
        border-color: rgba(255,255,255,0.52);
        font-weight: 650;
        background: rgba(255,255,255,0.10);
    }

.industry-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    align-items: start;
}

@media (max-width: 950px) {
    .industry-grid {
        grid-template-columns: 1fr;
    }
}

.signal-panel {
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 16px;
    background: rgba(0,0,0,0.20);
}

    .signal-panel h2 {
        font-size: 16px;
        margin: 0 0 10px;
        letter-spacing: -0.01em;
    }

    .signal-panel ul {
        margin: 0;
        padding-left: 18px;
    }

    .signal-panel li {
        margin: 0 0 8px;
        opacity: 0.90;
    }

.tape .section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.tape h2 {
    font-size: 18px;
    margin: 0;
}

.count {
    font-size: 13px;
    opacity: 0.72;
}

.signal-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.signal-label {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.60;
    margin-bottom: 6px;
}

.signal-title {
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    color: inherit;
    display: block;
    margin-bottom: 6px;
    line-height: 1.22;
}

    .signal-title:hover {
        text-decoration: underline;
    }

.meta {
    font-size: 13px;
    opacity: 0.72;
}

.watchlist {
    margin-top: 26px;
}

    .watchlist h3 {
        font-size: 15px;
        margin: 0 0 10px;
        letter-spacing: -0.01em;
    }

.watch-row {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

    .watch-row a {
        font-size: 15px;
        font-weight: 560;
        text-decoration: none;
        color: inherit;
        line-height: 1.22;
        display: inline-block;
    }

        .watch-row a:hover {
            text-decoration: underline;
        }

    .watch-row .meta {
        display: block;
        margin-top: 4px;
        font-size: 12px;
        opacity: 0.65;
    }

/* =========================================================
   NAV (SEO/AEO labels) : fit + CTA + mobile behavior
   ========================================================= */
.primary-nav {
    gap: 10px;
}

    .primary-nav a,
    .secondary-nav a {
        font-size: .95rem;
        padding: 8px 9px;
    }

        /* CTA button style (Start Analysis link has class="cta" in layout) */
        .primary-nav a.cta,
        .secondary-nav a.cta {
            background: var(--green);
            color: #000;
            font-weight: 950;
            border-radius: 12px;
        }

            .primary-nav a.cta:hover,
            .secondary-nav a.cta:hover {
                background: #55ff88;
                color: #000;
            }

/* Desktop: keep secondary row compact */
.secondary-nav {
    gap: 8px;
}

    .secondary-nav a {
        font-size: .92rem;
        padding: 7px 9px;
    }

/* Mobile: hide sub-header so primary menu is the single source of navigation */
@media (max-width: 900px) {
    .sub-header {
        display: none;
    }

    .primary-nav a {
        width: 100%;
        padding: 10px 10px;
    }

        .primary-nav a.cta {
            width: 100%;
            text-align: left;
        }
}
.card,
.article-card,
.feature-card,
.callout-panel,
.report-surface,
.content-card {
    background: rgba(0,0,0,.55);
    border-color: rgba(255,255,255,.14);
}
