:root {
    --ink: #0f1419;
    --ink-light: #3a4553;
    --ink-muted: #6b7a8d;
    --paper: #faf9f7;
    --paper-warm: #f5f0ea;
    --accent: #1a6b4a;
    --accent-light: #e8f5ee;
    --accent-glow: #2dd882;
    --danger: #c0392b;
    --danger-light: #fdf0ee;
    --warning: #d4860b;
    --warning-light: #fef8ec;
    --blue: #1a4f8b;
    --blue-light: #eaf1fa;
    --serif: 'Instrument Serif', Georgia, serif;
    --sans: 'DM Sans', -apple-system, sans-serif;
    --mono: 'JetBrains Mono', monospace;
    --chart-quality: #1a6b4a;
    --chart-cost: #c0392b;
    --chart-value: #1a4f8b;
    --chart-ai: #8b5cf6;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.7;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

/* === HERO === */
.article-hero {
    padding: 6rem 2rem 4rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    background: transparent;
}

.hero__label {
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero__label::before {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--accent);
}

.hero__title {
    font-family: var(--serif);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    line-height: 1.08;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 1.8rem;
    letter-spacing: -0.02em;
}

.hero__title em {
    font-style: italic;
    color: var(--accent);
}

.hero__subtitle {
    font-size: 1.2rem;
    line-height: 1.65;
    color: var(--ink-light);
    max-width: 640px;
    font-weight: 300;
}

.hero__meta {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(15, 20, 25, 0.1);
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 0.85rem;
    color: var(--ink-muted);
}

.hero__meta-author {
    font-weight: 600;
    color: var(--ink);
}

/* === ARTICLE BODY === */
.article {
    max-width: 740px;
    margin: 0 auto;
    padding: 0 2rem 6rem;
}

.article h2 {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--ink);
    margin: 4rem 0 1.2rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.article h3 {
    font-family: var(--sans);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
    margin: 2.5rem 0 0.8rem;
    letter-spacing: -0.01em;
}

.article p {
    margin-bottom: 1.4rem;
    color: var(--ink-light);
}

.article strong {
    color: var(--ink);
    font-weight: 600;
}

/* === PULL QUOTE === */
.pull-quote {
    margin: 3.5rem -2rem;
    padding: 2.5rem 3rem;
    border-left: 3px solid var(--accent);
    background: linear-gradient(135deg, var(--accent-light) 0%, transparent 100%);
    border-radius: 0 12px 12px 0;
}

.pull-quote p {
    font-family: var(--serif);
    font-size: 1.35rem;
    line-height: 1.55;
    color: var(--ink);
    font-style: italic;
    margin-bottom: 0;
}

.pull-quote cite {
    display: block;
    font-family: var(--sans);
    font-size: 0.8rem;
    font-style: normal;
    color: var(--ink-muted);
    margin-top: 0.8rem;
    font-weight: 500;
}

/* === CHART CONTAINERS === */
.chart-section {
    margin: 3.5rem -3rem;
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 1px 3px rgba(15, 20, 25, 0.06), 0 8px 24px rgba(15, 20, 25, 0.04);
    border: 1px solid rgba(15, 20, 25, 0.06);
}

.chart-section__title {
    font-family: var(--mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-muted);
    margin-bottom: 0.4rem;
}

.chart-section__heading {
    font-family: var(--serif);
    font-size: 1.4rem;
    color: var(--ink);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.chart-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.chart-container svg {
    width: 100%;
    height: 100%;
}

.chart-legend {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.2rem;
    flex-wrap: wrap;
}

.chart-legend__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--ink-muted);
}

.chart-legend__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* === INSIGHT CARDS === */
.insight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin: 3rem -1rem;
}

.insight-card {
    padding: 1.8rem;
    border-radius: 12px;
    border: 1px solid rgba(15, 20, 25, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.insight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(15, 20, 25, 0.06);
}

.insight-card--green {
    background: var(--accent-light);
    border-color: rgba(26, 107, 74, 0.15);
}

.insight-card--red {
    background: var(--danger-light);
    border-color: rgba(192, 57, 43, 0.12);
}

.insight-card--amber {
    background: var(--warning-light);
    border-color: rgba(212, 134, 11, 0.15);
}

.insight-card--blue {
    background: var(--blue-light);
    border-color: rgba(26, 79, 139, 0.12);
}

.insight-card__number {
    font-family: var(--serif);
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.insight-card--green .insight-card__number {
    color: var(--accent);
}

.insight-card--red .insight-card__number {
    color: var(--danger);
}

.insight-card--amber .insight-card__number {
    color: var(--warning);
}

.insight-card--blue .insight-card__number {
    color: var(--blue);
}

.insight-card__label {
    font-size: 0.82rem;
    color: var(--ink-muted);
    font-weight: 500;
}

.insight-card__desc {
    font-size: 0.82rem;
    color: var(--ink-light);
    margin-top: 0.4rem;
    line-height: 1.5;
}

/* === ZONE DIAGRAM === */
.zone-bar {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    height: 56px;
    margin: 2rem 0 0.8rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.zone-bar__segment {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: white;
    position: relative;
}

.zone-bar__segment--under {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    flex: 3;
}

.zone-bar__segment--sweet {
    background: linear-gradient(135deg, #1a6b4a, #27ae60);
    flex: 4;
}

.zone-bar__segment--over {
    background: linear-gradient(135deg, #d4860b, #f39c12);
    flex: 3;
}

.zone-labels {
    display: flex;
    font-size: 0.72rem;
    color: var(--ink-muted);
}

.zone-labels span {
    text-align: center;
}

.zone-labels span:nth-child(1) {
    flex: 3;
}

.zone-labels span:nth-child(2) {
    flex: 4;
}

.zone-labels span:nth-child(3) {
    flex: 3;
}

/* === AI THRESHOLD SECTION === */
.ai-callout {
    margin: 3rem -2rem;
    padding: 2.5rem 3rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%);
    border-radius: 16px;
    color: white;
    position: relative;
    overflow: hidden;
}

.ai-callout::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.ai-callout__label {
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-glow);
    margin-bottom: 0.8rem;
}

.ai-callout__title {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.ai-callout__text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 580px;
}

.ai-callout__text strong {
    color: white;
}

/* === FRAMEWORK STEPS === */
.framework-steps {
    margin: 2.5rem 0;
    counter-reset: step;
}

.framework-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    counter-increment: step;
}

.framework-step__marker {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-light);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
}

.framework-step__marker::after {
    content: counter(step);
}

.framework-step__title {
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.3rem;
}

.framework-step__desc {
    font-size: 0.92rem;
    color: var(--ink-light);
    line-height: 1.6;
}

/* === CTA === */
.cta-section {
    margin: 5rem -3rem 0;
    padding: 3.5rem;
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--paper-warm) 100%);
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(26, 107, 74, 0.12);
}

.cta-section__title {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 0.8rem;
}

.cta-section__text {
    color: var(--ink-light);
    max-width: 480px;
    margin: 0 auto 2rem;
    font-size: 1rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.2rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s, transform 0.15s;
}

.cta-btn:hover {
    background: #155a3e;
    transform: translateY(-1px);
}

.cta-btn svg {
    width: 18px;
    height: 18px;
}

/* === ANIMATIONS === */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Chart path animations */
.chart-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 2s ease;
}

.chart-line.animate {
    stroke-dashoffset: 0;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .article-hero {
        padding: 5rem 1.5rem 3rem;
    }

    .article {
        padding: 0 1.5rem 4rem;
    }

    .chart-section {
        margin: 2.5rem -0.5rem;
        padding: 1.5rem;
    }

    .pull-quote {
        margin: 2.5rem -0.5rem;
        padding: 1.8rem;
    }

    .ai-callout {
        margin: 2.5rem -0.5rem;
        padding: 2rem;
    }

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

    .cta-section {
        margin: 3rem -0.5rem 0;
        padding: 2.5rem 1.5rem;
    }

    .site-nav__links {
        display: none;
    }

    .hero__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2.2rem;
    }

    .zone-bar {
        height: 44px;
        font-size: 0.65rem;
    }
}

/* === EXECUTIVE TAKEAWAYS === */
.exec-summary {
    margin-top: 2.2rem;
    padding: 1.6rem 1.8rem;
    border-radius: 14px;
    background: rgba(26, 107, 74, 0.06);
    border: 1px solid rgba(26, 107, 74, 0.14);
}

.exec-summary__title {
    font-family: var(--mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 0.9rem;
    font-weight: 600;
}

.exec-summary ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--ink);
}

.exec-summary li {
    margin: 0.55rem 0;
    line-height: 1.55;
}

.exec-summary strong {
    color: var(--ink);
}

/* === BUSINESS COSTS LIST === */
.cost-list {
    margin: 1.4rem 0 0;
    padding-left: 1.2rem;
}

.cost-list li {
    margin: 0.7rem 0;
    line-height: 1.6;
}

.cost-list strong {
    color: var(--ink);
}

/* === STAKEHOLDER GRID === */
.stakeholder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-top: 1.6rem;
}

.stakeholder-card {
    padding: 1.6rem;
    border-radius: 12px;
    border: 1px solid rgba(15, 20, 25, 0.08);
    background: var(--paper);
}

.stakeholder-card__role {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 400;
    margin-bottom: 0.35rem;
    color: var(--ink);
}

.stakeholder-card__focus {
    color: var(--ink-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* === BUSINESS CASE BOX === */
.business-case {
    margin-top: 2.2rem;
    padding: 2rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(26, 79, 139, 0.06) 0%, rgba(26, 107, 74, 0.05) 100%);
    border: 1px solid rgba(15, 20, 25, 0.08);
}

.business-case__title {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 0.6rem;
}

.business-case__subtitle {
    color: var(--ink-light);
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.business-case ol {
    margin: 0 0 1.4rem;
    padding-left: 1.25rem;
}

.business-case li {
    margin: 0.55rem 0;
    line-height: 1.6;
}

.decision-map {
    margin-top: 1.2rem;
    padding: 1.4rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(15, 20, 25, 0.08);
}

.decision-map__title {
    font-family: var(--mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-muted);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.decision-map__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.decision-map__table th,
.decision-map__table td {
    text-align: left;
    padding: 0.75rem 0.6rem;
    vertical-align: top;
    border-top: 1px solid rgba(15, 20, 25, 0.08);
}

.decision-map__table th {
    color: var(--ink);
    font-weight: 600;
    border-top: none;
    font-size: 0.85rem;
}

.decision-map__table td {
    color: var(--ink-light);
}

/* === CTA DELIVERABLES === */
.cta-deliverables {
    list-style: none;
    padding: 0;
    margin: 0 auto 2rem;
    max-width: 560px;
    color: var(--ink-light);
    text-align: left;
}

.cta-deliverables li {
    padding-left: 1.6rem;
    position: relative;
    margin: 0.55rem 0;
    line-height: 1.55;
}

.cta-deliverables li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

@media (max-width: 680px) {
    .stakeholder-grid {
        grid-template-columns: 1fr;
    }

    .decision-map__table {
        display: block;
        overflow-x: auto;
    }
}