        @import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,400;0,14..32,500;0,14..32,600&display=swap');

        /* ══════════════════════════════════════
           NUBAA — COLOR SYSTEM
        ══════════════════════════════════════ */
        :root {
            /* Primary — brand blue */
            --nb-navy:      #0D2B6E;
            --nb-royal:     #1B4FBF;
            --nb-mid:       #3B82E8;
            --nb-tint:      #D6E4FF;

            /* Accent — orange */
            --nb-orange-d:  #C85000;
            --nb-orange:    #F07000;
            --nb-orange-l:  #FFB266;
            --nb-orange-bg: #FFF0E0;

            /* Neutrals */
            --nb-ink:       #1A1A2E;
            --nb-slate:     #5A6478;
            --nb-border-l:  #E8ECF2;
            --nb-page-bg:   #F4F6FA;

            /* Semantic */
            --nb-success:   #12A05C;
            --nb-danger:    #E53935;
            --nb-white:     #e2e0dd;

            /* Page surface (dark portfolio bg) */
            --nb-bg:        #07090f;
            --nb-surface:   #0e1420;
            --nb-card:      #111827;
            --nb-border:    rgba(59,130,232,0.14);
            --nb-text:      #eef2ff;
            --nb-muted:     rgba(238,242,255,0.48);
        }

        /* ══════════════════════════════════════
           HERO SECTION
        ══════════════════════════════════════ */
        .nb-hero {
            background: var(--nb-bg);
            color: var(--nb-text);
            padding: 16px 8% 40px;
            min-height: calc(100vh - var(--nav-h));
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        /* Breadcrumb */
        .nb-hero .breadcrumb { margin-bottom: 40px; }
        .nb-hero .breadcrumb a,
        .nb-hero .breadcrumb span { color: var(--nb-muted); }
        .nb-hero .breadcrumb a:hover   { color: var(--nb-mid); }
        .nb-hero .breadcrumb .current  { color: var(--nb-text); }

        /* Page breadcrumb — align to the content column (matches hero padding) */
        .nubaa-case-study > .breadcrumb {
            margin: 20px 0 30px;
            padding: 24px 8% 0;
        }

        /* Two-column body */
        .nb-hero-body {
            display: grid;
            grid-template-columns: 1fr 420px;
            gap: 64px;
            align-items: start;
            flex: 1;
        }

        /* ── LEFT column ── */
        .nb-eyebrow {
            display: inline-block;
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: var(--nb-mid);
            margin-bottom: 18px;
        }

        .nb-title {
            font-size: clamp(1.9rem, 4vw, 3.2rem);
            font-weight: 800;
            line-height: 1.1;
            color: var(--nb-text);
            margin-bottom: 20px;
        }

        .nb-title em {
            font-style: normal;
            color: var(--nb-mid);
        }

        .nb-subtitle {
            font-size: 1rem;
            line-height: 1.75;
            color: var(--nb-muted);
            max-width: 560px;
            margin-bottom: 36px;
        }

        /* 2×2 project facts grid */
        .nb-meta {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0;
            border-top: 1px solid var(--nb-border);
            border-bottom: 1px solid var(--nb-border);
            padding: 16px 0;
            margin-bottom: 28px;
        }

        .nb-meta-item {
            padding: 10px 18px 10px 0;
            border-right: 1px solid var(--nb-border);
        }
        .nb-meta-item:nth-child(even) {
            padding-left: 18px;
            border-right: none;
        }
        .nb-meta-item:nth-child(1),
        .nb-meta-item:nth-child(2) {
            border-bottom: 1px solid var(--nb-border);
            padding-bottom: 14px;
        }
        .nb-meta-item:nth-child(3),
        .nb-meta-item:nth-child(4) {
            padding-top: 14px;
        }

        .nb-meta-label {
            display: block;
            font-size: 0.65rem;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--nb-mid);
            margin-bottom: 6px;
            opacity: 0.7;
        }

        .nb-meta-value {
            font-size: 0.88rem;
            color: var(--nb-text);
            font-weight: 500;
            line-height: 1.45;
        }

        .nb-meta-dot {
            color: var(--nb-mid);
            opacity: 0.5;
        }

        /* ── RIGHT column: hero visual ── */
        .nb-hero-visual {
            position: sticky;
            top: calc(var(--nav-h) + 32px);
            border-radius: 20px;
            overflow: hidden;
            aspect-ratio: 1 / 1;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .nb-hero-visual img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* ── Scroll hint ── */
        .nb-hero-footer {
            border-top: 1px solid rgba(59,130,232,0.1);
            padding: 20px 0 28px;
            display: flex;
            align-items: center;
        }

        .nb-scroll-hint {
            font-size: 0.72rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--nb-muted);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .nb-scroll-arrow {
            display: inline-flex;
            animation: nb-bounce 1.8s ease-in-out infinite;
        }

        @keyframes nb-bounce {
            0%, 100% { transform: translateY(0); }
            50%       { transform: translateY(4px); }
        }

        /* ══════════════════════════════════════
           SECTION 02 — THE PROBLEM
        ══════════════════════════════════════ */
        .nb-context {
            background: var(--nb-bg);
            padding: 100px 8%;
            color: var(--nb-text);
        }

        .nb-context-inner {
            max-width: 1440px;
            margin: 0 auto;
        }

        .nb-section-label {
            font-size: 0.65rem;
            font-weight: 400;
            letter-spacing: 0.16em;
            text-transform: uppercase;
            color: rgba(238,242,255,0.35);
            margin-bottom: 16px;
        }

        .nb-context-headline {
            font-size: clamp(1.8rem, 3.5vw, 2.8rem);
            font-weight: 500;
            line-height: 1.12;
            color: #e2e0dd;
            margin-bottom: 28px;
        }

        .nb-context-opening {
            font-size: 1.05rem;
            line-height: 1.75;
            color: rgba(238,242,255,0.55);
            max-width: 640px;
            margin-bottom: 64px;
            font-weight: 400;
        }

        /* Three constraint cards */
        .nb-constraints {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
            margin-bottom: 32px;
        }

        .nb-constraint-card {
            background: #0e1420;
            border: 0.5px solid rgba(255,255,255,0.08);
            border-radius: 10px;
            padding: 24px;
        }

        .nb-constraint-title {
            font-size: 15px;
            font-weight: 500;
            color: #e2e0dd;
            margin-bottom: 10px;
            line-height: 1.3;
        }

        .nb-constraint-body {
            font-size: 13px;
            font-weight: 400;
            line-height: 1.6;
            color: #A0A8B8;
            margin: 0;
        }

        /* User type labels */
        .nb-user-labels {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .nb-user-label {
            display: inline-flex;
            flex-direction: column;
            gap: 3px;
            border: 0.5px solid rgba(255,255,255,0.1);
            border-radius: 8px;
            padding: 10px 16px;
            background: transparent;
        }

        .nb-user-platform {
            font-size: 12px;
            font-weight: 500;
            color: #3B82E8;
            line-height: 1.3;
        }

        .nb-user-desc {
            font-size: 12px;
            font-weight: 400;
            color: #A0A8B8;
            line-height: 1.3;
        }

        @media (max-width: 860px) {
            .nb-constraints { grid-template-columns: 1fr; }
            .nb-context { padding: 64px 5%; }
        }

        /* ══════════════════════════════════════
           SECTION 03 — RESEARCH
        ══════════════════════════════════════ */
        .nb-research {
            background: var(--nb-surface);
            padding: 100px 8%;
            color: var(--nb-text);
        }

        .nb-research-inner {
            max-width: 1440px;
            margin: 0 auto;
        }

        /* How I worked — two columns */
        .nb-how {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 48px;
            margin-bottom: 72px;
            padding-bottom: 64px;
            border-bottom: 1px solid var(--nb-border);
        }

        .nb-how-left p {
            font-size: 0.95rem;
            line-height: 1.8;
            color: var(--nb-muted);
            margin-bottom: 0;
        }

        .nb-how-left p strong {
            color: var(--nb-text);
            font-weight: 600;
        }

        .nb-method-list {
            list-style: none;
            padding: 0;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .nb-method-item {
            display: flex;
            gap: 16px;
            align-items: flex-start;
        }

        .nb-method-icon {
            width: 36px;
            height: 36px;
            border-radius: 8px;
            background: rgba(59,130,232,0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            color: var(--nb-mid);
        }

        .nb-method-text { flex: 1; }

        .nb-method-title {
            font-size: 0.88rem;
            font-weight: 700;
            color: var(--nb-text);
            margin-bottom: 3px;
        }

        .nb-method-desc {
            font-size: 0.82rem;
            color: var(--nb-muted);
            line-height: 1.55;
        }

        /* Three mental models */
        .nb-models-headline {
            font-size: clamp(1.3rem, 2.5vw, 1.9rem);
            font-weight: 800;
            color: var(--nb-text);
            margin-bottom: 8px;
        }

        .nb-models-sub {
            font-size: 0.95rem;
            color: var(--nb-muted);
            max-width: 620px;
            line-height: 1.7;
            margin-bottom: 36px;
        }

        .nb-models {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-bottom: 72px;
        }

        .nb-model-card {
            background: var(--nb-card);
            border: 1px solid var(--nb-border);
            border-radius: 16px;
            padding: 28px 24px;
        }

        .nb-model-badge {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            font-size: 0.65rem;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            padding: 5px 10px;
            border-radius: 20px;
            margin-bottom: 16px;
        }

        .nb-model-badge.patient  { background: rgba(59,130,232,0.12);  color: var(--nb-mid); }
        .nb-model-badge.provider { background: rgba(240,112,0,0.12);   color: var(--nb-orange); }
        .nb-model-badge.admin    { background: rgba(18,160,92,0.12);    color: var(--nb-success); }

        .nb-model-think {
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--nb-muted);
            margin-bottom: 8px;
        }

        .nb-model-quote {
            font-size: 1rem;
            font-weight: 700;
            color: var(--nb-text);
            line-height: 1.35;
            margin-bottom: 14px;
        }

        .nb-model-body {
            font-size: 0.85rem;
            line-height: 1.7;
            color: var(--nb-muted);
        }

        /* Key insights */
        .nb-insights-headline {
            font-size: clamp(1.3rem, 2.5vw, 1.9rem);
            font-weight: 800;
            color: var(--nb-text);
            margin-bottom: 32px;
        }

        .nb-insights {
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin-bottom: 72px;
            padding-bottom: 64px;
            border-bottom: 1px solid var(--nb-border);
        }

        .nb-insight {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 0;
            border: 1px solid var(--nb-border);
            border-radius: 14px;
            overflow: hidden;
        }

        .nb-insight-label {
            background: var(--nb-card);
            padding: 24px 24px;
            display: flex;
            flex-direction: column;
            gap: 8px;
            border-right: 1px solid var(--nb-border);
        }

        .nb-insight-num {
            font-size: 0.6rem;
            font-weight: 700;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--nb-mid);
            opacity: 0.7;
        }

        .nb-insight-title {
            font-size: 0.92rem;
            font-weight: 700;
            color: var(--nb-text);
            line-height: 1.3;
        }

        .nb-insight-body {
            padding: 24px 28px;
            font-size: 0.88rem;
            line-height: 1.75;
            color: var(--nb-muted);
        }

        .nb-insight-body strong {
            color: var(--nb-text);
            font-weight: 600;
        }

        /* IA output */
        .nb-ia-headline {
            font-size: clamp(1.3rem, 2.5vw, 1.9rem);
            font-weight: 800;
            color: var(--nb-text);
            margin-bottom: 8px;
        }

        .nb-ia-sub {
            font-size: 0.95rem;
            color: var(--nb-muted);
            max-width: 680px;
            line-height: 1.7;
            margin-bottom: 32px;
        }

        .nb-ia-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }

        .nb-ia-card {
            background: var(--nb-card);
            border: 1px solid var(--nb-border);
            border-radius: 14px;
            padding: 24px 20px;
        }

        .nb-ia-card-label {
            font-size: 0.62rem;
            font-weight: 700;
            letter-spacing: 0.13em;
            text-transform: uppercase;
            color: var(--nb-mid);
            margin-bottom: 10px;
            opacity: 0.7;
        }

        .nb-ia-card-title {
            font-size: 0.92rem;
            font-weight: 700;
            color: var(--nb-text);
            margin-bottom: 12px;
        }

        .nb-ia-tag-list {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }

        .nb-ia-tag {
            font-size: 0.72rem;
            padding: 3px 9px;
            border-radius: 20px;
            background: rgba(59,130,232,0.08);
            color: rgba(238,242,255,0.6);
            border: 1px solid rgba(59,130,232,0.15);
        }

        .nb-rtl-note {
            margin-top: 24px;
            padding: 18px 22px;
            border-radius: 12px;
            background: rgba(59,130,232,0.06);
            border: 1px solid rgba(59,130,232,0.12);
            font-size: 0.85rem;
            color: var(--nb-muted);
            line-height: 1.65;
        }

        .nb-rtl-note strong { color: var(--nb-text); font-weight: 600; }

        /* ══════════════════════════════════════
           SECTION 04 — DESIGN DECISIONS
        ══════════════════════════════════════ */
        .nb-decisions {
            background: var(--nb-bg);
            padding: 80px 8%;
            color: var(--nb-text);
        }

        .nb-decisions-inner {
            max-width: 1440px;
            margin: 0 auto;
        }

        .nb-decision-list {
            margin-top: 40px;
        }

        /* Base block — odd: text left, visual right */
        .nb-decision {
            display: grid;
            grid-template-columns: 55fr 45fr;
            align-items: center;
            border-top: 0.5px solid rgba(255,255,255,0.08);
            padding: 48px 0;
        }

        .nb-decision:last-child {
            border-bottom: 0.5px solid rgba(255,255,255,0.08);
        }

        /* Even blocks: visual left, text right */
        .nb-decision:nth-child(even) {
            grid-template-columns: 45fr 55fr;
        }

        .nb-decision:nth-child(even) .nb-decision-text {
            order: 2;
            padding-left: 48px;
            padding-right: 0;
        }

        .nb-decision:nth-child(even) .nb-decision-visual {
            order: 1;
        }

        /* Text column */
        .nb-decision-text {
            padding-right: 48px;
        }

        .nb-decision-num {
            font-size: 11px;
            font-weight: 500;
            color: #A0A8B8;
            margin-bottom: 8px;
        }

        .nb-decision-title {
            font-size: 20px;
            font-weight: 500;
            color: #e2e0dd;
            line-height: 1.35;
            margin-bottom: 28px;
        }

        .nb-decision-rows {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .nb-dl-row { }

        .nb-dl-prefix {
            display: block;
            font-size: 10px;
            font-weight: 500;
            color: #3B82E8;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            margin-bottom: 6px;
        }

        .nb-dl {
            font-size: 13px;
            font-weight: 400;
            line-height: 1.7;
            color: #A0A8B8;
            max-width: 420px;
            margin: 0;
        }

        .nb-dl-choice {
            font-weight: 500;
            color: #e2e0dd;
        }

        /* Visual column — placeholder */
        .nb-decision-visual {
            aspect-ratio: 4 / 3;
            background: rgba(255,255,255,0.04);
            border: 1.5px dashed rgba(255,255,255,0.12);
            border-radius: 10px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: background 200ms ease, border-color 200ms ease;
        }

        .nb-decision-visual:hover {
            background: rgba(59,130,232,0.06);
            border-color: #3B82E8;
        }

        .nb-visual-icon {
            color: rgba(255,255,255,0.2);
            margin-bottom: 2px;
        }

        .nb-visual-label {
            font-size: 12px;
            font-weight: 400;
            color: rgba(255,255,255,0.3);
            text-align: center;
        }

        .nb-visual-sublabel {
            font-size: 10px;
            font-weight: 400;
            color: rgba(255,255,255,0.2);
            text-align: center;
        }

        /* Responsive */
        @media (max-width: 900px) {
            .nb-decision,
            .nb-decision:nth-child(even) {
                grid-template-columns: 1fr;
            }
            .nb-decision-text,
            .nb-decision:nth-child(even) .nb-decision-text {
                order: 1;
                padding-right: 0;
                padding-left: 0;
            }
            .nb-decision-visual,
            .nb-decision:nth-child(even) .nb-decision-visual {
                order: 2;
                height: 200px;
                aspect-ratio: unset;
            }
        }

        @media (max-width: 600px) {
            .nb-decisions { padding: 64px 5%; }
            .nb-decision  { padding: 32px 0; }
        }

        /* Responsive */
        @media (max-width: 1000px) {
            .nb-how      { grid-template-columns: 1fr; }
            .nb-models   { grid-template-columns: 1fr 1fr; }
            .nb-ia-grid  { grid-template-columns: 1fr 1fr; }
        }

        @media (max-width: 700px) {
            .nb-insight  { grid-template-columns: 1fr; }
            .nb-insight-label { border-right: none; border-bottom: 1px solid var(--nb-border); }
            .nb-models   { grid-template-columns: 1fr; }
            .nb-ia-grid  { grid-template-columns: 1fr; }
            .nb-research { padding: 64px 5%; }
        }

        /* ── Responsive ── */
        @media (max-width: 1100px) {
            .nb-hero-body { grid-template-columns: 1fr 320px; gap: 40px; }
        }

        @media (max-width: 900px) {
            .nb-hero {
                padding-top: 0;
                padding-left: 5%;
                padding-right: 5%;
            }

            .nubaa-case-study > .breadcrumb { padding: 20px 5% 0; }

            .nb-hero-body { grid-template-columns: 1fr; }

            .nb-hero-visual {
                position: static;
                aspect-ratio: auto;
                max-height: none;
                order: -1;
            }

            /* Show the full hero image (natural ratio), like CoreView */
            .nb-hero-visual img { height: auto; }

            .nb-outcomes { grid-template-columns: 1fr; }
        }

        @media (max-width: 600px) {
            .nb-title    { font-size: 1.8rem; }
            .nb-subtitle { font-size: 0.95rem; }
            .nb-meta     { grid-template-columns: 1fr; }
            .nb-meta-item,
            .nb-meta-item:nth-child(even) {
                padding: 12px 0;
                border-right: none;
                border-bottom: 1px solid var(--nb-border);
            }
            .nb-meta-item:last-child { border-bottom: none; }
        }

        /* ══════════════════════════════════════
           NUBAA TYPOGRAPHY SCOPE
           Applies only inside .nubaa-case-study
           Nav and footer are completely untouched
        ══════════════════════════════════════ */

        .nubaa-case-study {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
        }

        /* — Hero title — */
        .nubaa-case-study .nb-title {
            font-size: clamp(36px, 5vw, 56px);
            font-weight: 500;
            letter-spacing: -1px;
            line-height: 1.1;
            color: #e2e0dd;
        }

        /* — Section headings (h2) — */
        .nubaa-case-study .nb-context-headline {
            font-size: clamp(28px, 3.5vw, 40px);
            font-weight: 500;
            letter-spacing: -0.5px;
            line-height: 1.2;
            color: #e2e0dd;
            margin-bottom: 16px;
            max-width: none;
        }

        /* — Sub-headings / decision titles (h3) — */
        .nubaa-case-study .nb-decision-title,
        .nubaa-case-study h3 {
            font-size: clamp(18px, 2vw, 22px);
            font-weight: 500;
            letter-spacing: -0.3px;
            line-height: 1.3;
            color: #e2e0dd;
            margin-bottom: 24px;
        }

        /* — Hero subtitle — */
        .nubaa-case-study .nb-subtitle {
            font-size: 17px;
            font-weight: 400;
            line-height: 1.8;
            letter-spacing: 0;
            color: #A0A8B8;
        }

        /* — Section opening lines — */
        .nubaa-case-study .nb-context-opening {
            font-size: 17px;
            font-weight: 400;
            line-height: 1.8;
            color: #A0A8B8;
            max-width: 640px;
            margin-bottom: 48px;
        }

        /* — Micro labels — */
        .nubaa-case-study .nb-section-label {
            font-size: 11px;
            font-weight: 500;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #3B82E8;
            opacity: 1;
            margin-bottom: 16px;
        }

        .nubaa-case-study .nb-eyebrow {
            font-size: 11px;
            font-weight: 500;
            letter-spacing: 0.08em;
            color: #3B82E8;
        }

        /* — Meta grid — */
        .nubaa-case-study .nb-meta-label {
            font-size: 11px;
            font-weight: 500;
            letter-spacing: 0.08em;
            opacity: 1;
            color: #3B82E8;
        }

        .nubaa-case-study .nb-meta-value {
            font-size: 15px;
            font-weight: 400;
            color: #A0A8B8;
        }

        /* — Constraint cards — */
        .nubaa-case-study .nb-constraint-title {
            font-size: 16px;
            font-weight: 500;
            letter-spacing: -0.1px;
            color: #e2e0dd;
            margin-bottom: 10px;
        }

        .nubaa-case-study .nb-constraint-body {
            font-size: 15px;
            font-weight: 400;
            line-height: 1.7;
            color: #A0A8B8;
        }

        /* — User type labels — */
        .nubaa-case-study .nb-user-platform {
            font-size: 11px;
            font-weight: 500;
            letter-spacing: 0.06em;
            color: #3B82E8;
        }

        .nubaa-case-study .nb-user-desc {
            font-size: 13px;
            font-weight: 400;
            color: #7A8499;
        }

        /* — Scroll hint — */
        .nubaa-case-study .nb-scroll-hint {
            font-size: 11px;
            font-weight: 500;
            letter-spacing: 0.08em;
            color: #7A8499;
        }

        /* — Decision blocks — */
        .nubaa-case-study .nb-decision-num {
            font-size: 11px;
            font-weight: 500;
            letter-spacing: 0.04em;
            color: #3B82E8;
            margin-bottom: 10px;
        }

        .nubaa-case-study .nb-dl-prefix {
            font-size: 11px;
            font-weight: 500;
            letter-spacing: 0.08em;
            color: #3B82E8;
            margin-bottom: 8px;
        }

        .nubaa-case-study .nb-dl {
            font-size: 15px;
            font-weight: 400;
            line-height: 1.75;
            color: #A0A8B8;
        }

        .nubaa-case-study .nb-dl.nb-dl-choice {
            font-weight: 500;
            color: #e2e0dd;
        }

        /* — Visual placeholders — */
        .nubaa-case-study .nb-decision-visual {
            background: rgba(255,255,255,0.04);
            border: 1.5px dashed rgba(255,255,255,0.12);
            border-radius: 12px;
        }

        .nubaa-case-study .nb-decision-visual--image {
            background: none;
            border: none;
            border-radius: 12px;
            overflow: hidden;
            padding: 0;
            display: block;
            aspect-ratio: 1 / 1;
        }

        .nubaa-case-study .nb-decision-visual--image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            border-radius: 12px;
        }

        .nubaa-case-study .nb-decision-visual:hover {
            background: rgba(59,130,232,0.06);
            border-color: #3B82E8;
        }

        /* — Research section — */
        .nubaa-case-study .nb-method-title {
            font-size: 15px;
            font-weight: 500;
            color: #e2e0dd;
        }

        .nubaa-case-study .nb-method-desc {
            font-size: 13px;
            font-weight: 400;
            color: #7A8499;
            line-height: 1.6;
        }

        .nubaa-case-study .nb-models-headline,
        .nubaa-case-study .nb-insights-headline,
        .nubaa-case-study .nb-ia-headline {
            font-size: clamp(20px, 2.5vw, 28px);
            font-weight: 500;
            letter-spacing: -0.3px;
            color: #e2e0dd;
        }

        .nubaa-case-study .nb-models-sub,
        .nubaa-case-study .nb-ia-sub {
            font-size: 15px;
            font-weight: 400;
            color: #A0A8B8;
            line-height: 1.7;
        }

        .nubaa-case-study .nb-model-think {
            font-size: 11px;
            font-weight: 500;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #7A8499;
        }

        .nubaa-case-study .nb-model-quote {
            font-size: 16px;
            font-weight: 500;
            color: #e2e0dd;
            letter-spacing: -0.1px;
        }

        .nubaa-case-study .nb-model-body {
            font-size: 14px;
            font-weight: 400;
            color: #A0A8B8;
            line-height: 1.7;
        }

        .nubaa-case-study .nb-model-body strong {
            font-weight: 500;
            color: #e2e0dd;
        }

        .nubaa-case-study .nb-insight-num {
            font-size: 11px;
            font-weight: 500;
            letter-spacing: 0.08em;
            color: #3B82E8;
            opacity: 1;
        }

        .nubaa-case-study .nb-insight-title {
            font-size: 15px;
            font-weight: 500;
            color: #e2e0dd;
        }

        .nubaa-case-study .nb-insight-body {
            font-size: 15px;
            font-weight: 400;
            color: #A0A8B8;
            line-height: 1.75;
        }

        .nubaa-case-study .nb-insight-body strong {
            font-weight: 500;
            color: #e2e0dd;
        }

        .nubaa-case-study .nb-ia-card-label {
            font-size: 11px;
            font-weight: 500;
            letter-spacing: 0.08em;
            color: #3B82E8;
            opacity: 1;
        }

        .nubaa-case-study .nb-ia-card-title {
            font-size: 15px;
            font-weight: 500;
            color: #e2e0dd;
        }

        .nubaa-case-study .nb-ia-tag {
            font-size: 12px;
            font-weight: 400;
            color: #7A8499;
        }

        .nubaa-case-study .nb-rtl-note {
            font-size: 15px;
            font-weight: 400;
            color: #A0A8B8;
            line-height: 1.7;
            border-left: 2px solid #3B82E8;
            padding-left: 16px;
            background: none;
            border-radius: 0;
            border-top: none;
            border-right: none;
            border-bottom: none;
        }

        .nubaa-case-study .nb-rtl-note strong {
            font-weight: 500;
            color: #e2e0dd;
        }

        /* — How I worked section — */
        .nubaa-case-study .nb-how-left p {
            font-size: 15px;
            font-weight: 400;
            line-height: 1.8;
            color: #A0A8B8;
        }

        .nubaa-case-study .nb-how-left p strong {
            font-weight: 500;
            color: #e2e0dd;
        }

        /* — Cards: hover treatment — */
        .nubaa-case-study .nb-constraint-card,
        .nubaa-case-study .nb-model-card,
        .nubaa-case-study .nb-ia-card {
            border-radius: 12px;
            transition: border-color 200ms ease, background 200ms ease;
        }

        .nubaa-case-study .nb-constraint-card:hover,
        .nubaa-case-study .nb-model-card:hover,
        .nubaa-case-study .nb-ia-card:hover {
            border-color: rgba(59,130,232,0.3);
            background: rgba(59,130,232,0.04);
        }

        /* ══════════════════════════════════════
           SECTION 05 — THE SOLUTION
        ══════════════════════════════════════ */
        .nb-solution {
            background: var(--nb-surface);
            padding: 96px 8%;
            color: var(--nb-text);
        }

        .nb-solution-inner {
            max-width: 1440px;
            margin: 0 auto;
        }

        /* System overview strip */
        .nb-sys-strip {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            border-top: 0.5px solid rgba(255,255,255,0.08);
            border-bottom: 0.5px solid rgba(255,255,255,0.08);
            padding: 24px 0;
            margin-bottom: 64px;
        }

        .nb-sys-col {
            padding: 0 32px;
            border-right: 0.5px solid rgba(255,255,255,0.08);
        }

        .nb-sys-col:first-child { padding-left: 0; }
        .nb-sys-col:last-child  { border-right: none; padding-right: 0; }

        .nb-sys-num {
            font-size: 11px;
            font-weight: 500;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #3B82E8;
            margin-bottom: 6px;
        }

        .nb-sys-name {
            font-size: 16px;
            font-weight: 500;
            color: #e2e0dd;
            margin-bottom: 6px;
        }

        .nb-sys-desc {
            font-size: 14px;
            font-weight: 400;
            color: #A0A8B8;
            line-height: 1.55;
        }

        /* Screen blocks */
        .nb-screen {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 64px;
            align-items: start;
            margin-bottom: 96px;
        }

        .nb-screen:last-of-type { margin-bottom: 0; }

        .nb-screen.nb-screen-rev .nb-screen-annotation { order: 2; }
        .nb-screen.nb-screen-rev .nb-screen-visual     { order: 1; }

        .nb-screen-platform {
            font-size: 11px;
            font-weight: 500;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #3B82E8;
            margin-bottom: 12px;
        }

        .nb-screen-title {
            font-size: 24px;
            font-weight: 500;
            letter-spacing: -0.3px;
            line-height: 1.25;
            color: #e2e0dd;
            margin-bottom: 20px;
        }

        .nb-screen-body {
            font-size: 16px;
            font-weight: 400;
            line-height: 1.75;
            color: #A0A8B8;
            max-width: 400px;
            margin-bottom: 24px;
        }

        /* Screen placeholder */
        .nb-screen-placeholder {
            background: rgba(255,255,255,0.04);
            border: 1.5px dashed rgba(255,255,255,0.12);
            border-radius: 16px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: background 200ms ease, border-color 200ms ease;
        }

        .nb-screen-placeholder:hover {
            background: rgba(59,130,232,0.06);
            border-color: #3B82E8;
        }

        .nb-screen-placeholder--image {
            background: none;
            border: none;
            padding: 0;
            overflow: hidden;
        }

        .nb-screen-placeholder--image:hover {
            background: none;
            border: none;
        }

        .nb-screen-placeholder--image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            border-radius: 16px;
        }

        .nb-screen-placeholder--patient {
            aspect-ratio: 830 / 520;
        }

        .nb-screen-placeholder.mobile  { aspect-ratio: 9 / 19.5; }
        .nb-screen-placeholder.desktop { aspect-ratio: 16 / 10; }

        /* Section 05 responsive */
        @media (max-width: 900px) {
            .nb-screen,
            .nb-screen.nb-screen-rev { grid-template-columns: 1fr; gap: 32px; }
            .nb-screen .nb-screen-annotation,
            .nb-screen.nb-screen-rev .nb-screen-annotation { order: 1; }
            .nb-screen .nb-screen-visual,
            .nb-screen.nb-screen-rev .nb-screen-visual { order: 2; }
            .nb-screen-placeholder.mobile  { height: 280px; aspect-ratio: unset; }
            .nb-screen-placeholder.desktop { height: 200px; aspect-ratio: unset; }
            .nb-sys-strip { grid-template-columns: 1fr; }
            .nb-sys-col { border-right: none; padding: 0 0 16px; border-bottom: 0.5px solid rgba(255,255,255,0.08); }
            .nb-sys-col:last-child { border-bottom: none; padding-bottom: 0; }
        }

        @media (max-width: 640px) {
            .nb-solution { padding: 64px 5%; }
            .nb-screen    { margin-bottom: 64px; }
        }

        /* ══════════════════════════════════════
           SECTION 06 — OUTCOMES
        ══════════════════════════════════════ */
        .nb-outcomes {
            display: block;
            background: var(--nb-bg);
            padding: 96px 8% 80px;
            border-top: 0.5px solid rgba(255,255,255,0.08);
        }
        .nb-outcomes-inner { width: 100%; }

        .nb-outcomes-heading {
            font-size: clamp(28px, 3.5vw, 40px);
            font-weight: 500;
            color: #e2e0dd;
            letter-spacing: -0.5px;
            line-height: 1.2;
            margin-bottom: 48px;
        }

        /* Row 1 — 3 metric cards */
        .nb-metric-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            margin-bottom: 32px;
        }
        .nb-metric-card {
            background: rgba(255,255,255,0.04);
            border: 0.5px solid rgba(255,255,255,0.08);
            border-radius: 12px;
            padding: 40px 32px;
            text-align: center;
        }
        .nb-metric-number {
            font-size: clamp(48px, 7vw, 72px);
            font-weight: 500;
            color: #e2e0dd;
            letter-spacing: -2px;
            line-height: 1;
            margin-bottom: 12px;
        }
        .nb-metric-label {
            font-size: 14px;
            font-weight: 400;
            color: #A0A8B8;
            line-height: 1.55;
            max-width: 160px;
            margin: 0 auto;
        }

        /* Row 2 — 2-column outcome text */
        .nb-outcome-cols {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 32px;
            padding: 32px 0;
            border-top: 0.5px solid rgba(255,255,255,0.08);
            border-bottom: 0.5px solid rgba(255,255,255,0.08);
            margin-bottom: 0;
        }
        .nb-outcome-col {
            border-left: 2px solid rgba(255,255,255,0.14);
            padding-left: 24px;
        }
        .nb-outcome-col p {
            font-size: 15px;
            font-weight: 400;
            color: #A0A8B8;
            line-height: 1.8;
            margin: 0;
        }

        /* Row 3 — full-width closing statement */
        .nb-outcome-closing {
            padding: 32px 0 0;
            font-size: 15px;
            font-weight: 400;
            color: #7A8499;
            line-height: 1.75;
        }

        /* ══════════════════════════════════════
           SECTION 07 — REFLECTION
        ══════════════════════════════════════ */
        .nb-reflection {
            display: block;
            background: var(--nb-bg);
            padding: 96px 8% 120px;
            border-top: 0.5px solid rgba(255,255,255,0.08);
        }
        .nb-reflection-inner { width: 100%; }

        .nb-reflection-heading {
            font-size: clamp(28px, 3.5vw, 40px);
            font-weight: 500;
            color: #e2e0dd;
            letter-spacing: -0.5px;
            line-height: 1.2;
            margin-bottom: 0;
        }

        .nb-lesson {
            border-top: 0.5px solid rgba(255,255,255,0.08);
            padding-top: 40px;
            margin-bottom: 0;
        }
        .nb-lesson-num {
            font-size: 13px;
            font-weight: 500;
            color: #3B82E8;
            margin-bottom: 8px;
        }
        .nb-lesson-title {
            font-size: 20px;
            font-weight: 500;
            color: #e2e0dd;
            letter-spacing: -0.2px;
            line-height: 1.35;
            margin-bottom: 12px;
        }
        .nb-lesson-body {
            font-size: 16px;
            font-weight: 400;
            color: #A0A8B8;
            line-height: 1.75;
            margin-bottom: 48px;
        }

        .nb-reflection-closing {
            border-top: 0.5px solid rgba(255,255,255,0.08);
            padding-top: 40px;
            margin-top: 16px;
            font-size: 17px;
            font-weight: 400;
            color: #7A8499;
            line-height: 1.7;
        }

        @media (max-width: 900px) {
            .nb-metric-grid { grid-template-columns: 1fr; gap: 12px; }
            .nb-outcome-cols { grid-template-columns: 1fr; gap: 24px; }
            .nb-outcomes { padding: 64px 5% 56px; }
            .nb-reflection { padding: 64px 5% 80px; }
        }


