/* Editorial Base Styles */
.carbon_content-wrapper {
    font-family: 'Morion', 'Georgia', serif;
    padding-bottom: 2rem;
    line-height: 1.6;
    background-color: #f7f7f5;
    color: #111;
    width: 100vw;
    margin-top: calc(30px);
}

.carbon_content-wrapper * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Hide article author */
.article-content .article-authors {
    display: none !important;
}

.carbon_content-wrapper .container {
    max-width: 84rem;
    margin: 0 auto;
    position: relative;
}

/* Progress Bar */
.carbon_content-wrapper .progress-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0,0,0,0.05);
    z-index: 2000;
    opacity: 0; 
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
}

.carbon_content-wrapper .progress-wrap.is-visible {
    opacity: 1;
    visibility: visible;
}

.carbon_content-wrapper #progress-bar {
    height: 100%;
    width: 0%;
    background: #111;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Layout Grid */
.carbon_content-wrapper .article-header {
    max-width: 700px;
    margin: 0 auto;
    padding: 15vh 1.5rem 10vh 1.5rem;
    text-align: left;
}

.carbon_content-wrapper .article-title {
    font-size: clamp(2.5rem, 8vw, 3.25rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.carbon_content-wrapper .article-dek {
    font-size: 1.4rem;
    color: #555;
    font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 300;
    max-width: 600px;
}

.carbon_content-wrapper .byline {
    margin-top: 1.5rem;
    font-family: 'Roboto', 'Helvetica Neue', sans-serif;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.carbon_content-wrapper .timeline-glossary {
    margin-top: 2rem;
    display: flex;
    gap: 2rem;
    padding: 1rem;
    background: #eee;
    border-radius: 4px;
    font-family: 'Roboto', 'Helvetica Neue', sans-serif;
    font-size: 0.8rem;
}

.carbon_content-wrapper .period-marker {
    display: flex;
    align-items: center;
    gap: 8px;
}

.carbon_content-wrapper .dot { width: 10px; height: 10px; border-radius: 50%; }
.carbon_content-wrapper .dot.p1 { background: #e53e3e; }
.carbon_content-wrapper .dot.p2 { background: #3182ce; }

.carbon_content-wrapper .scrolly-container {
    display: flex;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 20vh;
}

#scrolly-sentinel {
    position: absolute;
    top: 0;
    height: 1px;
    width: 100%;
}

.carbon_content-wrapper .prose-column {
    width: 45%;
    padding: 0 4rem 0 2rem;
    position: relative;
    z-index: 2;
}

.carbon_content-wrapper .scrolly-block {
    opacity: 0.2;
    transition: opacity 0.5s ease;
    margin-bottom: 15vh;
}

.carbon_content-wrapper .scrolly-block.is-active {
    opacity: 1;
}

.carbon_content-wrapper .step {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carbon_content-wrapper .step-content {
    background: rgba(247, 247, 245, 0.95);
    padding: 2rem;
    border-left: 4px solid #111;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.carbon_content-wrapper .step h2 {
    font-family: 'Georgia', serif;
    margin-bottom: 1rem;
    color: #2b6cb0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.carbon_content-wrapper .step p {
    font-size: 1.2rem;
    margin-bottom: 0;
}

.carbon_content-wrapper .narrative-p {
    font-size: 1.2rem;
    margin: 2rem 0 4rem 0;
    color: #333;
    border-radius: 1rem;
    background-color: #cccccc29;
    padding: 1rem;
}

/* Conclusion Section Styles */
.carbon_content-wrapper .article-conclusion {
    max-width: 700px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
    border-top: 1px solid #ddd;
}

.carbon_content-wrapper .conclusion-title {
    font-family: 'Morion', 'Roboto', 'Helvetica Neue', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.carbon_content-wrapper .conclusion-p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

/* Visualization HUD */
.carbon_content-wrapper .viz-column {
    width: 55%;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 10;
}

.carbon_content-wrapper .viz-canvas {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1/1;
    background: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 3rem 3rem 0 3rem;
}

.carbon_content-wrapper .hud-period-key {
    position: absolute;
    bottom: 1rem;
    left: 3rem;
    right: 3rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-family: 'Roboto', 'Helvetica Neue', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #999;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding-top: 1rem;
}

.carbon_content-wrapper .data-readout {
    position: absolute;
    top: 3rem;
    left: 3rem;
    right: 3rem;
    z-index: 15;
}

.carbon_content-wrapper .data-value {
    font-size: clamp(2.2rem, 5vw, 2.8rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    transition: color 0.5s ease;
}

.carbon_content-wrapper .data-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.carbon_content-wrapper .chart-area {
    flex-grow: 1;
    margin-top: 7rem;
    margin-bottom: 3rem;
    position: relative;
    display: flex;
    align-items: flex-end;
    background-color: #fafafa;
    border-bottom: 1px solid #eee;
}

.carbon_content-wrapper .bar-segment {
    background-color: #111;
    width: 100%;
    bottom: 0;
    position: absolute;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.carbon_content-wrapper .comparison-container {
    display: flex;
    width: 100%;
    height: 100%;
    gap: 12px;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding-bottom: 5px;
}

.carbon_content-wrapper .comp-bar-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.carbon_content-wrapper .comp-bar {
    width: 100%;
    transition: height 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.carbon_content-wrapper .comp-label {
    font-family: 'Roboto', 'Helvetica Neue', sans-serif;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-size: 0.65rem;
    text-align: center;
    line-height: 1.2;
}

/* Icon Grids positioned below readout */
.carbon_content-wrapper .viz-icon-grid {
    flex-grow: 1;
    margin-top: 7rem;
    margin-bottom: 3rem;
    display: grid;
    gap: 8px;
    background: #fafafa;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    display: none;
}

.carbon_content-wrapper .viz-icon-grid.is-visible {
    opacity: 1;
    pointer-events: auto;
    display: grid;
}

.carbon_content-wrapper .viz-icon-item {
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0.75rem;
    text-align: center;
    font-family: 'Roboto', 'Helvetica Neue', sans-serif;
}

.carbon_content-wrapper .viz-icon-item i {
    font-size: 2.2rem;
    color: #2b6cb0;
}

.carbon_content-wrapper .viz-icon-item span {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #333;
}

@media (max-width: 900px) {
    .carbon_content-wrapper .scrolly-container { flex-direction: column; }
    .carbon_content-wrapper .viz-column { width: 100%; height: 45vh; position: sticky; top: calc(70px); background: #f7f7f5; order: 2; padding: 0; }
    .carbon_content-wrapper .viz-canvas { max-width: 100%; height: 100%; box-shadow: none; padding: 1.5rem; }
    .carbon_content-wrapper .prose-column { width: 100%; padding: 0 1.5rem; order: 3; }
    .carbon_content-wrapper .step { min-height: 50vh; }
    .carbon_content-wrapper .hud-period-key { display: none; }
    .carbon_content-wrapper .viz-icon-item i {
    font-size: 1.4rem;
    }
}

.carbon_content-wrapper .illustrated-by {
    margin-top: 5rem;
    padding: 3rem 0;
    border-top: 1px solid #ddd;
    font-family: 'Roboto', 'Helvetica Neue', sans-serif;
    font-size: 0.8rem;
    color: #333;
    text-align: center;
}