        /* ============================================================
           1. Editorial Case-Study Hero & Breadcrumb
           ============================================================ */
        .case-hero {
            padding-top: var(--sp-5);
            padding-bottom: var(--sp-7);
            border-bottom: 1px solid var(--line);
            position: relative;
            isolation: isolate;
        }

        .case-hero .blob-1 {
            top: -25%;
            inset-inline-start: -8%;
            opacity: 0.55;
        }

        .case-hero-top {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: var(--sp-3);
            margin-bottom: var(--sp-5);
        }

        .case-breadcrumb {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            min-height: 36px;
            padding: 6px 14px;
            border-radius: var(--r-pill);
            background: var(--bg-elev);
            border: 1px solid var(--line);
            font-family: var(--ff-mono);
            font-size: var(--fs-12);
            color: var(--fg-mute);
            box-shadow: var(--sh-1);
        }

        .case-breadcrumb a {
            color: var(--fg-soft);
            font-weight: 500;
            transition: color var(--d-fast) var(--ease-out);
        }

        .case-breadcrumb a:hover {
            color: var(--accent-text);
            text-decoration: underline;
            text-underline-offset: 3px;
        }

        .case-breadcrumb-sep {
            color: var(--fg-mute);
            user-select: none;
        }

        .case-breadcrumb-current {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: var(--fg);
            font-weight: 600;
        }

        .case-breadcrumb-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--accent);
        }

        .case-hero-grid {
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            gap: var(--sp-7);
            align-items: center;
        }

        .case-title {
            font-family: var(--ff-display);
            font-size: clamp(2.5rem, 5.4vw, 4.75rem);
            line-height: 108%;
            letter-spacing: -0.02em;
            font-weight: 500;
            margin-top: var(--sp-3);
            margin-bottom: var(--sp-4);
            color: var(--fg);
        }

        .case-title .it {
            font-style: italic;
            color: var(--accent);
        }

        .case-lead {
            font-size: var(--fs-18);
            line-height: var(--lh-normal);
            color: var(--fg-soft);
            margin-bottom: var(--sp-5);
            max-width: 640px;
        }

        .cta-cluster {
            display: flex;
            gap: var(--sp-3);
            flex-wrap: wrap;
            margin-bottom: var(--sp-5);
        }

        .spec-pills {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        .spec-pill {
            display: inline-flex;
            align-items: center;
            padding: 5px 12px;
            border-radius: var(--r-pill);
            border: 1px solid var(--line);
            background: var(--bg-elev);
            font-family: var(--ff-mono);
            font-size: var(--fs-12);
            color: var(--fg-soft);
        }

        .spec-pill.is-primary {
            border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
            color: var(--accent-text);
            font-weight: 600;
        }

        .case-stats-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: var(--sp-3);
        }

        .case-stat-card {
            background: var(--bg-elev);
            border: 1px solid var(--line);
            border-radius: var(--r-lg);
            padding: var(--sp-5) var(--sp-4);
            display: flex;
            flex-direction: column;
            gap: var(--sp-2);
            box-shadow: var(--sh-1);
        }

        .case-stat-num {
            font-family: var(--ff-display);
            font-style: italic;
            font-size: var(--fs-display-s);
            font-weight: 600;
            color: var(--accent);
            line-height: 1;
        }

        .case-stat-label {
            font-family: var(--ff-mono);
            font-size: var(--fs-12);
            font-weight: 500;
            color: var(--fg-mute);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* ============================================================
           2. Architectural Bento Grid
           ============================================================ */
        .bento-grid {
            display: grid;
            grid-template-columns: repeat(12, minmax(0, 1fr));
            gap: var(--sp-4);
        }

        .bento-item {
            background: var(--bg-elev);
            border: 1px solid var(--line);
            border-radius: var(--r-xl);
            padding: var(--sp-6);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            box-shadow: var(--sh-1);
            transition: border-color var(--d-base) var(--ease-out);
        }

        .bento-item:hover {
            border-color: var(--line-strong);
        }

        .bento-col-4 {
            grid-column: span 4;
        }

        .bento-col-6 {
            grid-column: span 6;
        }

        .bento-title {
            font-family: var(--ff-display);
            font-style: italic;
            font-size: var(--fs-24);
            font-weight: 600;
            margin-bottom: var(--sp-2);
            color: var(--fg);
        }

        .bento-p {
            color: var(--fg-soft);
            font-size: var(--fs-14);
            line-height: var(--lh-normal);
        }

        .tool-icon {
            width: 48px;
            height: 48px;
            border-radius: var(--r-md);
            background: var(--bg-sunk);
            border: 1px solid var(--line);
            display: grid;
            place-items: center;
            color: var(--accent-text);
        }

        .tool-icon-mb {
            margin-bottom: var(--sp-3);
        }

        /* ============================================================
           3. 9 Modular Tools Grid (Balanced 3x3 -> 2 -> 1, Zero Orphans)
           ============================================================ */
        .tools-section {
            content-visibility: auto;
            contain-intrinsic-size: auto 980px;
        }

        .tools-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: var(--sp-5);
        }

        .tool-card {
            min-width: 0;
            background: var(--bg-elev);
            border: 1px solid var(--line);
            border-radius: var(--r-xl);
            padding: var(--sp-5);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            box-shadow: var(--sh-1);
            transition:
                transform var(--d-base) var(--ease-out),
                border-color var(--d-base) var(--ease-out),
                box-shadow var(--d-base) var(--ease-out);
            position: relative;
        }

        .tool-card:hover {
            transform: translateY(-4px);
            border-color: var(--accent);
            box-shadow: var(--sh-3);
        }

        .tool-card-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            margin-bottom: var(--sp-4);
        }

        .tool-num {
            font-family: var(--ff-mono);
            font-size: var(--fs-12);
            color: var(--fg-mute);
            font-weight: 600;
        }

        .tool-card-title {
            font-family: var(--ff-display);
            font-style: italic;
            font-size: var(--fs-24);
            font-weight: 600;
            margin-bottom: var(--sp-2);
            color: var(--fg);
        }

        .tool-card-desc {
            color: var(--fg-soft);
            font-size: var(--fs-14);
            line-height: var(--lh-normal);
            margin-bottom: var(--sp-4);
        }

        .tool-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-bottom: var(--sp-4);
        }

        .tool-tag {
            display: inline-flex;
            align-items: center;
            padding: 4px 10px;
            border-radius: var(--r-pill);
            border: 1px solid var(--line);
            background: var(--bg-sunk);
            color: var(--fg-soft);
            font-size: var(--fs-12);
            line-height: 1.3;
        }

        .tool-card-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: var(--sp-2);
            border-top: 1px solid var(--line);
            padding-top: var(--sp-3);
            font-size: var(--fs-12);
            color: var(--fg-mute);
            font-family: var(--ff-mono);
        }

        .tool-path {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            min-width: 0;
        }

        .tool-launch-link {
            color: var(--accent-text);
            font-weight: 700;
            white-space: nowrap;
            display: inline-flex;
            align-items: center;
            min-height: 36px;
            padding-inline: 4px;
            transition: color var(--d-fast) var(--ease-out);
        }

        .tool-launch-link:hover {
            color: var(--fg);
            text-decoration: underline;
            text-underline-offset: 3px;
        }

        /* ============================================================
           4. 12-Format Transcoding Matrix Table
           ============================================================ */
        .matrix-section {
            content-visibility: auto;
            contain-intrinsic-size: auto 720px;
        }

        .table-wrap {
            width: 100%;
            overflow-x: auto;
            border: 1px solid var(--line);
            border-radius: var(--r-xl);
            background: var(--bg-elev);
            box-shadow: var(--sh-1);
        }

        .table-wrap:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 3px;
        }

        .matrix-table {
            width: 100%;
            min-width: 680px;
            border-collapse: collapse;
            text-align: start;
            font-size: var(--fs-14);
        }

        .matrix-table th {
            background: var(--bg-sunk);
            padding: var(--sp-4);
            border-bottom: 1px solid var(--line);
            font-family: var(--ff-mono);
            font-size: var(--fs-12);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: var(--fg);
        }

        .matrix-table tbody th {
            background: transparent;
            font-family: var(--ff-sans);
            font-size: var(--fs-14);
            text-transform: none;
            letter-spacing: normal;
            font-weight: 600;
        }

        .matrix-table td {
            padding: var(--sp-4);
            border-bottom: 1px solid var(--line);
            color: var(--fg-soft);
        }

        .matrix-table tbody tr {
            transition: background-color var(--d-fast) var(--ease-out);
        }

        .matrix-table tbody tr:hover {
            background: color-mix(in srgb, var(--accent) 4%, var(--bg-elev));
        }

        .matrix-table tr:last-child th,
        .matrix-table tr:last-child td {
            border-bottom: none;
        }

        .matrix-tag {
            display: inline-block;
            padding: 3px 10px;
            border-radius: var(--r-pill);
            background: var(--bg-sunk);
            border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
            color: var(--accent-text);
            font-weight: 700;
            font-size: var(--fs-12);
            font-family: var(--ff-mono);
            white-space: nowrap;
        }

        /* ============================================================
           5. Execution Pipeline & Editorial Callout Banner
           ============================================================ */
        .pipeline-section {
            content-visibility: auto;
            contain-intrinsic-size: auto 620px;
        }

        .pipeline-grid {
            display: grid;
            grid-template-columns: repeat(5, minmax(0, 1fr));
            gap: var(--sp-4);
        }

        .pipeline-step {
            background: var(--bg-elev);
            border: 1px solid var(--line);
            border-radius: var(--r-lg);
            padding: var(--sp-5);
            position: relative;
            box-shadow: var(--sh-1);
        }

        .pipeline-num {
            font-family: var(--ff-mono);
            font-size: var(--fs-12);
            color: var(--accent-text);
            font-weight: 700;
            letter-spacing: 0.6px;
            margin-bottom: var(--sp-2);
        }

        .pipeline-title {
            font-family: var(--ff-display);
            font-style: italic;
            font-size: var(--fs-20);
            font-weight: 600;
            margin-bottom: var(--sp-2);
            color: var(--fg);
        }

        .pipeline-desc {
            font-size: var(--fs-14);
            color: var(--fg-soft);
            line-height: var(--lh-normal);
        }

        .callout-box {
            background: var(--fg);
            color: var(--bg);
            border-radius: var(--r-2xl);
            padding: var(--sp-7);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: var(--sp-6);
            margin-top: var(--sp-8);
        }

        .callout-box h3 {
            font-family: var(--ff-display);
            font-style: italic;
            font-size: clamp(1.75rem, 3vw, 2.5rem);
            font-weight: 500;
            line-height: 112%;
            margin-bottom: var(--sp-2);
        }

        .callout-box h3 .it {
            color: var(--svc-ink-accent, var(--c-accent-hi));
        }

        .callout-box p {
            color: color-mix(in srgb, var(--bg) 86%, var(--fg));
            max-width: 540px;
            font-size: var(--fs-16);
        }

        .callout-box .btn-callout {
            background: var(--accent-fill);
            color: var(--accent-fg);
            flex-shrink: 0;
            white-space: nowrap;
        }

        .callout-box .btn-callout:hover {
            background: var(--bg);
            color: var(--fg);
        }

        .faq-section {
            content-visibility: auto;
            contain-intrinsic-size: auto 560px;
        }

        /* Theme transition support */
        .theme-transition .case-breadcrumb,
        .theme-transition .case-stat-card,
        .theme-transition .spec-pill,
        .theme-transition .bento-item,
        .theme-transition .tool-card,
        .theme-transition .tool-tag,
        .theme-transition .table-wrap,
        .theme-transition .matrix-table th,
        .theme-transition .pipeline-step,
        .theme-transition .callout-box {
            transition:
                background-color 350ms var(--ease-out),
                color 350ms var(--ease-out),
                border-color 350ms var(--ease-out);
        }

        /* ============================================================
           6. Responsive Breakpoints
           ============================================================ */
        @media (max-width: 1150px) {
            .pipeline-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }

        @media (max-width: 1024px) {
            .case-hero-grid {
                grid-template-columns: 1fr;
                gap: var(--sp-6);
            }

            .tools-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: var(--sp-4);
            }
        }

        @media (max-width: 900px) {

            .bento-col-4,
            .bento-col-6 {
                grid-column: span 12;
            }
        }

        @media (max-width: 768px) {
            .pipeline-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .callout-box {
                flex-direction: column;
                align-items: flex-start;
                padding: var(--sp-6) var(--sp-5);
                border-radius: var(--r-xl);
            }
        }

        @media (max-width: 640px) {

            .tools-grid,
            .pipeline-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 600px) {
            .case-hero {
                padding-top: var(--sp-4);
                padding-bottom: var(--sp-6);
            }

            .case-title {
                font-size: clamp(2rem, 8.5vw, 2.75rem);
            }

            .case-title .it,
            .section-head h2 .it,
            .case-stat-num {
                color: var(--accent-text);
            }

            .case-lead {
                font-size: var(--fs-16);
            }

            .callout-box .btn-callout {
                width: 100%;
                justify-content: center;
            }
        }

        @media (prefers-reduced-motion: reduce) {

            .tool-card,
            .bento-item,
            .matrix-table tbody tr {
                transition: none !important;
                transform: none !important;
            }
        }