        /* ============================================================
           1. Breadcrumb Pill & Article Hero
           ============================================================ */
        .style-breadcrumb-bar {
            padding-top: var(--sp-5);
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: var(--sp-3);
        }

        .style-pager {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }

        .style-pager-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            min-height: 36px;
            padding: 6px 12px;
            border-radius: var(--r-pill);
            background: var(--bg-elev);
            border: 1px solid var(--line);
            box-shadow: var(--sh-1);
            font-family: var(--ff-mono);
            font-size: var(--fs-12);
            font-weight: 500;
            color: var(--fg-soft);
            transition:
                color var(--d-fast) var(--ease-out),
                border-color var(--d-fast) var(--ease-out),
                background-color var(--d-fast) var(--ease-out);
        }

        .style-pager-link:hover {
            color: var(--accent-text);
            border-color: var(--accent);
        }

        .style-pager-link svg {
            flex-shrink: 0;
            color: var(--fg-mute);
            transition:
                color var(--d-fast) var(--ease-out),
                transform var(--d-fast) var(--ease-out);
        }

        .style-pager-link:hover svg {
            color: var(--accent-text);
        }

        .style-pager-link:first-child:hover svg {
            transform: translateX(-2px);
        }

        .style-pager-link:last-child:hover svg {
            transform: translateX(2px);
        }

        .style-pager-title {
            max-width: 15ch;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .style-breadcrumb {
            display: inline-flex;
            align-items: center;
            flex-wrap: wrap;
            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);
        }

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

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

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

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

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

        .article-hero {
            padding-top: var(--sp-5);
            padding-bottom: var(--sp-7);
            border-bottom: 1px solid var(--line);
        }

        .article-hero-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: var(--sp-6);
            align-items: center;
        }

        .article-hero-content {
            display: flex;
            flex-direction: column;
            gap: var(--sp-4);
        }

        .article-meta {
            display: flex;
            align-items: center;
            gap: var(--sp-3);
            font-size: var(--fs-14);
            color: var(--fg-mute);
            flex-wrap: wrap;
        }

        .article-meta .chip-accent {
            background: var(--accent-fill);
            color: var(--accent-fg);
            border-color: var(--accent-fill);
            font-weight: 600;
        }

        .article-title {
            font-family: var(--ff-display);
            font-weight: 500;
            font-size: clamp(2.5rem, 5.4vw, 4.75rem);
            line-height: 105%;
            letter-spacing: -0.02em;
            color: var(--fg);
        }

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

        .article-excerpt {
            font-size: var(--fs-18);
            line-height: var(--lh-normal);
            color: var(--fg-soft);
            max-width: 54ch;
        }

        .tag-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: var(--sp-2);
        }

        .article-author {
            display: flex;
            align-items: center;
            gap: var(--sp-3);
            margin-top: var(--sp-2);
        }

        .article-author img {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            object-fit: cover;
            object-position: top;
            border: 1px solid var(--line);
        }

        .article-author strong {
            display: block;
            font-weight: 600;
            color: var(--fg);
        }

        .article-author span {
            font-size: var(--fs-14);
            color: var(--fg-mute);
        }

        .article-media-col {
            display: flex;
            flex-direction: column;
            gap: var(--sp-4);
        }

        .article-media-actions {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: var(--sp-3);
        }

        .hero-pan-controls {
            display: inline-flex;
            align-items: center;
            gap: var(--sp-2);
        }

        .hero-pan-btn {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            border: 1px solid var(--line-strong);
            background: var(--bg-elev);
            color: var(--fg);
            display: inline-grid;
            place-items: center;
            cursor: pointer;
            transition:
                background var(--d-fast) var(--ease-out),
                color var(--d-fast) var(--ease-out),
                border-color var(--d-fast) var(--ease-out),
                transform var(--d-fast) var(--ease-out),
                opacity var(--d-fast) var(--ease-out);
        }

        .hero-pan-btn:hover:not(:disabled) {
            background: var(--fg);
            color: var(--bg);
            border-color: var(--fg);
            transform: scale(1.05);
        }

        .hero-pan-btn:disabled {
            opacity: 0.42;
            cursor: not-allowed;
        }

        .hero-pan-toggle .i-pause {
            display: none;
        }

        .hero-pan-toggle[aria-pressed="true"] {
            background: var(--accent-fill);
            color: var(--accent-fg);
            border-color: var(--accent-fill);
        }

        .hero-pan-toggle[aria-pressed="true"] .i-play {
            display: none;
        }

        .hero-pan-toggle[aria-pressed="true"] .i-pause {
            display: block;
        }

        .article-hero-image {
            position: relative;
            border-radius: var(--r-xl);
            overflow: hidden;
            background: var(--bg-sunk);
            border: 1px solid var(--line-strong);
            box-shadow: var(--sh-3);
            aspect-ratio: 4 / 3;
            transition:
                transform 400ms var(--ease-out),
                box-shadow 400ms var(--ease-out);
        }

        .article-hero-image:hover {
            transform: translateY(-4px);
            box-shadow: var(--sh-4);
        }

        .article-hero-track {
            display: flex;
            flex-direction: column;
            width: 100%;
            will-change: transform;
        }

        .article-hero-track img {
            width: 100%;
            height: auto;
            display: block;
            flex-shrink: 0;
        }

        /* ============================================================
           2. Article Prose, TOC, Stat Grids, Insight Boxes & Tables
           ============================================================ */
        .article-body {
            padding-top: var(--sp-7);
            padding-bottom: var(--sp-6);
        }

        .article-prose {
            width: min(860px, 100%);
            margin-inline: auto;
            display: flex;
            flex-direction: column;
            gap: var(--sp-5);
        }

        .article-prose .lead {
            font-size: var(--fs-20);
            line-height: var(--lh-normal);
            color: var(--fg-soft);
            padding-bottom: var(--sp-5);
            border-bottom: 1px solid var(--line);
        }

        .article-prose>section {
            scroll-margin-top: calc(var(--nav-h, 72px) + 28px);
            display: flex;
            flex-direction: column;
            gap: var(--sp-3);
        }

        .article-prose h2 {
            font-family: var(--ff-display);
            font-size: clamp(1.75rem, 3.2vw, 2.5rem);
            font-weight: 500;
            line-height: var(--lh-snug);
            margin-top: var(--sp-6);
            margin-bottom: var(--sp-1);
            color: var(--fg);
        }

        .article-prose h2:first-of-type {
            margin-top: 0;
        }

        .article-subhead {
            font-family: var(--ff-display);
            font-style: italic;
            font-size: var(--fs-24);
            font-weight: 600;
            color: var(--fg);
            margin-top: var(--sp-3);
        }

        .article-prose p {
            color: var(--fg-soft);
            line-height: var(--lh-loose);
            font-size: var(--fs-16);
        }

        .article-prose hr {
            border: 0;
            border-top: 1px solid var(--line);
            margin: var(--sp-5) 0;
        }

        .toc {
            background: var(--bg-elev);
            padding: var(--sp-5) var(--sp-6);
            border-radius: var(--r-lg);
            border: 1px solid var(--line);
            margin-block: var(--sp-2) var(--sp-4);
            box-shadow: var(--sh-1);
        }

        .toc h2 {
            font-family: var(--ff-mono);
            font-size: var(--fs-12);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            color: var(--fg-mute);
            margin: 0 0 var(--sp-3);
            display: flex;
            align-items: center;
            gap: var(--sp-2);
        }

        .toc h2 .icon {
            width: 18px;
            height: 18px;
            color: var(--accent-text);
        }

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

        .toc a {
            color: var(--fg-soft);
            font-size: var(--fs-14);
            display: inline-flex;
            align-items: center;
            gap: var(--sp-2);
            padding-block: 3px;
            transition: color var(--d-fast) var(--ease-out);
        }

        .toc a::before {
            content: "—";
            color: var(--accent-text);
        }

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

        .stat-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: var(--sp-4);
            margin: var(--sp-3) 0;
            background: var(--bg-elev);
            padding: var(--sp-5);
            border-radius: var(--r-lg);
            border: 1px solid var(--line);
        }

        .stat-item {
            display: flex;
            flex-direction: column;
            gap: var(--sp-2);
            padding: var(--sp-4);
            background: var(--bg);
            border: 1px solid var(--line);
            border-radius: var(--r-md);
        }

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

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

        .insight-box {
            background: var(--bg-elev);
            padding: var(--sp-4) var(--sp-5);
            border-radius: var(--r-md);
            border: 1px solid var(--line);
            border-inline-start: 4px solid var(--accent);
            margin: var(--sp-3) 0;
            box-shadow: var(--sh-1);
        }

        .insight-box h3 {
            font-size: var(--fs-16);
            font-weight: 600;
            margin-bottom: var(--sp-2);
            color: var(--fg);
            display: flex;
            align-items: center;
            gap: var(--sp-2);
        }

        .insight-box h3 .icon {
            width: 18px;
            height: 18px;
            color: var(--accent-text);
            flex-shrink: 0;
        }

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

        .diamond-list {
            display: flex;
            flex-direction: column;
            gap: var(--sp-2);
            margin: var(--sp-2) 0;
        }

        .diamond-list li {
            position: relative;
            padding-inline-start: var(--sp-5);
            color: var(--fg-soft);
            line-height: var(--lh-normal);
        }

        .diamond-list li::before {
            content: "◆";
            position: absolute;
            inset-inline-start: 0;
            color: var(--accent-text);
        }

        .table-wrap {
            width: 100%;
            overflow-x: auto;
            border: 1px solid var(--line);
            border-radius: var(--r-lg);
            background: var(--bg-elev);
            margin: var(--sp-3) 0;
        }

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

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

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

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

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

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

        /* ============================================================
           3. Dark Accessible Collapsible Code Blocks
           ============================================================ */
        .code-block {
            border-radius: var(--r-md);
            border: 1px solid var(--c-ink-700);
            background: var(--c-ink-900);
            color: #f6f3ee;
            margin: var(--sp-3) 0;
            overflow: visible;
        }

        .code-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: var(--sp-2);
            padding: 6px var(--sp-3);
            background: var(--c-ink-800);
            border-bottom: 1px solid var(--c-ink-700);
            border-radius: var(--r-md) var(--r-md) 0 0;
        }

        .code-block:not(.is-open) .code-header {
            border-bottom-color: transparent;
            border-radius: var(--r-md);
        }

        .code-toggle {
            flex: 1;
            min-height: 36px;
            display: inline-flex;
            align-items: center;
            gap: var(--sp-2);
            text-align: start;
            font-family: var(--ff-mono);
            font-size: var(--fs-12);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            color: #d6cfc1;
            cursor: pointer;
            transition: color var(--d-fast) var(--ease-out);
        }

        .code-toggle:hover {
            color: #ffffff;
        }

        .code-toggle .toggle-icon {
            display: inline-block;
            font-size: var(--fs-12);
            transition: transform 280ms var(--ease-out);
        }

        .code-block.is-open .code-toggle .toggle-icon {
            transform: rotate(90deg);
        }

        .code-copy {
            position: relative;
            min-width: 36px;
            min-height: 36px;
            display: inline-grid;
            place-items: center;
            color: #d6cfc1;
            border-radius: var(--r-xs);
            cursor: pointer;
            transition:
                color var(--d-fast) var(--ease-out),
                background-color var(--d-fast) var(--ease-out);
        }

        .code-copy:hover {
            color: #ffffff;
            background: rgba(255, 255, 255, 0.08);
        }

        .copy-tooltip {
            position: absolute;
            bottom: calc(100% + 8px);
            inset-inline-end: 0;
            background: var(--accent-fill);
            color: var(--accent-fg);
            padding: 4px 10px;
            border-radius: var(--r-sm);
            font-family: var(--ff-mono);
            font-size: var(--fs-11);
            font-weight: 600;
            white-space: nowrap;
            opacity: 0;
            transform: translateY(6px);
            transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out);
            pointer-events: none;
            z-index: 10;
        }

        .copy-tooltip.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        .code-pre-wrap {
            display: grid;
            grid-template-rows: 0fr;
            visibility: hidden;
            transition:
                grid-template-rows 360ms var(--ease-out),
                visibility 0s linear 360ms;
        }

        .code-block.is-open .code-pre-wrap {
            grid-template-rows: 1fr;
            visibility: visible;
            transition:
                grid-template-rows 360ms var(--ease-out),
                visibility 0s linear 0s;
        }

        .code-pre-inner {
            overflow: hidden;
        }

        .code-pre {
            margin: 0;
            padding: var(--sp-4) var(--sp-5);
            overflow-x: auto;
            font-family: var(--ff-mono);
            font-size: var(--fs-13);
            line-height: 1.65;
            color: #f6f3ee;
        }

        .code-pre code {
            display: block;
            white-space: pre;
        }

        .token.comment {
            color: #8b949e;
            font-style: italic;
        }

        .token.selector {
            color: #ffa657;
        }

        .token.property {
            color: #ff7b72;
        }

        .token.value,
        .token.string {
            color: #a5d6ff;
        }

        .token.number {
            color: #79c0ff;
        }

        .token.function {
            color: #d2a8ff;
        }

        .token.punctuation {
            color: #c9d1d9;
        }

        .token.keyword {
            color: #ff7b72;
        }

        .token.tag {
            color: #7ee787;
        }

        .token.attr {
            color: #79c0ff;
        }

        .token.operator {
            color: #79c0ff;
        }

        /* ============================================================
           4. Bento & Modular in Action (5-Slide Examples + Prompt Tabs)
           ============================================================ */
        .examples-slider-wrapper {
            margin: var(--sp-4) 0 var(--sp-6);
            width: 100%;
            border-radius: var(--r-xl);
            overflow: hidden;
            background: var(--bg-elev);
            border: 1px solid var(--line);
            box-shadow: var(--sh-2);
        }

        .examples-slider-head {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: var(--sp-3);
            padding: var(--sp-4) var(--sp-5);
            border-bottom: 1px solid var(--line);
            background: var(--bg-elev);
        }

        .examples-slider-head h2 {
            font-family: var(--ff-display);
            font-size: var(--fs-32);
            font-weight: 500;
            margin: 0;
        }

        .examples-slider-head h2 .it {
            font-style: italic;
            color: var(--accent);
        }

        .examples-slider-container {
            position: relative;
            display: flex;
            overflow: hidden;
            cursor: grab;
            touch-action: pan-y;
            background-image: linear-gradient(45deg, #e8e8e8 25%, transparent 25%), linear-gradient(-45deg, #e8e8e8 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e8e8e8 75%), linear-gradient(-45deg, transparent 75%, #e8e8e8 75%);
            background-size: 12px 12px;
            background-position: 0 0, 0 6px, 6px -6px, 6px 0;
            flex-shrink: 0;
        }

        .examples-slider-container.is-dragging {
            cursor: grabbing;
        }

        .examples-slider-container:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: -3px;
        }

        .examples-slider-track {
            display: flex;
            transition: transform 500ms var(--ease-out);
            will-change: transform;
            width: 100%;
            user-select: none;
            -webkit-user-select: none;
        }

        .examples-slide {
            flex: 0 0 100%;
            width: 100%;
            position: relative;
        }

        .slide-toolbar {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: var(--sp-2);
            padding: 10px var(--sp-5);
            background: var(--bg-sunk);
            border-bottom: 1px solid var(--line);
        }

        .slide-label {
            font-family: var(--ff-display);
            font-style: italic;
            font-size: var(--fs-20);
            font-weight: 600;
            color: var(--fg);
        }

        .slide-tabs {
            display: inline-flex;
            gap: 4px;
            padding: 3px;
            border-radius: var(--r-pill);
            background: var(--bg-elev);
            border: 1px solid var(--line);
        }

        .slide-tabs .tab-btn {
            min-height: 32px;
            padding: 4px 14px;
            border-radius: var(--r-pill);
            font-size: var(--fs-12);
            font-weight: 600;
            color: var(--fg-soft);
            cursor: pointer;
            transition:
                background var(--d-fast) var(--ease-out),
                color var(--d-fast) var(--ease-out);
        }

        .slide-tabs .tab-btn:hover {
            color: var(--fg);
        }

        .slide-tabs .tab-btn.is-active {
            background: var(--accent-fill);
            color: var(--accent-fg);
        }

        .slide-stage {
            position: relative;
            aspect-ratio: 16 / 10;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .slide-image {
            width: max-content;
            height: max-content;
            object-fit: contain;
            max-height: 95%;
            object-position: top;
            display: block;
            pointer-events: none;
            -webkit-user-drag: none;
            border: 5px solid #e8e8e8;
            transition: all 480ms var(--ease-out);
        }

        .examples-slider-wrapper:hover .slide-image {
            box-shadow: 0px 0px 20px 1px #0000003d;
            transition: all 480ms var(--ease-out);
        }

        .slide-image[hidden] {
            display: none;
        }

        .slide-prompt {
            position: absolute;
            inset: 0;
            padding: var(--sp-6);
            background: var(--bg-elev);
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: var(--sp-3);
            overflow-y: auto;
        }

        .slide-prompt[hidden] {
            display: none;
        }

        .slide-prompt-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: var(--sp-3);
        }

        .slide-prompt h3 {
            font-family: var(--ff-display);
            font-style: italic;
            font-size: var(--fs-24);
            color: var(--accent-text);
            font-weight: 600;
            margin: 0;
        }

        .prompt-copy-btn {
            width: 38px;
            height: 38px;
            flex-shrink: 0;
            border-radius: var(--r-sm);
            border: 1px solid var(--line-strong);
            background: var(--bg-sunk);
            color: var(--fg-soft);
            display: inline-grid;
            place-items: center;
            cursor: pointer;
            transition:
                background var(--d-fast) var(--ease-out),
                color var(--d-fast) var(--ease-out),
                border-color var(--d-fast) var(--ease-out);
        }

        .prompt-copy-btn:hover {
            background: var(--fg);
            color: var(--bg);
            border-color: var(--fg);
        }

        .prompt-copy-btn .i-copied {
            display: none;
        }

        .prompt-copy-btn.is-copied {
            background: var(--accent-fill);
            color: var(--accent-fg);
            border-color: var(--accent-fill);
        }

        .prompt-copy-btn.is-copied .i-copy {
            display: none;
        }

        .prompt-copy-btn.is-copied .i-copied {
            display: block;
        }

        .slide-prompt p {
            font-size: var(--fs-14);
            line-height: var(--lh-loose);
            color: var(--fg-soft);
            max-width: 100%;
            font-family: var(--ff-mono);
            background: var(--bg-sunk);
            padding: var(--sp-4);
            border-radius: var(--r-md);
            border-inline-start: 3px solid var(--accent);
            user-select: text;
            cursor: text;
        }

        .slider-controls {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: var(--sp-4);
            padding: var(--sp-3) var(--sp-5);
            background: var(--bg-elev);
            border-top: 1px solid var(--line);
        }

        .slider-btn {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            border: 1px solid var(--line-strong);
            display: grid;
            place-items: center;
            background: var(--bg);
            color: var(--fg);
            cursor: pointer;
            transition:
                background var(--d-fast) var(--ease-out),
                color var(--d-fast) var(--ease-out),
                border-color var(--d-fast) var(--ease-out),
                transform var(--d-fast) var(--ease-out);
        }

        .slider-btn:hover {
            background: var(--fg);
            color: var(--bg);
            border-color: var(--fg);
            transform: scale(1.05);
        }

        [dir="rtl"] #sliderPrev svg,
        [dir="rtl"] #sliderNext svg,
        [dir="rtl"] .styles-prev svg,
        [dir="rtl"] .styles-next svg,
        [dir="rtl"] .style-pager-link svg {
            transform: scaleX(-1);
        }

        .slider-dots {
            display: flex;
            gap: 12px;
            align-items: center;
        }

        .slider-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            border: 0;
            background: var(--line-strong);
            cursor: pointer;
            padding: 0;
            position: relative;
            transition:
                background var(--d-fast) var(--ease-out),
                width var(--d-fast) var(--ease-out),
                transform var(--d-fast) var(--ease-out);
        }

        .slider-dot::after {
            content: "";
            position: absolute;
            inset: -12px -8px;
        }

        .slider-dot.is-active {
            width: 26px;
            border-radius: var(--r-pill);
            background: var(--accent);
        }

        .slider-counter {
            font-family: var(--ff-mono);
            font-size: var(--fs-13);
            color: var(--fg-mute);
            min-width: 44px;
            text-align: center;
        }

        /* ============================================================
           5. Inspirations, Future Trends & Conclusion CTA
           ============================================================ */
        .inspiration-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: var(--sp-4);
            margin: var(--sp-3) 0;
        }

        .inspiration-card {
            background: var(--bg-elev);
            border-radius: var(--r-lg);
            padding: var(--sp-5);
            border: 1px solid var(--line);
            display: flex;
            flex-direction: column;
            gap: var(--sp-2);
            box-shadow: var(--sh-1);
            transition:
                transform 350ms var(--ease-out),
                box-shadow 350ms var(--ease-out),
                border-color 350ms var(--ease-out);
        }

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

        .insp-header,
        .futu-heading {
            display: flex;
            align-items: center;
            gap: var(--sp-2);
        }

        .insp-header svg,
        .futu-heading svg {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
            color: var(--accent-text);
        }

        .insp-header h3,
        .futu-heading {
            font-family: var(--ff-display);
            font-style: italic;
            font-size: var(--fs-20);
            font-weight: 600;
            color: var(--fg);
        }

        .futu-heading {
            margin-top: var(--sp-3);
        }

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

        .inspiration-card a {
            margin-top: auto;
            padding-top: var(--sp-2);
            color: var(--accent-text);
            font-weight: 600;
            font-size: var(--fs-14);
            display: inline-flex;
            align-items: center;
            gap: 6px;
            width: max-content;
            transition: gap var(--d-fast) var(--ease-out);
        }

        .inspiration-card a:hover {
            gap: 10px;
            text-decoration: underline;
            text-underline-offset: 3px;
        }

        .faq-cta-wrap {
            margin-top: var(--sp-5);
            text-align: center;
        }

        .faq-cta-text {
            font-family: var(--ff-display);
            font-size: var(--fs-20);
            font-style: italic;
            color: var(--fg-soft);
        }

        .faq-cta-link {
            color: var(--accent-text);
            font-weight: 600;
            text-decoration: underline;
            text-underline-offset: 3px;
        }

        .article-cta {
            padding: var(--sp-6);
            border-radius: var(--r-2xl);
            background: var(--fg);
            color: var(--bg);
            display: grid;
            gap: var(--sp-3);
        }

        .article-cta h2 {
            font-family: var(--ff-display);
            font-style: italic;
            font-size: clamp(1.75rem, 3vw, 2.5rem);
            margin: 0;
            color: var(--bg);
        }

        .article-cta h2 .it {
            color: var(--svc-ink-accent, var(--c-accent-hi));
        }

        .article-cta p {
            color: color-mix(in srgb, var(--bg) 86%, var(--fg));
            margin: 0;
            max-width: 58ch;
        }

        .article-cta .btn-cta {
            margin-top: var(--sp-2);
            background: var(--accent-fill);
            color: var(--accent-fg);
        }

        .article-cta .btn-cta:hover {
            background: var(--bg);
            color: var(--fg);
        }

        /* ============================================================
           6. Bottom 16 Design Styles Carousel
           ============================================================ */
        .styles-slider-wrapper {
            position: relative;
        }

        .styles-viewport {
            overflow: hidden;
            border-radius: var(--r-lg);
            cursor: grab;
            touch-action: pan-y;
        }

        .styles-viewport.is-dragging {
            cursor: grabbing;
        }

        .styles-viewport:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 4px;
        }

        .styles-track {
            display: flex;
            gap: 20px;
            transition: transform 500ms var(--ease-out);
            will-change: transform;
            padding: 12px 2px;
            user-select: none;
            -webkit-user-select: none;
        }

        .styles-slide {
            flex: 0 0 calc((100% - 40px) / 3);
            min-width: 0;
        }

        .styles-card {
            display: block;
            position: relative;
            border-radius: var(--r-lg);
            overflow: hidden;
            aspect-ratio: 4 / 3;
            background: var(--bg-sunk);
            border: 1px solid var(--line);
            box-shadow: var(--sh-1);
            transition:
                transform 350ms var(--ease-out),
                box-shadow 350ms var(--ease-out),
                border-color 350ms var(--ease-out);
        }

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

        .styles-card.is-current {
            border-color: var(--accent);
        }

        .styles-card-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: top;
            display: block;
            pointer-events: none;
            -webkit-user-drag: none;
        }

        .styles-card-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(14, 13, 11, 0.12) 0%, rgba(14, 13, 11, 0.92) 100%);
            padding: var(--sp-5);
            display: flex;
            align-items: flex-end;
        }

        .styles-card-content {
            display: flex;
            flex-direction: column;
            gap: var(--sp-2);
            color: #faf8f4;
            width: 100%;
        }

        .styles-tag {
            display: inline-flex;
            align-items: center;
            font-family: var(--ff-mono);
            font-size: var(--fs-11);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            color: #faf8f4;
            background: #0e0d0b;
            padding: 3px 10px;
            border-radius: var(--r-pill);
            width: fit-content;
            border: 1px solid rgba(250, 248, 244, 0.25);
        }

        .styles-card-title {
            font-family: var(--ff-display);
            font-style: italic;
            font-size: var(--fs-24);
            font-weight: 600;
            line-height: 1.15;
            color: #ffffff;
        }

        .styles-card-desc {
            font-size: var(--fs-14);
            line-height: var(--lh-normal);
            color: #ece7dd;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .styles-card-link {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: var(--fs-13);
            font-weight: 600;
            color: var(--c-accent-hi);
            margin-top: 2px;
        }

        .styles-controls {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: var(--sp-4);
            margin-top: var(--sp-5);
        }

        .styles-btn {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            border: 1px solid var(--line-strong);
            background: var(--bg-elev);
            color: var(--fg);
            display: grid;
            place-items: center;
            cursor: pointer;
            transition:
                background 250ms var(--ease-out),
                color 250ms var(--ease-out),
                border-color 250ms var(--ease-out),
                transform 250ms var(--ease-out);
            flex-shrink: 0;
        }

        .styles-btn:hover {
            background: var(--fg);
            color: var(--bg);
            border-color: var(--fg);
            transform: scale(1.05);
        }

        .styles-dots {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
            justify-content: center;
            row-gap: 12px;
        }

        .styles-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            border: 0;
            background: var(--line-strong);
            cursor: pointer;
            position: relative;
            padding: 0;
            transition:
                background 250ms var(--ease-out),
                width 250ms var(--ease-out),
                transform 250ms var(--ease-out);
        }

        .styles-dot::after {
            content: "";
            position: absolute;
            inset: -12px -8px;
        }

        .styles-dot.is-active {
            background: var(--accent);
            width: 26px;
            border-radius: var(--r-pill);
        }

        .styles-progress {
            width: 100%;
            height: 2px;
            background: var(--line);
            border-radius: var(--r-pill);
            margin-top: var(--sp-4);
            overflow: hidden;
        }

        .styles-progress-bar {
            height: 100%;
            width: 100%;
            background: linear-gradient(90deg, var(--accent), var(--c-accent-hi));
            transform-origin: left;
            transform: scaleX(0);
            transition: transform 350ms var(--ease-out);
        }

        [dir="rtl"] .styles-progress-bar {
            transform-origin: right;
        }

        .styles-counter {
            font-family: var(--ff-mono);
            text-align: center;
            font-size: var(--fs-13);
            color: var(--fg-mute);
            margin-top: var(--sp-3);
        }

        /* Theme transition support */
        .theme-transition .style-breadcrumb,
        .theme-transition .style-pager-link,
        .theme-transition .toc,
        .theme-transition .stat-grid,
        .theme-transition .stat-item,
        .theme-transition .insight-box,
        .theme-transition .table-wrap,
        .theme-transition .examples-slider-wrapper,
        .theme-transition .inspiration-card,
        .theme-transition .article-cta,
        .theme-transition .styles-card {
            transition:
                background-color 350ms var(--ease-out),
                color 350ms var(--ease-out),
                border-color 350ms var(--ease-out);
        }

        /* ============================================================
           7. Responsive Breakpoints
           ============================================================ */
        @media (min-width: 900px) {
            .article-hero-grid {
                grid-template-columns: 1.05fr 0.95fr;
                gap: var(--sp-8);
            }
        }

        @media (max-width: 1024px) {
            .styles-slide {
                flex: 0 0 calc((100% - 20px) / 2);
            }
        }

        @media (max-width: 700px) {

            .toc ul,
            .stat-grid,
            .inspiration-grid {
                grid-template-columns: 1fr;
            }

            .styles-slide {
                flex: 0 0 100%;
            }
        }

        @media (max-width: 600px) {

            .style-pager-title {
                max-width: 12ch;
            }

            .article-title .it,
            .examples-slider-head h2 .it {
                color: var(--accent-text);
            }

            .slide-toolbar {
                padding: 10px var(--sp-3);
            }

            .slide-prompt {
                padding: var(--sp-4);
            }

            .article-cta {
                padding: var(--sp-5) var(--sp-4);
                border-radius: var(--r-xl);
            }

            .styles-card-overlay {
                padding: var(--sp-4);
            }

            .styles-card-title {
                font-size: var(--fs-20);
            }
        }

        @media (max-width: 480px) {
            .slide-prompt p{
font-size: 10px;
line-height: 12px;
            }
        }

        @media (hover: none),
        (pointer: coarse) {
            .article-hero-image {
                overflow-y: auto;
                -webkit-overflow-scrolling: touch;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .article-hero-image {
                overflow-y: auto;
                transition: none !important;
                transform: none !important;
            }

            .article-hero-track,
            .examples-slider-track,
            .styles-track,
            .styles-card,
            .inspiration-card,
            .code-pre-wrap,
            .code-toggle .toggle-icon,
            .styles-progress-bar {
                transition: none !important;
                transform: none !important;
            }
        }