/* Scoped Carbon Content Wrapper Styles */
.carbon_content-wrapper {
    --cream: #f7f7f5;
    --ink: #1a1a1a;
    --ink-soft: #3a3a3a;
    --rule: #d8cdb4;
    --gold: #9c7a3c;
    --white: #ffffff;
    --blue: #3c5a78;
    --link: #2b6cb0;
    --serif: 'Morion', Georgia, 'Times New Roman', Times, serif;
    --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --max: 700px;

    position: relative;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--serif);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    padding-bottom: 200px;
    overflow: hidden;
}

.carbon_content-wrapper *,
.carbon_content-wrapper *::before,
.carbon_content-wrapper *::after {
    box-sizing: border-box;
}

.carbon_content-wrapper img {
    max-width: 100%;
    display: block;
}

/* ---------- Top utility bar ---------- */
.carbon_content-wrapper .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    font-family: var(--sans);
    font-size: 12px;
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    mix-blend-mode: difference;
}

.carbon_content-wrapper .topbar .menu-icon {
    font-size: 18px;
    cursor: pointer;
}

/* ---------- Hero ---------- */
.carbon_content-wrapper .hero {
    position: relative;
    height: 100vh;
    min-height: 520px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carbon_content-wrapper .hero img,
.carbon_content-wrapper .hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.carbon_content-wrapper .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 24px;
    max-width: 900px;
    top: 15%;
}

.carbon_content-wrapper .hero-content h1 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(2rem, 6vw, 3.6rem);
    line-height: 1.25;
    letter-spacing: .5px;
    margin: 0 0 18px;
    text-shadow: 0 2px 18px rgba(0,0,0,.35);
}

.carbon_content-wrapper .hero-content p {
    font-family: var(--serif);
    font-style: normal;
    font-size: clamp(1.5rem, 2.2vw, 1.85rem);
    max-width: 640px;
    margin: 0 auto;
    text-shadow: 0 1px 10px rgba(0,0,0,.4);
}

/* ---------- Meta / byline ---------- */
.carbon_content-wrapper .article-wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px;
}

.carbon_content-wrapper .meta {
    padding-top: 36px;
}

.carbon_content-wrapper .meta .byline {
    font-family: var(--sans);
    font-size: 14px;
    color: var(--white);
}

.carbon_content-wrapper .meta .byline a {
    color: var(--link);
    text-decoration: none;
}

.carbon_content-wrapper .meta .byline a:hover {
    text-decoration: underline;
}

.carbon_content-wrapper .meta .timestamp {
    font-family: var(--sans);
    font-size: 13px;
    color: var(--white);
    margin-top: 4px;
}

.carbon_content-wrapper .dateline {
    font-family: var(--sans);
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    color: var(--ink-soft);
    margin: 74px 0 18px;
}

/* ---------- Body copy ---------- */
.carbon_content-wrapper .body-copy p {
    font-size: 1.1875rem;
    line-height: 1.75rem;
    font-weight: 300;
    color: var(--ink);
    margin: 0 0 25px;
}

.carbon_content-wrapper .body-copy p.drop::first-letter {
    font-family: var(--serif);
    float: left;
    font-size: 4.6rem;
    line-height: .82;
    font-weight: 700;
    padding: 6px 8px 0 0;
}

.carbon_content-wrapper .body-copy .pull {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--ink);
    text-align: center;
    margin: 36px 0;
}

.carbon_content-wrapper figure {
    margin: 36px 0;
}

.carbon_content-wrapper figure img {
    border-radius: 2px;
}

.carbon_content-wrapper figcaption {
    font-family: var(--sans);
    font-size: 12.5px;
    color: #8a8577;
    margin-top: 8px;
    line-height: 1.5;
}

.carbon_content-wrapper .figure-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin: 36px 0;
}

.carbon_content-wrapper .figure-pair figure {
    margin: 0;
}

/* ---------- Media width variants ---------- */
.carbon_content-wrapper .img-3-4 {
    width: 75vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -37.5vw;
    margin-right: -37.5vw;
    margin-top: 40px;
    margin-bottom: 40px;
}

.carbon_content-wrapper .img-3-4 figcaption {
    max-width: var(--max);
    margin: 8px auto 0;
    text-align: left;
}

.carbon_content-wrapper .img-bleed {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 44px;
    margin-bottom: 44px;
}

.carbon_content-wrapper .img-bleed img {
    width: 100%;
    border-radius: 0;
}

.carbon_content-wrapper .img-bleed figcaption {
    max-width: var(--max);
    margin: 8px auto 0;
    padding: 0 20px;
}

.carbon_content-wrapper .img-bleed-overlay {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 44px;
    margin-bottom: 44px;
    min-height: 70vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.carbon_content-wrapper .img-bleed-overlay img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carbon_content-wrapper .img-bleed-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.65) 100%);
}

.carbon_content-wrapper .img-bleed-overlay .overlay-text {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 32px 20px 40px;
    max-width: var(--max);
    margin: 0 auto;
    width: 100%;
}

.carbon_content-wrapper .img-bleed-overlay .overlay-text .kicker {
    font-family: var(--sans);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    opacity: .85;
    margin-bottom: 8px;
}

.carbon_content-wrapper .img-bleed-overlay .overlay-text h3 {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin: 0 0 8px;
    text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

.carbon_content-wrapper .img-bleed-overlay .overlay-text p {
    font-family: var(--serif);
    font-size: 1rem;
    max-width: 520px;
    text-shadow: 0 1px 8px rgba(0,0,0,.4);
    margin: 0;
}

/* ---------- Embedded in-article video ---------- */
.carbon_content-wrapper .video-embed {
    margin: 40px 0;
}

.carbon_content-wrapper .video-embed .video-frame {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 2px;
    overflow: hidden;
}

.carbon_content-wrapper .video-embed video {
    width: 100%;
    display: block;
}

.carbon_content-wrapper .video-embed .play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.15);
    cursor: pointer;
    transition: background .2s ease;
}

.carbon_content-wrapper .video-embed .play-overlay:hover {
    background: rgba(0,0,0,.25);
}

.carbon_content-wrapper .video-embed .play-overlay.hidden {
    display: none;
}

.carbon_content-wrapper .video-embed .play-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carbon_content-wrapper .video-embed .play-btn svg {
    width: 22px;
    height: 22px;
    fill: var(--ink);
    margin-left: 3px;
}

.carbon_content-wrapper .video-embed figcaption {
    margin-top: 8px;
}

.carbon_content-wrapper .video-montage {
    margin: 36px 0;
}

.carbon_content-wrapper .video-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 36px 0;
}

.carbon_content-wrapper .video-pair video,
.carbon_content-wrapper .video-montage video {
    width: 100%;
    display: block;
    object-fit: cover;
    background: #000;
    border-radius: 2px;
}

.carbon_content-wrapper .video-pair video {
    max-height: 340px;
}

.carbon_content-wrapper .video-montage video {
    max-height: 420px;
}

.carbon_content-wrapper .video-montage figcaption {
    margin-top: 8px;
}

.carbon_content-wrapper .video-pair figure,
.carbon_content-wrapper .video-montage figure.frame {
    position: relative;
    margin: 0;
}

.carbon_content-wrapper blockquote.quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--ink);
    text-align: center;
    margin: 40px 0;
    padding: 0 10px;
}

.carbon_content-wrapper blockquote.quote cite {
    display: block;
    font-family: var(--sans);
    font-style: normal;
    font-size: 13px;
    color: var(--ink-soft);
    margin-top: 10px;
}

.carbon_content-wrapper hr.section-rule {
    border: none;
    border-top: 1px solid var(--rule);
    margin: 50px 0;
}

/* ---------- Comments / footer ---------- */
.carbon_content-wrapper .end-toolbar {
    display: flex;
    gap: 28px;
    padding: 24px 0;
    border-top: 1px solid var(--rule);
    margin-top: 20px;
    font-family: var(--sans);
    font-size: 13px;
    color: var(--ink-soft);
}

.carbon_content-wrapper .close_footer {
    margin-top: 60px;
    padding: 40px 20px 80px;
    text-align: center;
    font-family: var(--sans);
    font-size: 12px;
    color: #a8a190;
    border-top: 1px solid var(--rule);
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
    .carbon_content-wrapper .figure-pair {
        grid-template-columns: 1fr;
    }
    .carbon_content-wrapper .video-pair {
        grid-template-columns: 1fr;
    }
    .carbon_content-wrapper .toolbar {
        gap: 20px;
        flex-wrap: wrap;
    }
    .carbon_content-wrapper .body-copy p {
        font-size: 1.05rem;
    }
    .carbon_content-wrapper .stat-row {
        gap: 14px;
    }
    .carbon_content-wrapper .stat-row .fig {
        font-size: 1.9rem;
    }
    .carbon_content-wrapper .stat-row .icon {
        width: 44px;
    }
    .carbon_content-wrapper .hero {
        height: 100vh;
    }
    .carbon_content-wrapper .img-3-4 {
        width: 100vw;
        margin-left: -50vw;
        margin-right: -50vw;
    }
    .carbon_content-wrapper .img-3-4 figcaption {
        padding: 0 20px;
    }
    .carbon_content-wrapper .img-bleed-overlay {
        min-height: 56vh;
    }
    .carbon_content-wrapper .video-montage video {
        max-height: 56vh;
    }
}