
    .cg-cover { width: 100%; height: auto; aspect-ratio: 16 / 9; margin: 0; border-radius: 20px; overflow: hidden; background: var(--surface-raised); }
    .cg-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
    .cg-fig { margin: var(--case-gap) 0 0; }
    .cg-fig img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--border-default); background: var(--surface-raised); }
    .cg-fig figcaption, .cg-cap { display: block; margin-top: 14px; max-width: 70ch; color: var(--case-muted); font-size: 14px; line-height: 1.6; }
    .cg-fig figcaption strong, .cg-cap strong { color: var(--text-primary); font-weight: 500; }
    .cg-grid { display: grid; gap: 16px; margin-top: var(--case-gap); }
    .cg-grid figure { margin: 0; }
    .cg-grid img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--border-default); background: var(--surface-raised); }
    .cg-two { display: grid; gap: 16px; margin-top: var(--case-gap); }
    .cg-two figure { margin: 0; }
    .cg-two img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--border-default); background: var(--surface-raised); }
    .cg-outcomes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cg-outcomes-intro { border-bottom: 0; padding-bottom: 0; }
    .cg-next-section { padding: clamp(60px, 8vw, 100px) 0; }
    .cg-next { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; padding-top: clamp(56px, 8vw, 100px); border-top: 1px solid var(--case-rule); }
    .cg-next-label { margin: 0 0 24px; font-size: 13px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--case-muted); }
    .cg-next-title { margin: 0 0 32px !important; font-size: clamp(32px, 4vw, 56px) !important; color: var(--text-primary); }
    .cg-next-thumb { display: block; overflow: hidden; border-radius: 20px; aspect-ratio: 4 / 3; background: var(--surface-raised); }
    .cg-next-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
    .cg-next-thumb:hover img { transform: scale(1.03); }
    .case-study .cg-fig img, .case-study .cg-grid img, .case-study .cg-two img, .case-study .cg-cover img, .case-study .cg-next-thumb img { opacity: 0; transition: opacity .4s ease; }
    .case-study img.is-loaded { opacity: 1; }

    /* Glu Agents browser mockup wrapper */
    .cg-browser-wrap { margin-top: var(--case-gap); border-radius: 14px; overflow: hidden; background: #161618; box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.07); }
    .cg-browser-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 16px; background: #222225; border-bottom: 1px solid rgba(255,255,255,.06); }
    .cg-browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; flex-shrink: 0; }
    .cg-browser-bar i:nth-child(2) { background: #febc2e; }
    .cg-browser-bar i:nth-child(3) { background: #28c840; }
    .cg-browser-bar span { flex: 1; max-width: 320px; height: 20px; margin: 0 auto; border-radius: 5px; background: rgba(255,255,255,.08); }
    /* Glu Agents HTML dashboard */
    .cg-agents-stage { border-radius: 0; overflow: hidden; background: #0a0a0a; border: none; }
    .cg-agents-ui { display: grid; grid-template-columns: 180px 1fr; min-height: 480px; font-family: var(--font-primary); }
    .cg-agents-sidebar { background: #111; border-right: 1px solid #222; display: flex; flex-direction: column; }
    .cg-agents-sidebar-header { display: flex; align-items: center; gap: 8px; padding: 14px 12px 10px; font-size: 10px; font-weight: 600; letter-spacing: .06em; color: #e2e2e2; border-bottom: 1px solid #1e1e1e; }
    .cg-agents-search { display: flex; align-items: center; gap: 6px; padding: 8px 12px; margin: 8px 10px; background: #1a1a1a; border-radius: 5px; font-size: 9.5px; color: #555; }
    .cg-agents-list { flex: 1; overflow: hidden; }
    .cg-agent-item { padding: 10px 12px; border-bottom: 1px solid #1a1a1a; cursor: default; }
    .cg-agent-item--active { background: #1a1a1a; }
    .cg-agent-name { font-size: 10px; font-weight: 500; color: #e2e2e2; margin-bottom: 3px; }
    .cg-agent-meta { display: flex; gap: 6px; margin-bottom: 2px; }
    .cg-agent-runs { font-size: 8.5px; color: #888; }
    .cg-agent-sub { font-size: 8.5px; color: #555; margin-bottom: 3px; }
    .cg-agent-rate { font-size: 8.5px; font-weight: 500; }
    .cg-agent-rate--green { color: #4ade80; }
    .cg-agents-main { padding: 18px 20px; overflow: hidden; }
    .cg-agents-main-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
    .cg-agents-main-title { font-size: 18px; font-weight: 600; color: #f0f0f0; }
    .cg-agents-tag { display: inline-block; margin-left: 8px; font-size: 8.5px; color: #888; background: #1a1a1a; border: 1px solid #333; border-radius: 3px; padding: 1px 5px; vertical-align: middle; }
    .cg-agents-actions { display: flex; gap: 6px; flex-shrink: 0; }
    .cg-agents-btn { display: flex; align-items: center; gap: 4px; font-size: 9px; color: #ccc; background: #1a1a1a; border: 1px solid #333; border-radius: 4px; padding: 4px 8px; cursor: default; }
    .cg-agents-desc { font-size: 9.5px; color: #666; line-height: 1.5; margin: 0 0 16px; }
    .cg-agents-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #1e1e1e; border: 1px solid #1e1e1e; border-radius: 6px; overflow: hidden; margin-bottom: 18px; }
    .cg-agents-stat { background: #111; padding: 12px 14px; }
    .cg-agents-stat-label { display: flex; align-items: center; gap: 5px; font-size: 8.5px; color: #888; margin-bottom: 8px; }
    .cg-agents-stat-value { font-size: 22px; font-weight: 500; color: #f0f0f0; line-height: 1; }
    .cg-agents-stat-value--green { color: #4ade80; }
    .cg-agents-stat-value--red { color: #ef4444; }
    .cg-agents-section-title { font-size: 10px; font-weight: 600; color: #888; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; }
    .cg-agents-analytics { display: grid; grid-template-columns: auto 1fr; gap: 20px; margin-bottom: 18px; align-items: start; }
    .cg-agents-analytics-label { font-size: 8.5px; color: #666; margin-bottom: 8px; }
    .cg-agents-donut { position: relative; width: 80px; height: 80px; }
    .cg-agents-donut-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 11px; font-weight: 600; color: #e2e2e2; line-height: 1.3; }
    .cg-agents-donut-label small { font-size: 8.5px; color: #888; font-weight: 400; }
    .cg-agents-bars { display: flex; align-items: flex-end; gap: 4px; height: 72px; }
    .cg-agents-bar { width: 12px; border-radius: 2px 2px 0 0; background: #4ade80; opacity: .7; }
    .cg-agents-bar--purple { background: #a78bfa; }
    .cg-agents-bar--teal { background: #22d3ee; }
    .cg-agents-bar--red { background: #ef4444; }
    .cg-agents-bar--blue { background: #3b82f6; }
    .cg-agents-table { width: 100%; border-collapse: collapse; font-size: 9px; }
    .cg-agents-table th { text-align: left; padding: 6px 8px; color: #555; font-weight: 500; border-bottom: 1px solid #1e1e1e; font-size: 8px; letter-spacing: .04em; }
    .cg-agents-table td { padding: 7px 8px; color: #bbb; border-bottom: 1px solid #141414; }
    .cg-agents-table tr:last-child td { border-bottom: 0; }
    .cg-badge { display: inline-block; font-size: 7.5px; font-weight: 600; padding: 2px 6px; border-radius: 3px; }
    .cg-badge--green { background: rgba(74,222,128,.12); color: #4ade80; border: 1px solid rgba(74,222,128,.2); }
    .cg-agents-cell-trunc { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #666; }
    @media (max-width: 767px) {
      .cg-agents-ui { grid-template-columns: 1fr; }
      .cg-agents-sidebar { display: none; }
      .cg-agents-stats { grid-template-columns: repeat(2, 1fr); }
      .cg-agents-analytics { grid-template-columns: 1fr; }
    }
    @media (min-width: 768px) {
      .cg-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .cg-outcomes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
      .cg-next { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); }
    }
  